1 2008-08-13 Matthias Clasen <mclasen@redhat.com>
4 * goutputstream.c: Add intro docs.
6 2008-08-13 Tor Lillqvist <tml@novell.com>
8 * win32/gwinhttpfileoutputstream.c
9 (g_winhttp_file_output_stream_write): Don't write the
10 Content-Length header ourselves, WinHttpSendRequest() takes care
11 of that when the dwTotalLength parameter is non-zero. Increment
12 offset by the number of actual bytes sent, although I wonder if
13 such a scenario is possible where less than requested would be
14 sent and accepted by the server without errors.
16 2008-08-13 Tor Lillqvist <tml@novell.com>
20 * win32/gwinhttpfile.c
21 * win32/gwinhttpfile.h
22 * win32/gwinhttpfileinputstream.c
23 * win32/gwinhttpfileinputstream.h
24 * win32/gwinhttpfileoutputstream.c
25 * win32/gwinhttpfileoutputstream.h: New files implementing
26 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
27 Windows. The implementation uses the WinHttp API. Both reading and
28 writing are supported, i.e. GET and PUT requests. When writing,
29 each write call is done using a separate PUT request with a
30 Content-Range header. Requests for file URIs and plain pathnames
31 are forwarded to GLocalVfs.
33 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
34 WINE. Used as there is no <winhttp.h> bundled with mingw, and
35 requiring people to download the Windows SDK just for this one
36 header is not reasonable.
38 * win32/Makefile.am: Add above files.
40 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
41 the plumbing for the above.
43 2008-08-11 Sven Neumann <sven@gimp.org>
45 * gfilenamecompleter.c
46 * glocaldirectorymonitor.c
48 * gunionvolumemonitor.c
52 * gunixvolumemonitor.c
55 * gwin32volumemonitor.c: use canonical signal names.
57 2008-08-11 Tor Lillqvist <tml@novell.com>
59 * Makefile.am: Put a list of the platform-dependent .la files in
60 the subdirectories in the platform_deps Make variable, and make
61 libgio-2.0.la depend on that, so that it gets relinked if one of
62 the dependent libraries has changed.
64 2008-08-11 Tor Lillqvist <tml@novell.com>
66 * Makefile.am (platform_libadd): Remove -lwininet which had been
67 added by mistake. We will probably eventually be using WinHTTP,
68 not the older WinInet anyway. (Actually I am working on it.)
70 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
72 Bug 547080 – g_file_copy leaks expected errors
74 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
75 before trying the next fallback routine.
77 2008-08-09 Loïc Minier <lool@dooz.org>
79 Bug 535124 – umask 002 not being applied for new directories, new
80 files get the correct umask
82 * gfile.c (g_file_make_directory)
83 (g_file_make_directory_with_parents): Document ownership and
84 permissions of newly created directories as being the default
87 2008-08-08 Loïc Minier <lool@dooz.org>
89 Bug 535124 – umask 002 not being applied for new directories, new
90 files get the correct umask
92 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
95 2008-08-08 Tor Lillqvist <tml@novell.com>
97 * gwin32mount.c: Remove unused code. Whitespace cleanup.
99 * gwin32volumemonitor.c (get_connected_drives): Put questionable
100 code that didn't actually do anything inside #if 0, and add a
101 comment wondering what the code was supposed to do. This also gets
102 rid of a leftover debugging printout.
104 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
106 * gfileicon.c (g_file_icon_get_property)
107 (g_file_icon_set_property): New functions.
108 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
110 (g_file_icon_new): Use the property (bug #546132).
112 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
114 * gthemedicon.c (g_themed_icon_get_property): Also handle
115 `PROP_USE_DEFAULT_FALLBACKS'.
116 (g_themed_icon_class_init): Make
117 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
119 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
121 Bug 546371 – Improve docs re g_file_monitor
123 * gfilemonitor.c: Mention g_file_monitor() in the docs.
125 2008-08-04 Matthias Clasen <mclasen@redhat.com>
127 * === Released 2.17.6 ===
129 2008-08-04 Matthias Clasen <mclasen@redhat.com>
131 * === Released 2.17.5 ===
133 2008-08-04 Matthias Clasen <mclasen@redhat.com>
135 Bug 546017 – Don't copy attributes when copying a symlink
137 * gfile.c (g_file_copy_attributes): Specify
138 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
139 g_file_set_attributes_from_info. Patch by Christian Kellner
141 2008-08-04 Matthias Clasen <mclasen@redhat.com>
143 * gemblemedicon.[hc]:
145 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
146 a bit more extensible. Work by Clemens Buss.
148 * gioenums.h: Add GEmblemOrigin.
151 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
153 Bug 546079 – leak in xdgmime
155 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
157 2008-08-03 Tor Lillqvist <tml@novell.com>
159 * win32/gwin32directorymonitor.h
160 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
163 2008-08-03 Tor Lillqvist <tml@novell.com>
165 * win32/gwin32directorymonitor.c
166 (g_win32_directory_monitor_callback): Make prototype match
167 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
168 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
171 (g_win32_directory_monitor_constructor):
172 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
173 names in the GLib API on Windows, so convert to UTF-16 and open
176 2008-08-03 Tor Lillqvist <tml@novell.com>
178 Bug 541036 - Gnumeric crashes when trying to open Desktop or
179 user's folder under Windows
181 * win32/gwin32directorymonitor.c
182 (g_win32_directory_monitor_constructor): Ignore error from
183 CreateFile() when opening directory. Instead of asserting, just
184 store INVALID_HANDLE_VALUE then in
185 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
186 ReadDirectoryChangesW().
187 (g_win32_directory_monitor_cancel): Don't attempt to close
188 directory handle if it is INVALID_HANDLE_VALUE.
190 2008-08-01 Matthias Clasen <mclasen@redhat.com>
192 * gdesktopappinfo.c: Remove debug spew
194 2008-08-01 Hans Breuer <hans@breuer.org>
196 * makefile.msc : add gemblembedicon
198 2008-07-30 Matthias Clasen <mclasen@redhat.com>
200 Bug 545457 – gdmsetup crashed with SIGSEGV in
201 g_unix_mount_guess_should_display()
203 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
204 crash if no mount is found.
206 2008-07-28 Matthias Clasen <mclasen@redhat.com>
208 Bug 545203 – gfile.c: argument is different type.
210 * gfile.c (open_read_async_thread): Pass a GError **
211 to g_file_set_error_literal.
212 Reported by Kazuki Iwamoto
214 2008-07-28 Matthias Clasen <mclasen@redhat.com>
216 Bug 545157 – wrong/no list of "open with" applications for .cc and
219 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
220 Collect all ancestors, not just direct parents. Pointed
221 out by Bastien Nocera
223 2008-07-28 Matthias Clasen <mclasen@redhat.com>
225 * Makefile.am: Install gemblemedicon.h
227 2008-07-28 Matthias Clasen <mclasen@redhat.com>
229 * gemblemedicon.[hc]: Add a GIcon implementation that can
230 add an emblem to another icon.
237 * gfileicon.c: Small documentation additions.
239 2008-07-28 Tor Lillqvist <tml@novell.com>
241 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
244 2008-07-27 Tor Lillqvist <tml@novell.com>
246 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
248 2008-07-24 David Zeuthen <davidz@redhat.com>
252 Also export a g_mount_guess_content_type_sync() function.
254 2008-07-23 Matthias Clasen <mclasen@redhat.com>
256 529694 – SELinux context setting support
258 * gfileinfo.c: Support setting selinux attributes.
259 Patch by Tomas Bzatek
261 2008-07-22 Priit Laes <plaes@plaes.org>
263 Bug 544140 - fam-helper 64-bit issue?
265 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
267 2008-07-21 Matthias Clasen <mclasen@redhat.com>
269 * === Released 2.17.4 ===
271 2008-07-20 Matthias Clasen <mclasen@redhat.com>
273 * gvolumemonitor.[hc]:
278 * gmount.c: Documentation fixes
280 2008-07-19 Matthias Clasen <mclasen@redhat.com>
282 543504 – crash in Epiphany Web Browser: Opening local file
293 * gvolume.c: Register types thread-safely.
294 Patch by Christian Persch
296 2008-07-18 Matthias Clasen <mclasen@redhat.com>
298 * gcontenttype.c: Remove debug spew
300 2008-07-18 Matthias Clasen <mclasen@redhat.com>
302 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
305 * fen/fen-kernel.c: Remove a warning that was causing
306 crashes. Reported by Lin Ma.
308 2008-07-18 Matthias Clasen <mclasen@redhat.com>
310 Bug 543040 – async reading on dummy file will crash on
313 * gfile.c (open_read_async_thread): Cope with read_fn being
314 NULL. Reported by Lin Ma.
316 2008-07-18 Matthias Clasen <mclasen@redhat.com>
319 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
321 2008-07-16 Matthias Clasen <mclasen@redhat.com>
325 * giomodule.c: Rename a chapter id to avoid filename conflict.
327 2008-07-16 Matthias Clasen <mclasen@redhat.com>
329 Bug 540616 – mem leak in filechooser button
331 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
332 the mount entry. Reported by Chrisitan Persch
334 2008-07-16 Matthias Clasen <mclasen@redhat.com>
336 * gfile.c: Small documentation fixes.
338 2008-07-15 Matthias Clasen <mclasen@redhat.com>
340 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
342 2008-07-08 Matthias Clasen <mclasen@redhat.com>
347 * gmount.c: Documentation improvements.
349 2008-07-08 Matthias Clasen <mclasen@redhat.com>
352 * gmount.[hc]: Add g_mount_guess_content_type().
354 2008-07-06 David Zeuthen <davidz@redhat.com>
357 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
358 is needed for easily handling adoption of foreign volumes by
359 out-of-process volume monitors (#541793)
361 2008-07-06 David Zeuthen <davidz@redhat.com>
363 * gvolumemonitor.[ch]:
364 * gunionvolumemonitor.c: Export the eject-button signal on the
365 volume monitor class (#541794).
367 2008-07-06 Matthias Clasen <mclasen@redhat.com>
369 * gappinfo.c: More doc tweaks
371 2008-07-05 Matthias Clasen <mclasen@redhat.com>
373 * gappinfo.c: Clarify some docs
375 2008-07-03 Matthias Clasen <mclasen@redhat.com>
377 * gdesktopappinfo.c: Fix a stupid mistake.
379 2008-07-02 Matthias Clasen <mclasen@redhat.com>
381 * === Released 2.17.3 ===
383 2008-07-02 Matthias Clasen <mclasen@redhat.com>
385 * gfilemonitor.c: Fix the build.
387 2008-07-02 Matthias Clasen <mclasen@redhat.com>
389 Bug 536160 – Add g_file_monitor()
392 * gfile.[hc]: Add g_file_monitor which can return either
393 a file or a directory monitor. Proposed by Behdad Esfahbod
395 2008-07-02 Matthias Clasen <mclasen@redhat.com>
397 536733 – gio build failure on Irix
399 * glocalfile.c: Use a configure check for structfs.f_bavail.
401 2008-07-02 Matthias Clasen <mclasen@redhat.com>
403 Bug 534639 – add g_desktop_app_info_new_from_keyfile
406 * gdesktopappinfo.[hc]: Add a function to create a
407 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
409 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
411 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
413 2008-07-01 Matthias Clasen <mclasen@redhat.com>
415 * gunixmounts.c: Fix a doc typo.
417 2008-07-01 Cody Russell <bratsche@gnome.org>
419 * gio/gcontenttype.c:
420 * gio/gwin32appinfo.c:
421 * gio/gwin32volumemonitor.c:
422 * gio/gwin32mount.c: Fixed some include problems.
424 2008-07-01 Cody Russell <bratsche@gnome.org>
428 Moved all relevant typedefs into these files.
431 Updated wrt added files.
433 Split types into separate file for easier maintainership. (#538564)
435 2008-06-30 Matthias Clasen <mclasen@redhat.com>
437 Bug 540331 – g_file_append_to () documentation: can return NULL
439 * gfile.c (g_file_append_to): Clarify docs.
442 2008-06-30 Matthias Clasen <mclasen@redhat.com>
444 Bug 539090 – g_content_type_from_mime_type() should unalias
446 * gcontentype.c (g_content_type_from_mime_type): Unalias.
447 Patch by Markus Bergman
449 2008-06-30 Matthias Clasen <mclasen@redhat.com>
451 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
454 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
455 on ppc and alpha. Reported by Mart Raudsepp
457 2008-06-29 Matthias Clasen <mclasen@redhat.com>
460 * tests/memory-output-stream.c: Add some tests for
463 2008-06-29 Matthias Clasen <mclasen@redhat.com>
465 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
468 * gmemoryoutputstream.c (array_resize): Handle truncation to
469 zero correctly. Reported by Akira Tagoh
471 2008-06-29 Matthias Clasen <mclasen@redhat.com>
473 * gmemoryoutputstream.c: Trivial doc fixes
475 2008-06-29 Matthias Clasen <mclasen@redhat.com>
477 Bug 540802 – g_list_prepend doesn't concat lists
479 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
480 one list to another. Pointed out by Jan Arne Petersen
482 2008-06-28 Michael Natterer <mitch@imendio.com>
484 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
486 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
488 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
489 to avoid problems with partial icon themes.
491 2008-06-17 Hans Breuer <hans@breuer.org>
493 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
494 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
495 access again on win32, see bug #538127
496 * giomodule.c : ensure GWin32VolumeMonitor is registered
497 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
498 * Makefile.am makefile.msc : updated
500 2008-06-16 Hans Breuer <hans@breuer.org>
502 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
503 and initialization in one step avoids c99ism
505 2008-06-16 Christian Persch <chpe@gnome.org>
508 * gio/gbufferedinputstream.c
510 * gio/gdatainputstream.c
511 * gio/gdesktopappinfo.c
513 * gio/gfileenumerator.c
514 * gio/gfileinputstream.c
515 * gio/gfileoutputstream.c
517 * gio/glocaldirectorymonitor.c
519 * gio/glocalfileenumerator.c
520 * gio/glocalfileinfo.c
521 * gio/glocalfilemonitor.c
522 * gio/glocalfileoutputstream.c
523 * gio/gmemoryinputstream.c
524 * gio/gmemoryoutputstream.c
525 * gio/goutputstream.c
526 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
529 2008-06-16 Tor Lillqvist <tml@novell.com>
531 Bug 538362 - Get Win32 icons back in the file chooser
533 * gcontenttype.c (g_content_type_get_icon): Look up the icon
534 corresponding to a file extension in the Registry. Patch by Hans
536 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
538 2008-06-16 Tor Lillqvist <tml@novell.com>
540 Patches by Hans Breuer:
542 * glocalfile.c (is_xp_or_later): Handle compiling against older
543 SDK headers with missing VerifyVersionInfo(). Conditioned on
544 _MSC_VER, but should probably use some better test.
545 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
546 uninitialised statfs_result variable on Win32.
548 2008-06-16 Michael Natterer <mitch@imendio.com>
550 * *.c: chain up unconditionally in finalize() and dispose(). Also
551 don't dereference these function pointers when calling them since
552 that has no meaning at all.
554 2008-06-16 Ross Burton <ross@burtonini.com>
557 Remove check for dispose implementation as it annoys Emmanuele.
559 2008-06-16 Ross Burton <ross@burtonini.com>
561 Bug 536252 – GFileEnumerator should allow access to the containing
567 Add g_file_enumerator_get_container() and a container writeable
568 construct-only property. Also shuffle around typedefs to make it
571 * glocalfileenumerator.c:
572 * glocalfileenumerator.h:
574 Instead of a string filename take a GFile in the constructor and
575 use it to set the container property.
580 2008-06-16 Matthias Clasen <mclasen@redhat.com>
582 * gfile.c: Make includes more uniform
584 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
586 * tests/live-g-file.c (sample_struct):
587 Use less fancy unicode filenames, so the test doesn't fail
588 on Mac OS X (#531476).
590 2008-06-12 Matthias Clasen <mclasen@redhat.com>
592 * === Released 2.17.2 ===
594 2008-06-12 Matthias Clasen <mclasen@redhat.com>
596 * === Released 2.17.1 ===
598 2008-06-11 A. Walton <awalton@gnome.org>
600 * tests/g-file.c (test_g_file_new_null):
601 Fix broken test case.
603 2008-06-11 Matthias Clasen <mclasen@redhat.com>
605 * pltcheck.sh: We use g_clear_error now.
607 2008-06-11 Matthias Clasen <mclasen@redhat.com>
609 * glocalfile.c (g_local_file_enumerate_children): Revert
610 an unintended change.
612 2008-06-11 Matthias Clasen <mclasen@redhat.com>
614 * gfile.c (g_file_replace_contents): Don't unref before the last use.
616 2008-06-10 Matthias Clasen <mclasen@redhat.com>
618 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
621 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
622 as icon for the desktop directory, also make user-home and
623 user-desktop the preferred icons.
625 2008-06-10 Matthias Clasen <mclasen@redhat.com>
628 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
629 to add a name to the front of the list.
631 2008-06-10 Matthias Clasen <mclasen@redhat.com>
633 Bug 537392 – Additional colon in xattr name
635 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
636 too. Reported by Alessandro Morandi
638 2008-06-10 Matthias Clasen <mclasen@redhat.com>
640 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
643 * glocalfile.c (get_fs_type): Add afs and autofs.
644 Patch by Danny Baumann.
646 2008-06-10 Matthias Clasen <mclasen@redhat.com>
648 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
650 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
651 is no parent. (Owen Taylor, patch by Christian Neumair)
653 2008-06-10 Paolo Borelli <pborelli@katamail.com>
655 * gfile.c (g_file_replace_contents): do not leak the output stream.
657 2008-06-10 Michael Natterer <mitch@imendio.com>
659 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
660 uninitialized memory as array index.
662 2008-06-10 Tor Lillqvist <tml@novell.com>
664 * gcontenttype.c (g_content_type_can_be_executable)
665 (g_content_type_get_icon) [Win32]: Add TODO comments.
667 2008-06-09 Matthias Clasen <mclasen@redhat.com>
669 * xdgmime/Makefile.am: Fix the build
671 2008-06-09 Matthias Clasen <mclasen@redhat.com>
673 * gcontenttype.c (g_content_type_get_icon): Use icons specified
674 in the shared mime database, if available.
676 * xdgmime/*: Sync with upstream. This brings support for
677 glob weights, generic icons, and changes the cache format to
680 2008-05-28 Michael Natterer <mitch@imendio.com>
682 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
683 the global CPPFLAGS now.
685 * tests/data-input-stream.c
686 * tests/data-output-stream.c
687 * tests/g-file-info.c
689 * tests/live-g-file.c
690 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
692 2008-05-27 Matthias Clasen <mclasen@redhat.com>
694 * === Released 2.17.0 ===
696 * tests/live-g-file.c: Clean up after the tests, so make distcheck
697 doesn't complain about leftover files.
699 2008-05-27 simon.zheng <simon.zheng@sun.com>
701 * glocalfile.c: (g_local_file_query_filesystem_info):
702 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
704 2008-05-26 Michael Natterer <mitch@imendio.com>
706 * gmemoryoutputstream.h: declare
707 g_memory_output_stream_get_data_size().
709 2008-05-26 Matthias Clasen <mclasen@redhat.com>
711 * tests/*: Make tests work
713 2008-05-26 Matthias Clasen <mclasen@redhat.com>
715 * gio.symbols: Add g_memory_output_stream_get_data_size.
717 2008-05-25 Ross Burton <ross@burtonini.com>
720 Fix typo in error message (#534764).
722 2008-05-25 Ross Burton <ross@burtonini.com>
725 Fix circular dependency loop for gioenumtypes.h (#534759).
727 2008-05-19 Hans Breuer <hans@breuer.org>
729 * Makefile.am : EXTRA_DIST += makefile.msc
731 2008-05-17 Matthias Clasen <mclasen@redhat.com>
734 * gcontenttype.c: (g_content_type_from_mime_type):
735 New function to create a content type from a mime type. (#527175,
738 2008-05-17 Matthias Clasen <mclasen@redhat.com>
740 Bug 532965 – Should not return filesystem::free for certain file systems
742 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
743 free space for ncpfs.
745 2008-05-17 Matthias Clasen <mclasen@redhat.com>
747 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
749 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
750 st_dev might be zero.
752 2008-05-16 Tor Lillqvist <tml@novell.com>
754 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
755 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
757 2008-05-13 Bastien Nocera <hadess@hadess.net>
759 * gfile.c (has_valid_scheme): A URI scheme must start with a
760 letter, even if later more characters are allowed (#532852)
762 2008-05-05 Michael Natterer <mitch@imendio.com>
764 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
765 code from being checked in that breaks the build of applications
766 which use G_DISABLE_SINGLE_INCLUDES.
768 * makegioalias.pl: make the alias file include "glib.h" instead of
771 * gio.symbols: whitespace change to force regeneration of the
772 alias file after above script change.
774 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
776 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
778 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
780 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
782 2008-04-28 David Zeuthen <davidz@redhat.com>
784 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
785 displaying mounts in a subdirectory not accessible to the
788 2008-04-22 Michael Natterer <mitch@imendio.com>
790 * Makefile.am: fix library versioning (it was 0.0.0).
792 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
794 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
795 Default disable all loggings.
796 * fen/fen-kernel.c: (printevent), (port_add_kevent),
797 (port_fetch_event_cb): Fixed two macro nits.
799 2008-04-16 Matthias Clasen <mclasen@redhat.com>
801 * xdgmime/xdgmime.c: Rework the timestamp checking code
802 to protect against duplicate directories in XDG_DATA_DIRS.
803 Fixes fd.o bug 12513, reported by Joe Shaw.
805 2008-04-16 Matthias Clasen <mclasen@redhat.com>
807 Partically revert the last commit after realizing that
808 xdg_mime_media_type_equal doesn't have to init at all.
811 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
813 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
815 2008-04-16 Matthias Clasen <mclasen@redhat.com>
817 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
818 reported by Joe Shaw and Federico Mena Quintero.
820 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
821 (xdg_mime_media_type_equal): Turn into a wrapper around the
824 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
825 functions throughout.
827 2008-04-16 Michael Meeks <michael.meeks@novell.com>
829 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
830 tolerate an empty TryExec= line without failing; nautilus used
831 to create launchers with these in previous versions. Fixes #528433
833 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
835 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
836 after name. Fixes #527132.
838 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
840 * gfile.c: (g_file_replace):
843 2008-04-07 Matthias Clasen <mclasen@redhat.com>
845 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
847 * gfile.c (file_copy_fallback): Fix the argument order. Patch
848 by Christian Kellner.
850 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
852 * gunixmounts.c: (g_unix_mount_guess_should_display):
853 Don't list the user directory as a mount, fix potential issue
854 when other users have a similar naming and don't special case the
855 gvfs mounts there since that's not required (#525866)
857 2008-03-31 Alexander Larsson <alexl@redhat.com>
859 * glocalfile.c (get_parent):
862 2008-03-31 A. Walton <awalton@svn.gnome.org>
864 * gfile.c (g_file_query_file_type):
865 Always return a GFileType enum value (#520715).
867 2008-03-31 Alexander Larsson <alexl@redhat.com>
869 * glocalfileenumerator.c:
870 Read readdir() info in chunks (of 1000) and sort
871 the chunks by inode before stat:ing.
872 This is a 20% performance increase in testing
873 gvfs-ls on /usr/bin with cold cache.
875 2008-03-31 Alexander Larsson <alexl@redhat.com>
877 * gmemoryoutputstream.c:
878 Clarify docs for g_memory_output_stream_get_size.
879 Add g_memory_output_stream_get_data_size.
881 2008-03-30 Matthias Clasen <mclasen@redhat.com>
885 * gfile.h: Add g_file_query_file_type convenience function
886 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
888 2008-03-30 Matthias Clasen <mclasen@redhat.com>
891 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
893 2008-03-28 A. Walton <awalton@svn.gnome.org>
895 * giomodule.c (_g_io_modules_ensure_loaded):
896 Adds GIO_EXTRA_MODULES environment variable support, closing bug
899 2008-03-28 Alexander Larsson <alexl@redhat.com>
902 (copy_stream_with_progress):
905 2008-03-28 Alexander Larsson <alexl@redhat.com>
908 (copy_stream_with_progress):
909 (file_copy_fallback):
910 Fallback to g_file_query_info for source size
911 if g_file_input_stream_query_info fails. (#524579)
913 2008-03-28 Alexander Larsson <alexl@redhat.com>
915 * glocalfile.c (g_local_file_move):
916 Reuse old string instead of adding new one.
918 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
920 * fen/*.[hc]: still copyright issue. I hate copyright.
922 2008-03-27 Alexander Larsson <alexl@redhat.com>
924 * glocalfile.c (g_local_file_move):
925 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
926 file over directory. This is according to the docs and what the move via
927 copy+remove fallback does.
929 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
931 * fen/*.[hc]: Updated copyright.
933 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
935 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
937 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
939 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
940 not emit attribute changed events when optimizing changed events.
941 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
944 2008-03-19 Matthias Clasen <mclasen@redhat.com>
946 * gmountoperation.[hc]: Small documentation additions
948 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
950 * gunixmounts.c: (guess_mount_type):
951 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
953 2008-03-19 Alexander Larsson <alexl@redhat.com>
956 (copy_stream_with_progress):
957 Bump block side for copy to 64k to minimize
958 overhead for low latency links. (#523015)
960 2008-03-16 Tor Lillqvist <tml@novell.com>
962 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
963 depend on gio.def on Windows.
965 2008-03-12 David Zeuthen <davidz@redhat.com>
969 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
971 2008-03-14 Alexander Larsson <alexl@redhat.com>
975 Avoid redudant tests (#521851)
976 Patch from Josselin Mouette
978 2008-03-14 Alexander Larsson <alexl@redhat.com>
981 (g_file_monitor_is_cancelled):
982 Fix C89 issue (#521672)
983 Patch from Jens Granseuer
985 2008-03-14 Alexander Larsson <alexl@redhat.com>
987 * fam/fam-helper.[ch]:
989 Shut down fam (including removing fam GSource) when
990 module is unloaded (#521513)
991 Patch from Joe Marcus Clarke
993 2008-03-14 Alexander Larsson <alexl@redhat.com>
996 (_g_io_modules_ensure_loaded):
999 2008-03-14 Alexander Larsson <alexl@redhat.com>
1002 (g_local_file_query_filesystem_info):
1003 Use right define name for f_fstypename member check
1005 2008-03-14 Alexander Larsson <alexl@redhat.com>
1008 * fen/Makefile.am: Added.
1009 * fen/fen-data.[ch]: Added.
1010 * fen/fen-dump.[ch]: Added.
1011 * fen/fen-helper.[ch]: Added.
1012 * fen/fen-kernel.[ch]: Added.
1013 * fen/fen-missing.[ch]: Added.
1014 * fen/fen-node.[ch]: Added.
1015 * fen/fen-sub.[ch]: Added.
1016 * fen/gfendirectorymonitor.[ch]: Added.
1017 * fen/gfenfilemonitor.[ch]: Added.
1019 Added Solaris FEN file notification backend.
1020 Patch from Lin Ma <Lin.Ma@Sun.COM>
1022 2008-03-13 Tor Lillqvist <tml@novell.com>
1024 * Makefile.am: Actually use the gio.def file when linking the
1025 library on Windows. Produce .lib library for Microsoft's toolchain
1026 when possible. Install the .lib and .def file like for the other
1029 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1031 * tests/live-g-file.c:
1032 Include live-g-file in standard set of tests, making a temporary
1033 directory in source structure.
1035 Clean target directory before the tests (write mode only)
1037 2008-03-12 Tor Lillqvist <tml@novell.com>
1039 Bug 517419 - gio win32 directory monitor
1040 Implementation by Vlad Grecescu.
1043 * win32/gwin32directorymonitor.h
1044 * win32/gwin32directorymonitor.c: New files.
1046 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1048 * Makefile.am: Add the win32 subdirectory.
1050 2008-03-12 Tor Lillqvist <tml@novell.com>
1052 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1053 normal struct stat on Unix but struct _stati64 on Windows to have
1054 access to 64-bit file size information. Use that instead of struct
1055 stat in the functions declared here in this private header.
1057 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1058 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1059 warnings about unused functions and variables. Don't set
1060 meaningless attributes like inode numbers on Windows.
1062 2008-03-12 Benjamin Otte <otte@gnome.org>
1065 trim whitespace so gtk-doc groks the function name
1067 2008-03-12 Tor Lillqvist <tml@novell.com>
1069 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1070 returning FALSE, on Win32.
1072 2008-03-11 Alexander Larsson <alexl@redhat.com>
1075 * glocalfileinfo.[ch]:
1076 Correctly implement can_trash by actually
1077 looking for a trash dir, not just assuming
1080 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1082 * === Released 2.16.1 ===
1084 2008-03-11 Alexander Larsson <alexl@redhat.com>
1087 Fix crashes in new constructor and properties code
1089 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1091 * gfile.c: Minor spelling correction in documentation:
1092 existance -> existence.
1094 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1096 * === Released 2.16.0 ===
1098 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1100 * gio.symbols: Remove g_file_contains_file here, too.
1102 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1104 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1105 Samuel Cormier-Iijima)
1107 2008-03-08 Tor Lillqvist <tml@novell.com>
1109 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1112 2008-03-07 Alexander Larsson <alexl@redhat.com>
1115 (g_local_file_query_filesystem_info):
1116 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1117 Patch from Jasper Lievisse Adriaanse
1119 2008-03-06 Tor Lillqvist <tml@novell.com>
1121 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1122 comments for the *_USEC attributes.
1124 2008-03-06 Alexander Larsson <alexl@redhat.com>
1126 * gfile.c (g_file_query_exists):
1127 Add g_return_val_if_fail check (#520700)
1129 2008-03-06 Alexander Larsson <alexl@redhat.com>
1131 * gdesktopappinfo.c:
1134 * gunionvolumemonitor.c:
1137 * tests/live-g-file.c:
1138 * xdgmime/xdgmimecache.c:
1139 Fix sparse warnings (#519489)
1141 2008-03-05 Alexander Larsson <alexl@redhat.com>
1144 Make cancellation threadsafe (i.e.
1145 guarantee its only done once, and always
1148 * glocaldirectorymonitor.c:
1149 Make sure we the monitor lives while the
1150 mounts_changed callback is being called (#520484)
1152 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1154 * gbufferedinputstream.c: Fix typo in parameter
1157 2008-03-04 Alexander Larsson <alexl@redhat.com>
1160 Remove deprecated symbols we kept for one release.
1162 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1165 * goutputstream.c: Tiny documentation corrections.
1167 2008-03-03 Alexander Larsson <alexl@redhat.com>
1169 * gunionvolumemonitor.c:
1171 Fix the adopt_orphan_mount vfunc to take a
1172 volume_monitor reference in an ABI compat way.
1173 This change is not API compat, but the added
1174 arg is not used in the only user of this vfunc, so
1175 all we get is a harmless warning in gvfs (#520169)
1177 2008-03-01 Benjamin Otte <otte@gnome.org>
1180 clarify docs for g_file_delete().
1182 2008-02-29 Alexander Larsson <alexl@redhat.com>
1186 Make sure empty files get text/plain type (#518720)
1188 2008-02-27 Alexander Larsson <alexl@redhat.com>
1194 (g_unix_volume_mount):
1195 Add missing GMountMountFlags argument
1197 2008-02-26 Alexander Larsson <alexl@redhat.com>
1200 (g_local_file_delete):
1201 Handle filesystems (like ntfs-3g) that return EEXIST instead
1202 of ENOTEMPTY (#518816)
1204 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1206 * === Released 2.15.6 ===
1208 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1210 * gfile.c (g_file_find_enclosing_mount):
1211 * ginputstream.c (g_input_stream_set_pending):
1212 * glocalfile.c (g_local_file_find_enclosing_mount):
1213 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1214 * goutputstream.c (g_output_stream_set_pending):
1216 Fixup translator comments (#518578).
1218 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1220 * gfile.c (g_file_find_enclosing_mount):
1222 * glocalfile.c (g_local_file_find_enclosing_mount):
1225 Fix a few typos in translator comments and documentation.
1227 2008-02-25 Alexander Larsson <alexl@redhat.com>
1234 Add translator comments (#518578)
1236 2008-02-25 Alexander Larsson <alexl@redhat.com>
1239 Reintroduce g_file_contains_file, keep around for one
1240 unstable release cycle to avoid crashing to many apps.
1241 Make sure to delete after release.
1243 2008-02-25 Alexander Larsson <alexl@redhat.com>
1246 Remove deprecated g_file_contains_file.
1248 2008-02-25 Alexander Larsson <alexl@redhat.com>
1251 Emit actual change signals in an idle handler.
1252 This avoids reentrance and locking problems in
1253 the file notification backends.
1255 2008-02-25 Alexander Larsson <alexl@redhat.com>
1258 (g_unix_mount_guess_should_display):
1259 Remove type guessing, instead just display
1260 mounts in /media and in ~/.
1262 2008-02-25 Alexander Larsson <alexl@redhat.com>
1265 Make new strings reuse old ones.
1267 2008-02-25 Alexander Larsson <alexl@redhat.com>
1270 Implement trashing and filesystem::readonly for win32 (#517235)
1271 Patch from Yevgen Muntyan
1273 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1275 * gfileinfo.h: Documentation fixes.
1277 2008-02-22 Alexander Larsson <alexl@redhat.com>
1279 * gcontenttype.c (g_content_type_get_icon):
1280 Look at old-style gnome mime icon names too, as many
1281 have not moved to the new style.
1283 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1285 * *.c: Correct the @include in for section docs.
1287 2008-02-21 David Zeuthen <davidz@redhat.com>
1289 * glocalfileinfo.c: (_g_local_file_info_get):
1291 (g_content_type_get_icon): Implement this function by
1292 moving bits from glocalfileinfo.c
1293 (g_content_type_get_description): Unalias before getting
1294 description (#517687)
1296 * gfile.c: (g_file_class_init),
1297 (g_file_query_filesystem_info_async),
1298 (g_file_query_filesystem_info_finish),
1299 (query_filesystem_info_data_free),
1300 (query_filesystem_info_async_thread),
1301 (g_file_real_query_filesystem_info_async),
1302 (g_file_real_query_filesystem_info_finish):
1303 * gfile.h: Implement async version of
1304 g_file_query_filesystem_info()
1306 * gfileinfo.h: Add new attributes for filesystem::use-preview
1308 * gio.symbols: Update
1310 * gthemedicon.c: (g_themed_icon_append_name):
1311 * gthemedicon.h: Add new new convenience function.
1313 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1314 (get_mounts), (get_volumes), (get_connected_drives),
1315 (get_volume_for_uuid), (get_mount_for_uuid),
1316 (g_union_volume_monitor_init), (populate_union_monitor),
1317 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1318 (g_volume_monitor_adopt_orphan_mount):
1320 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1321 monitor implementations to call into the main volume monitor. Also
1322 separate object initialization and volume monitor initialization
1323 such that non-native volume monitors can properly adopt their
1326 2008-02-21 Alexander Larsson <alexl@redhat.com>
1331 2008-02-21 Alexander Larsson <alexl@redhat.com>
1334 Add more documentation about how GFiles work (from #517086)
1336 2008-02-21 Alexander Larsson <alexl@redhat.com>
1340 Add new g_file_has_prefix that does the same as g_file_contains_file.
1341 Deprecate g_file_contains_file and add a macro that converts
1342 it to g_file_has_prefix.
1343 The reason for this change is that the contains_file() name seems to
1344 imply that this does more work than what it does, but its really only
1345 a name match (from #517086)
1350 Update to match the above change.
1352 2008-02-20 Benjamin Otte <otte@gnome.org>
1354 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1355 (g_file_eject_mountable):
1356 even more cases of not returning in error path
1358 2008-02-20 Benjamin Otte <otte@gnome.org>
1360 * gfile.c: (g_file_mount_mountable):
1361 return from function in error path.
1363 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1366 Remove trailing coma in GMountMountFlags struct
1368 2008-02-18 Alexander Larsson <alexl@redhat.com>
1372 * glocalfileoutputstream.c:
1373 Use g_unlink/g_rename instead of unlink/rename;
1374 do not pass raw filenames to g_set_error. (#517239)
1375 Patch from Yevgen Muntyan.
1377 2008-02-18 Alexander Larsson <alexl@redhat.com>
1380 * glocalfileoutputstream.c:
1381 Open files with O_BINARY on windows. (#517140)
1383 2008-02-14 Alexander Larsson <alexl@redhat.com>
1385 * glocalfileoutputstream.c:
1386 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1388 2008-02-14 Alexander Larsson <alexl@redhat.com>
1391 Copy permissions with file on copy (#514084)
1392 This is what cp does and makes sure e.g. the
1393 exec permissions are kept.
1394 Its kinda weird in that it keeps the permission bits
1395 the same while the uid and gid are different. However
1396 the new uid is the user so its not a security issue,
1397 and I've heard no complaints about cp on this issue.
1399 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1401 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1403 2008-02-13 Alexander Larsson <alexl@redhat.com>
1405 * inotify/inotify-path.c:
1406 Define IN_ONLYDIR if not in header (#515346)
1408 2008-02-12 Alexander Larsson <alexl@redhat.com>
1410 * tests/live-g-file.c:
1413 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1415 * === Released 2.15.5 ===
1417 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1419 * gio.symbols: Add g_mount_mount_flags_get_type.
1421 2008-02-11 Alexander Larsson <alexl@redhat.com>
1424 (g_file_info_set_attribute_mask):
1425 (g_file_attribute_matcher_matches_id):
1426 Correctly handle NULL GAttributeMatcher meaning
1427 matches nothing. (Fixes #513492)
1429 2008-02-11 Alexander Larsson <alexl@redhat.com>
1434 Added GMountMountFlags enum and added a flags
1435 argument to all mount calls.
1437 This is an API/ABI change for future extensibility,
1438 as I think we will need at least an
1439 inhibit-autorun flag (the panel needs this).
1440 There are no flags defined yet though.
1442 2008-02-11 Alexander Larsson <alexl@redhat.com>
1445 Added new standard::description attribute.
1446 Requested by Vincent, and useful for both
1449 2008-02-11 Alexander Larsson <alexl@redhat.com>
1451 * gdesktopappinfo.c:
1454 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1456 * *.c: Documentation additions
1458 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1460 * gappinfo.h: Formatting cleanup
1461 * gappinfo.c: Fix up docs.
1463 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1465 * gunixmounts.c: Consistently use getmntent_r() and fall
1466 back to getmntent(). (#515492)
1468 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1470 * gbufferedinputstream.c:
1472 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1474 * tests/data-input-stream.c:
1475 * tests/data-output-stream.c: Portability fixes.
1477 2008-02-08 Alexander Larsson <alexl@redhat.com>
1482 Add g_volume_should_automount.
1485 2008-02-07 Tor Lillqvist <tml@novell.com>
1487 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1488 Win32, too Unix-specific.
1490 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1492 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1493 a local plt if the compiler doesn't support what we want. Bug #514702
1495 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1497 reviewed by: <delete if not using a buddy>
1500 * gunixinputstream.c:
1501 * gunixoutputstream.c:
1503 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1505 * tests/Makefile.am:
1506 * tests/live-g-file.c:
1507 * tests/live-g-file.txt:
1508 New GIO testing module working over real data
1510 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1512 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1513 Fallback to rename() if link() is not available
1514 (when no support on target filesystem)
1516 2008-02-06 Michael Natterer <mitch@imendio.com>
1518 * gfileinfo.c (g_file_info_get_icon): replace
1519 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1521 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1523 * gfile.c (g_file_create):
1524 Documentation update of error codes
1526 2008-02-06 Alexander Larsson <alexl@redhat.com>
1528 * gdesktopappinfo.c:
1529 Update to use both mimeapps.list and
1530 defaults.list as discussed on xdg list.
1532 2008-02-06 Benjamin Otte <otte@gnome.org>
1535 * gfilenamecompleter.c:
1536 Fix some typos in the documentation.
1538 2008-02-06 Alexander Larsson <alexl@redhat.com>
1540 * glocalfile.c (g_local_file_trash):
1541 Don't succeed with trash if newly created
1542 trash dir has the wrong owner. (#514696)
1544 2008-02-05 Alexander Larsson <alexl@redhat.com>
1546 * glocalfile.c (g_local_file_move):
1547 Don't spew warnings when destination is not
1550 2008-02-03 Hans Breuer <hans@breuer.org>
1552 * makefile.msc : update
1554 2008-02-01 Michael Natterer <mitch@imendio.com>
1556 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1557 return value of xdg_mime_list_mime_parents() to a variable of the
1560 2008-02-01 Alexander Larsson <alexl@redhat.com>
1562 * gappinfo.c (g_app_info_launch_uris):
1563 Actually call the launch_uris method, not
1566 2008-02-01 Alexander Larsson <alexl@redhat.com>
1568 * gdesktopappinfo.c (g_desktop_app_info_equal):
1569 Ensure appinfos with no id but same pointer value
1572 2008-02-01 Alexander Larsson <alexl@redhat.com>
1574 * gappinfo.c (g_app_info_launch_default_for_uri):
1577 2008-02-01 Alexander Larsson <alexl@redhat.com>
1581 Add g_app_info_launch_default_for_uri utility
1584 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1586 * gdesktopappinfo.c:
1587 Doc fix for g_app_info_get_default_for_uri_scheme ()
1590 2008-01-30 Alexander Larsson <alexl@redhat.com>
1593 Add doc comment about uris vs GFiles to
1596 * gdesktopappinfo.c:
1597 Ensure uris passed to g_app_info_launch_uris()
1598 are not roundtriped through GFile (as that
1599 may be slightly destructive for e.g. mailto: links)
1601 2008-01-30 Alexander Larsson <alexl@redhat.com>
1603 * tests/data-input-stream.c:
1604 * tests/data-output-stream.c:
1605 C89 fixes from Jens Granseuer (#512849)
1607 2008-01-30 Alexander Larsson <alexl@redhat.com>
1610 Fix gamin/fam difference build issue. (#509419)
1612 2008-01-29 Alexander Larsson <alexl@redhat.com>
1615 * gdesktopappinfo.c:
1616 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1618 2008-01-29 Alexander Larsson <alexl@redhat.com>
1620 * gdesktopappinfo.c:
1621 * gdesktopappinfo.h:
1622 giomodule-priv.h include moved to .c file.
1624 2008-01-29 Alexander Larsson <alexl@redhat.com>
1626 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1627 Remove unused prio/name fields.
1629 2008-01-29 Alexander Larsson <alexl@redhat.com>
1631 * gcontenttype.c (looks_like_text):
1632 Don't treat whitespace as control chars.
1634 2008-01-29 Alexander Larsson <alexl@redhat.com>
1636 * gdesktopappinfo.c:
1637 Lazily create the desktop files for appinfos created
1638 by g_app_info_create_from_commandline() when needed
1639 for mime associations. This allows run-time use
1640 of GAppInfo object without creating unnecessary
1643 2008-01-29 Alexander Larsson <alexl@redhat.com>
1646 Added new symbols to gio.symbols
1648 2008-01-29 Alexander Larsson <alexl@redhat.com>
1651 Add g_file_query_default_handler utility to easily look up
1652 the GAppInfo that handles a file.
1654 * gdesktopappinfo.[ch]:
1656 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1659 Remove unused function
1661 2008-01-29 Alexander Larsson <alexl@redhat.com>
1663 * gfileenumerator.c:
1664 Mention need to free returned value in
1665 g_file_enumerator_next_files_finish docs.
1666 Fix leak if g_file_enumerator_next_files_finish()
1669 2008-01-29 Alexander Larsson <alexl@redhat.com>
1672 (_g_unix_content_type_get_parents):
1673 Use list_parents, not get_parents from xdgmime, because
1674 the later doesn't use the cache.
1676 * xdgmime/xdgmimecache.c:
1677 (_xdg_mime_cache_list_mime_parents):
1678 Don't list the same type as parent multiple times.
1680 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1682 * === Released 2.15.4 ===
1684 2008-01-28 Alexander Larsson <alexl@redhat.com>
1687 Register local vfs with prio 0.
1690 Remove old name and prio class members
1692 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1694 * tests/g-file.c: Disable some tests that are failing in
1695 the absence of a http backend.
1697 2008-01-28 Alexander Larsson <alexl@redhat.com>
1701 Add registration hooks for extension points.
1702 Register the gio extension points.
1704 * fam/gfamdirectorymonitor.c:
1705 * fam/gfamfilemonitor.c:
1706 * glocaldirectorymonitor.[ch]:
1707 * glocalfilemonitor.[ch]:
1708 * gnativevolumemonitor.h:
1709 * gunionvolumemonitor.c:
1710 * gunixvolumemonitor.c:
1713 * inotify/ginotifydirectorymonitor.c:
1714 * inotify/ginotifyfilemonitor.c:
1715 Use the extension points registration instead
1716 of g_type_children().
1718 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1721 * gvolume.[hc]: Document new API.
1723 * gfile.c (g_file_copy_async): Fix docs
1725 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1727 * gbufferedinputstream.c:
1729 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1732 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1734 * glocalfile.c: Avoid trivial differences in translatable strings.
1736 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1738 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1739 build with gcc 3.4 (#509419)
1741 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1743 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1744 (#509994, Murray Cumming)
1746 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1748 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1749 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1750 this allows big jobs to be executed in chunks, instead of blocking
1751 the main loop for a long time.
1753 * gsimpleasyncresult.c:
1754 * giofile.c: Adapt callers.
1756 2008-01-25 Alexander Larsson <alexl@redhat.com>
1758 * gdesktopappinfo.c:
1759 Implement changes discussed on xdg list.
1760 Now we can add supported mimetypes by just using defaults.list
1761 We can also remove associations in defaults.list.
1763 2008-01-25 Alexander Larsson <alexl@redhat.com>
1765 * gdesktopappinfo.c:
1766 Don't make local copy of desktop file
1767 for mimetype changes if the file already
1768 supports the new mimetype.
1770 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1774 * gbufferedinputstream.c:
1775 * glocalfile.c: String improvements. (#511966,
1776 Theppitak Karoonboonyanan)
1778 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1780 * gioscheduler.h: Expand docs a bit.
1782 2008-01-24 Alexander Larsson <alexl@redhat.com>
1785 Add g_drive_get_identifier and
1786 g_drive_enumerate_identifiers
1789 Add g_volume_get_identifier and
1790 g_volume_enumerate_identifiers
1796 Implement identifiers for unix backend
1798 2008-01-24 Alexander Larsson <alexl@redhat.com>
1803 Add g_file_copy_async() (#511580)
1804 Based on patch from Carlos Garcia Campos
1806 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1808 * gioscheduler.c: Some documentation additions.
1810 2008-01-22 Alexander Larsson <alexl@redhat.com>
1812 * gdesktopappinfo.c:
1813 (g_desktop_app_info_new):
1814 Don't leak basename.
1816 2008-01-22 Alexander Larsson <alexl@redhat.com>
1818 * gdesktopappinfo.c:
1819 (g_desktop_app_info_new_from_filename):
1822 2008-01-22 Alexander Larsson <alexl@redhat.com>
1824 * glocalfileinfo.c (get_thumbnail_attributes):
1827 2008-01-22 Alexander Larsson <alexl@redhat.com>
1830 (canonicalize_filename):
1831 Canonicalize paths that start with more than
1835 (compare_two_files):
1836 (test_g_file_new_for_path):
1839 2008-01-22 Alexander Larsson <alexl@redhat.com>
1842 Allow UTF-8 in file:// parse names.
1844 * tests/Makefile.am:
1845 * tests/data-input-stream.c:
1846 * tests/data-output-stream.c:
1847 * tests/g-file-info.c:
1849 Added a bunch of tests from Tomas Bzatek
1851 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1853 * === Released 2.15.3 ===
1855 2008-01-21 Alexander Larsson <alexl@redhat.com>
1857 * gfileinputstream.[ch]:
1858 * gfileoutputstream.[ch]:
1860 Remove duplicated GSeekable functions. (#509990)
1861 Just use the g_seekable_xxx() calls instead.
1863 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1866 * gvolumemanager.c: Whitespace cleanups.
1868 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1869 Use the right mode when creating the file.
1871 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1873 * gfileenumerator.c:
1874 * gfileinputstream.c:
1876 * goutputstream.c: Documentation: Fixed minor typos
1877 and added more mentions of specific _finish() functions.
1879 2008-01-21 Alexander Larsson <alexl@redhat.com>
1881 * inotify/Makefile.am:
1882 * inotify/inotify-helper.c:
1883 * inotify/inotify-kernel.c:
1884 * inotify/inotify-path.c:
1885 * inotify/local_inotify.h: Removed.
1886 * inotify/local_inotify_syscalls.h: Removed.
1887 Removed the included copies of the inotify
1888 headers. We now only use the <sys/inotify.h>
1889 header which exists on modern systems.
1890 This fixes problems on ARM and SH5 (#510448)
1891 but is also generally much cleaner and future
1892 safe. For instance, if other OSes add support
1893 for inotify it should "just work".
1895 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1897 * inotify/*.c: Coding style fixes.
1898 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1899 for the 1/4 Hz timer.
1901 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1904 * gfilemonitor.[hc]:
1905 * gmemoryinputstream.c:
1906 * gmemoryoutputstream.c:
1907 * gmountoperation.c:
1908 * gthemedicon.c: Documentation updates
1910 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1912 * gfile.c: documentation: Fixed more minor
1915 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1917 * gmount.c: (g_mount_remount): documentation:
1918 Mention g_mount_remount_finish() instead of
1919 g_mount_unmount_finish().
1921 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1925 * gfile.c: Fixed some minor typos in the
1928 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1930 * gio/gvolumemonitor.c:
1931 (g_volume_monitor_get_connected_drives):
1932 (g_volume_monitor_get_volumes):
1933 (g_volume_monitor_get_mounts): Documentation:
1934 Clarify the ownership of the regurn GLists.
1936 2008-01-17 Alexander Larsson <alexl@redhat.com>
1939 Add the async find_enclosing_mount version
1940 to the header file too.
1942 2008-01-17 Alexander Larsson <alexl@redhat.com>
1945 Add async version of find_enclosing_mount
1946 with default implementation.
1948 2008-01-17 Alexander Larsson <alexl@redhat.com>
1953 Allow calls to implementation of copy and write
1954 even if the type of the file implementations is
1955 different. This can be used to implement native
1956 upload and download calls in a vfs.
1959 (g_local_file_move):
1960 Protect against the case where move is called
1961 with one file not being local.
1963 Make sure we call the progress callback once
1964 in the native move operation so that the caller
1965 knows how many bytes were copied.
1967 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1970 * gdatainputstream.c:
1972 * gfileoutputstream.c:
1977 * gunixmounts.c: Corrected some typos in the documentation:
1978 occured -> occurred.
1979 its -> it's (where appropriate).
1981 2008-01-16 Alexander Larsson <alexl@redhat.com>
1985 Add g_file_query_exists (#508771)
1987 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1992 * gvolume.c: For async functions that have no non-async
1993 version, document that the GAsyncReadyCallback may be NULL.
1996 2008-01-15 Alexander Larsson <alexl@redhat.com>
1998 * gmemoryinputstream.c:
1999 * gmemoryoutputstream.c:
2000 Don't do pointer arithmetic on void * (#508602)
2001 Patch from Kazuki IWAMOTO
2003 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2005 * === Released 2.15.2 ===
2007 2008-01-14 Alexander Larsson <alexl@redhat.com>
2009 * gfile.c (g_file_monitor_file):
2010 Don't set error here, since we fallback to polling monitor.
2012 2008-01-14 Alexander Larsson <alexl@redhat.com>
2015 (g_file_monitor_directory):
2016 (g_file_monitor_file):
2017 Add GError to file monitor calls
2019 * glocaldirectorymonitor.c:
2020 * glocaldirectorymonitor.h:
2022 * glocalfilemonitor.c:
2023 * glocalfilemonitor.h:
2025 Update for above change
2027 2008-01-14 Alexander Larsson <alexl@redhat.com>
2031 Handle root correctly in g_file_get_relative_path (#508719)
2033 2008-01-14 Alexander Larsson <alexl@redhat.com>
2036 Clean up docs and example for GAsyncResult (#508074)
2038 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2040 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2041 and correct some spelling mistakes. Bug #508108.
2043 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2045 * glocalfileinfo.c: Add a comment.
2047 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2049 * gfileinfo.c: GFileInfo description: Mention
2050 how to actually set attributes in a GFile and how to discover
2051 which attributes are settable. Bug #508378.
2053 2008-01-10 A. Walton <awalton@svn.gnome.org>
2055 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2056 (g_app_info_get_default_for_type):
2057 Check for NULL content types.
2059 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2061 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2063 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2065 * gfile.c: *_async() functions: Several small corrections
2066 to the documentation, mostly correcting copy/paste errors
2067 and improving some sentences.
2069 2008-01-09 Dan Winship <danw@gnome.org>
2071 * glocalfile.c (get_unique_filename): x86_64 fix
2073 2008-01-09 Alexander Larsson <alexl@redhat.com>
2078 Add g_unix_mount_guess_should_display and use
2079 for unix volume monitor backend.
2080 This means we more or less show what the
2081 gnome-vfs backend did.
2082 Based on patch from Padraig O'Briain
2084 2008-01-09 Alexander Larsson <alexl@redhat.com>
2088 Add g_themed_icon_new_with_default_fallbacks
2091 Use default fallbacks for icons
2093 2008-01-09 Alexander Larsson <alexl@redhat.com>
2096 * gmountoperation.[ch]:
2097 Change the API a bit so that unhandled methods
2098 get reported via the reply, rather than by
2099 the signal emission return value. This is because
2100 some handlers can't know this immediately without
2101 doing I/O, and this is an async operation that
2104 2008-01-09 Alexander Larsson <alexl@redhat.com>
2107 * fam/gfamdirectorymonitor.c:
2108 * fam/gfamfilemonitor.c:
2109 Fix double free crash (#508224)
2110 Patch from Joe Marcus Clarke
2112 008-01-07 Matthias Clasen <mclasen@redhat.com>
2114 * === Released 2.15.1 ===
2116 2008-01-07 Alexander Larsson <alexl@redhat.com>
2118 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2119 Fix warning (#507835)
2121 2008-01-07 Alexander Larsson <alexl@redhat.com>
2124 Pass --internal to glib-genmarshal
2127 * gmountoperation.c:
2129 Use better types for signal arguments (#507822)
2131 2008-01-07 Alexander Larsson <alexl@redhat.com>
2134 Build test subdir after .
2135 Remove gdirectorymonitor.[ch]
2137 * gdirectorymonitor.[ch]:
2141 Remove GDirectoryMonitor and make
2142 GFileMonitor the baseclass for both file and
2143 directory monitors. Lift the more generic
2144 rate limiting code from GDirectoryMonitor
2148 * fam/gfamdirectorymonitor.[ch]:
2149 * inotify/ginotifydirectorymonitor.[ch]:
2150 * inotify/inotify-helper.c:
2151 * glocaldirectorymonitor.[ch]:
2154 Update for the removed GDirectoryMonitor.
2156 * gmemoryoutputstream.c:
2157 Remove ununsed variable
2159 2008-01-07 Alexander Larsson <alexl@redhat.com>
2161 * gmemoryinputstream.c:
2162 Translate error strings
2165 * gmemoryoutputstream.[ch]:
2166 New implementation that avoids using GByteArray
2167 in implementation and API. (#506377)
2169 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2171 * tests/*: Add a test for memory input streams.
2173 * Makefile.am: Add tests to SUBDIRS.
2175 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2177 * glocalfilemonitor.c:
2178 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2181 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2183 * gdesktopappinfo.c: Fix a docs typo.
2185 * gfileattribute.c: Add information about extended attributes
2186 to the documentation. (#505058)
2188 2008-01-04 Alexander Larsson <alexl@redhat.com>
2191 * gmountoperation.c:
2192 Use the right type (uint) for the ask_password signal.
2194 2008-01-04 Alexander Larsson <alexl@redhat.com>
2199 Add g_app_info_supports_files()
2200 Remove desktop arg from g_app_info_should_show().
2202 * gdesktopappinfo.[ch]:
2203 Implement g_app_info_supports_files() and new should_show()
2204 Add g_desktop_app_info_set_desktop_env() to set the desktop
2205 for should_show(). (This will be set by gtk+ later)
2207 2008-01-04 Alexander Larsson <alexl@redhat.com>
2210 * gmemoryinputstream.[ch]:
2211 Improve API so that you can use multiple chunks
2212 of memory and custom destroy functions. (#506374)
2214 2008-01-03 Alexander Larsson <alexl@redhat.com>
2217 Handle NULL attribute matchers safely, as we return this
2218 for empty attribute matcher strings.
2220 2008-01-03 Alexander Larsson <alexl@redhat.com>
2222 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2223 Add /usr/local to list of internal mountpoints
2225 2008-01-03 Alexander Larsson <alexl@redhat.com>
2228 Check for HAVE_LCHOWN (#505887)
2230 2008-01-03 Alexander Larsson <alexl@redhat.com>
2234 Add define for selinux context attribute.
2235 Fix missing : -> :: namespace separator change
2236 Fix missing _ -> - name change for xattr-sys.
2239 2008-01-03 Alexander Larsson <alexl@redhat.com>
2242 Link to libglib and libgobject directly (#504879)
2243 Patch from Sebastien Bacher
2245 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2247 * gfile.c: Expanded the g_file_new_for_commandline_arg
2248 description a bit, based on the code and the docs of the
2249 other g_file_new_for_* functions.
2251 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2253 * gfilemonitor.h: Fixed typo in docs.
2255 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2257 Updates to GIO documentation. (#506395, Mikael Hermansson)
2259 * gcontenttype.c: Describe memory management for return value of
2260 g_content_types_get_registered(). Missing piece from #505815.
2261 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2262 GVolume, GDrive, GMounts, which hopefully gives the user less
2263 confusions when using this API. Following explainations from
2264 Alexander Larsson on gtk-devel-list.
2266 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2268 * gfileinfo.c: Expand the long description.
2270 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2273 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2274 fix builds with --disable-visibility. (#500273, Christian Persch)
2276 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2278 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2279 in the list of returned app infos.
2281 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2283 * gappinfo.c: Fix a cross-reference
2285 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2287 * gfileinputstream.c:
2288 * gfileoutputstream.c:
2292 * gdesktopappinfo.c:
2294 * gfileinfo.c: Documentation updates.
2296 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2298 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2301 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2303 * gcontenttype.c (g_content_types_get_registered): Don't return
2304 freed memory (#505815, Mikael Hermansson)
2306 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2308 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2309 used to detect statbuf->st_blocks. (#505042)
2311 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2313 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2314 environment handling. (#504829, Cosimo Cecchi)
2316 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2318 * gappinfo.c: Doc improvements
2320 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2323 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2325 * === Released 2.15.0 ===
2327 2007-12-20 Hans Breuer <hans@breuer.org>
2329 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2330 with symbols gwin32appinfo.obj, added gmount.obj
2331 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2333 2007-12-20 Alexander Larsson <alexl@redhat.com>
2339 * gfilenamecompleter.c:
2342 * gpollfilemonitor.c:
2343 File attribute renames:
2345 fs:: -> filesystem::
2346 id::fs -> id::filesystem
2348 2007-12-20 Alexander Larsson <alexl@redhat.com>
2357 Add GMountUnmountFlags to all unmount and
2359 Add g_mount_remount() call.
2361 2007-12-20 Alexander Larsson <alexl@redhat.com>
2363 * gvfs.c (get_default_vfs):
2364 Fix unused variable warning
2366 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2368 * pltcheck.sh: Update
2370 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2372 * gunionvolumemonitor.c:
2373 * gunixmount.c: Remove C99 comments
2375 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2377 * gio.symbols: Add some missing symbols
2379 2007-12-19 Alexander Larsson <alexl@redhat.com>
2382 Make g_io_modules_load_all_in_directory not unuse
2383 loaded modules so that users of it can do stuff
2385 Init internal "module" types.
2386 Initialize static prio and name for types so that
2387 we don't have to load modules to get it.
2389 * gnativevolumemonitor.h:
2391 Move is_supported to parent class so that
2392 non-native monitors can avoid being initialized
2393 too. (For instance GDaemonVolumeMonitor if we're
2394 not using GDaemonVfs.)
2396 * glocaldirectorymonitor.[ch]:
2397 * glocalfilemonitor.[ch]:
2398 * gunionvolumemonitor.c:
2399 * gunixvolumemonitor.c:
2401 Find plugins using the static prio+name to
2402 avoid unnecessarily loading the modules.
2404 2007-12-19 Alexander Larsson <alexl@redhat.com>
2409 2007-12-19 Alexander Larsson <alexl@redhat.com>
2411 * gunionvolumemonitor.c:
2412 Store the native type as GType, not class so that
2413 we can unload it. But still avoid unnecessarily
2416 2007-12-19 David Zeuthen <davidz@redhat.com>
2418 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2419 add signals 'disconnected' and 'eject-button' on GDrive. Add
2420 signal 'removed' on GVolume and 'unmounted' on GMount.
2422 * gdrive.c: (g_drive_base_init):
2424 * gfile.c: (g_file_mount_mountable),
2425 (g_file_mount_enclosing_volume):
2428 * gmount.c: (g_mount_base_init):
2430 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2431 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2432 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2436 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2438 * *.c: Fix up includes in the section docs.
2440 2007-12-17 Alexander Larsson <alexl@redhat.com>
2442 * gnativevolumemonitor.h:
2443 * gunionvolumemonitor.c:
2444 * gunixvolumemonitor.c:
2445 Add is_supported() to GNativeVolumeMonitorClass so
2446 that we can avoid having to create an object to see
2447 if the backend is supported at runtime.
2448 Also add name member and an env var to pick a specific
2449 volume monitor backend.
2453 Add cancellable to _g_mount_get_for_mount_path()
2455 * glocaldirectorymonitor.c:
2456 * glocalfilemonitor.c:
2457 Avoid loading and unloading modules while sorting.
2459 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2462 * gunixmounts.[hc]: Namespace waste reduction, move some
2463 g_get_unix_mount functions to the g_unix_mount namespace.
2466 * gunixvolumemonitor.c:
2468 * glocaldirectorymonitor.c: Update all callers.
2470 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2472 2007-12-17 Alexander Larsson <alexl@redhat.com>
2475 Add doc comments about what GFile operations are
2476 guaranteed to not block.
2478 2007-12-17 Alexander Larsson <alexl@redhat.com>
2481 Add missing #ifdef fixing OSX build.
2482 (#503334, patch from Richard Hult)
2484 2007-12-14 David Zeuthen <davidz@redhat.com>
2488 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2489 (g_mount_eject), (g_mount_eject_finish):
2491 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2492 (get_volume_for_uuid), (get_mount_for_uuid),
2493 (g_union_volume_monitor_class_init),
2494 (get_default_native_type_with_exclude), (get_default_native_type),
2495 (get_native_type), (update_native_type),
2496 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2497 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2498 (g_unix_mount_can_eject), (eject_unmount_cb),
2499 (eject_unmount_read_error), (eject_unmount_do),
2500 (g_unix_mount_unmount), (g_unix_mount_eject),
2501 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2502 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2503 (g_unix_mount_point_guess_can_eject):
2505 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2506 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2507 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2508 (g_unix_volume_mount), (g_unix_volume_eject),
2509 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2510 * gunixvolumemonitor.c: (get_volume_for_uuid),
2511 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2513 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2514 (g_volume_eject), (g_volume_eject_finish):
2516 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2517 (g_volume_monitor_get_mount_for_uuid):
2520 Provide eject() on both GMount and GVolume and utility functions
2521 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2522 ejected. Introduce the concept of UUID's and wire it into GVolume
2523 and GMount and provide API on GVolumeMonitor to find such
2524 instances. Also handle the case where an external
2525 GNativeVolumeMonitor fails to initialize. Lock around the
2526 _g_get_mount_for_mount_path() function such that volume monitor
2527 implementations won't have to do locking themselves.
2529 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2531 * gdesktopappinfo.c:
2537 * gvolume.h: Documentation updates
2539 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2542 * gfile.h: Doc updates
2544 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2547 * gdesktopappinfo.c: Use hash table iterators.
2549 2007-12-14 Alexander Larsson <alexl@redhat.com>
2552 * gfileattribute.[ch]:
2553 * gfileattribute-priv.h:
2554 Move GFileAttributeValue to a private header, as
2558 Make set_attribute take a type + a pointer instead
2559 of a GFileAttributeValue.
2562 Fix up for above changes.
2563 Add g_file_info_get_attribute_data to get
2564 all info in one call, g_file_info_get_attribute_status
2565 to get the status and g_file_info_get_attribute_as_string.
2569 * glocalfileinfo.[ch]:
2573 Make _guess_type static.
2575 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2578 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2579 made mkenums and friends use temporary files to avoid leaving
2580 empty generated files on failure (#503470).
2582 2007-12-14 Alexander Larsson <alexl@redhat.com>
2584 * gmountoperation.h:
2587 2007-12-14 Alexander Larsson <alexl@redhat.com>
2591 * gfileattribute.[ch]:
2594 * glocalfileoutputstream.c:
2595 * gmountoperation.[ch]:
2596 * goutputstream.[ch]:
2597 Clean up all flags enums to not have _FLAGS in them
2598 Make the names of some of the enums better.
2603 2007-12-14 Michael Natterer <mitch@imendio.com>
2605 * gio.symbols: fix g_io_scheduler symbol names.
2607 2007-12-14 Alexander Larsson <alexl@redhat.com>
2613 * gbufferedinputstream.h:
2614 * gbufferedoutputstream.h:
2617 * gdatainputstream.h:
2618 * gdataoutputstream.h:
2619 * gdesktopappinfo.h:
2620 * gdirectorymonitor.h:
2624 * gfileenumerator.h:
2627 * gfileinputstream.h:
2629 * gfilenamecompleter.h:
2630 * gfileoutputstream.h:
2631 * gfilterinputstream.h:
2632 * gfilteroutputstream.h:
2640 * gmemoryinputstream.h:
2641 * gmemoryoutputstream.h:
2643 * gmountoperation.h:
2646 * gsimpleasyncresult.h:
2648 * gunixinputstream.h:
2650 * gunixoutputstream.h:
2654 * inotify/Makefile.am:
2655 Only allow including <gio/gio.h> from apps
2657 2007-12-14 Alexander Larsson <alexl@redhat.com>
2659 * gioscheduler.[ch]:
2660 * gsimpleasyncresult.c:
2661 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2662 Split out the send_to_mainloop call into two versions instead
2663 of having the block argument.
2665 2007-12-13 Alexander Larsson <alexl@redhat.com>
2667 * gcancellable.[ch]:
2669 * gbufferedinputstream.c:
2670 * gfileenumerator.c:
2671 * gfileinputstream.c:
2672 * gfileoutputstream.c:
2676 g_push/pop_current_cancellable ->
2677 g_cancellable_push/pop_current
2679 2007-12-13 Alexander Larsson <alexl@redhat.com>
2683 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2685 2007-12-13 Alexander Larsson <alexl@redhat.com>
2687 * gmountoperation.h:
2688 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2690 2007-12-12 Alexander Larsson <alexl@redhat.com>
2693 Fix race condition when freeing proxy in
2694 g_io_job_send_to_mainloop().
2696 2007-12-12 Alexander Larsson <alexl@redhat.com>
2702 Make attribute namespace separator "::" instead of ":".
2703 Use - instead of _ as separator in attribute names.
2705 2007-12-12 Alexander Larsson <alexl@redhat.com>
2707 * gbufferedinputstream.h:
2708 * gbufferedoutputstream.h:
2709 * gdatainputstream.h:
2710 * gdataoutputstream.h:
2711 * gdirectorymonitor.h:
2712 * gfileenumerator.h:
2713 * gfileinputstream.h:
2715 * gfileoutputstream.h:
2716 * gfilterinputstream.h:
2717 * gfilteroutputstream.h:
2719 * glocalfileinputstream.h:
2720 * glocalfileoutputstream.h:
2721 * gmemoryinputstream.h:
2722 * gmemoryoutputstream.h:
2723 * gnativevolumemonitor.h:
2725 * gunixinputstream.h:
2726 * gunixoutputstream.h:
2729 s/parent/parent_instance/ in GObjects
2731 2007-12-12 Alexander Larsson <alexl@redhat.com>
2736 No need for padding for interfaces
2738 2007-12-12 Alexander Larsson <alexl@redhat.com>
2742 * gbufferedinputstream.c:
2743 * gbufferedoutputstream.c:
2746 * gdatainputstream.[ch]:
2747 * gdesktopappinfo.c:
2748 * gdirectorymonitor.c:
2750 * gfileattribute.[ch]:
2753 * gfileinputstream.h:
2754 * gfilemonitor.[ch]:
2755 * gfileoutputstream.[ch]:
2756 * gfilterinputstream.h:
2757 * gfilteroutputstream.h:
2760 * gloadableicon.[ch]:
2761 * gmemoryinputstream.c:
2762 * gmountoperation.c:
2764 Fix up a bunch of details in the docs.
2769 2007-12-11 David Zeuthen <davidz@redhat.com>
2771 Rework how volumes, drives and volume monitoring is
2772 done. Previosly the model was
2774 GDrive <1-1> GVolume
2776 where a GDrive instance represented a mount point and a GVolume
2777 instance represented a mounted file system. This patch changes it
2780 GDrive <1-N> GVolume <1-1> GMount
2782 where GMount now serves the purpose of the old GVolume and the new
2783 GVolume serves the purpose of the old GDrive. In addition the new
2784 GDrive interface is used to represent a collection of GVolume
2785 instances (typically partitions) and also contains utility to query
2786 the state of the physical drive the GDrive object represents (such
2787 as checking for media, polling the drive, ejecting the media etc.).
2789 Also implement mounting and unmounting in the Unix volume monitor
2790 backend. A subquent patch will introduce GDrive support for ejection
2794 * gdrive.c: (g_drive_is_media_check_automatic),
2795 (g_drive_is_media_removable), (g_drive_has_media),
2796 (g_drive_can_poll_for_media), (g_drive_eject),
2797 (g_drive_eject_finish), (g_drive_poll_for_media),
2798 (g_drive_poll_for_media_finish):
2800 * gfile.c: (g_file_find_enclosing_mount):
2803 * glocaldirectorymonitor.c:
2804 (g_local_directory_monitor_constructor), (mounts_changed):
2805 * glocalfile.c: (get_mount_info),
2806 (g_local_file_find_enclosing_mount),
2807 (g_local_file_file_iface_init):
2808 * gnativevolumemonitor.h:
2809 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2810 (get_connected_drives), (g_union_volume_monitor_class_init),
2811 (child_volume_added), (child_volume_removed),
2812 (child_volume_changed), (child_mount_added), (child_mount_removed),
2813 (child_mount_pre_unmount), (child_mount_changed),
2814 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2815 (g_union_volume_monitor_remove_monitor),
2816 (_g_mount_get_for_mount_path):
2817 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2818 (guess_system_internal), (_g_get_unix_mounts),
2819 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2820 (g_unix_mount_free), (g_unix_mount_compare),
2821 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2822 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2823 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2824 (type_to_icon), (g_unix_mount_guess_name),
2825 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2826 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2827 (_resolve_symlink), (_resolve_dev_root):
2829 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2830 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2831 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2832 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2833 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2834 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2835 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2836 (g_unix_volume_volume_iface_init):
2838 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2839 (get_mounts), (get_volumes), (get_connected_drives),
2840 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2841 (mountpoints_changed), (mounts_changed),
2842 (g_unix_volume_monitor_init),
2843 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2844 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2845 * gunixvolumemonitor.h:
2846 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2847 (g_volume_mount), (g_volume_mount_finish):
2849 * gvolumemonitor.c: (g_volume_monitor_class_init),
2850 (g_volume_monitor_get_connected_drives),
2851 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2854 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2856 * gmountoperation.h (GPasswordFlags): Close the gap
2858 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2860 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2862 * gdesktopappinfo.[hc]: Remove _-prefixes
2864 2007-12-10 Tor Lillqvist <tml@novell.com>
2866 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2869 2007-12-10 Alexander Larsson <alexl@redhat.com>
2871 * gfile.c (g_file_set_display_name):
2872 Don't hardcode '/' (#502727)
2874 2007-12-09 Hans Breuer <hans@breuer.org>
2876 * makefile.msc : follow lib naming convention
2877 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2878 for user and group name, tested with ../tests/gio-ls
2880 2007-12-09 A. Walton <awalton@svn.gnome.org>
2882 * gdesktopappinfo.c:
2888 * gfileenumerator.c:
2893 * gmemoryinputstream.c:
2894 * gmemoryoutputstream.c:
2896 * gsimpleasyncresult.c:
2897 More documentation cleanup and filling in missing information, bringing
2898 GIO to 99% symbol coverage.
2900 2007-12-08 Hans Breuer <hans@breuer.org>
2902 [gio compiles and links on win32, not sure how much already works]
2903 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2904 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2905 base on win32 API; prefer g_lstat() over lstat(); instead of
2906 localtime_r() use an all GLib implementation on win32;
2907 get_mount_info() still needs a win32 specifc implementation
2908 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2909 win32_get_file_user_info to get owner/group info without uid/gid
2910 * glocalfileinputstream.c : include <io.h> on win32
2911 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2912 definition, use g_win32_ftruncate() for G_OS_WIN32
2913 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2914 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2915 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2916 * makefile.msc : updated
2918 2007-12-07 Alexander Larsson <alexl@redhat.com>
2920 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2921 Avoid warning spew if error == NULL
2923 2007-12-07 Alexander Larsson <alexl@redhat.com>
2926 Update docs wrt etags
2928 2007-12-06 Alexander Larsson <alexl@redhat.com>
2931 Include sys/types.h for dev_t (#501919)
2933 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2937 Make abicheck and pltcheck pass.
2939 2007-12-05 Alexander Larsson <alexl@redhat.com>
2942 * giomodule-priv.h: Added.
2943 * glocaldirectorymonitor.c:
2944 * glocalfilemonitor.c:
2945 * gunionvolumemonitor.c:
2947 Actually add the declaration of _g_io_modules_ensure_loaded
2949 2007-12-05 Alexander Larsson <alexl@redhat.com>
2951 * gdatainputstream.c:
2956 * glocaldirectorymonitor.c:
2957 * glocalfilemonitor.c:
2958 * gunionvolumemonitor.c:
2960 Make g_io_modules_ensure_loaded a private function and
2961 don't pass in the dirname. This means we can do magic
2962 directory finding in the win32 version.
2963 Export the actual load-modules-in-directory code so that
2964 gvfs can reuse that.
2966 2007-12-05 Alexander Larsson <alexl@redhat.com>
2968 * gbufferedinputstream.c:
2969 * gbufferedoutputstream.c:
2972 * gfileenumerator.[ch]:
2973 * gfileinputstream.c:
2974 * gfileoutputstream.[ch]:
2975 * gfilterinputstream.c:
2976 * gfilteroutputstream.c:
2977 * ginputstream.[ch]:
2979 * glocalfileenumerator.c:
2980 * glocalfileinputstream.c:
2981 * glocalfileoutputstream.c:
2982 * gmemoryinputstream.c:
2983 * gmemoryoutputstream.c:
2984 * goutputstream.[ch]:
2987 * gunixinputstream.c:
2988 * gunixoutputstream.c:
2989 Rename all struct members named:
2990 read, write, close, truncate, or mount
2991 to foo_fn, as these are reserved names
2992 and could be defined as macros in libc.
2995 2007-12-04 Alexander Larsson <alexl@redhat.com>
2998 (g_output_stream_close):
2999 Only call flush if non-null.
3001 2007-11-30 Dan Winship <danw@gnome.org>
3003 * ginputstream.c (g_input_stream_set_pending): Make this take a
3004 GError and return a gboolean, and do the "outstanding operation"
3005 check (and the "stream is already closed" check) itself.
3006 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3008 * goutputstream.c (g_output_stream_set_pending)
3009 (g_output_stream_clear_pending): Likewise
3011 * gbufferedinputstream.c:
3012 * gfileinputstream.c:
3013 * gfileoutputstream.c: Update for that
3015 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3016 Like g_simple_async_report_error_in_idle, but takes a GError
3017 rather than building one.
3019 2007-11-30 Dan Winship <danw@gnome.org>
3021 * goutputstream.c: Don't cheat and unset the "pending" flag around
3022 inner calls. Instead, call the class method directly rather than
3023 the wrapper function that checks "pending"
3025 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3027 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3029 2007-12-03 Hans Breuer <hans@breuer.org>
3031 [start of port to win32/msvc]
3032 * gcancellable.c : HAVE_UNIST_H and _pipe()
3033 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3034 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3035 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3037 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3038 * glocalvfs.c : use HAVE_PWD_H
3039 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3040 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3041 * Makefile.am : added to EXTRA_DIST
3043 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3045 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3048 2007-12-03 Alexander Larsson <alexl@redhat.com>
3051 Handle OSX style xattrs API (#500506)
3053 2007-12-03 Alexander Larsson <alexl@redhat.com>
3057 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3059 2007-12-02 A. Walton <awalton@svn.gnome.org>
3063 Documentation accuracy fixes.
3065 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3067 * gioenumtypes.c.template: Fix typo.
3069 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3071 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3073 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3075 * gdirectorymonitor.c:
3076 * gfilemonitor.c: Add properties
3078 * gbufferedoutputstream.c: Don't mark buffer-size property
3081 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3083 * gbufferedoutputstream.c: Add auto-grow property.
3085 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3087 * *.c: Unify the capitalization of section headings.
3089 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3091 * gmountoperation.c: Add properties
3093 * gdatainputstream.c: Turn byte-order and newline-type into
3096 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3098 * gioenumtypes.[hc].template: Templates for enum registration
3100 * Makefile.am: Generate gioenumtypes.[hc]
3102 * gio.h: Include gioenumtypes.h
3104 * gfile.h: Add some explicit nicks.
3106 * gio.symbols: Add new symbols
3108 * pltcheck.sh: Adjust
3110 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3112 * *.c: Explain etags and link to the explanation
3114 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3116 * *.c: Explain I/O priority.
3118 * *.c: More coding style fixes.
3120 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3122 * gasyncresult.c: Add another paragraph to the intro,
3123 adjust coding style of example.
3125 2007-11-29 A. Walton <awalton@svn.gnome.org>
3128 Fixes unknown meaning in GAppLaunchContext docs.
3130 Clarify asynchronous ops.
3132 Fix entity tag docs.
3135 Provides missing gtk-doc section, fixes API docs slighly.
3136 * gsimpleasyncresult.c:
3137 Fill in missing info in docs.
3138 * gunixinputstream.c:
3139 * gunixoutputstream.c:
3140 Be more expressive in short description.
3142 Remove gtk-doc stubs for non-public API.
3144 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3146 * *.c: Coding style fixups
3148 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3150 * inotify/inotify-helper.c: Don't export the lock from libgio.
3152 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3155 * abicheck.sh: Fix copy-and-paste leftovers
3157 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3159 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3161 2007-11-28 Alexander Larsson <alexl@redhat.com>
3165 Removed unnecessary file
3167 * gdesktopappinfo.[ch]:
3170 * glocaldirectorymonitor.[ch]:
3172 * glocalfileenumerator.[ch]:
3173 * glocalfileinputstream.[ch]:
3174 * glocalfilemonitor.[ch]:
3175 * glocalfileoutputstream.[ch]:
3177 * gnativevolumemonitor.c:
3178 * gpollfilemonitor.[ch]:
3179 * gunionvolumemonitor.[ch]:
3182 * gunixvolumemonitor.[ch]:
3185 * inotify/ginotifydirectorymonitor.[ch]:
3186 * inotify/ginotifyfilemonitor.[ch]:
3187 * inotify/inotify-helper.c:
3188 Append _ to all internal functions
3192 Export symbols needed for modules
3194 2007-11-28 Alexander Larsson <alexl@redhat.com>
3197 * abicheck.sh: Added.
3198 * makegioalias.pl: Added.
3199 * pltcheck.sh: Added.
3200 * gio.symbols: Added.
3203 Initial work on adding symbol handling.
3206 Correct ifdef guard name
3209 * inotify/Makefile.am:
3210 * xdgmime/Makefile.am:
3211 Include toplevel Makefile.decl
3213 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3215 * gcontenttype.c: Move doc comments to the unix section.
3217 * *.[hc]: More trivial doc corrections.
3219 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3221 * gpollfilemonitor.c:
3225 * gdesktopappinfo.c:
3230 * gdatainputstream.c:
3231 * gdatainputstream.h:
3232 * gdataoutputstream.c:
3233 * gdataoutputstream.h:
3234 * gfileinfo.h: Doc cleanups
3236 2007-11-28 Andre Klapper <a9016009@gmx.de>
3238 * gdesktopappinfo.c: Fix a typo.
3240 2007-11-27 Andre Klapper <a9016009@gmx.de>
3242 * glocalfileoutputstream.c: Fix a typo.
3244 2007-11-27 Alexander Larsson <alexl@redhat.com>
3247 Don't include removed headers
3249 2007-11-27 Alexander Larsson <alexl@redhat.com>
3252 * gsocketinputstream.[ch]: Removed.
3253 * gsocketoutputstream.[ch]: Removed.
3254 * gunixinputstream.[ch]: Added.
3255 * gunixoutputstream.[ch]: Added.
3256 Renamed GSocket*Stream to GUnix*Stream and made
3257 it unix-only, since its not really only for sockets
3258 and it only works on unix (but is highly useful there).
3260 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3266 * gbufferedinputstream.c:
3267 * gbufferedinputstream.h:
3268 * gbufferedoutputstream.c:
3269 * gbufferedoutputstream.h:
3273 * gdatainputstream.c:
3274 * gdatainputstream.h:
3275 * gdataoutputstream.c:
3276 * gdataoutputstream.h:
3277 * gdirectorymonitor.c:
3278 * gdirectorymonitor.h:
3285 * gfileenumerator.c:
3286 * gfileenumerator.h:
3291 * gfileinputstream.c:
3292 * gfileinputstream.h:
3295 * gfilenamecompleter.c:
3296 * gfilenamecompleter.h:
3297 * gfileoutputstream.c:
3298 * gfileoutputstream.h:
3299 * gfilterinputstream.c:
3300 * gfilterinputstream.h:
3301 * gfilteroutputstream.c:
3302 * gfilteroutputstream.h:
3315 * glocalfileoutputstream.c:
3316 * gmemoryinputstream.c:
3317 * gmemoryinputstream.h:
3318 * gmemoryoutputstream.c:
3319 * gmemoryoutputstream.h:
3320 * gmountoperation.c:
3321 * gmountoperation.h:
3324 * gpollfilemonitor.c:
3327 * gsimpleasyncresult.c:
3328 * gsimpleasyncresult.h:
3329 * gsocketinputstream.c:
3330 * gsocketinputstream.h:
3331 * gsocketoutputstream.c:
3332 * gsocketoutputstream.h:
3339 * gunixvolumemonitor.c:
3348 Bumps documentation to 93% symbol coverage, touching most
3349 of the public files. Fixes broken function documentation prototypes.
3350 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3351 gtk-doc headers in private files.
3353 2007-11-27 Jürg Billeter <j@bitron.ch>
3355 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3356 (g_buffered_input_stream_read_byte):
3357 * gbufferedinputstream.h:
3358 New functions for efficient access to buffer and simple single byte
3361 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3362 (g_data_input_stream_read_until):
3363 * gdatainputstream.h:
3364 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3365 read_until with multiple stop chars.
3367 2007-11-27 Alexander Larsson <alexl@redhat.com>
3371 * inotify/Makefile.am:
3372 Use the user-specified giomoduledir
3374 2007-11-27 Alexander Larsson <alexl@redhat.com>
3378 Add catch-all gio.h header
3379 Don't install gdummyfile.h
3381 2007-11-26 Alexander Larsson <alexl@redhat.com>
3383 * Makefile.am (gioinclude_HEADERS):
3384 Remove trailing whitespace
3386 2007-11-26 Alexander Larsson <alexl@redhat.com>
3388 Merge gio-standalone into glib
3390 2007-11-25 Christian Kellner <gicmo@gnome.org>
3392 * gio/goutputstream.c:
3393 Fix small mistake in the docs.
3395 2007-11-21 Christian Persch <chpe@gnome.org>
3397 * gio/glocalfile.c: (g_local_file_trash):
3398 Convert filenames to UTF-8 for GError.
3399 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3400 as per xdg base dir spec.
3402 2007-11-21 Christian Persch <chpe@gnome.org>
3404 * gio/gdesktopappinfo.c:
3405 Use that g_key_file_to_data cannot fail.
3407 Use stock defines for the key file group and key names.
3410 2007-11-21 Alexander Larsson <alexl@redhat.com>
3413 (copy_stream_with_progress):
3414 Make sure we do a final progress callback with
3415 the full total size.
3417 2007-11-21 Alexander Larsson <alexl@redhat.com>
3420 Export g_file_copy_attributes
3421 Remove padding as its not needed for interfaces
3423 2007-11-20 Alexander Larsson <alexl@redhat.com>
3428 Add G_IO_ERROR_WOULD_MERGE for
3429 copy/move dir on dir with overwrite.
3431 2007-11-20 Alexander Larsson <alexl@redhat.com>
3434 * gio/glocalfileinfo.c:
3435 Add COPY_NAME (this is an optional
3436 non-modified utf8 version of the name) that
3439 2007-11-20 Alexander Larsson <alexl@redhat.com>
3441 * gio/glocalfileenumerator.c:
3442 Report errors as GIOError, not GFileError
3444 2007-11-16 Alexander Larsson <alexl@redhat.com>
3446 * gio/glocalfileoutputstream.c:
3447 * gio/gwin32appinfo.c:
3448 Fix typos in strings.
3449 Patch from Luca Ferretti <elle.uca@libero.it>
3451 2007-11-15 Alexander Larsson <alexl@redhat.com>
3454 Post release version bump
3456 === gio-standalone 0.1.2 ===
3458 2007-11-15 Alexander Larsson <alexl@redhat.com>
3460 * docs/reference/gio/Makefile.am:
3461 Fix up distcheck by removing weird
3467 2007-11-14 Alexander Larsson <alexl@redhat.com>
3469 * gio/gdesktopappinfo.c:
3470 * gio/glocaldirectorymonitor.c:
3472 * gio/glocalfileinfo.c:
3473 * gio/inotify/inotify-sub.c:
3474 * programs/gio-cat.c:
3475 * programs/gio-copy.c:
3476 * programs/gio-info.c:
3477 * programs/gio-ls.c:
3478 * programs/gio-monitor-dir.c:
3479 * programs/gio-monitor-file.c:
3480 * programs/gio-mount.c:
3481 * programs/gio-move.c:
3482 * programs/gio-rm.c:
3483 * programs/gio-save.c:
3484 * programs/gio-trash.c:
3485 Leak fixes from Kjartan Maraas
3487 2007-11-14 Alexander Larsson <alexl@redhat.com>
3489 * gio/fam/fam-helper.c:
3491 * gio/glocalfileinfo.c:
3495 * gio/inotify/inotify-diag.c:
3496 * gio/inotify/inotify-kernel.c:
3497 Various code cleanups from Kjartan Maraas
3499 2007-11-14 Alexander Larsson <alexl@redhat.com>
3501 * gio/gioscheduler.c:
3503 Set up threadpool so that we cache 2 unused
3504 idle threads for at 15 secs. This means we
3505 will reuse thread-local data (like dbus connections)
3508 2007-11-14 Alexander Larsson <alexl@redhat.com>
3510 * gio/fam/fam-helper.c:
3511 * gio/fam/gfamdirectorymonitor.c:
3512 * gio/fam/gfamfilemonitor.c:
3514 * gio/gcontenttype.c:
3515 * gio/gdatainputstream.c:
3516 * gio/gdataoutputstream.c:
3520 * gio/gfileattribute.h:
3521 * gio/gfileenumerator.c:
3523 * gio/ginputstream.c:
3526 * gio/glocalfileinfo.c:
3527 * gio/goutputstream.c:
3528 * gio/gpollfilemonitor.c:
3529 * gio/gsimpleasyncresult.c:
3530 * gio/gunixmounts.c:
3531 * gio/gunixmounts.h:
3532 * gio/inotify/ginotifydirectorymonitor.c:
3533 * gio/inotify/ginotifyfilemonitor.c:
3534 * gio/inotify/inotify-diag.c:
3535 * gio/inotify/inotify-kernel.c:
3536 * gio/inotify/inotify-path.c:
3538 * gio/test-streams.c:
3539 * programs/gio-info.c:
3540 * programs/gio-monitor-dir.c:
3541 * programs/gio-monitor-file.c:
3542 Various code cleanups from Kjartan Maraas
3544 2007-11-13 Alexander Larsson <alexl@redhat.com>
3547 Handle the uri-scheme calls for dummy files
3549 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3551 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3552 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3553 to avoid clash with the C++ keyword.
3555 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3557 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3558 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3560 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3562 * gio/glocaldirectorymonitor.c:
3563 * gio/glocalfilemonitor.c:
3564 * gio/gunionvolumemonitor.c:
3565 Don't use g_once_init_*() for initializations that could fail and
3566 could leave the initialization variable set to 0 but use GOnce.
3567 This prevents a deadlock on the second call when trying to create
3568 a monitor and no monitor type is available. Thanks to Sven Herzberg
3571 2007-11-11 Sven Herzberg <sven@imendio.com>
3573 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3574 #ifdef (make it work on MacOS X again)
3576 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3578 Fixes Changelog for last two commits (sorry guys).
3580 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3582 * gio/gbufferedinputstream.c:
3583 * gio/gdatainputstream.c:
3585 * gio/gfileoutputstream.c:
3586 * gio/gfilterinputstream.c:
3587 * gio/glocalfileinputstream.c:
3590 More consistency fixes in g*stream.c files.
3591 Significant clean of gfile's documentation, filling in of
3592 asynchronous operations documentation.
3594 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3596 * gio/gasyncresult.c:
3597 * gio/gbufferedinputstream.c:
3598 * gio/gbufferedoutputstream.c:
3599 * gio/gcancellable.c:
3600 * gio/gcontenttype.c:
3601 * gio/gdatainputstream.c:
3602 * gio/gdataoutputstream.c:
3603 * gio/gdesktopappinfo.c:
3606 * gio/gfileattribute.c:
3607 * gio/gio/gfileenumerator.c:
3609 * gio/gfileinputstream.c:
3610 * gio/gfilemonitor.c:
3611 * gio/gfileoutputstream.c:
3612 * gio/ginputstream.c:
3614 * gio/gioscheduler.c:
3615 * gio/gloadableicon.c:
3616 * gio/glocalfileoutputstream.c:
3617 * gio/gmemoryoutputstream.c:
3618 * gio/gmountoperation.c:
3619 * gio/goutputstream.c:
3621 * gio/gsimpleasyncresult.c:
3622 * gio/gunionvolumemonitor.c:
3623 * gio/gunixmounts.c:
3624 * gio/gunixvolume.c:
3628 * gio/gvolumemonitor.c:
3629 Updated documentation stubs, working towards consistency and
3632 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3634 * gio/gmemoryoutputstream.c:
3635 * gio/gmemoryoutputstream.h:
3636 Change g_memory_output_stream_set_free_on_close() to
3637 g_memory_output_stream_set_free_data() as this makes more sense and
3638 is more consistent with GMemoryInputStream.
3640 2007-11-07 Alexander Larsson <alexl@redhat.com>
3647 Change how we find the default vfs so that
3648 we can handle a gvfs failing to init
3650 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3652 * gio/gbufferedoutputstream.c:
3653 * gio/gdatainputstream.c:
3654 * gio/gdataoutputstream.c:
3655 * gio/gfileinputstream.c:
3656 * gio/gfileoutputstream.c:
3657 * gio/gfilterinputstream.c:
3658 * gio/gfilteroutputstream.c:
3659 * gio/ginputstream.c:
3660 * gio/gmemoryinputstream.c:
3661 * gio/gmemoryoutputstream.c:
3662 * gio/goutputstream.c:
3663 * gio/gsimpleasyncresult.c:
3664 * gio/gsocketinputstream.c:
3665 * gio/gsocketoutputstream.c:
3666 Add guards to the remaining public functions, add a TODO for
3667 an unimplemented function and remove some useless guards.
3669 2007-11-07 Alexander Larsson <alexl@redhat.com>
3672 Autoconf checks for the various types of
3673 getpwuid_r and getgrgid_r
3675 * gio/glocalfileinfo.c:
3676 Use the autoconf checks from above
3678 2007-11-07 Alexander Larsson <alexl@redhat.com>
3681 (g_local_file_query_filesystem_info):
3682 Some fixes for the statvfs case
3684 2007-11-07 Alexander Larsson <alexl@redhat.com>
3687 (g_local_file_query_filesystem_info):
3688 Pick the "best" of statfs / statvfs for the system
3689 if both are availible.
3691 2007-11-07 Alexander Larsson <alexl@redhat.com>
3693 Solaris fixes from Halton.Huo@Sun.COM:
3700 * gio/glocalfileinfo.c:
3701 Fix for solaris definition of getpwuid_r
3703 * gio/test-streams.c:
3704 Use G_GNUC_PRETTY_FUNCTION
3706 2007-11-07 Alexander Larsson <alexl@redhat.com>
3708 * gio/gdesktopappinfo.c:
3709 (update_default_list):
3710 Remove double semicolon.
3711 Patch from Jens Granseuer
3713 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3715 * docs/reference/gio/gio-sections.txt:
3716 * gio/gbufferedinputstream.c:
3717 * gio/gbufferedinputstream.h:
3718 * gio/gdatainputstream.c:
3719 * gio/gfileenumerator.c:
3720 * gio/gioscheduler.c:
3721 * gio/gunionvolumemonitor.c:
3723 * programs/gio-save.c:
3724 Fix typo: availible -> available. Unfortuntely this breaks API
3725 and ABI as g_buffered_input_stream_get_available() was renamed.
3727 * gio/gunixmounts.c:
3728 * gio/gbufferedinputstream.c:
3729 Add guards for public functions.
3731 2007-11-06 Ross Burton <ross@openedhand.com>
3733 * docs/reference/gio/Makefile.am:
3734 Fix invalid += usage which automake 1.10 doesn't like.
3736 2007-11-06 Alexander Larsson <alexl@redhat.com>
3739 (g_app_launch_context_class_init):
3742 Patch from Ross Burton
3744 2007-11-06 Alexander Larsson <alexl@redhat.com>
3747 Post release version bump
3749 === gio-standalone 0.1.1 ===
3751 2007-11-06 Alexander Larsson <alexl@redhat.com>
3754 Bump version to 0.1.1
3756 * gio/gsimpleasyncresult.c:
3757 (g_simple_async_result_set_from_error):
3758 Remove bogus g_return_if_fail
3760 2007-11-06 Alexander Larsson <alexl@redhat.com>
3763 The name is gio-standalone
3766 Add top src/builddir to includedir
3768 2007-11-06 Alexander Larsson <alexl@redhat.com>
3770 * docs/reference/gio/gio-sections.txt:
3772 * gio/gbufferedinputstream.c:
3773 * gio/gbufferedoutputstream.c:
3774 * gio/gcancellable.c:
3775 * gio/gdatainputstream.h:
3776 * gio/gdataoutputstream.c:
3777 * gio/gdataoutputstream.h:
3778 * gio/gdirectorymonitor.c:
3780 * gio/gfileattribute.c:
3781 * gio/gfileattribute.h:
3782 * gio/gfileenumerator.c:
3783 * gio/gfileenumerator.h:
3786 * gio/gfileinputstream.h:
3787 * gio/gfilemonitor.c:
3788 * gio/gfileoutputstream.h:
3789 * gio/glocalfilemonitor.h:
3790 * gio/glocalfileoutputstream.h:
3791 * gio/gmemoryinputstream.c:
3792 * gio/gmemoryoutputstream.c:
3793 * gio/gmountoperation.c:
3794 * gio/goutputstream.c:
3795 * gio/goutputstream.h:
3797 * gio/gsimpleasyncresult.c:
3798 * gio/gunixmounts.c:
3799 * gio/gunixmounts.h:
3801 * gio/inotify/inotify-helper.c:
3802 Fix gtk-doc warnings
3804 Patch from Ross Burton
3806 2007-11-06 Alexander Larsson <alexl@redhat.com>
3808 * gio/gfilenamecompleter.c:
3809 (g_filename_completer_get_completions):
3812 * gio/gunixvolume.c:
3813 Remove unused function
3815 Patches from Ross Burton
3817 2007-11-06 Alexander Larsson <alexl@redhat.com>
3822 Padding not needed for interfaces
3824 2007-11-06 Alexander Larsson <alexl@redhat.com>
3826 * gio/gfilemonitor.c:
3830 Make giotypes.h an internal file
3833 * gio/gbufferedinputstream.h:
3834 * gio/gbufferedoutputstream.h:
3835 * gio/gcancellable.h:
3836 * gio/gdatainputstream.h:
3837 * gio/gdataoutputstream.h:
3838 * gio/gdirectorymonitor.c:
3839 * gio/gdirectorymonitor.h:
3844 * gio/gfileattribute.h:
3845 * gio/gfileenumerator.h:
3850 * gio/gfilemonitor.c:
3851 * gio/gfilemonitor.h:
3852 * gio/gfilenamecompleter.c:
3853 * gio/gfilenamecompleter.h:
3854 * gio/gfilterinputstream.h:
3855 * gio/gfilteroutputstream.h:
3856 * gio/ginputstream.h:
3857 * gio/gmemoryinputstream.h:
3858 * gio/gmemoryoutputstream.h:
3859 * gio/gmountoperation.c:
3860 * gio/gmountoperation.h:
3861 * gio/gnativevolumemonitor.c:
3862 * gio/goutputstream.h:
3865 * gio/gsimpleasyncresult.c:
3866 * gio/gsimpleasyncresult.h:
3867 * gio/gsocketinputstream.h:
3868 * gio/gsocketoutputstream.h:
3869 * gio/gthemedicon.c:
3870 * gio/gthemedicon.h:
3874 * gio/gvolumemonitor.c:
3875 * gio/gvolumemonitor.h:
3876 Add padding in classes where it seems useful
3877 Don't include giotypes.h from public headers
3878 Move in Class definitions into c file where possible
3883 2007-11-06 Alexander Larsson <alexl@redhat.com>
3885 * docs/reference/gio/gio-docs.xml:
3886 Better structure for API docs
3888 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3891 * gio/gloadableicon.c:
3892 * gio/gsimpleasyncresult.c:
3893 * gio/gthemedicon.c:
3894 Add some more guards to public functions. Only files missing are now
3897 2007-11-06 Alexander Larsson <alexl@redhat.com>
3899 * docs/reference/gio/gio-docs.xml:
3900 Remove old files, add missing ones
3902 2007-11-06 Alexander Larsson <alexl@redhat.com>
3904 * docs/reference/gio/gio-sections.txt:
3907 Hide implementation classes
3909 * gio/gdriveprivate.h:
3910 * gio/gvolumeprivate.h:
3911 Remove non-existing function declarations
3913 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3916 Fix compilation warnings and add guards to the new functions.
3918 * gio/gasyncresult.c:
3920 Add guards to the public functions.
3923 Implement get_path().
3925 2007-11-06 Alexander Larsson <alexl@redhat.com>
3927 * gio/gfilenamecompleter.c:
3928 Make g_filename_completer_get_completions
3929 return char ** instead of GList for
3932 * docs/reference/gio/gio-docs.xml:
3933 * docs/reference/gio/gio-sections.txt:
3935 * gio/gasyncresult.c:
3936 * gio/gbufferedinputstream.c:
3937 * gio/gbufferedoutputstream.c:
3938 * gio/gcancellable.c:
3939 * gio/gcontenttype.c:
3940 * gio/gdatainputstream.c:
3941 * gio/gdataoutputstream.c:
3942 * gio/gdesktopappinfo.c:
3943 * gio/gdirectorymonitor.c:
3947 * gio/gfileattribute.c:
3948 * gio/gfileenumerator.c:
3951 * gio/gfileinputstream.c:
3952 * gio/gfilemonitor.c:
3953 * gio/gfilenamecompleter.c:
3954 * gio/gfilenamecompleter.h:
3955 * gio/gfileoutputstream.c:
3956 * gio/gfilterinputstream.c:
3958 * gio/ginputstream.c:
3960 * gio/gioscheduler.c:
3961 * gio/gloadableicon.c:
3962 * gio/glocaldirectorymonitor.c:
3964 * gio/glocalfileinputstream.c:
3965 * gio/glocalfilemonitor.c:
3966 * gio/glocalfileoutputstream.c:
3968 * gio/gmemoryinputstream.c:
3969 * gio/gmemoryoutputstream.c:
3970 * gio/gmountoperation.c:
3971 * gio/goutputstream.c:
3972 * gio/gpollfilemonitor.c:
3974 * gio/gsimpleasyncresult.c:
3975 * gio/gsocketinputstream.c:
3976 * gio/gsocketoutputstream.c:
3977 * gio/gthemedicon.c:
3978 * gio/gunionvolumemonitor.c:
3980 * gio/gunixmounts.c:
3981 * gio/gunixvolume.c:
3982 * gio/gunixvolumemonitor.c:
3986 * gio/gvolumemonitor.c:
3987 * gio/gwin32appinfo.c:
3988 Add (mostly stub) doc strings to public functions.
3989 Patch from Andrew Walton (awalton@gmail.com)
3991 2007-11-06 Alexander Larsson <alexl@redhat.com>
3993 * gio/gappinfo.[ch]:
3994 Added GAppLaunchContext object and pass that to launch.
3995 This allows simple implementation of both
3996 launch-on-screen and startup notification via a gtk+
3997 subclass of GAppLaunchContext
3999 * gio/gdesktopappinfo.c:
4000 Implement GAppLaunchContext API
4002 * gio/gwin32appinfo.c:
4005 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4007 * gio/gmountoperation.c:
4008 Add some guards to GMountOperation's public functions.
4010 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4014 * gio/gcancellable.c:
4015 * gio/gdirectorymonitor.c:
4017 * gio/gfileenumerator.c:
4018 * gio/gfilemonitor.c:,
4019 * gio/gfilenamecompleter.c:
4022 * gio/gioscheduler.c:
4026 * gio/gvolumemonitor.c:
4027 Add even more guards to various public functions.
4029 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4032 Add guards to the public functions of GAppInfo.
4034 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4036 * gio/gcontenttype.c:
4037 Add some more guards for public functions.
4039 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4041 * gio/fam/fam-module.c:
4042 * gio/fam/gfamdirectorymonitor.c:
4043 * gio/fam/gfamdirectorymonitor.h:
4044 * gio/fam/gfamfilemonitor.c:
4045 * gio/fam/gfamfilemonitor.h:
4046 * gio/inotify/ginotifydirectorymonitor.c:
4047 * gio/inotify/ginotifydirectorymonitor.h:
4048 * gio/inotify/ginotifyfilemonitor.c:
4049 * gio/inotify/ginotifyfilemonitor.h:
4050 Add proper copyright information and remove an unused variable
4051 in the GInotifyFileMonitor constructor.
4053 * gio/gcancellable.c:
4054 Add a guard for a public function and an assertion to prevent
4055 an undefined program state.
4057 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4059 * gio/gfileattribute.c:
4060 Don't run into an assertion if the given attribute value is NULL
4061 in g_file_attribute_value_get_*() but instead return a fallback
4062 value that makes sense in most situations. Passing them a attribute
4063 value with the wrong type will still run into an assertion.
4065 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4067 * gio/gfileattribute.c:
4069 Add even more guards to the public functions. Also fix the refcounting
4070 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4071 let g_file_info_list_attributes() filter the attributes by namespace
4072 instead of simply ignoring the namespace parameter.
4074 2007-11-03 Sven Herzberg <sven@imendio.com>
4076 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4077 (This makes gio work on MacOS X again)
4079 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4082 Build the gio subdirectory before the docs. Otherwise the build will
4085 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4086 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4087 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4088 Add guards to the public functions.
4090 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4092 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4093 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4094 to prevent a compiler warning.
4096 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4097 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4098 return something in the non-void function find_topdir_for().
4100 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4107 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4109 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4110 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4111 * gwin32appinfo.c (g_win32_app_info_launch):
4112 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4113 envp_for_startup_id, g_desktop_app_info_launch,
4114 g_desktop_app_info_launch_uris):
4116 Give an opaque 'startup_id' string instead of 'envp'.
4117 Support empty file lists for launching new windows.
4118 Fix infinite recursion bug when launching URIs.
4120 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4123 Add guard to the new g_file_get_uri_scheme() function.
4125 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4128 Convert a g_return_val_if_fail() to setting the GError instead as
4129 otherwise applications have to verify the parameter before otherwise
4130 and the parameter might come directly from the user.
4132 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4134 * gio/inotify/ginotify*.[ch]:
4135 Add missing copyright information.
4137 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4140 Add guards in the beginning of public functions to check for valid
4141 parameters and fix a bug in copy_stream_with_progress() that could've
4142 caused writing less bytes than reading.
4143 * gio/glocalfileinfo.c:
4144 Check for a NULL parameter and set the GError accordingly then.
4145 * gio/goutputstream.c:
4146 Fix the same bug as in gfile.c that could've caused writing less bytes
4147 than reading in g_output_stream_real_splice().
4149 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4152 Use the correct gvolumeprivate.h naming
4154 2007-11-01 Christian Kellner <gicmo@gnome.org>
4157 Remove leftover "$(daemon_sources)" entry.
4159 2007-11-01 Christian Kellner <gicmo@gnome.org>
4164 Add copyright information to source files.
4166 2007-11-01 Alexander Larsson <alexl@redhat.com>
4170 Add g_file_get_uri_scheme
4172 2007-11-01 Alexander Larsson <alexl@redhat.com>
4175 * gio/gdesktopappinfo.c:
4176 * gio/gwin32appinfo.c:
4177 Add g_app_info_get_default_for_uri_scheme.
4179 2007-11-01 Alexander Larsson <alexl@redhat.com>
4182 Correct filename for gdriveprivate.h
4184 2007-10-31 Alexander Larsson <alexl@redhat.com>
4187 Rename id:value to id:file
4190 * gio/glocalfileinfo.c:
4193 2007-10-31 Alexander Larsson <alexl@redhat.com>
4195 * gio/gunixvolume.c:
4197 Remove g_volume_get_platform_id, as thats not
4198 needed with the simpler union volume monitor
4200 2007-10-31 Alexander Larsson <alexl@redhat.com>
4203 * gio/guniondrive.[ch]: Removed.
4204 * gio/gunionvolume.[ch]: Removed.
4205 Remove GUnionDrive/Volume
4207 * gio/gunionvolumemonitor.c:
4208 Simplify union volume monitor, now we
4209 only have one native volume monitor and
4210 we use the actual volumes/drives from the
4211 child monitors instead of wrapping them
4213 * gio/gnativevolumemonitor.[ch]:
4214 Base class for native volume monitors.
4215 Includes priority and get_volume_for_mountpoint
4218 Add g_file_find_enclosing_volume
4221 Remove volume name fs attribute
4222 Add readonly fs attribute
4225 Implement readonly attribute
4226 remove volume name attribute
4227 Implement find_enclosing volume
4229 * gio/gunixmounts.c:
4230 Add a volume for "/".
4232 * gio/gunixvolume.[ch]:
4233 Set better name for /
4235 * gio/gunixvolumemonitor.[ch]:
4236 Derive from GNativeVolumeMonitor
4237 Implement get_volume_for_mountpoint
4240 GVolume typedef moved to gfile.h
4242 * gio/gvolumeprivate.h:
4243 Add g_volume_get_for_mount_path
4245 2007-10-31 Alexander Larsson <alexl@redhat.com>
4247 * gio/gunixmounts.[ch]:
4248 Add cache info to unix mount listers
4249 Make getmntent use threadsafe
4250 Add is_system_internal attribute for GUnixMount
4252 * gio/gunixvolume.c:
4253 (g_unix_volume_new):
4254 Use is_system_internal instead of own code
4256 * gio/glocaldirectorymonitor.c:
4257 * gio/gunixvolumemonitor.c:
4258 Update to new gunixmounts API
4263 2007-10-30 Alexander Larsson <alexl@redhat.com>
4266 Add volume name fsinfo attribute
4269 Read volume name info
4271 * gio/gunionvolumemonitor.c:
4272 Fix infinite loops when finalizing a union volume monitor
4274 2007-10-30 Alexander Larsson <alexl@redhat.com>
4276 * gio/goutputstream.[ch]:
4277 Add splice() with default implementation
4279 * gio/gsocketoutputstream.c:
4280 (g_socket_output_stream_write):
4281 Return error on cancellation correctly.
4283 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4285 * gio/glocalfile.c (g_local_file_trash):
4286 Do not leak a string.
4288 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4290 * gio/gfile.c (g_file_load_contents):
4291 Unref the stream after closing it.
4293 2007-10-25 Alexander Larsson <alexl@redhat.com>
4295 * gio/gioscheduler.h:
4298 2007-10-25 Alexander Larsson <alexl@redhat.com>
4302 Add g_file_has_uri_scheme and implement for local files
4304 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4306 * gio/gdesktopappinfo.c: do not leak a string.
4308 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4310 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4311 (g_local_directory_monitor_new):
4312 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4313 (g_local_file_monitor_new):
4314 Only look for the monitor type that should be used the first time
4315 and use g_qsort_with_data() instead of our own bubble sort
4318 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4321 * gio/fam/Makefile.am:
4322 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4323 * gio/fam/fam-helper.h:
4324 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4325 * gio/fam/gfamdirectorymonitor.c:
4326 * gio/fam/gfamdirectorymonitor.h:
4327 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4328 * gio/fam/gfamfilemonitor.h:
4329 * gio/glocaldirectorymonitor.c:
4330 * gio/glocaldirectorymonitor.h:
4331 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4332 * gio/glocalfilemonitor.h:
4333 * gio/inotify/Makefile.am:
4334 * gio/inotify/ginotifydirectorymonitor.c:
4335 * gio/inotify/ginotifydirectorymonitor.h:
4336 * gio/inotify/ginotifyfilemonitor.c:
4337 * gio/inotify/ginotifyfilemonitor.h:
4338 Implement the FAM and Inotify monitors as
4339 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4340 their own GIO module. GLocal(Directory|File)Monitor will use the
4341 monitor with the highest rank that is supported on that machine.
4343 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4346 Change GIO module dir to $(libdir)/gio/modules and change
4347 the log domain from GVFS to GIO. Also only export symbols starting
4348 with g_ in the resulting library.
4349 * gio/test-streams.c: (main):
4350 Set log handler for the GIO log domain.
4352 2007-10-22 Alexander Larsson <alexl@redhat.com>
4354 * gio/gfilenamecompleter.[ch]:
4355 Add g_filename_completer_set_dirs_only
4357 2007-10-22 Alexander Larsson <alexl@redhat.com>
4360 * gio/gurifuncs.[ch]:
4361 Add some simple URI helpers
4363 * gio/gfilenamecompleter.[ch]:
4364 Added object for filename (parse name actually) completion
4367 Handle ~ in parse names
4369 2007-10-17 Alexander Larsson <alexl@redhat.com>
4372 * gio/glocalfileinfo.c:
4373 Add and implement id:value attribute
4375 2007-10-17 Alexander Larsson <alexl@redhat.com>
4378 * gio/guniondrive.c:
4380 Add and implement g_drive_has_volumes
4382 2007-10-17 Alexander Larsson <alexl@redhat.com>
4385 * gio/glocalfileinfo.[ch]:
4386 Add unix:is_mountpoint and implement for local files
4388 2007-10-16 Alexander Larsson <alexl@redhat.com>
4390 * gio/gunionvolumemonitor.c:
4391 (g_union_volume_monitor_init):
4392 Fix up the unix type getting so that it works with gcc
4394 2007-10-12 Alexander Larsson <alexl@redhat.com>
4397 * gio/glocalfileinfo.c:
4398 Add thumbnail:failed to file info
4400 2007-10-12 Richard Hult <richard@imendio.com>
4402 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4403 optimizing away the get_type call (happens with some gcc versions,
4404 like the one shipped with OS X 10.4).
4406 2007-10-12 Alexander Larsson <alexl@redhat.com>
4408 * gio/glocalfileinfo.c:
4409 (_g_local_file_info_set_attribute):
4410 Fix build if not HAVE_XATTR
4411 Patch from Milosz Derezynski <internalerror@gmail.com>
4413 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4415 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4416 around for review, otherwise I would have asked you before
4419 2007-10-11 Alexander Larsson <alexl@redhat.com>
4422 Add thumbnail:path attribute
4424 * gio/glocalfileinfo.c:
4425 Implement thumbnail:path for local files
4427 2007-10-11 Alexander Larsson <alexl@redhat.com>
4429 * gio/glocalfileinfo.c:
4430 (_g_local_file_info_get):
4431 Avoid duplicate icon names
4433 2007-10-11 Alexander Larsson <alexl@redhat.com>
4435 * gio/gthemedicon.[ch]:
4436 Change g_themed_icon_get_names return type to const
4438 2007-10-10 Alexander Larsson <alexl@redhat.com>
4440 * gio/glocalfileinfo.c:
4441 Don't reference freed memory
4443 2007-10-10 Alexander Larsson <alexl@redhat.com>
4445 * gio/gfileattribute.c:
4448 * gio/glocalfileinfo.c:
4451 2007-10-10 Alexander Larsson <alexl@redhat.com>
4454 Check for NULL icons
4456 * gio/gfileattribute.c:
4457 Don't dup when getting objects (same as for string attributes)
4459 * gio/gicon.c (g_icon_equal):
4460 Safely handle NULLs in equal
4462 2007-10-10 Alexander Larsson <alexl@redhat.com>
4465 Fix c++ compilation issues
4466 Patch from Milosz Derezynski <internalerror@gmail.com>
4468 2007-10-10 Alexander Larsson <alexl@redhat.com>
4470 * programs/gio-monitor-dir.c:
4471 Don't crash if dir monitor not supported.
4473 2007-10-09 Alexander Larsson <alexl@redhat.com>
4476 Add missing G_END_DECLS
4478 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4480 * gio/gfile.c: (g_file_set_display_name),
4481 (g_file_query_settable_attributes),
4482 (g_file_query_writable_namespaces):
4483 Return NULL not FALSE on errors as the return type is a pointer.
4485 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4487 * gio/glocalfile.c: (g_local_file_monitor_file):
4488 Don't call monitor_file on the default interface vtable (which
4489 is NULL) but simply return NULL. The caller, GFile, will create a
4490 polling monitor if NULL is returned.
4492 2007-10-09 Alexander Larsson <alexl@redhat.com>
4496 * gio-unix-2.0.pc.in:
4497 Add gio-unix-2.0.pc if OS_UNIX
4500 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4502 2007-10-09 Alexander Larsson <alexl@redhat.com>
4504 * gio/gunixmounts.[ch]:
4505 Make unix mount monitoring API sane.
4506 Now its just a object with mounts_changed
4507 and mountpoints_changed signals.
4509 * gio/glocaldirectorymonitor.c:
4510 * gio/gunixvolumemonitor.c:
4511 Use new mount monitor api
4513 2007-10-09 Alexander Larsson <alexl@redhat.com>
4515 * gio/gunixmounts.[ch]:
4516 Move guess type into one call for mounts and one for mountpoints
4519 * gio/gunixvolume.c:
4522 2007-10-09 Alexander Larsson <alexl@redhat.com>
4524 * gio/gunixmounts.[ch]:
4525 Remove _ prefix in preparation to make this semi-public
4526 Hide implementation of structs
4528 * gio/glocaldirectorymonitor.c:
4530 * gio/gunixvolume.c:
4531 * gio/gunixvolumemonitor.c:
4532 Update for above API changes
4534 2007-10-08 Alexander Larsson <alexl@redhat.com>
4537 Better polling fallback. This also handles the case where we have
4538 a monitor_file implementation, but it fails.
4540 2007-10-08 Alexander Larsson <alexl@redhat.com>
4544 * gio/gunixmounts.c:
4545 * programs/gio-monitor-dir.c:
4546 * programs/gio-monitor-file.c:
4547 Added cancellable to file monitoring calls.
4548 These are really sync calls and need this.
4550 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4552 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4553 (g_local_vfs_class_init):
4554 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4555 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4557 2007-10-05 Alexander Larsson <alexl@redhat.com>
4559 * gio/gdirectorymonitorprivate.h:
4560 * gio/gfilemonitorprivate.h:
4561 * gio/gdirectorymonitor.h:
4562 * gio/gfilemonitor.h:
4563 Remove *private.h and move to the public API, so that
4564 we can do implementations outside gio (such as in gvfs)
4566 * gio/gdirectorymonitor.c:
4567 * gio/gfilemonitor.c:
4568 * gio/glocaldirectorymonitor.c:
4569 * gio/gpollfilemonitor.c:
4570 * gio/inotify/inotify-helper.c:
4571 * gio/fam/fam-helper.c:
4572 Update to the new header names
4574 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4576 * gio/gdirectorymonitor.c:
4577 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4580 2007-10-04 Alexander Larsson <alexl@redhat.com>
4582 * gio/glocalfileinfo.c (get_access_rights):
4583 Set CAN_TRASH when we can move the file.
4584 We should really also check for a parent trash dir.
4586 2007-10-04 Alexander Larsson <alexl@redhat.com>
4588 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4589 Add can_trash access attribute
4591 2007-10-04 Alexander Larsson <alexl@redhat.com>
4594 (g_local_file_trash):
4595 Create info file first. This is per-spec and allows
4596 us to actually trash directories.
4598 2007-10-02 Alexander Larsson <alexl@redhat.com>
4600 * gio/gdesktopappinfo.c:
4601 Implement the new mime support code.
4602 Always set app as handling mimetype when being set as default for it
4604 2007-10-01 Alexander Larsson <alexl@redhat.com>
4606 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4607 Fix up check for xattrs:
4609 2007-10-01 Alexander Larsson <alexl@redhat.com>
4612 (g_app_info_set_as_default_for_extension):
4613 (g_app_info_add_supports_type):
4614 (g_app_info_can_remove_supports_type):
4615 (g_app_info_remove_supports_type):
4616 Make these fail nicely if not implemented
4618 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4620 * gio/glocalfileoutputstream.c:
4621 * gio/glocalfileoutputstream.h:
4626 * programs/gio-save.c:
4627 Add a GFileCreateFlags argument to operations that can create
4630 2007-10-01 Alexander Larsson <alexl@redhat.com>
4632 * gio/gappinfo.[ch]:
4633 * gio/gdesktopappinfo.c:
4634 Add more (stubbed out) mime API needed for nautilus
4636 2007-10-01 Alexander Larsson <alexl@redhat.com>
4639 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4640 Add g_app_info_set_as_default_for_extension.
4642 * gio/gdesktopappinfo.c:
4643 Dummy for g_app_info_set_as_default_for_extension
4644 Support flags in g_app_info_create_from_commandline
4646 * gio/gwin32appinfo.c:
4648 Update for API changes
4650 * gio/gthemedicon.c:
4651 Properly NULL-terminate list of icon names
4653 2007-09-28 Alexander Larsson <alexl@redhat.com>
4655 * gio/gloadableicon.h:
4656 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4658 2007-09-28 Alexander Larsson <alexl@redhat.com>
4661 Install headers in $includedir/gio-standalone/
4663 * gio-2.0.pc.in: Added.
4664 * gio-standalone.pc.in: Removed.
4667 Renamed pkg-config file to match glib (for future move)
4668 Update to the new include dir
4671 Add more TODO comments
4673 2007-09-28 Alexander Larsson <alexl@redhat.com>
4675 * gio/gdesktopappinfo.[ch]:
4676 Expose new_from_filename
4677 Add getter for is_hidden and handle it better
4679 2007-09-28 Alexander Larsson <alexl@redhat.com>
4681 * gio/gfileinfo.[ch]:
4682 Rename g_file_size_format_for_display to
4683 g_format_file_size_for_display.
4684 Now it doesn't have the g_file prefix, so we
4685 can later move it to glib.
4687 2007-09-28 Alexander Larsson <alexl@redhat.com>
4689 * gio/gappinfo.[ch]:
4690 Add g_app_info_get_id and g_app_info_get_executable.
4691 Make all getters non-reffing
4692 Make g_app_info_launch take GFile arguments.
4693 Add must_support_uris argument to g_app_info_get_default_for_type.
4695 * gio/gwin32appinfo.c:
4696 Update to GAppInfo api changes
4698 * gio/gdesktopappinfo.c:
4699 Update to GAppInfo api changes
4700 Implement supports_xdg_startup_notify
4702 * gio/gfileicon.c (g_file_icon_get_file):
4703 Make getter non-reffing.
4708 2007-09-27 Alexander Larsson <alexl@redhat.com>
4710 * gio/gfileinfo.[ch]:
4711 Add g_file_size_format_for_display helper
4713 2007-09-27 Alexander Larsson <alexl@redhat.com>
4715 * gio/glocalfileinfo.c:
4716 Set UNIX_GID from gid, not from uid
4718 2007-09-27 Alexander Larsson <alexl@redhat.com>
4721 Add g_file_set_attributes_async
4723 2007-09-27 Alexander Larsson <alexl@redhat.com>
4725 * gio/glocalfile.c (g_local_file_set_display_name):
4726 Fix set_display_name to actually rename to the right place.
4727 Use lstat to look for existing files so we don't overwrite
4730 2007-09-26 Alexander Larsson <alexl@redhat.com>
4733 Add g_file_set_display_name_async()
4735 2007-09-26 Alexander Larsson <alexl@redhat.com>
4738 Add load_partial_contents async calls
4741 Make internal function static
4743 2007-09-26 Alexander Larsson <alexl@redhat.com>
4745 * gio/glocalfileinfo.c:
4746 Correctly detect broken symlinks
4748 2007-09-26 Alexander Larsson <alexl@redhat.com>
4750 * gio/gcancellable.c (g_cancellable_cancel):
4751 Allow cancel on NULL cancellable
4753 2007-09-25 Alexander Larsson <alexl@redhat.com>
4755 * gio/gsimpleasyncresult.c:
4756 Don't allocate g_error manually.
4757 Fixes g_slice/g_new mixup crash
4759 2007-09-25 Alexander Larsson <alexl@redhat.com>
4761 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4762 Actually set active_backend.
4763 This means the monitor will be cancelled correctly.
4765 2007-09-25 Alexander Larsson <alexl@redhat.com>
4767 * gio/gdirectorymonitor.c:
4768 Set timeout to NULL when destroying
4770 2007-09-25 Alexander Larsson <alexl@redhat.com>
4773 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4774 that is a better description of the error.
4776 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4778 * gio/gvfs.c: (g_vfs_get_local):
4779 Make the local vfs variable static. The same instance should
4782 2007-09-24 Alexander Larsson <alexl@redhat.com>
4784 * gio/glocalfileinfo.c:
4785 Pass in actual length read into sniffer, not the length
4788 2007-09-21 Alexander Larsson <alexl@redhat.com>
4790 * gio/gfileenumerator.c:
4793 * gio/gfileinputstream.c:
4794 * gio/gfileoutputstream.c:
4795 * gio/ginputstream.c:
4796 * gio/goutputstream.c:
4797 Don't crash if async callbacks are NULL
4799 2007-09-20 Alexander Larsson <alexl@redhat.com>
4802 Add async enumerate_children method and default
4805 2007-09-20 Alexander Larsson <alexl@redhat.com>
4808 Add g_file_contains_file & g_file_get_relative_path, since they
4809 were needed for nautilus.
4810 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4815 Implement new methods
4817 2007-09-17 Alexander Larsson <alexl@redhat.com>
4820 * gio/gfileinputstream.[ch]:
4821 * gio/gfileoutputstream.[ch]:
4823 * gio/glocalfileenumerator.[ch]:
4824 * gio/glocalfileinfo.[ch]:
4825 * gio/glocalfileinputstream.c:
4826 * gio/glocalfileoutputstream.c:
4827 * gio/gpollfilemonitor.c:
4828 * programs/gio-copy.c:
4829 * programs/gio-info.c:
4830 * programs/gio-move.c:
4831 Rename get_file_info to query_info() to make it clearer
4832 that these are not simple getters, but do i/o.
4834 2007-09-17 Alexander Larsson <alexl@redhat.com>
4836 * gio/gdatainputstream.[ch]:
4837 * gio/test-streams.c:
4838 Use _read_XXX instead of _get_XXX for the i/o calls
4841 2007-09-17 Alexander Larsson <alexl@redhat.com>
4844 Added needed stuff to TODO comment
4846 2007-09-17 Alexander Larsson <alexl@redhat.com>
4848 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4849 Don't error out removing the backup copy if it doesn't
4852 2007-09-14 Alexander Larsson <alexl@redhat.com>
4854 * programs/Makefile.am:
4855 * programs/gvfs-*.c:
4857 Renamed apps from gvfs-xxx to gio-xxx.
4859 2007-09-14 Alexander Larsson <alexl@redhat.com>
4862 * gio/gfileoutputstream.[ch]:
4863 * gio/glocalfileoutputstream.c:
4864 * programs/gvfs-save.c:
4865 g_file_output_stream_get_etag doesn't do i/o, so remove
4866 cancellation and error.
4868 2007-09-14 Alexander Larsson <alexl@redhat.com>
4871 Add new_etag output to replace_contents functions
4873 2007-09-14 Alexander Larsson <alexl@redhat.com>
4875 * gio/gfileoutputstream.[ch]:
4876 Add async get_file_info and default implementation
4878 2007-09-14 Alexander Larsson <alexl@redhat.com>
4880 * gio/gfileinputstream.c:
4881 Implement fallback wrapper for async get_file_info
4883 2007-09-14 Alexander Larsson <alexl@redhat.com>
4886 Add etag out argument to load_contents
4891 2007-09-14 Alexander Larsson <alexl@redhat.com>
4893 * gio/gcontenttype.c (looks_like_text):
4894 Whitespace like tab, cr and lf do not make the
4897 2007-09-14 Alexander Larsson <alexl@redhat.com>
4899 * gio/gfileinputstream.[ch]:
4900 Add async get_file_info.
4902 2007-09-13 Alexander Larsson <alexl@redhat.com>
4904 * gio/goutputstream.c (g_output_stream_write_all):
4905 Allow NULL for bytes_written
4907 2007-09-13 Alexander Larsson <alexl@redhat.com>
4909 * gio/gmemoryinputstream.[ch]:
4910 Add accessors for data
4912 2007-09-13 Alexander Larsson <alexl@redhat.com>
4914 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4915 Don't crash if length is NULL