1 2008-10-10 Matthias Clasen <mclasen@redhat.com>
3 * gio/glocalfileinfo.c:
4 * gio/tests/live-g-file.c:
5 * gio/gsimpleasyncresult.c: Fix gcc warnings.
7 2008-10-09 Alexander Larsson <alexl@redhat.com>
9 * gunixinputstream.c (g_unix_input_stream_read):
10 Actually return -1 in case of cancelled, not old res value.
12 2008-10-06 Colin Walters <walters@verbum.org>
14 Bug 554745 - GFileAttributeInfoList should be boxed
16 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
17 for convenience of bindings.
18 * gio/gfileattribute.h: Prototype it.
20 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
22 Bug 554970 – segfault when update-desktop-database is not available
25 * gdesktopappinfo.c (run_update_command): Have the error set before
28 2008-10-01 David Zeuthen <davidz@redhat.com>
30 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
31 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
32 instead of the gio URI (such as sftp://foo/file.avi) when using
33 g_app_info_launch() and friends. With a sufficiently recent gvfs,
34 apps using gio+gvfs will map the FUSE file:// URI back to the gio
35 URI (and thus bypass the fuse daemon) thanks the patch from bug
36 #530654. Since Nautilus is an user of g_app_info_launch() it
37 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
38 when launced via the file manager. Win. Fixes bug #528670.
40 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
41 mapping to the description of GAppInfo.
43 2008-09-30 Tor Lillqvist <tml@novell.com>
45 * tests/Makefile.am: Build desktop-app-info only on Unix.
47 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
48 g_critical(). Pass a large enough result buffer to
49 GetVolumePathNameW(). Just use MAX_PATH.
51 2008-09-29 David Zeuthen <davidz@redhat.com>
53 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
55 2008-09-26 Dan Winship <danw@gnome.org>
57 * tests/data-input-stream.c:
58 * tests/data-output-stream.c:
59 * tests/live-g-file.c:
60 * tests/memory-input-stream.c:
61 * tests/memory-output-stream.c: Use g_assert_error() and
64 2008-09-26 Matthias Clasen <mclasen@redhat.com>
66 Bug 545350 – GAppInfo deletion
67 Bug 545351 – Reset associations for content type
70 * gappinfo.[hc]: New functions g_app_info_can_delete,
71 g_app_info_delete and g_app_info_reset_type_associations.
74 * gwin32appinfo.c: Implementations of these.
77 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
79 2008-09-26 Dan Winship <danw@gnome.org>
81 Bug 505361 – gunixinputstream.c assumes poll() available
82 Bug 509446 – portable blocking gio cancellation
84 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
85 GPollFD for a cancellable (which is slightly more complicated on
88 * gunixinputstream.c (g_unix_input_stream_read):
89 * gunixoutputstream.c (g_unix_output_stream_write): Use
90 g_cancellable_make_pollfd() and g_poll() rather than using poll()
93 * tests/unix-streams.c: test of GUnixInputStream,
94 GUnixOutputStream, and GCancellable.
96 2008-09-26 Dan Winship <danw@gnome.org>
98 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
99 cast to stop a gcc warning
101 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
104 2008-09-25 Dan Winship <danw@gnome.org>
106 Bug 553426 - cancellable clarifications
108 * gcancellable.c (g_cancellable_class_init): Add a note to the
109 "cancelled" signal docs warning about thread-safety issues
110 (g_cancellable_cancel): Note that cancelling an asynchronous
111 operation takes effect asynchronously, not immediately.
113 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
115 * gioenums.h: Add new GFileCopyFlag, to leave target file with
116 default perms, instead of setting the source file perms, in a copy
119 * gfile.c (g_file_copy_attributes)
120 (build_attribute_list_for_copy)
121 (should_copy): Not copy "unix::mode" attribute if we have received
122 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
124 2008-09-20 Matthias Clasen <mclasen@redhat.com>
126 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
128 2008-09-17 Matthias Clasen <mclasen@redhat.com>
130 * === Released 2.18.1 ===
132 2008-09-16 Michael Natterer <mitch@imendio.com>
134 * gcontenttype.c (g_content_type_guess): can't assign the return
135 value of g_strdupv() to an array. Fill the array manually with
136 const strings instead (it is never freed anyway). Fixes the
137 build. Also fixed indentation.
139 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
141 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
142 Fix trivial typo to unbreak the build (there was a colon
143 instead of a semicolon at the end of a statement).
145 2008-09-15 Matthias Clasen <mclasen@redhat.com>
147 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
150 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
153 2008-09-15 Matthias Clasen <mclasen@redhat.com>
155 Bug 551681 – g_content_type_guess() too naive with filenames
157 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
158 at the end of the filename, and declare it a directory.
159 Patch by Bastien Nocera
161 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
163 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
166 * gdesktopappinfo.c: add a note in the docs clarifying what the
167 "filename" parameter really is.
169 2008-09-12 Tor Lillqvist <tml@novell.com>
171 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
172 FormatMessage() etc here. Call g_win32_error_message() instead
173 which already does all that. Besides, the code was broken as it
174 called the default "A" version of FormatMessage() but still
175 thought it produced a wide string.
177 2008-09-12 Michael Natterer <mitch@imendio.com>
179 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
180 in the documentation.
182 2008-09-08 Christian Neumair <cneumair@gnome.org>
184 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
185 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
186 Use non-blocking pipe for mount helper I/O. Fixes #550647.
188 2008-09-06 Matthias Clasen <mclasen@redhat.com>
190 Bug 551149 – xdgmime mem leak
192 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
193 a memory leak. Patch by Christian Persch
195 2008-09-04 Tor Lillqvist <tml@novell.com>
197 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
200 2008-09-02 Matthias Clasen <mclasen@redhat.com>
202 * === Released 2.18.0 ===
204 2008-09-02 Michael Natterer <mitch@imendio.com>
206 * *.h: big header formatting cleanup: indentation, vtable
207 formatting, consistent spacing in (* vfunc), trailing whitespace
208 removal. Formatting should be pretty consistent in all GIO headers
211 2008-09-02 Matthias Clasen <mclasen@redhat.com>
213 * gmount.h: Document guess_content_type sync vfunc.
215 2008-09-02 Michael Natterer <mitch@imendio.com>
217 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
218 fix parent_class member to be GFilterOutputStreamClass (not
219 GOutputStreamClass). Drop three pointers of padding, which is
220 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
221 so the class struct size stays the same.
223 2008-09-02 Matthias Clasen <mclasen@redhat.com>
225 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
227 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
228 nonexisting return values. Pointed out by Cosimo Cecchi.
230 2008-08-23 Tor Lillqvist <tml@novell.com>
232 Bug 548988 - g_file_replace fails on Windows when the target file
235 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
236 Windows, close the file before potentially renaming it (in case we
237 have been writing to a file with a temporary name).
239 (g_local_file_output_stream_close, handle_overwrite_open): Use
240 GLocalFileStat instead of plain struct stat, for passing to
241 _g_local_file_info_create_etag(). Thus also use _fstati64()
242 instead of plain fstat() on Windows.
244 2008-08-18 Matthias Clasen <mclasen@redhat.com>
246 * === Released 2.17.7 ===
248 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
250 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
253 2008-08-13 Tor Lillqvist <tml@novell.com>
255 * win32/gwinhttpvfs.c
256 * win32/gwinhttpvfs.h
257 * win32/gwinhttpfile.c
258 * win32/gwinhttpfileinputstream.c
259 * win32/gwinhttpfileoutputstream.c: Refactor some common code
260 snippets into helper functions. Check HTTP response status
261 codes. Implement g_winhttp_file_query_info(), looking at
262 Content-Length, Content-Type and Last-Modified.
264 * win32/winhttp.h: Add some symbolic constants that are not
265 publicly documented. Just a handful, so it should be OK to use
266 information from the Windows SDK's headers.
268 2008-08-13 Tor Lillqvist <tml@novell.com>
270 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
273 * win32/gwin32directorymonitor.c
274 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
276 2008-08-13 Matthias Clasen <mclasen@redhat.com>
279 * goutputstream.c: Add intro docs.
281 2008-08-13 Tor Lillqvist <tml@novell.com>
283 * win32/gwinhttpfileoutputstream.c
284 (g_winhttp_file_output_stream_write): Don't write the
285 Content-Length header ourselves, WinHttpSendRequest() takes care
286 of that when the dwTotalLength parameter is non-zero. Increment
287 offset by the number of actual bytes sent, although I wonder if
288 such a scenario is possible where less than requested would be
289 sent and accepted by the server without errors.
291 2008-08-13 Tor Lillqvist <tml@novell.com>
293 * win32/gwinhttpvfs.c
294 * win32/gwinhttpvfs.h
295 * win32/gwinhttpfile.c
296 * win32/gwinhttpfile.h
297 * win32/gwinhttpfileinputstream.c
298 * win32/gwinhttpfileinputstream.h
299 * win32/gwinhttpfileoutputstream.c
300 * win32/gwinhttpfileoutputstream.h: New files implementing
301 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
302 Windows. The implementation uses the WinHttp API. Both reading and
303 writing are supported, i.e. GET and PUT requests. When writing,
304 each write call is done using a separate PUT request with a
305 Content-Range header. Requests for file URIs and plain pathnames
306 are forwarded to GLocalVfs.
308 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
309 WINE. Used as there is no <winhttp.h> bundled with mingw, and
310 requiring people to download the Windows SDK just for this one
311 header is not reasonable.
313 * win32/Makefile.am: Add above files.
315 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
316 the plumbing for the above.
318 2008-08-11 Sven Neumann <sven@gimp.org>
320 * gfilenamecompleter.c
321 * glocaldirectorymonitor.c
323 * gunionvolumemonitor.c
327 * gunixvolumemonitor.c
330 * gwin32volumemonitor.c: use canonical signal names.
332 2008-08-11 Tor Lillqvist <tml@novell.com>
334 * Makefile.am: Put a list of the platform-dependent .la files in
335 the subdirectories in the platform_deps Make variable, and make
336 libgio-2.0.la depend on that, so that it gets relinked if one of
337 the dependent libraries has changed.
339 2008-08-11 Tor Lillqvist <tml@novell.com>
341 * Makefile.am (platform_libadd): Remove -lwininet which had been
342 added by mistake. We will probably eventually be using WinHTTP,
343 not the older WinInet anyway. (Actually I am working on it.)
345 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
347 Bug 547080 – g_file_copy leaks expected errors
349 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
350 before trying the next fallback routine.
352 2008-08-09 Loïc Minier <lool@dooz.org>
354 Bug 535124 – umask 002 not being applied for new directories, new
355 files get the correct umask
357 * gfile.c (g_file_make_directory)
358 (g_file_make_directory_with_parents): Document ownership and
359 permissions of newly created directories as being the default
362 2008-08-08 Loïc Minier <lool@dooz.org>
364 Bug 535124 – umask 002 not being applied for new directories, new
365 files get the correct umask
367 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
370 2008-08-08 Tor Lillqvist <tml@novell.com>
372 * gwin32mount.c: Remove unused code. Whitespace cleanup.
374 * gwin32volumemonitor.c (get_connected_drives): Put questionable
375 code that didn't actually do anything inside #if 0, and add a
376 comment wondering what the code was supposed to do. This also gets
377 rid of a leftover debugging printout.
379 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
381 * gfileicon.c (g_file_icon_get_property)
382 (g_file_icon_set_property): New functions.
383 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
385 (g_file_icon_new): Use the property (bug #546132).
387 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
389 * gthemedicon.c (g_themed_icon_get_property): Also handle
390 `PROP_USE_DEFAULT_FALLBACKS'.
391 (g_themed_icon_class_init): Make
392 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
394 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
396 Bug 546371 – Improve docs re g_file_monitor
398 * gfilemonitor.c: Mention g_file_monitor() in the docs.
400 2008-08-04 Matthias Clasen <mclasen@redhat.com>
402 * === Released 2.17.6 ===
404 2008-08-04 Matthias Clasen <mclasen@redhat.com>
406 * === Released 2.17.5 ===
408 2008-08-04 Matthias Clasen <mclasen@redhat.com>
410 Bug 546017 – Don't copy attributes when copying a symlink
412 * gfile.c (g_file_copy_attributes): Specify
413 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
414 g_file_set_attributes_from_info. Patch by Christian Kellner
416 2008-08-04 Matthias Clasen <mclasen@redhat.com>
418 * gemblemedicon.[hc]:
420 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
421 a bit more extensible. Work by Clemens Buss.
423 * gioenums.h: Add GEmblemOrigin.
426 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
428 Bug 546079 – leak in xdgmime
430 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
432 2008-08-03 Tor Lillqvist <tml@novell.com>
434 * win32/gwin32directorymonitor.h
435 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
438 2008-08-03 Tor Lillqvist <tml@novell.com>
440 * win32/gwin32directorymonitor.c
441 (g_win32_directory_monitor_callback): Make prototype match
442 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
443 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
446 (g_win32_directory_monitor_constructor):
447 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
448 names in the GLib API on Windows, so convert to UTF-16 and open
451 2008-08-03 Tor Lillqvist <tml@novell.com>
453 Bug 541036 - Gnumeric crashes when trying to open Desktop or
454 user's folder under Windows
456 * win32/gwin32directorymonitor.c
457 (g_win32_directory_monitor_constructor): Ignore error from
458 CreateFile() when opening directory. Instead of asserting, just
459 store INVALID_HANDLE_VALUE then in
460 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
461 ReadDirectoryChangesW().
462 (g_win32_directory_monitor_cancel): Don't attempt to close
463 directory handle if it is INVALID_HANDLE_VALUE.
465 2008-08-01 Matthias Clasen <mclasen@redhat.com>
467 * gdesktopappinfo.c: Remove debug spew
469 2008-08-01 Hans Breuer <hans@breuer.org>
471 * makefile.msc : add gemblembedicon
473 2008-07-30 Matthias Clasen <mclasen@redhat.com>
475 Bug 545457 – gdmsetup crashed with SIGSEGV in
476 g_unix_mount_guess_should_display()
478 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
479 crash if no mount is found.
481 2008-07-28 Matthias Clasen <mclasen@redhat.com>
483 Bug 545203 – gfile.c: argument is different type.
485 * gfile.c (open_read_async_thread): Pass a GError **
486 to g_file_set_error_literal.
487 Reported by Kazuki Iwamoto
489 2008-07-28 Matthias Clasen <mclasen@redhat.com>
491 Bug 545157 – wrong/no list of "open with" applications for .cc and
494 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
495 Collect all ancestors, not just direct parents. Pointed
496 out by Bastien Nocera
498 2008-07-28 Matthias Clasen <mclasen@redhat.com>
500 * Makefile.am: Install gemblemedicon.h
502 2008-07-28 Matthias Clasen <mclasen@redhat.com>
504 * gemblemedicon.[hc]: Add a GIcon implementation that can
505 add an emblem to another icon.
512 * gfileicon.c: Small documentation additions.
514 2008-07-28 Tor Lillqvist <tml@novell.com>
516 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
519 2008-07-27 Tor Lillqvist <tml@novell.com>
521 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
523 2008-07-24 David Zeuthen <davidz@redhat.com>
527 Also export a g_mount_guess_content_type_sync() function.
529 2008-07-23 Matthias Clasen <mclasen@redhat.com>
531 529694 – SELinux context setting support
533 * gfileinfo.c: Support setting selinux attributes.
534 Patch by Tomas Bzatek
536 2008-07-22 Priit Laes <plaes@plaes.org>
538 Bug 544140 - fam-helper 64-bit issue?
540 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
542 2008-07-21 Matthias Clasen <mclasen@redhat.com>
544 * === Released 2.17.4 ===
546 2008-07-20 Matthias Clasen <mclasen@redhat.com>
548 * gvolumemonitor.[hc]:
553 * gmount.c: Documentation fixes
555 2008-07-19 Matthias Clasen <mclasen@redhat.com>
557 543504 – crash in Epiphany Web Browser: Opening local file
568 * gvolume.c: Register types thread-safely.
569 Patch by Christian Persch
571 2008-07-18 Matthias Clasen <mclasen@redhat.com>
573 * gcontenttype.c: Remove debug spew
575 2008-07-18 Matthias Clasen <mclasen@redhat.com>
577 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
580 * fen/fen-kernel.c: Remove a warning that was causing
581 crashes. Reported by Lin Ma.
583 2008-07-18 Matthias Clasen <mclasen@redhat.com>
585 Bug 543040 – async reading on dummy file will crash on
588 * gfile.c (open_read_async_thread): Cope with read_fn being
589 NULL. Reported by Lin Ma.
591 2008-07-18 Matthias Clasen <mclasen@redhat.com>
594 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
596 2008-07-16 Matthias Clasen <mclasen@redhat.com>
600 * giomodule.c: Rename a chapter id to avoid filename conflict.
602 2008-07-16 Matthias Clasen <mclasen@redhat.com>
604 Bug 540616 – mem leak in filechooser button
606 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
607 the mount entry. Reported by Chrisitan Persch
609 2008-07-16 Matthias Clasen <mclasen@redhat.com>
611 * gfile.c: Small documentation fixes.
613 2008-07-15 Matthias Clasen <mclasen@redhat.com>
615 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
617 2008-07-08 Matthias Clasen <mclasen@redhat.com>
622 * gmount.c: Documentation improvements.
624 2008-07-08 Matthias Clasen <mclasen@redhat.com>
627 * gmount.[hc]: Add g_mount_guess_content_type().
629 2008-07-06 David Zeuthen <davidz@redhat.com>
632 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
633 is needed for easily handling adoption of foreign volumes by
634 out-of-process volume monitors (#541793)
636 2008-07-06 David Zeuthen <davidz@redhat.com>
638 * gvolumemonitor.[ch]:
639 * gunionvolumemonitor.c: Export the eject-button signal on the
640 volume monitor class (#541794).
642 2008-07-06 Matthias Clasen <mclasen@redhat.com>
644 * gappinfo.c: More doc tweaks
646 2008-07-05 Matthias Clasen <mclasen@redhat.com>
648 * gappinfo.c: Clarify some docs
650 2008-07-03 Matthias Clasen <mclasen@redhat.com>
652 * gdesktopappinfo.c: Fix a stupid mistake.
654 2008-07-02 Matthias Clasen <mclasen@redhat.com>
656 * === Released 2.17.3 ===
658 2008-07-02 Matthias Clasen <mclasen@redhat.com>
660 * gfilemonitor.c: Fix the build.
662 2008-07-02 Matthias Clasen <mclasen@redhat.com>
664 Bug 536160 – Add g_file_monitor()
667 * gfile.[hc]: Add g_file_monitor which can return either
668 a file or a directory monitor. Proposed by Behdad Esfahbod
670 2008-07-02 Matthias Clasen <mclasen@redhat.com>
672 536733 – gio build failure on Irix
674 * glocalfile.c: Use a configure check for structfs.f_bavail.
676 2008-07-02 Matthias Clasen <mclasen@redhat.com>
678 Bug 534639 – add g_desktop_app_info_new_from_keyfile
681 * gdesktopappinfo.[hc]: Add a function to create a
682 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
684 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
686 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
688 2008-07-01 Matthias Clasen <mclasen@redhat.com>
690 * gunixmounts.c: Fix a doc typo.
692 2008-07-01 Cody Russell <bratsche@gnome.org>
694 * gio/gcontenttype.c:
695 * gio/gwin32appinfo.c:
696 * gio/gwin32volumemonitor.c:
697 * gio/gwin32mount.c: Fixed some include problems.
699 2008-07-01 Cody Russell <bratsche@gnome.org>
703 Moved all relevant typedefs into these files.
706 Updated wrt added files.
708 Split types into separate file for easier maintainership. (#538564)
710 2008-06-30 Matthias Clasen <mclasen@redhat.com>
712 Bug 540331 – g_file_append_to () documentation: can return NULL
714 * gfile.c (g_file_append_to): Clarify docs.
717 2008-06-30 Matthias Clasen <mclasen@redhat.com>
719 Bug 539090 – g_content_type_from_mime_type() should unalias
721 * gcontentype.c (g_content_type_from_mime_type): Unalias.
722 Patch by Markus Bergman
724 2008-06-30 Matthias Clasen <mclasen@redhat.com>
726 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
729 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
730 on ppc and alpha. Reported by Mart Raudsepp
732 2008-06-29 Matthias Clasen <mclasen@redhat.com>
735 * tests/memory-output-stream.c: Add some tests for
738 2008-06-29 Matthias Clasen <mclasen@redhat.com>
740 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
743 * gmemoryoutputstream.c (array_resize): Handle truncation to
744 zero correctly. Reported by Akira Tagoh
746 2008-06-29 Matthias Clasen <mclasen@redhat.com>
748 * gmemoryoutputstream.c: Trivial doc fixes
750 2008-06-29 Matthias Clasen <mclasen@redhat.com>
752 Bug 540802 – g_list_prepend doesn't concat lists
754 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
755 one list to another. Pointed out by Jan Arne Petersen
757 2008-06-28 Michael Natterer <mitch@imendio.com>
759 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
761 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
763 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
764 to avoid problems with partial icon themes.
766 2008-06-17 Hans Breuer <hans@breuer.org>
768 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
769 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
770 access again on win32, see bug #538127
771 * giomodule.c : ensure GWin32VolumeMonitor is registered
772 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
773 * Makefile.am makefile.msc : updated
775 2008-06-16 Hans Breuer <hans@breuer.org>
777 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
778 and initialization in one step avoids c99ism
780 2008-06-16 Christian Persch <chpe@gnome.org>
783 * gio/gbufferedinputstream.c
785 * gio/gdatainputstream.c
786 * gio/gdesktopappinfo.c
788 * gio/gfileenumerator.c
789 * gio/gfileinputstream.c
790 * gio/gfileoutputstream.c
792 * gio/glocaldirectorymonitor.c
794 * gio/glocalfileenumerator.c
795 * gio/glocalfileinfo.c
796 * gio/glocalfilemonitor.c
797 * gio/glocalfileoutputstream.c
798 * gio/gmemoryinputstream.c
799 * gio/gmemoryoutputstream.c
800 * gio/goutputstream.c
801 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
804 2008-06-16 Tor Lillqvist <tml@novell.com>
806 Bug 538362 - Get Win32 icons back in the file chooser
808 * gcontenttype.c (g_content_type_get_icon): Look up the icon
809 corresponding to a file extension in the Registry. Patch by Hans
811 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
813 2008-06-16 Tor Lillqvist <tml@novell.com>
815 Patches by Hans Breuer:
817 * glocalfile.c (is_xp_or_later): Handle compiling against older
818 SDK headers with missing VerifyVersionInfo(). Conditioned on
819 _MSC_VER, but should probably use some better test.
820 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
821 uninitialised statfs_result variable on Win32.
823 2008-06-16 Michael Natterer <mitch@imendio.com>
825 * *.c: chain up unconditionally in finalize() and dispose(). Also
826 don't dereference these function pointers when calling them since
827 that has no meaning at all.
829 2008-06-16 Ross Burton <ross@burtonini.com>
832 Remove check for dispose implementation as it annoys Emmanuele.
834 2008-06-16 Ross Burton <ross@burtonini.com>
836 Bug 536252 – GFileEnumerator should allow access to the containing
842 Add g_file_enumerator_get_container() and a container writeable
843 construct-only property. Also shuffle around typedefs to make it
846 * glocalfileenumerator.c:
847 * glocalfileenumerator.h:
849 Instead of a string filename take a GFile in the constructor and
850 use it to set the container property.
855 2008-06-16 Matthias Clasen <mclasen@redhat.com>
857 * gfile.c: Make includes more uniform
859 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
861 * tests/live-g-file.c (sample_struct):
862 Use less fancy unicode filenames, so the test doesn't fail
863 on Mac OS X (#531476).
865 2008-06-12 Matthias Clasen <mclasen@redhat.com>
867 * === Released 2.17.2 ===
869 2008-06-12 Matthias Clasen <mclasen@redhat.com>
871 * === Released 2.17.1 ===
873 2008-06-11 A. Walton <awalton@gnome.org>
875 * tests/g-file.c (test_g_file_new_null):
876 Fix broken test case.
878 2008-06-11 Matthias Clasen <mclasen@redhat.com>
880 * pltcheck.sh: We use g_clear_error now.
882 2008-06-11 Matthias Clasen <mclasen@redhat.com>
884 * glocalfile.c (g_local_file_enumerate_children): Revert
885 an unintended change.
887 2008-06-11 Matthias Clasen <mclasen@redhat.com>
889 * gfile.c (g_file_replace_contents): Don't unref before the last use.
891 2008-06-10 Matthias Clasen <mclasen@redhat.com>
893 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
896 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
897 as icon for the desktop directory, also make user-home and
898 user-desktop the preferred icons.
900 2008-06-10 Matthias Clasen <mclasen@redhat.com>
903 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
904 to add a name to the front of the list.
906 2008-06-10 Matthias Clasen <mclasen@redhat.com>
908 Bug 537392 – Additional colon in xattr name
910 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
911 too. Reported by Alessandro Morandi
913 2008-06-10 Matthias Clasen <mclasen@redhat.com>
915 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
918 * glocalfile.c (get_fs_type): Add afs and autofs.
919 Patch by Danny Baumann.
921 2008-06-10 Matthias Clasen <mclasen@redhat.com>
923 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
925 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
926 is no parent. (Owen Taylor, patch by Christian Neumair)
928 2008-06-10 Paolo Borelli <pborelli@katamail.com>
930 * gfile.c (g_file_replace_contents): do not leak the output stream.
932 2008-06-10 Michael Natterer <mitch@imendio.com>
934 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
935 uninitialized memory as array index.
937 2008-06-10 Tor Lillqvist <tml@novell.com>
939 * gcontenttype.c (g_content_type_can_be_executable)
940 (g_content_type_get_icon) [Win32]: Add TODO comments.
942 2008-06-09 Matthias Clasen <mclasen@redhat.com>
944 * xdgmime/Makefile.am: Fix the build
946 2008-06-09 Matthias Clasen <mclasen@redhat.com>
948 * gcontenttype.c (g_content_type_get_icon): Use icons specified
949 in the shared mime database, if available.
951 * xdgmime/*: Sync with upstream. This brings support for
952 glob weights, generic icons, and changes the cache format to
955 2008-05-28 Michael Natterer <mitch@imendio.com>
957 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
958 the global CPPFLAGS now.
960 * tests/data-input-stream.c
961 * tests/data-output-stream.c
962 * tests/g-file-info.c
964 * tests/live-g-file.c
965 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
967 2008-05-27 Matthias Clasen <mclasen@redhat.com>
969 * === Released 2.17.0 ===
971 * tests/live-g-file.c: Clean up after the tests, so make distcheck
972 doesn't complain about leftover files.
974 2008-05-27 simon.zheng <simon.zheng@sun.com>
976 * glocalfile.c: (g_local_file_query_filesystem_info):
977 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
979 2008-05-26 Michael Natterer <mitch@imendio.com>
981 * gmemoryoutputstream.h: declare
982 g_memory_output_stream_get_data_size().
984 2008-05-26 Matthias Clasen <mclasen@redhat.com>
986 * tests/*: Make tests work
988 2008-05-26 Matthias Clasen <mclasen@redhat.com>
990 * gio.symbols: Add g_memory_output_stream_get_data_size.
992 2008-05-25 Ross Burton <ross@burtonini.com>
995 Fix typo in error message (#534764).
997 2008-05-25 Ross Burton <ross@burtonini.com>
1000 Fix circular dependency loop for gioenumtypes.h (#534759).
1002 2008-05-19 Hans Breuer <hans@breuer.org>
1004 * Makefile.am : EXTRA_DIST += makefile.msc
1006 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1009 * gcontenttype.c: (g_content_type_from_mime_type):
1010 New function to create a content type from a mime type. (#527175,
1013 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1015 Bug 532965 – Should not return filesystem::free for certain file systems
1017 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1018 free space for ncpfs.
1020 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1022 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1024 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1025 st_dev might be zero.
1027 2008-05-16 Tor Lillqvist <tml@novell.com>
1029 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1030 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1032 2008-05-13 Bastien Nocera <hadess@hadess.net>
1034 * gfile.c (has_valid_scheme): A URI scheme must start with a
1035 letter, even if later more characters are allowed (#532852)
1037 2008-05-05 Michael Natterer <mitch@imendio.com>
1039 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1040 code from being checked in that breaks the build of applications
1041 which use G_DISABLE_SINGLE_INCLUDES.
1043 * makegioalias.pl: make the alias file include "glib.h" instead of
1046 * gio.symbols: whitespace change to force regeneration of the
1047 alias file after above script change.
1049 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1051 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1053 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1055 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1057 2008-04-28 David Zeuthen <davidz@redhat.com>
1059 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1060 displaying mounts in a subdirectory not accessible to the
1063 2008-04-22 Michael Natterer <mitch@imendio.com>
1065 * Makefile.am: fix library versioning (it was 0.0.0).
1067 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1069 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1070 Default disable all loggings.
1071 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1072 (port_fetch_event_cb): Fixed two macro nits.
1074 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1076 * xdgmime/xdgmime.c: Rework the timestamp checking code
1077 to protect against duplicate directories in XDG_DATA_DIRS.
1078 Fixes fd.o bug 12513, reported by Joe Shaw.
1080 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1082 Partically revert the last commit after realizing that
1083 xdg_mime_media_type_equal doesn't have to init at all.
1085 * xdgmime/xdgmime.h:
1086 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1088 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1090 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1092 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1093 reported by Joe Shaw and Federico Mena Quintero.
1095 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1096 (xdg_mime_media_type_equal): Turn into a wrapper around the
1099 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1100 functions throughout.
1102 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1104 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1105 tolerate an empty TryExec= line without failing; nautilus used
1106 to create launchers with these in previous versions. Fixes #528433
1108 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1110 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1111 after name. Fixes #527132.
1113 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1115 * gfile.c: (g_file_replace):
1118 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1120 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1122 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1123 by Christian Kellner.
1125 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1127 * gunixmounts.c: (g_unix_mount_guess_should_display):
1128 Don't list the user directory as a mount, fix potential issue
1129 when other users have a similar naming and don't special case the
1130 gvfs mounts there since that's not required (#525866)
1132 2008-03-31 Alexander Larsson <alexl@redhat.com>
1134 * glocalfile.c (get_parent):
1137 2008-03-31 A. Walton <awalton@svn.gnome.org>
1139 * gfile.c (g_file_query_file_type):
1140 Always return a GFileType enum value (#520715).
1142 2008-03-31 Alexander Larsson <alexl@redhat.com>
1144 * glocalfileenumerator.c:
1145 Read readdir() info in chunks (of 1000) and sort
1146 the chunks by inode before stat:ing.
1147 This is a 20% performance increase in testing
1148 gvfs-ls on /usr/bin with cold cache.
1150 2008-03-31 Alexander Larsson <alexl@redhat.com>
1152 * gmemoryoutputstream.c:
1153 Clarify docs for g_memory_output_stream_get_size.
1154 Add g_memory_output_stream_get_data_size.
1156 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1160 * gfile.h: Add g_file_query_file_type convenience function
1161 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1163 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1165 * gfileenumerator.c:
1166 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1168 2008-03-28 A. Walton <awalton@svn.gnome.org>
1170 * giomodule.c (_g_io_modules_ensure_loaded):
1171 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1174 2008-03-28 Alexander Larsson <alexl@redhat.com>
1177 (copy_stream_with_progress):
1180 2008-03-28 Alexander Larsson <alexl@redhat.com>
1183 (copy_stream_with_progress):
1184 (file_copy_fallback):
1185 Fallback to g_file_query_info for source size
1186 if g_file_input_stream_query_info fails. (#524579)
1188 2008-03-28 Alexander Larsson <alexl@redhat.com>
1190 * glocalfile.c (g_local_file_move):
1191 Reuse old string instead of adding new one.
1193 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1195 * fen/*.[hc]: still copyright issue. I hate copyright.
1197 2008-03-27 Alexander Larsson <alexl@redhat.com>
1199 * glocalfile.c (g_local_file_move):
1200 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1201 file over directory. This is according to the docs and what the move via
1202 copy+remove fallback does.
1204 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1206 * fen/*.[hc]: Updated copyright.
1208 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1210 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1212 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1214 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1215 not emit attribute changed events when optimizing changed events.
1216 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1219 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1221 * gmountoperation.[hc]: Small documentation additions
1223 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1225 * gunixmounts.c: (guess_mount_type):
1226 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1228 2008-03-19 Alexander Larsson <alexl@redhat.com>
1231 (copy_stream_with_progress):
1232 Bump block side for copy to 64k to minimize
1233 overhead for low latency links. (#523015)
1235 2008-03-16 Tor Lillqvist <tml@novell.com>
1237 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1238 depend on gio.def on Windows.
1240 2008-03-12 David Zeuthen <davidz@redhat.com>
1244 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1246 2008-03-14 Alexander Larsson <alexl@redhat.com>
1250 Avoid redudant tests (#521851)
1251 Patch from Josselin Mouette
1253 2008-03-14 Alexander Larsson <alexl@redhat.com>
1256 (g_file_monitor_is_cancelled):
1257 Fix C89 issue (#521672)
1258 Patch from Jens Granseuer
1260 2008-03-14 Alexander Larsson <alexl@redhat.com>
1262 * fam/fam-helper.[ch]:
1264 Shut down fam (including removing fam GSource) when
1265 module is unloaded (#521513)
1266 Patch from Joe Marcus Clarke
1268 2008-03-14 Alexander Larsson <alexl@redhat.com>
1271 (_g_io_modules_ensure_loaded):
1274 2008-03-14 Alexander Larsson <alexl@redhat.com>
1277 (g_local_file_query_filesystem_info):
1278 Use right define name for f_fstypename member check
1280 2008-03-14 Alexander Larsson <alexl@redhat.com>
1283 * fen/Makefile.am: Added.
1284 * fen/fen-data.[ch]: Added.
1285 * fen/fen-dump.[ch]: Added.
1286 * fen/fen-helper.[ch]: Added.
1287 * fen/fen-kernel.[ch]: Added.
1288 * fen/fen-missing.[ch]: Added.
1289 * fen/fen-node.[ch]: Added.
1290 * fen/fen-sub.[ch]: Added.
1291 * fen/gfendirectorymonitor.[ch]: Added.
1292 * fen/gfenfilemonitor.[ch]: Added.
1294 Added Solaris FEN file notification backend.
1295 Patch from Lin Ma <Lin.Ma@Sun.COM>
1297 2008-03-13 Tor Lillqvist <tml@novell.com>
1299 * Makefile.am: Actually use the gio.def file when linking the
1300 library on Windows. Produce .lib library for Microsoft's toolchain
1301 when possible. Install the .lib and .def file like for the other
1304 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1306 * tests/live-g-file.c:
1307 Include live-g-file in standard set of tests, making a temporary
1308 directory in source structure.
1310 Clean target directory before the tests (write mode only)
1312 2008-03-12 Tor Lillqvist <tml@novell.com>
1314 Bug 517419 - gio win32 directory monitor
1315 Implementation by Vlad Grecescu.
1318 * win32/gwin32directorymonitor.h
1319 * win32/gwin32directorymonitor.c: New files.
1321 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1323 * Makefile.am: Add the win32 subdirectory.
1325 2008-03-12 Tor Lillqvist <tml@novell.com>
1327 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1328 normal struct stat on Unix but struct _stati64 on Windows to have
1329 access to 64-bit file size information. Use that instead of struct
1330 stat in the functions declared here in this private header.
1332 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1333 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1334 warnings about unused functions and variables. Don't set
1335 meaningless attributes like inode numbers on Windows.
1337 2008-03-12 Benjamin Otte <otte@gnome.org>
1340 trim whitespace so gtk-doc groks the function name
1342 2008-03-12 Tor Lillqvist <tml@novell.com>
1344 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1345 returning FALSE, on Win32.
1347 2008-03-11 Alexander Larsson <alexl@redhat.com>
1350 * glocalfileinfo.[ch]:
1351 Correctly implement can_trash by actually
1352 looking for a trash dir, not just assuming
1355 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1357 * === Released 2.16.1 ===
1359 2008-03-11 Alexander Larsson <alexl@redhat.com>
1362 Fix crashes in new constructor and properties code
1364 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1366 * gfile.c: Minor spelling correction in documentation:
1367 existance -> existence.
1369 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1371 * === Released 2.16.0 ===
1373 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1375 * gio.symbols: Remove g_file_contains_file here, too.
1377 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1379 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1380 Samuel Cormier-Iijima)
1382 2008-03-08 Tor Lillqvist <tml@novell.com>
1384 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1387 2008-03-07 Alexander Larsson <alexl@redhat.com>
1390 (g_local_file_query_filesystem_info):
1391 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1392 Patch from Jasper Lievisse Adriaanse
1394 2008-03-06 Tor Lillqvist <tml@novell.com>
1396 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1397 comments for the *_USEC attributes.
1399 2008-03-06 Alexander Larsson <alexl@redhat.com>
1401 * gfile.c (g_file_query_exists):
1402 Add g_return_val_if_fail check (#520700)
1404 2008-03-06 Alexander Larsson <alexl@redhat.com>
1406 * gdesktopappinfo.c:
1409 * gunionvolumemonitor.c:
1412 * tests/live-g-file.c:
1413 * xdgmime/xdgmimecache.c:
1414 Fix sparse warnings (#519489)
1416 2008-03-05 Alexander Larsson <alexl@redhat.com>
1419 Make cancellation threadsafe (i.e.
1420 guarantee its only done once, and always
1423 * glocaldirectorymonitor.c:
1424 Make sure we the monitor lives while the
1425 mounts_changed callback is being called (#520484)
1427 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1429 * gbufferedinputstream.c: Fix typo in parameter
1432 2008-03-04 Alexander Larsson <alexl@redhat.com>
1435 Remove deprecated symbols we kept for one release.
1437 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1440 * goutputstream.c: Tiny documentation corrections.
1442 2008-03-03 Alexander Larsson <alexl@redhat.com>
1444 * gunionvolumemonitor.c:
1446 Fix the adopt_orphan_mount vfunc to take a
1447 volume_monitor reference in an ABI compat way.
1448 This change is not API compat, but the added
1449 arg is not used in the only user of this vfunc, so
1450 all we get is a harmless warning in gvfs (#520169)
1452 2008-03-01 Benjamin Otte <otte@gnome.org>
1455 clarify docs for g_file_delete().
1457 2008-02-29 Alexander Larsson <alexl@redhat.com>
1461 Make sure empty files get text/plain type (#518720)
1463 2008-02-27 Alexander Larsson <alexl@redhat.com>
1469 (g_unix_volume_mount):
1470 Add missing GMountMountFlags argument
1472 2008-02-26 Alexander Larsson <alexl@redhat.com>
1475 (g_local_file_delete):
1476 Handle filesystems (like ntfs-3g) that return EEXIST instead
1477 of ENOTEMPTY (#518816)
1479 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1481 * === Released 2.15.6 ===
1483 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1485 * gfile.c (g_file_find_enclosing_mount):
1486 * ginputstream.c (g_input_stream_set_pending):
1487 * glocalfile.c (g_local_file_find_enclosing_mount):
1488 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1489 * goutputstream.c (g_output_stream_set_pending):
1491 Fixup translator comments (#518578).
1493 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1495 * gfile.c (g_file_find_enclosing_mount):
1497 * glocalfile.c (g_local_file_find_enclosing_mount):
1500 Fix a few typos in translator comments and documentation.
1502 2008-02-25 Alexander Larsson <alexl@redhat.com>
1509 Add translator comments (#518578)
1511 2008-02-25 Alexander Larsson <alexl@redhat.com>
1514 Reintroduce g_file_contains_file, keep around for one
1515 unstable release cycle to avoid crashing to many apps.
1516 Make sure to delete after release.
1518 2008-02-25 Alexander Larsson <alexl@redhat.com>
1521 Remove deprecated g_file_contains_file.
1523 2008-02-25 Alexander Larsson <alexl@redhat.com>
1526 Emit actual change signals in an idle handler.
1527 This avoids reentrance and locking problems in
1528 the file notification backends.
1530 2008-02-25 Alexander Larsson <alexl@redhat.com>
1533 (g_unix_mount_guess_should_display):
1534 Remove type guessing, instead just display
1535 mounts in /media and in ~/.
1537 2008-02-25 Alexander Larsson <alexl@redhat.com>
1540 Make new strings reuse old ones.
1542 2008-02-25 Alexander Larsson <alexl@redhat.com>
1545 Implement trashing and filesystem::readonly for win32 (#517235)
1546 Patch from Yevgen Muntyan
1548 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1550 * gfileinfo.h: Documentation fixes.
1552 2008-02-22 Alexander Larsson <alexl@redhat.com>
1554 * gcontenttype.c (g_content_type_get_icon):
1555 Look at old-style gnome mime icon names too, as many
1556 have not moved to the new style.
1558 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1560 * *.c: Correct the @include in for section docs.
1562 2008-02-21 David Zeuthen <davidz@redhat.com>
1564 * glocalfileinfo.c: (_g_local_file_info_get):
1566 (g_content_type_get_icon): Implement this function by
1567 moving bits from glocalfileinfo.c
1568 (g_content_type_get_description): Unalias before getting
1569 description (#517687)
1571 * gfile.c: (g_file_class_init),
1572 (g_file_query_filesystem_info_async),
1573 (g_file_query_filesystem_info_finish),
1574 (query_filesystem_info_data_free),
1575 (query_filesystem_info_async_thread),
1576 (g_file_real_query_filesystem_info_async),
1577 (g_file_real_query_filesystem_info_finish):
1578 * gfile.h: Implement async version of
1579 g_file_query_filesystem_info()
1581 * gfileinfo.h: Add new attributes for filesystem::use-preview
1583 * gio.symbols: Update
1585 * gthemedicon.c: (g_themed_icon_append_name):
1586 * gthemedicon.h: Add new new convenience function.
1588 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1589 (get_mounts), (get_volumes), (get_connected_drives),
1590 (get_volume_for_uuid), (get_mount_for_uuid),
1591 (g_union_volume_monitor_init), (populate_union_monitor),
1592 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1593 (g_volume_monitor_adopt_orphan_mount):
1595 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1596 monitor implementations to call into the main volume monitor. Also
1597 separate object initialization and volume monitor initialization
1598 such that non-native volume monitors can properly adopt their
1601 2008-02-21 Alexander Larsson <alexl@redhat.com>
1606 2008-02-21 Alexander Larsson <alexl@redhat.com>
1609 Add more documentation about how GFiles work (from #517086)
1611 2008-02-21 Alexander Larsson <alexl@redhat.com>
1615 Add new g_file_has_prefix that does the same as g_file_contains_file.
1616 Deprecate g_file_contains_file and add a macro that converts
1617 it to g_file_has_prefix.
1618 The reason for this change is that the contains_file() name seems to
1619 imply that this does more work than what it does, but its really only
1620 a name match (from #517086)
1625 Update to match the above change.
1627 2008-02-20 Benjamin Otte <otte@gnome.org>
1629 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1630 (g_file_eject_mountable):
1631 even more cases of not returning in error path
1633 2008-02-20 Benjamin Otte <otte@gnome.org>
1635 * gfile.c: (g_file_mount_mountable):
1636 return from function in error path.
1638 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1641 Remove trailing coma in GMountMountFlags struct
1643 2008-02-18 Alexander Larsson <alexl@redhat.com>
1647 * glocalfileoutputstream.c:
1648 Use g_unlink/g_rename instead of unlink/rename;
1649 do not pass raw filenames to g_set_error. (#517239)
1650 Patch from Yevgen Muntyan.
1652 2008-02-18 Alexander Larsson <alexl@redhat.com>
1655 * glocalfileoutputstream.c:
1656 Open files with O_BINARY on windows. (#517140)
1658 2008-02-14 Alexander Larsson <alexl@redhat.com>
1660 * glocalfileoutputstream.c:
1661 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1663 2008-02-14 Alexander Larsson <alexl@redhat.com>
1666 Copy permissions with file on copy (#514084)
1667 This is what cp does and makes sure e.g. the
1668 exec permissions are kept.
1669 Its kinda weird in that it keeps the permission bits
1670 the same while the uid and gid are different. However
1671 the new uid is the user so its not a security issue,
1672 and I've heard no complaints about cp on this issue.
1674 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1676 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1678 2008-02-13 Alexander Larsson <alexl@redhat.com>
1680 * inotify/inotify-path.c:
1681 Define IN_ONLYDIR if not in header (#515346)
1683 2008-02-12 Alexander Larsson <alexl@redhat.com>
1685 * tests/live-g-file.c:
1688 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1690 * === Released 2.15.5 ===
1692 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1694 * gio.symbols: Add g_mount_mount_flags_get_type.
1696 2008-02-11 Alexander Larsson <alexl@redhat.com>
1699 (g_file_info_set_attribute_mask):
1700 (g_file_attribute_matcher_matches_id):
1701 Correctly handle NULL GAttributeMatcher meaning
1702 matches nothing. (Fixes #513492)
1704 2008-02-11 Alexander Larsson <alexl@redhat.com>
1709 Added GMountMountFlags enum and added a flags
1710 argument to all mount calls.
1712 This is an API/ABI change for future extensibility,
1713 as I think we will need at least an
1714 inhibit-autorun flag (the panel needs this).
1715 There are no flags defined yet though.
1717 2008-02-11 Alexander Larsson <alexl@redhat.com>
1720 Added new standard::description attribute.
1721 Requested by Vincent, and useful for both
1724 2008-02-11 Alexander Larsson <alexl@redhat.com>
1726 * gdesktopappinfo.c:
1729 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1731 * *.c: Documentation additions
1733 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1735 * gappinfo.h: Formatting cleanup
1736 * gappinfo.c: Fix up docs.
1738 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1740 * gunixmounts.c: Consistently use getmntent_r() and fall
1741 back to getmntent(). (#515492)
1743 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1745 * gbufferedinputstream.c:
1747 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1749 * tests/data-input-stream.c:
1750 * tests/data-output-stream.c: Portability fixes.
1752 2008-02-08 Alexander Larsson <alexl@redhat.com>
1757 Add g_volume_should_automount.
1760 2008-02-07 Tor Lillqvist <tml@novell.com>
1762 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1763 Win32, too Unix-specific.
1765 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1767 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1768 a local plt if the compiler doesn't support what we want. Bug #514702
1770 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1772 reviewed by: <delete if not using a buddy>
1775 * gunixinputstream.c:
1776 * gunixoutputstream.c:
1778 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1780 * tests/Makefile.am:
1781 * tests/live-g-file.c:
1782 * tests/live-g-file.txt:
1783 New GIO testing module working over real data
1785 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1787 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1788 Fallback to rename() if link() is not available
1789 (when no support on target filesystem)
1791 2008-02-06 Michael Natterer <mitch@imendio.com>
1793 * gfileinfo.c (g_file_info_get_icon): replace
1794 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1796 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1798 * gfile.c (g_file_create):
1799 Documentation update of error codes
1801 2008-02-06 Alexander Larsson <alexl@redhat.com>
1803 * gdesktopappinfo.c:
1804 Update to use both mimeapps.list and
1805 defaults.list as discussed on xdg list.
1807 2008-02-06 Benjamin Otte <otte@gnome.org>
1810 * gfilenamecompleter.c:
1811 Fix some typos in the documentation.
1813 2008-02-06 Alexander Larsson <alexl@redhat.com>
1815 * glocalfile.c (g_local_file_trash):
1816 Don't succeed with trash if newly created
1817 trash dir has the wrong owner. (#514696)
1819 2008-02-05 Alexander Larsson <alexl@redhat.com>
1821 * glocalfile.c (g_local_file_move):
1822 Don't spew warnings when destination is not
1825 2008-02-03 Hans Breuer <hans@breuer.org>
1827 * makefile.msc : update
1829 2008-02-01 Michael Natterer <mitch@imendio.com>
1831 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1832 return value of xdg_mime_list_mime_parents() to a variable of the
1835 2008-02-01 Alexander Larsson <alexl@redhat.com>
1837 * gappinfo.c (g_app_info_launch_uris):
1838 Actually call the launch_uris method, not
1841 2008-02-01 Alexander Larsson <alexl@redhat.com>
1843 * gdesktopappinfo.c (g_desktop_app_info_equal):
1844 Ensure appinfos with no id but same pointer value
1847 2008-02-01 Alexander Larsson <alexl@redhat.com>
1849 * gappinfo.c (g_app_info_launch_default_for_uri):
1852 2008-02-01 Alexander Larsson <alexl@redhat.com>
1856 Add g_app_info_launch_default_for_uri utility
1859 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1861 * gdesktopappinfo.c:
1862 Doc fix for g_app_info_get_default_for_uri_scheme ()
1865 2008-01-30 Alexander Larsson <alexl@redhat.com>
1868 Add doc comment about uris vs GFiles to
1871 * gdesktopappinfo.c:
1872 Ensure uris passed to g_app_info_launch_uris()
1873 are not roundtriped through GFile (as that
1874 may be slightly destructive for e.g. mailto: links)
1876 2008-01-30 Alexander Larsson <alexl@redhat.com>
1878 * tests/data-input-stream.c:
1879 * tests/data-output-stream.c:
1880 C89 fixes from Jens Granseuer (#512849)
1882 2008-01-30 Alexander Larsson <alexl@redhat.com>
1885 Fix gamin/fam difference build issue. (#509419)
1887 2008-01-29 Alexander Larsson <alexl@redhat.com>
1890 * gdesktopappinfo.c:
1891 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1893 2008-01-29 Alexander Larsson <alexl@redhat.com>
1895 * gdesktopappinfo.c:
1896 * gdesktopappinfo.h:
1897 giomodule-priv.h include moved to .c file.
1899 2008-01-29 Alexander Larsson <alexl@redhat.com>
1901 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1902 Remove unused prio/name fields.
1904 2008-01-29 Alexander Larsson <alexl@redhat.com>
1906 * gcontenttype.c (looks_like_text):
1907 Don't treat whitespace as control chars.
1909 2008-01-29 Alexander Larsson <alexl@redhat.com>
1911 * gdesktopappinfo.c:
1912 Lazily create the desktop files for appinfos created
1913 by g_app_info_create_from_commandline() when needed
1914 for mime associations. This allows run-time use
1915 of GAppInfo object without creating unnecessary
1918 2008-01-29 Alexander Larsson <alexl@redhat.com>
1921 Added new symbols to gio.symbols
1923 2008-01-29 Alexander Larsson <alexl@redhat.com>
1926 Add g_file_query_default_handler utility to easily look up
1927 the GAppInfo that handles a file.
1929 * gdesktopappinfo.[ch]:
1931 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1934 Remove unused function
1936 2008-01-29 Alexander Larsson <alexl@redhat.com>
1938 * gfileenumerator.c:
1939 Mention need to free returned value in
1940 g_file_enumerator_next_files_finish docs.
1941 Fix leak if g_file_enumerator_next_files_finish()
1944 2008-01-29 Alexander Larsson <alexl@redhat.com>
1947 (_g_unix_content_type_get_parents):
1948 Use list_parents, not get_parents from xdgmime, because
1949 the later doesn't use the cache.
1951 * xdgmime/xdgmimecache.c:
1952 (_xdg_mime_cache_list_mime_parents):
1953 Don't list the same type as parent multiple times.
1955 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1957 * === Released 2.15.4 ===
1959 2008-01-28 Alexander Larsson <alexl@redhat.com>
1962 Register local vfs with prio 0.
1965 Remove old name and prio class members
1967 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1969 * tests/g-file.c: Disable some tests that are failing in
1970 the absence of a http backend.
1972 2008-01-28 Alexander Larsson <alexl@redhat.com>
1976 Add registration hooks for extension points.
1977 Register the gio extension points.
1979 * fam/gfamdirectorymonitor.c:
1980 * fam/gfamfilemonitor.c:
1981 * glocaldirectorymonitor.[ch]:
1982 * glocalfilemonitor.[ch]:
1983 * gnativevolumemonitor.h:
1984 * gunionvolumemonitor.c:
1985 * gunixvolumemonitor.c:
1988 * inotify/ginotifydirectorymonitor.c:
1989 * inotify/ginotifyfilemonitor.c:
1990 Use the extension points registration instead
1991 of g_type_children().
1993 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1996 * gvolume.[hc]: Document new API.
1998 * gfile.c (g_file_copy_async): Fix docs
2000 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2002 * gbufferedinputstream.c:
2004 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2007 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2009 * glocalfile.c: Avoid trivial differences in translatable strings.
2011 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2013 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2014 build with gcc 3.4 (#509419)
2016 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2018 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2019 (#509994, Murray Cumming)
2021 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2023 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2024 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2025 this allows big jobs to be executed in chunks, instead of blocking
2026 the main loop for a long time.
2028 * gsimpleasyncresult.c:
2029 * giofile.c: Adapt callers.
2031 2008-01-25 Alexander Larsson <alexl@redhat.com>
2033 * gdesktopappinfo.c:
2034 Implement changes discussed on xdg list.
2035 Now we can add supported mimetypes by just using defaults.list
2036 We can also remove associations in defaults.list.
2038 2008-01-25 Alexander Larsson <alexl@redhat.com>
2040 * gdesktopappinfo.c:
2041 Don't make local copy of desktop file
2042 for mimetype changes if the file already
2043 supports the new mimetype.
2045 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2049 * gbufferedinputstream.c:
2050 * glocalfile.c: String improvements. (#511966,
2051 Theppitak Karoonboonyanan)
2053 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2055 * gioscheduler.h: Expand docs a bit.
2057 2008-01-24 Alexander Larsson <alexl@redhat.com>
2060 Add g_drive_get_identifier and
2061 g_drive_enumerate_identifiers
2064 Add g_volume_get_identifier and
2065 g_volume_enumerate_identifiers
2071 Implement identifiers for unix backend
2073 2008-01-24 Alexander Larsson <alexl@redhat.com>
2078 Add g_file_copy_async() (#511580)
2079 Based on patch from Carlos Garcia Campos
2081 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2083 * gioscheduler.c: Some documentation additions.
2085 2008-01-22 Alexander Larsson <alexl@redhat.com>
2087 * gdesktopappinfo.c:
2088 (g_desktop_app_info_new):
2089 Don't leak basename.
2091 2008-01-22 Alexander Larsson <alexl@redhat.com>
2093 * gdesktopappinfo.c:
2094 (g_desktop_app_info_new_from_filename):
2097 2008-01-22 Alexander Larsson <alexl@redhat.com>
2099 * glocalfileinfo.c (get_thumbnail_attributes):
2102 2008-01-22 Alexander Larsson <alexl@redhat.com>
2105 (canonicalize_filename):
2106 Canonicalize paths that start with more than
2110 (compare_two_files):
2111 (test_g_file_new_for_path):
2114 2008-01-22 Alexander Larsson <alexl@redhat.com>
2117 Allow UTF-8 in file:// parse names.
2119 * tests/Makefile.am:
2120 * tests/data-input-stream.c:
2121 * tests/data-output-stream.c:
2122 * tests/g-file-info.c:
2124 Added a bunch of tests from Tomas Bzatek
2126 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2128 * === Released 2.15.3 ===
2130 2008-01-21 Alexander Larsson <alexl@redhat.com>
2132 * gfileinputstream.[ch]:
2133 * gfileoutputstream.[ch]:
2135 Remove duplicated GSeekable functions. (#509990)
2136 Just use the g_seekable_xxx() calls instead.
2138 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2141 * gvolumemanager.c: Whitespace cleanups.
2143 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2144 Use the right mode when creating the file.
2146 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2148 * gfileenumerator.c:
2149 * gfileinputstream.c:
2151 * goutputstream.c: Documentation: Fixed minor typos
2152 and added more mentions of specific _finish() functions.
2154 2008-01-21 Alexander Larsson <alexl@redhat.com>
2156 * inotify/Makefile.am:
2157 * inotify/inotify-helper.c:
2158 * inotify/inotify-kernel.c:
2159 * inotify/inotify-path.c:
2160 * inotify/local_inotify.h: Removed.
2161 * inotify/local_inotify_syscalls.h: Removed.
2162 Removed the included copies of the inotify
2163 headers. We now only use the <sys/inotify.h>
2164 header which exists on modern systems.
2165 This fixes problems on ARM and SH5 (#510448)
2166 but is also generally much cleaner and future
2167 safe. For instance, if other OSes add support
2168 for inotify it should "just work".
2170 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2172 * inotify/*.c: Coding style fixes.
2173 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2174 for the 1/4 Hz timer.
2176 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2179 * gfilemonitor.[hc]:
2180 * gmemoryinputstream.c:
2181 * gmemoryoutputstream.c:
2182 * gmountoperation.c:
2183 * gthemedicon.c: Documentation updates
2185 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2187 * gfile.c: documentation: Fixed more minor
2190 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2192 * gmount.c: (g_mount_remount): documentation:
2193 Mention g_mount_remount_finish() instead of
2194 g_mount_unmount_finish().
2196 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2200 * gfile.c: Fixed some minor typos in the
2203 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2205 * gio/gvolumemonitor.c:
2206 (g_volume_monitor_get_connected_drives):
2207 (g_volume_monitor_get_volumes):
2208 (g_volume_monitor_get_mounts): Documentation:
2209 Clarify the ownership of the regurn GLists.
2211 2008-01-17 Alexander Larsson <alexl@redhat.com>
2214 Add the async find_enclosing_mount version
2215 to the header file too.
2217 2008-01-17 Alexander Larsson <alexl@redhat.com>
2220 Add async version of find_enclosing_mount
2221 with default implementation.
2223 2008-01-17 Alexander Larsson <alexl@redhat.com>
2228 Allow calls to implementation of copy and write
2229 even if the type of the file implementations is
2230 different. This can be used to implement native
2231 upload and download calls in a vfs.
2234 (g_local_file_move):
2235 Protect against the case where move is called
2236 with one file not being local.
2238 Make sure we call the progress callback once
2239 in the native move operation so that the caller
2240 knows how many bytes were copied.
2242 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2245 * gdatainputstream.c:
2247 * gfileoutputstream.c:
2252 * gunixmounts.c: Corrected some typos in the documentation:
2253 occured -> occurred.
2254 its -> it's (where appropriate).
2256 2008-01-16 Alexander Larsson <alexl@redhat.com>
2260 Add g_file_query_exists (#508771)
2262 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2267 * gvolume.c: For async functions that have no non-async
2268 version, document that the GAsyncReadyCallback may be NULL.
2271 2008-01-15 Alexander Larsson <alexl@redhat.com>
2273 * gmemoryinputstream.c:
2274 * gmemoryoutputstream.c:
2275 Don't do pointer arithmetic on void * (#508602)
2276 Patch from Kazuki IWAMOTO
2278 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2280 * === Released 2.15.2 ===
2282 2008-01-14 Alexander Larsson <alexl@redhat.com>
2284 * gfile.c (g_file_monitor_file):
2285 Don't set error here, since we fallback to polling monitor.
2287 2008-01-14 Alexander Larsson <alexl@redhat.com>
2290 (g_file_monitor_directory):
2291 (g_file_monitor_file):
2292 Add GError to file monitor calls
2294 * glocaldirectorymonitor.c:
2295 * glocaldirectorymonitor.h:
2297 * glocalfilemonitor.c:
2298 * glocalfilemonitor.h:
2300 Update for above change
2302 2008-01-14 Alexander Larsson <alexl@redhat.com>
2306 Handle root correctly in g_file_get_relative_path (#508719)
2308 2008-01-14 Alexander Larsson <alexl@redhat.com>
2311 Clean up docs and example for GAsyncResult (#508074)
2313 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2315 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2316 and correct some spelling mistakes. Bug #508108.
2318 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2320 * glocalfileinfo.c: Add a comment.
2322 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2324 * gfileinfo.c: GFileInfo description: Mention
2325 how to actually set attributes in a GFile and how to discover
2326 which attributes are settable. Bug #508378.
2328 2008-01-10 A. Walton <awalton@svn.gnome.org>
2330 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2331 (g_app_info_get_default_for_type):
2332 Check for NULL content types.
2334 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2336 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2338 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2340 * gfile.c: *_async() functions: Several small corrections
2341 to the documentation, mostly correcting copy/paste errors
2342 and improving some sentences.
2344 2008-01-09 Dan Winship <danw@gnome.org>
2346 * glocalfile.c (get_unique_filename): x86_64 fix
2348 2008-01-09 Alexander Larsson <alexl@redhat.com>
2353 Add g_unix_mount_guess_should_display and use
2354 for unix volume monitor backend.
2355 This means we more or less show what the
2356 gnome-vfs backend did.
2357 Based on patch from Padraig O'Briain
2359 2008-01-09 Alexander Larsson <alexl@redhat.com>
2363 Add g_themed_icon_new_with_default_fallbacks
2366 Use default fallbacks for icons
2368 2008-01-09 Alexander Larsson <alexl@redhat.com>
2371 * gmountoperation.[ch]:
2372 Change the API a bit so that unhandled methods
2373 get reported via the reply, rather than by
2374 the signal emission return value. This is because
2375 some handlers can't know this immediately without
2376 doing I/O, and this is an async operation that
2379 2008-01-09 Alexander Larsson <alexl@redhat.com>
2382 * fam/gfamdirectorymonitor.c:
2383 * fam/gfamfilemonitor.c:
2384 Fix double free crash (#508224)
2385 Patch from Joe Marcus Clarke
2387 008-01-07 Matthias Clasen <mclasen@redhat.com>
2389 * === Released 2.15.1 ===
2391 2008-01-07 Alexander Larsson <alexl@redhat.com>
2393 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2394 Fix warning (#507835)
2396 2008-01-07 Alexander Larsson <alexl@redhat.com>
2399 Pass --internal to glib-genmarshal
2402 * gmountoperation.c:
2404 Use better types for signal arguments (#507822)
2406 2008-01-07 Alexander Larsson <alexl@redhat.com>
2409 Build test subdir after .
2410 Remove gdirectorymonitor.[ch]
2412 * gdirectorymonitor.[ch]:
2416 Remove GDirectoryMonitor and make
2417 GFileMonitor the baseclass for both file and
2418 directory monitors. Lift the more generic
2419 rate limiting code from GDirectoryMonitor
2423 * fam/gfamdirectorymonitor.[ch]:
2424 * inotify/ginotifydirectorymonitor.[ch]:
2425 * inotify/inotify-helper.c:
2426 * glocaldirectorymonitor.[ch]:
2429 Update for the removed GDirectoryMonitor.
2431 * gmemoryoutputstream.c:
2432 Remove ununsed variable
2434 2008-01-07 Alexander Larsson <alexl@redhat.com>
2436 * gmemoryinputstream.c:
2437 Translate error strings
2440 * gmemoryoutputstream.[ch]:
2441 New implementation that avoids using GByteArray
2442 in implementation and API. (#506377)
2444 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2446 * tests/*: Add a test for memory input streams.
2448 * Makefile.am: Add tests to SUBDIRS.
2450 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2452 * glocalfilemonitor.c:
2453 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2456 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2458 * gdesktopappinfo.c: Fix a docs typo.
2460 * gfileattribute.c: Add information about extended attributes
2461 to the documentation. (#505058)
2463 2008-01-04 Alexander Larsson <alexl@redhat.com>
2466 * gmountoperation.c:
2467 Use the right type (uint) for the ask_password signal.
2469 2008-01-04 Alexander Larsson <alexl@redhat.com>
2474 Add g_app_info_supports_files()
2475 Remove desktop arg from g_app_info_should_show().
2477 * gdesktopappinfo.[ch]:
2478 Implement g_app_info_supports_files() and new should_show()
2479 Add g_desktop_app_info_set_desktop_env() to set the desktop
2480 for should_show(). (This will be set by gtk+ later)
2482 2008-01-04 Alexander Larsson <alexl@redhat.com>
2485 * gmemoryinputstream.[ch]:
2486 Improve API so that you can use multiple chunks
2487 of memory and custom destroy functions. (#506374)
2489 2008-01-03 Alexander Larsson <alexl@redhat.com>
2492 Handle NULL attribute matchers safely, as we return this
2493 for empty attribute matcher strings.
2495 2008-01-03 Alexander Larsson <alexl@redhat.com>
2497 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2498 Add /usr/local to list of internal mountpoints
2500 2008-01-03 Alexander Larsson <alexl@redhat.com>
2503 Check for HAVE_LCHOWN (#505887)
2505 2008-01-03 Alexander Larsson <alexl@redhat.com>
2509 Add define for selinux context attribute.
2510 Fix missing : -> :: namespace separator change
2511 Fix missing _ -> - name change for xattr-sys.
2514 2008-01-03 Alexander Larsson <alexl@redhat.com>
2517 Link to libglib and libgobject directly (#504879)
2518 Patch from Sebastien Bacher
2520 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2522 * gfile.c: Expanded the g_file_new_for_commandline_arg
2523 description a bit, based on the code and the docs of the
2524 other g_file_new_for_* functions.
2526 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2528 * gfilemonitor.h: Fixed typo in docs.
2530 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2532 Updates to GIO documentation. (#506395, Mikael Hermansson)
2534 * gcontenttype.c: Describe memory management for return value of
2535 g_content_types_get_registered(). Missing piece from #505815.
2536 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2537 GVolume, GDrive, GMounts, which hopefully gives the user less
2538 confusions when using this API. Following explainations from
2539 Alexander Larsson on gtk-devel-list.
2541 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2543 * gfileinfo.c: Expand the long description.
2545 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2548 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2549 fix builds with --disable-visibility. (#500273, Christian Persch)
2551 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2553 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2554 in the list of returned app infos.
2556 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2558 * gappinfo.c: Fix a cross-reference
2560 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2562 * gfileinputstream.c:
2563 * gfileoutputstream.c:
2567 * gdesktopappinfo.c:
2569 * gfileinfo.c: Documentation updates.
2571 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2573 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2576 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2578 * gcontenttype.c (g_content_types_get_registered): Don't return
2579 freed memory (#505815, Mikael Hermansson)
2581 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2583 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2584 used to detect statbuf->st_blocks. (#505042)
2586 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2588 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2589 environment handling. (#504829, Cosimo Cecchi)
2591 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2593 * gappinfo.c: Doc improvements
2595 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2598 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2600 * === Released 2.15.0 ===
2602 2007-12-20 Hans Breuer <hans@breuer.org>
2604 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2605 with symbols gwin32appinfo.obj, added gmount.obj
2606 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2608 2007-12-20 Alexander Larsson <alexl@redhat.com>
2614 * gfilenamecompleter.c:
2617 * gpollfilemonitor.c:
2618 File attribute renames:
2620 fs:: -> filesystem::
2621 id::fs -> id::filesystem
2623 2007-12-20 Alexander Larsson <alexl@redhat.com>
2632 Add GMountUnmountFlags to all unmount and
2634 Add g_mount_remount() call.
2636 2007-12-20 Alexander Larsson <alexl@redhat.com>
2638 * gvfs.c (get_default_vfs):
2639 Fix unused variable warning
2641 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2643 * pltcheck.sh: Update
2645 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2647 * gunionvolumemonitor.c:
2648 * gunixmount.c: Remove C99 comments
2650 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2652 * gio.symbols: Add some missing symbols
2654 2007-12-19 Alexander Larsson <alexl@redhat.com>
2657 Make g_io_modules_load_all_in_directory not unuse
2658 loaded modules so that users of it can do stuff
2660 Init internal "module" types.
2661 Initialize static prio and name for types so that
2662 we don't have to load modules to get it.
2664 * gnativevolumemonitor.h:
2666 Move is_supported to parent class so that
2667 non-native monitors can avoid being initialized
2668 too. (For instance GDaemonVolumeMonitor if we're
2669 not using GDaemonVfs.)
2671 * glocaldirectorymonitor.[ch]:
2672 * glocalfilemonitor.[ch]:
2673 * gunionvolumemonitor.c:
2674 * gunixvolumemonitor.c:
2676 Find plugins using the static prio+name to
2677 avoid unnecessarily loading the modules.
2679 2007-12-19 Alexander Larsson <alexl@redhat.com>
2684 2007-12-19 Alexander Larsson <alexl@redhat.com>
2686 * gunionvolumemonitor.c:
2687 Store the native type as GType, not class so that
2688 we can unload it. But still avoid unnecessarily
2691 2007-12-19 David Zeuthen <davidz@redhat.com>
2693 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2694 add signals 'disconnected' and 'eject-button' on GDrive. Add
2695 signal 'removed' on GVolume and 'unmounted' on GMount.
2697 * gdrive.c: (g_drive_base_init):
2699 * gfile.c: (g_file_mount_mountable),
2700 (g_file_mount_enclosing_volume):
2703 * gmount.c: (g_mount_base_init):
2705 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2706 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2707 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2711 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2713 * *.c: Fix up includes in the section docs.
2715 2007-12-17 Alexander Larsson <alexl@redhat.com>
2717 * gnativevolumemonitor.h:
2718 * gunionvolumemonitor.c:
2719 * gunixvolumemonitor.c:
2720 Add is_supported() to GNativeVolumeMonitorClass so
2721 that we can avoid having to create an object to see
2722 if the backend is supported at runtime.
2723 Also add name member and an env var to pick a specific
2724 volume monitor backend.
2728 Add cancellable to _g_mount_get_for_mount_path()
2730 * glocaldirectorymonitor.c:
2731 * glocalfilemonitor.c:
2732 Avoid loading and unloading modules while sorting.
2734 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2737 * gunixmounts.[hc]: Namespace waste reduction, move some
2738 g_get_unix_mount functions to the g_unix_mount namespace.
2741 * gunixvolumemonitor.c:
2743 * glocaldirectorymonitor.c: Update all callers.
2745 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2747 2007-12-17 Alexander Larsson <alexl@redhat.com>
2750 Add doc comments about what GFile operations are
2751 guaranteed to not block.
2753 2007-12-17 Alexander Larsson <alexl@redhat.com>
2756 Add missing #ifdef fixing OSX build.
2757 (#503334, patch from Richard Hult)
2759 2007-12-14 David Zeuthen <davidz@redhat.com>
2763 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2764 (g_mount_eject), (g_mount_eject_finish):
2766 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2767 (get_volume_for_uuid), (get_mount_for_uuid),
2768 (g_union_volume_monitor_class_init),
2769 (get_default_native_type_with_exclude), (get_default_native_type),
2770 (get_native_type), (update_native_type),
2771 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2772 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2773 (g_unix_mount_can_eject), (eject_unmount_cb),
2774 (eject_unmount_read_error), (eject_unmount_do),
2775 (g_unix_mount_unmount), (g_unix_mount_eject),
2776 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2777 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2778 (g_unix_mount_point_guess_can_eject):
2780 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2781 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2782 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2783 (g_unix_volume_mount), (g_unix_volume_eject),
2784 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2785 * gunixvolumemonitor.c: (get_volume_for_uuid),
2786 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2788 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2789 (g_volume_eject), (g_volume_eject_finish):
2791 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2792 (g_volume_monitor_get_mount_for_uuid):
2795 Provide eject() on both GMount and GVolume and utility functions
2796 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2797 ejected. Introduce the concept of UUID's and wire it into GVolume
2798 and GMount and provide API on GVolumeMonitor to find such
2799 instances. Also handle the case where an external
2800 GNativeVolumeMonitor fails to initialize. Lock around the
2801 _g_get_mount_for_mount_path() function such that volume monitor
2802 implementations won't have to do locking themselves.
2804 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2806 * gdesktopappinfo.c:
2812 * gvolume.h: Documentation updates
2814 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2817 * gfile.h: Doc updates
2819 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2822 * gdesktopappinfo.c: Use hash table iterators.
2824 2007-12-14 Alexander Larsson <alexl@redhat.com>
2827 * gfileattribute.[ch]:
2828 * gfileattribute-priv.h:
2829 Move GFileAttributeValue to a private header, as
2833 Make set_attribute take a type + a pointer instead
2834 of a GFileAttributeValue.
2837 Fix up for above changes.
2838 Add g_file_info_get_attribute_data to get
2839 all info in one call, g_file_info_get_attribute_status
2840 to get the status and g_file_info_get_attribute_as_string.
2844 * glocalfileinfo.[ch]:
2848 Make _guess_type static.
2850 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2853 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2854 made mkenums and friends use temporary files to avoid leaving
2855 empty generated files on failure (#503470).
2857 2007-12-14 Alexander Larsson <alexl@redhat.com>
2859 * gmountoperation.h:
2862 2007-12-14 Alexander Larsson <alexl@redhat.com>
2866 * gfileattribute.[ch]:
2869 * glocalfileoutputstream.c:
2870 * gmountoperation.[ch]:
2871 * goutputstream.[ch]:
2872 Clean up all flags enums to not have _FLAGS in them
2873 Make the names of some of the enums better.
2878 2007-12-14 Michael Natterer <mitch@imendio.com>
2880 * gio.symbols: fix g_io_scheduler symbol names.
2882 2007-12-14 Alexander Larsson <alexl@redhat.com>
2888 * gbufferedinputstream.h:
2889 * gbufferedoutputstream.h:
2892 * gdatainputstream.h:
2893 * gdataoutputstream.h:
2894 * gdesktopappinfo.h:
2895 * gdirectorymonitor.h:
2899 * gfileenumerator.h:
2902 * gfileinputstream.h:
2904 * gfilenamecompleter.h:
2905 * gfileoutputstream.h:
2906 * gfilterinputstream.h:
2907 * gfilteroutputstream.h:
2915 * gmemoryinputstream.h:
2916 * gmemoryoutputstream.h:
2918 * gmountoperation.h:
2921 * gsimpleasyncresult.h:
2923 * gunixinputstream.h:
2925 * gunixoutputstream.h:
2929 * inotify/Makefile.am:
2930 Only allow including <gio/gio.h> from apps
2932 2007-12-14 Alexander Larsson <alexl@redhat.com>
2934 * gioscheduler.[ch]:
2935 * gsimpleasyncresult.c:
2936 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2937 Split out the send_to_mainloop call into two versions instead
2938 of having the block argument.
2940 2007-12-13 Alexander Larsson <alexl@redhat.com>
2942 * gcancellable.[ch]:
2944 * gbufferedinputstream.c:
2945 * gfileenumerator.c:
2946 * gfileinputstream.c:
2947 * gfileoutputstream.c:
2951 g_push/pop_current_cancellable ->
2952 g_cancellable_push/pop_current
2954 2007-12-13 Alexander Larsson <alexl@redhat.com>
2958 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2960 2007-12-13 Alexander Larsson <alexl@redhat.com>
2962 * gmountoperation.h:
2963 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2965 2007-12-12 Alexander Larsson <alexl@redhat.com>
2968 Fix race condition when freeing proxy in
2969 g_io_job_send_to_mainloop().
2971 2007-12-12 Alexander Larsson <alexl@redhat.com>
2977 Make attribute namespace separator "::" instead of ":".
2978 Use - instead of _ as separator in attribute names.
2980 2007-12-12 Alexander Larsson <alexl@redhat.com>
2982 * gbufferedinputstream.h:
2983 * gbufferedoutputstream.h:
2984 * gdatainputstream.h:
2985 * gdataoutputstream.h:
2986 * gdirectorymonitor.h:
2987 * gfileenumerator.h:
2988 * gfileinputstream.h:
2990 * gfileoutputstream.h:
2991 * gfilterinputstream.h:
2992 * gfilteroutputstream.h:
2994 * glocalfileinputstream.h:
2995 * glocalfileoutputstream.h:
2996 * gmemoryinputstream.h:
2997 * gmemoryoutputstream.h:
2998 * gnativevolumemonitor.h:
3000 * gunixinputstream.h:
3001 * gunixoutputstream.h:
3004 s/parent/parent_instance/ in GObjects
3006 2007-12-12 Alexander Larsson <alexl@redhat.com>
3011 No need for padding for interfaces
3013 2007-12-12 Alexander Larsson <alexl@redhat.com>
3017 * gbufferedinputstream.c:
3018 * gbufferedoutputstream.c:
3021 * gdatainputstream.[ch]:
3022 * gdesktopappinfo.c:
3023 * gdirectorymonitor.c:
3025 * gfileattribute.[ch]:
3028 * gfileinputstream.h:
3029 * gfilemonitor.[ch]:
3030 * gfileoutputstream.[ch]:
3031 * gfilterinputstream.h:
3032 * gfilteroutputstream.h:
3035 * gloadableicon.[ch]:
3036 * gmemoryinputstream.c:
3037 * gmountoperation.c:
3039 Fix up a bunch of details in the docs.
3044 2007-12-11 David Zeuthen <davidz@redhat.com>
3046 Rework how volumes, drives and volume monitoring is
3047 done. Previosly the model was
3049 GDrive <1-1> GVolume
3051 where a GDrive instance represented a mount point and a GVolume
3052 instance represented a mounted file system. This patch changes it
3055 GDrive <1-N> GVolume <1-1> GMount
3057 where GMount now serves the purpose of the old GVolume and the new
3058 GVolume serves the purpose of the old GDrive. In addition the new
3059 GDrive interface is used to represent a collection of GVolume
3060 instances (typically partitions) and also contains utility to query
3061 the state of the physical drive the GDrive object represents (such
3062 as checking for media, polling the drive, ejecting the media etc.).
3064 Also implement mounting and unmounting in the Unix volume monitor
3065 backend. A subquent patch will introduce GDrive support for ejection
3069 * gdrive.c: (g_drive_is_media_check_automatic),
3070 (g_drive_is_media_removable), (g_drive_has_media),
3071 (g_drive_can_poll_for_media), (g_drive_eject),
3072 (g_drive_eject_finish), (g_drive_poll_for_media),
3073 (g_drive_poll_for_media_finish):
3075 * gfile.c: (g_file_find_enclosing_mount):
3078 * glocaldirectorymonitor.c:
3079 (g_local_directory_monitor_constructor), (mounts_changed):
3080 * glocalfile.c: (get_mount_info),
3081 (g_local_file_find_enclosing_mount),
3082 (g_local_file_file_iface_init):
3083 * gnativevolumemonitor.h:
3084 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3085 (get_connected_drives), (g_union_volume_monitor_class_init),
3086 (child_volume_added), (child_volume_removed),
3087 (child_volume_changed), (child_mount_added), (child_mount_removed),
3088 (child_mount_pre_unmount), (child_mount_changed),
3089 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3090 (g_union_volume_monitor_remove_monitor),
3091 (_g_mount_get_for_mount_path):
3092 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3093 (guess_system_internal), (_g_get_unix_mounts),
3094 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3095 (g_unix_mount_free), (g_unix_mount_compare),
3096 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3097 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3098 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3099 (type_to_icon), (g_unix_mount_guess_name),
3100 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3101 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3102 (_resolve_symlink), (_resolve_dev_root):
3104 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3105 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3106 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3107 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3108 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3109 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3110 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3111 (g_unix_volume_volume_iface_init):
3113 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3114 (get_mounts), (get_volumes), (get_connected_drives),
3115 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3116 (mountpoints_changed), (mounts_changed),
3117 (g_unix_volume_monitor_init),
3118 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3119 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3120 * gunixvolumemonitor.h:
3121 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3122 (g_volume_mount), (g_volume_mount_finish):
3124 * gvolumemonitor.c: (g_volume_monitor_class_init),
3125 (g_volume_monitor_get_connected_drives),
3126 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3129 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3131 * gmountoperation.h (GPasswordFlags): Close the gap
3133 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3135 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3137 * gdesktopappinfo.[hc]: Remove _-prefixes
3139 2007-12-10 Tor Lillqvist <tml@novell.com>
3141 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3144 2007-12-10 Alexander Larsson <alexl@redhat.com>
3146 * gfile.c (g_file_set_display_name):
3147 Don't hardcode '/' (#502727)
3149 2007-12-09 Hans Breuer <hans@breuer.org>
3151 * makefile.msc : follow lib naming convention
3152 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3153 for user and group name, tested with ../tests/gio-ls
3155 2007-12-09 A. Walton <awalton@svn.gnome.org>
3157 * gdesktopappinfo.c:
3163 * gfileenumerator.c:
3168 * gmemoryinputstream.c:
3169 * gmemoryoutputstream.c:
3171 * gsimpleasyncresult.c:
3172 More documentation cleanup and filling in missing information, bringing
3173 GIO to 99% symbol coverage.
3175 2007-12-08 Hans Breuer <hans@breuer.org>
3177 [gio compiles and links on win32, not sure how much already works]
3178 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3179 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3180 base on win32 API; prefer g_lstat() over lstat(); instead of
3181 localtime_r() use an all GLib implementation on win32;
3182 get_mount_info() still needs a win32 specifc implementation
3183 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3184 win32_get_file_user_info to get owner/group info without uid/gid
3185 * glocalfileinputstream.c : include <io.h> on win32
3186 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3187 definition, use g_win32_ftruncate() for G_OS_WIN32
3188 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3189 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3190 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3191 * makefile.msc : updated
3193 2007-12-07 Alexander Larsson <alexl@redhat.com>
3195 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3196 Avoid warning spew if error == NULL
3198 2007-12-07 Alexander Larsson <alexl@redhat.com>
3201 Update docs wrt etags
3203 2007-12-06 Alexander Larsson <alexl@redhat.com>
3206 Include sys/types.h for dev_t (#501919)
3208 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3212 Make abicheck and pltcheck pass.
3214 2007-12-05 Alexander Larsson <alexl@redhat.com>
3217 * giomodule-priv.h: Added.
3218 * glocaldirectorymonitor.c:
3219 * glocalfilemonitor.c:
3220 * gunionvolumemonitor.c:
3222 Actually add the declaration of _g_io_modules_ensure_loaded
3224 2007-12-05 Alexander Larsson <alexl@redhat.com>
3226 * gdatainputstream.c:
3231 * glocaldirectorymonitor.c:
3232 * glocalfilemonitor.c:
3233 * gunionvolumemonitor.c:
3235 Make g_io_modules_ensure_loaded a private function and
3236 don't pass in the dirname. This means we can do magic
3237 directory finding in the win32 version.
3238 Export the actual load-modules-in-directory code so that
3239 gvfs can reuse that.
3241 2007-12-05 Alexander Larsson <alexl@redhat.com>
3243 * gbufferedinputstream.c:
3244 * gbufferedoutputstream.c:
3247 * gfileenumerator.[ch]:
3248 * gfileinputstream.c:
3249 * gfileoutputstream.[ch]:
3250 * gfilterinputstream.c:
3251 * gfilteroutputstream.c:
3252 * ginputstream.[ch]:
3254 * glocalfileenumerator.c:
3255 * glocalfileinputstream.c:
3256 * glocalfileoutputstream.c:
3257 * gmemoryinputstream.c:
3258 * gmemoryoutputstream.c:
3259 * goutputstream.[ch]:
3262 * gunixinputstream.c:
3263 * gunixoutputstream.c:
3264 Rename all struct members named:
3265 read, write, close, truncate, or mount
3266 to foo_fn, as these are reserved names
3267 and could be defined as macros in libc.
3270 2007-12-04 Alexander Larsson <alexl@redhat.com>
3273 (g_output_stream_close):
3274 Only call flush if non-null.
3276 2007-11-30 Dan Winship <danw@gnome.org>
3278 * ginputstream.c (g_input_stream_set_pending): Make this take a
3279 GError and return a gboolean, and do the "outstanding operation"
3280 check (and the "stream is already closed" check) itself.
3281 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3283 * goutputstream.c (g_output_stream_set_pending)
3284 (g_output_stream_clear_pending): Likewise
3286 * gbufferedinputstream.c:
3287 * gfileinputstream.c:
3288 * gfileoutputstream.c: Update for that
3290 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3291 Like g_simple_async_report_error_in_idle, but takes a GError
3292 rather than building one.
3294 2007-11-30 Dan Winship <danw@gnome.org>
3296 * goutputstream.c: Don't cheat and unset the "pending" flag around
3297 inner calls. Instead, call the class method directly rather than
3298 the wrapper function that checks "pending"
3300 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3302 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3304 2007-12-03 Hans Breuer <hans@breuer.org>
3306 [start of port to win32/msvc]
3307 * gcancellable.c : HAVE_UNIST_H and _pipe()
3308 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3309 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3310 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3312 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3313 * glocalvfs.c : use HAVE_PWD_H
3314 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3315 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3316 * Makefile.am : added to EXTRA_DIST
3318 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3320 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3323 2007-12-03 Alexander Larsson <alexl@redhat.com>
3326 Handle OSX style xattrs API (#500506)
3328 2007-12-03 Alexander Larsson <alexl@redhat.com>
3332 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3334 2007-12-02 A. Walton <awalton@svn.gnome.org>
3338 Documentation accuracy fixes.
3340 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3342 * gioenumtypes.c.template: Fix typo.
3344 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3346 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3348 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3350 * gdirectorymonitor.c:
3351 * gfilemonitor.c: Add properties
3353 * gbufferedoutputstream.c: Don't mark buffer-size property
3356 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3358 * gbufferedoutputstream.c: Add auto-grow property.
3360 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3362 * *.c: Unify the capitalization of section headings.
3364 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3366 * gmountoperation.c: Add properties
3368 * gdatainputstream.c: Turn byte-order and newline-type into
3371 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3373 * gioenumtypes.[hc].template: Templates for enum registration
3375 * Makefile.am: Generate gioenumtypes.[hc]
3377 * gio.h: Include gioenumtypes.h
3379 * gfile.h: Add some explicit nicks.
3381 * gio.symbols: Add new symbols
3383 * pltcheck.sh: Adjust
3385 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3387 * *.c: Explain etags and link to the explanation
3389 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3391 * *.c: Explain I/O priority.
3393 * *.c: More coding style fixes.
3395 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3397 * gasyncresult.c: Add another paragraph to the intro,
3398 adjust coding style of example.
3400 2007-11-29 A. Walton <awalton@svn.gnome.org>
3403 Fixes unknown meaning in GAppLaunchContext docs.
3405 Clarify asynchronous ops.
3407 Fix entity tag docs.
3410 Provides missing gtk-doc section, fixes API docs slighly.
3411 * gsimpleasyncresult.c:
3412 Fill in missing info in docs.
3413 * gunixinputstream.c:
3414 * gunixoutputstream.c:
3415 Be more expressive in short description.
3417 Remove gtk-doc stubs for non-public API.
3419 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3421 * *.c: Coding style fixups
3423 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3425 * inotify/inotify-helper.c: Don't export the lock from libgio.
3427 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3430 * abicheck.sh: Fix copy-and-paste leftovers
3432 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3434 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3436 2007-11-28 Alexander Larsson <alexl@redhat.com>
3440 Removed unnecessary file
3442 * gdesktopappinfo.[ch]:
3445 * glocaldirectorymonitor.[ch]:
3447 * glocalfileenumerator.[ch]:
3448 * glocalfileinputstream.[ch]:
3449 * glocalfilemonitor.[ch]:
3450 * glocalfileoutputstream.[ch]:
3452 * gnativevolumemonitor.c:
3453 * gpollfilemonitor.[ch]:
3454 * gunionvolumemonitor.[ch]:
3457 * gunixvolumemonitor.[ch]:
3460 * inotify/ginotifydirectorymonitor.[ch]:
3461 * inotify/ginotifyfilemonitor.[ch]:
3462 * inotify/inotify-helper.c:
3463 Append _ to all internal functions
3467 Export symbols needed for modules
3469 2007-11-28 Alexander Larsson <alexl@redhat.com>
3472 * abicheck.sh: Added.
3473 * makegioalias.pl: Added.
3474 * pltcheck.sh: Added.
3475 * gio.symbols: Added.
3478 Initial work on adding symbol handling.
3481 Correct ifdef guard name
3484 * inotify/Makefile.am:
3485 * xdgmime/Makefile.am:
3486 Include toplevel Makefile.decl
3488 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3490 * gcontenttype.c: Move doc comments to the unix section.
3492 * *.[hc]: More trivial doc corrections.
3494 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3496 * gpollfilemonitor.c:
3500 * gdesktopappinfo.c:
3505 * gdatainputstream.c:
3506 * gdatainputstream.h:
3507 * gdataoutputstream.c:
3508 * gdataoutputstream.h:
3509 * gfileinfo.h: Doc cleanups
3511 2007-11-28 Andre Klapper <a9016009@gmx.de>
3513 * gdesktopappinfo.c: Fix a typo.
3515 2007-11-27 Andre Klapper <a9016009@gmx.de>
3517 * glocalfileoutputstream.c: Fix a typo.
3519 2007-11-27 Alexander Larsson <alexl@redhat.com>
3522 Don't include removed headers
3524 2007-11-27 Alexander Larsson <alexl@redhat.com>
3527 * gsocketinputstream.[ch]: Removed.
3528 * gsocketoutputstream.[ch]: Removed.
3529 * gunixinputstream.[ch]: Added.
3530 * gunixoutputstream.[ch]: Added.
3531 Renamed GSocket*Stream to GUnix*Stream and made
3532 it unix-only, since its not really only for sockets
3533 and it only works on unix (but is highly useful there).
3535 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3541 * gbufferedinputstream.c:
3542 * gbufferedinputstream.h:
3543 * gbufferedoutputstream.c:
3544 * gbufferedoutputstream.h:
3548 * gdatainputstream.c:
3549 * gdatainputstream.h:
3550 * gdataoutputstream.c:
3551 * gdataoutputstream.h:
3552 * gdirectorymonitor.c:
3553 * gdirectorymonitor.h:
3560 * gfileenumerator.c:
3561 * gfileenumerator.h:
3566 * gfileinputstream.c:
3567 * gfileinputstream.h:
3570 * gfilenamecompleter.c:
3571 * gfilenamecompleter.h:
3572 * gfileoutputstream.c:
3573 * gfileoutputstream.h:
3574 * gfilterinputstream.c:
3575 * gfilterinputstream.h:
3576 * gfilteroutputstream.c:
3577 * gfilteroutputstream.h:
3590 * glocalfileoutputstream.c:
3591 * gmemoryinputstream.c:
3592 * gmemoryinputstream.h:
3593 * gmemoryoutputstream.c:
3594 * gmemoryoutputstream.h:
3595 * gmountoperation.c:
3596 * gmountoperation.h:
3599 * gpollfilemonitor.c:
3602 * gsimpleasyncresult.c:
3603 * gsimpleasyncresult.h:
3604 * gsocketinputstream.c:
3605 * gsocketinputstream.h:
3606 * gsocketoutputstream.c:
3607 * gsocketoutputstream.h:
3614 * gunixvolumemonitor.c:
3623 Bumps documentation to 93% symbol coverage, touching most
3624 of the public files. Fixes broken function documentation prototypes.
3625 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3626 gtk-doc headers in private files.
3628 2007-11-27 Jürg Billeter <j@bitron.ch>
3630 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3631 (g_buffered_input_stream_read_byte):
3632 * gbufferedinputstream.h:
3633 New functions for efficient access to buffer and simple single byte
3636 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3637 (g_data_input_stream_read_until):
3638 * gdatainputstream.h:
3639 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3640 read_until with multiple stop chars.
3642 2007-11-27 Alexander Larsson <alexl@redhat.com>
3646 * inotify/Makefile.am:
3647 Use the user-specified giomoduledir
3649 2007-11-27 Alexander Larsson <alexl@redhat.com>
3653 Add catch-all gio.h header
3654 Don't install gdummyfile.h
3656 2007-11-26 Alexander Larsson <alexl@redhat.com>
3658 * Makefile.am (gioinclude_HEADERS):
3659 Remove trailing whitespace
3661 2007-11-26 Alexander Larsson <alexl@redhat.com>
3663 Merge gio-standalone into glib
3665 2007-11-25 Christian Kellner <gicmo@gnome.org>
3667 * gio/goutputstream.c:
3668 Fix small mistake in the docs.
3670 2007-11-21 Christian Persch <chpe@gnome.org>
3672 * gio/glocalfile.c: (g_local_file_trash):
3673 Convert filenames to UTF-8 for GError.
3674 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3675 as per xdg base dir spec.
3677 2007-11-21 Christian Persch <chpe@gnome.org>
3679 * gio/gdesktopappinfo.c:
3680 Use that g_key_file_to_data cannot fail.
3682 Use stock defines for the key file group and key names.
3685 2007-11-21 Alexander Larsson <alexl@redhat.com>
3688 (copy_stream_with_progress):
3689 Make sure we do a final progress callback with
3690 the full total size.
3692 2007-11-21 Alexander Larsson <alexl@redhat.com>
3695 Export g_file_copy_attributes
3696 Remove padding as its not needed for interfaces
3698 2007-11-20 Alexander Larsson <alexl@redhat.com>
3703 Add G_IO_ERROR_WOULD_MERGE for
3704 copy/move dir on dir with overwrite.
3706 2007-11-20 Alexander Larsson <alexl@redhat.com>
3709 * gio/glocalfileinfo.c:
3710 Add COPY_NAME (this is an optional
3711 non-modified utf8 version of the name) that
3714 2007-11-20 Alexander Larsson <alexl@redhat.com>
3716 * gio/glocalfileenumerator.c:
3717 Report errors as GIOError, not GFileError
3719 2007-11-16 Alexander Larsson <alexl@redhat.com>
3721 * gio/glocalfileoutputstream.c:
3722 * gio/gwin32appinfo.c:
3723 Fix typos in strings.
3724 Patch from Luca Ferretti <elle.uca@libero.it>
3726 2007-11-15 Alexander Larsson <alexl@redhat.com>
3729 Post release version bump
3731 === gio-standalone 0.1.2 ===
3733 2007-11-15 Alexander Larsson <alexl@redhat.com>
3735 * docs/reference/gio/Makefile.am:
3736 Fix up distcheck by removing weird
3742 2007-11-14 Alexander Larsson <alexl@redhat.com>
3744 * gio/gdesktopappinfo.c:
3745 * gio/glocaldirectorymonitor.c:
3747 * gio/glocalfileinfo.c:
3748 * gio/inotify/inotify-sub.c:
3749 * programs/gio-cat.c:
3750 * programs/gio-copy.c:
3751 * programs/gio-info.c:
3752 * programs/gio-ls.c:
3753 * programs/gio-monitor-dir.c:
3754 * programs/gio-monitor-file.c:
3755 * programs/gio-mount.c:
3756 * programs/gio-move.c:
3757 * programs/gio-rm.c:
3758 * programs/gio-save.c:
3759 * programs/gio-trash.c:
3760 Leak fixes from Kjartan Maraas
3762 2007-11-14 Alexander Larsson <alexl@redhat.com>
3764 * gio/fam/fam-helper.c:
3766 * gio/glocalfileinfo.c:
3770 * gio/inotify/inotify-diag.c:
3771 * gio/inotify/inotify-kernel.c:
3772 Various code cleanups from Kjartan Maraas
3774 2007-11-14 Alexander Larsson <alexl@redhat.com>
3776 * gio/gioscheduler.c:
3778 Set up threadpool so that we cache 2 unused
3779 idle threads for at 15 secs. This means we
3780 will reuse thread-local data (like dbus connections)
3783 2007-11-14 Alexander Larsson <alexl@redhat.com>
3785 * gio/fam/fam-helper.c:
3786 * gio/fam/gfamdirectorymonitor.c:
3787 * gio/fam/gfamfilemonitor.c:
3789 * gio/gcontenttype.c:
3790 * gio/gdatainputstream.c:
3791 * gio/gdataoutputstream.c:
3795 * gio/gfileattribute.h:
3796 * gio/gfileenumerator.c:
3798 * gio/ginputstream.c:
3801 * gio/glocalfileinfo.c:
3802 * gio/goutputstream.c:
3803 * gio/gpollfilemonitor.c:
3804 * gio/gsimpleasyncresult.c:
3805 * gio/gunixmounts.c:
3806 * gio/gunixmounts.h:
3807 * gio/inotify/ginotifydirectorymonitor.c:
3808 * gio/inotify/ginotifyfilemonitor.c:
3809 * gio/inotify/inotify-diag.c:
3810 * gio/inotify/inotify-kernel.c:
3811 * gio/inotify/inotify-path.c:
3813 * gio/test-streams.c:
3814 * programs/gio-info.c:
3815 * programs/gio-monitor-dir.c:
3816 * programs/gio-monitor-file.c:
3817 Various code cleanups from Kjartan Maraas
3819 2007-11-13 Alexander Larsson <alexl@redhat.com>
3822 Handle the uri-scheme calls for dummy files
3824 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3826 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3827 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3828 to avoid clash with the C++ keyword.
3830 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3832 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3833 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3835 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3837 * gio/glocaldirectorymonitor.c:
3838 * gio/glocalfilemonitor.c:
3839 * gio/gunionvolumemonitor.c:
3840 Don't use g_once_init_*() for initializations that could fail and
3841 could leave the initialization variable set to 0 but use GOnce.
3842 This prevents a deadlock on the second call when trying to create
3843 a monitor and no monitor type is available. Thanks to Sven Herzberg
3846 2007-11-11 Sven Herzberg <sven@imendio.com>
3848 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3849 #ifdef (make it work on MacOS X again)
3851 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3853 Fixes Changelog for last two commits (sorry guys).
3855 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3857 * gio/gbufferedinputstream.c:
3858 * gio/gdatainputstream.c:
3860 * gio/gfileoutputstream.c:
3861 * gio/gfilterinputstream.c:
3862 * gio/glocalfileinputstream.c:
3865 More consistency fixes in g*stream.c files.
3866 Significant clean of gfile's documentation, filling in of
3867 asynchronous operations documentation.
3869 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3871 * gio/gasyncresult.c:
3872 * gio/gbufferedinputstream.c:
3873 * gio/gbufferedoutputstream.c:
3874 * gio/gcancellable.c:
3875 * gio/gcontenttype.c:
3876 * gio/gdatainputstream.c:
3877 * gio/gdataoutputstream.c:
3878 * gio/gdesktopappinfo.c:
3881 * gio/gfileattribute.c:
3882 * gio/gio/gfileenumerator.c:
3884 * gio/gfileinputstream.c:
3885 * gio/gfilemonitor.c:
3886 * gio/gfileoutputstream.c:
3887 * gio/ginputstream.c:
3889 * gio/gioscheduler.c:
3890 * gio/gloadableicon.c:
3891 * gio/glocalfileoutputstream.c:
3892 * gio/gmemoryoutputstream.c:
3893 * gio/gmountoperation.c:
3894 * gio/goutputstream.c:
3896 * gio/gsimpleasyncresult.c:
3897 * gio/gunionvolumemonitor.c:
3898 * gio/gunixmounts.c:
3899 * gio/gunixvolume.c:
3903 * gio/gvolumemonitor.c:
3904 Updated documentation stubs, working towards consistency and
3907 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3909 * gio/gmemoryoutputstream.c:
3910 * gio/gmemoryoutputstream.h:
3911 Change g_memory_output_stream_set_free_on_close() to
3912 g_memory_output_stream_set_free_data() as this makes more sense and
3913 is more consistent with GMemoryInputStream.
3915 2007-11-07 Alexander Larsson <alexl@redhat.com>
3922 Change how we find the default vfs so that
3923 we can handle a gvfs failing to init
3925 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3927 * gio/gbufferedoutputstream.c:
3928 * gio/gdatainputstream.c:
3929 * gio/gdataoutputstream.c:
3930 * gio/gfileinputstream.c:
3931 * gio/gfileoutputstream.c:
3932 * gio/gfilterinputstream.c:
3933 * gio/gfilteroutputstream.c:
3934 * gio/ginputstream.c:
3935 * gio/gmemoryinputstream.c:
3936 * gio/gmemoryoutputstream.c:
3937 * gio/goutputstream.c:
3938 * gio/gsimpleasyncresult.c:
3939 * gio/gsocketinputstream.c:
3940 * gio/gsocketoutputstream.c:
3941 Add guards to the remaining public functions, add a TODO for
3942 an unimplemented function and remove some useless guards.
3944 2007-11-07 Alexander Larsson <alexl@redhat.com>
3947 Autoconf checks for the various types of
3948 getpwuid_r and getgrgid_r
3950 * gio/glocalfileinfo.c:
3951 Use the autoconf checks from above
3953 2007-11-07 Alexander Larsson <alexl@redhat.com>
3956 (g_local_file_query_filesystem_info):
3957 Some fixes for the statvfs case
3959 2007-11-07 Alexander Larsson <alexl@redhat.com>
3962 (g_local_file_query_filesystem_info):
3963 Pick the "best" of statfs / statvfs for the system
3964 if both are availible.
3966 2007-11-07 Alexander Larsson <alexl@redhat.com>
3968 Solaris fixes from Halton.Huo@Sun.COM:
3975 * gio/glocalfileinfo.c:
3976 Fix for solaris definition of getpwuid_r
3978 * gio/test-streams.c:
3979 Use G_GNUC_PRETTY_FUNCTION
3981 2007-11-07 Alexander Larsson <alexl@redhat.com>
3983 * gio/gdesktopappinfo.c:
3984 (update_default_list):
3985 Remove double semicolon.
3986 Patch from Jens Granseuer
3988 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3990 * docs/reference/gio/gio-sections.txt:
3991 * gio/gbufferedinputstream.c:
3992 * gio/gbufferedinputstream.h:
3993 * gio/gdatainputstream.c:
3994 * gio/gfileenumerator.c:
3995 * gio/gioscheduler.c:
3996 * gio/gunionvolumemonitor.c:
3998 * programs/gio-save.c:
3999 Fix typo: availible -> available. Unfortuntely this breaks API
4000 and ABI as g_buffered_input_stream_get_available() was renamed.
4002 * gio/gunixmounts.c:
4003 * gio/gbufferedinputstream.c:
4004 Add guards for public functions.
4006 2007-11-06 Ross Burton <ross@openedhand.com>
4008 * docs/reference/gio/Makefile.am:
4009 Fix invalid += usage which automake 1.10 doesn't like.
4011 2007-11-06 Alexander Larsson <alexl@redhat.com>
4014 (g_app_launch_context_class_init):
4017 Patch from Ross Burton
4019 2007-11-06 Alexander Larsson <alexl@redhat.com>
4022 Post release version bump
4024 === gio-standalone 0.1.1 ===
4026 2007-11-06 Alexander Larsson <alexl@redhat.com>
4029 Bump version to 0.1.1
4031 * gio/gsimpleasyncresult.c:
4032 (g_simple_async_result_set_from_error):
4033 Remove bogus g_return_if_fail
4035 2007-11-06 Alexander Larsson <alexl@redhat.com>
4038 The name is gio-standalone
4041 Add top src/builddir to includedir
4043 2007-11-06 Alexander Larsson <alexl@redhat.com>
4045 * docs/reference/gio/gio-sections.txt:
4047 * gio/gbufferedinputstream.c:
4048 * gio/gbufferedoutputstream.c:
4049 * gio/gcancellable.c:
4050 * gio/gdatainputstream.h:
4051 * gio/gdataoutputstream.c:
4052 * gio/gdataoutputstream.h:
4053 * gio/gdirectorymonitor.c:
4055 * gio/gfileattribute.c:
4056 * gio/gfileattribute.h:
4057 * gio/gfileenumerator.c:
4058 * gio/gfileenumerator.h:
4061 * gio/gfileinputstream.h:
4062 * gio/gfilemonitor.c:
4063 * gio/gfileoutputstream.h:
4064 * gio/glocalfilemonitor.h:
4065 * gio/glocalfileoutputstream.h:
4066 * gio/gmemoryinputstream.c:
4067 * gio/gmemoryoutputstream.c:
4068 * gio/gmountoperation.c:
4069 * gio/goutputstream.c:
4070 * gio/goutputstream.h:
4072 * gio/gsimpleasyncresult.c:
4073 * gio/gunixmounts.c:
4074 * gio/gunixmounts.h:
4076 * gio/inotify/inotify-helper.c:
4077 Fix gtk-doc warnings
4079 Patch from Ross Burton
4081 2007-11-06 Alexander Larsson <alexl@redhat.com>
4083 * gio/gfilenamecompleter.c:
4084 (g_filename_completer_get_completions):
4087 * gio/gunixvolume.c:
4088 Remove unused function
4090 Patches from Ross Burton
4092 2007-11-06 Alexander Larsson <alexl@redhat.com>
4097 Padding not needed for interfaces
4099 2007-11-06 Alexander Larsson <alexl@redhat.com>
4101 * gio/gfilemonitor.c:
4105 Make giotypes.h an internal file
4108 * gio/gbufferedinputstream.h:
4109 * gio/gbufferedoutputstream.h:
4110 * gio/gcancellable.h:
4111 * gio/gdatainputstream.h:
4112 * gio/gdataoutputstream.h:
4113 * gio/gdirectorymonitor.c:
4114 * gio/gdirectorymonitor.h:
4119 * gio/gfileattribute.h:
4120 * gio/gfileenumerator.h:
4125 * gio/gfilemonitor.c:
4126 * gio/gfilemonitor.h:
4127 * gio/gfilenamecompleter.c:
4128 * gio/gfilenamecompleter.h:
4129 * gio/gfilterinputstream.h:
4130 * gio/gfilteroutputstream.h:
4131 * gio/ginputstream.h:
4132 * gio/gmemoryinputstream.h:
4133 * gio/gmemoryoutputstream.h:
4134 * gio/gmountoperation.c:
4135 * gio/gmountoperation.h:
4136 * gio/gnativevolumemonitor.c:
4137 * gio/goutputstream.h:
4140 * gio/gsimpleasyncresult.c:
4141 * gio/gsimpleasyncresult.h:
4142 * gio/gsocketinputstream.h:
4143 * gio/gsocketoutputstream.h:
4144 * gio/gthemedicon.c:
4145 * gio/gthemedicon.h:
4149 * gio/gvolumemonitor.c:
4150 * gio/gvolumemonitor.h:
4151 Add padding in classes where it seems useful
4152 Don't include giotypes.h from public headers
4153 Move in Class definitions into c file where possible
4158 2007-11-06 Alexander Larsson <alexl@redhat.com>
4160 * docs/reference/gio/gio-docs.xml:
4161 Better structure for API docs
4163 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4166 * gio/gloadableicon.c:
4167 * gio/gsimpleasyncresult.c:
4168 * gio/gthemedicon.c:
4169 Add some more guards to public functions. Only files missing are now
4172 2007-11-06 Alexander Larsson <alexl@redhat.com>
4174 * docs/reference/gio/gio-docs.xml:
4175 Remove old files, add missing ones
4177 2007-11-06 Alexander Larsson <alexl@redhat.com>
4179 * docs/reference/gio/gio-sections.txt:
4182 Hide implementation classes
4184 * gio/gdriveprivate.h:
4185 * gio/gvolumeprivate.h:
4186 Remove non-existing function declarations
4188 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4191 Fix compilation warnings and add guards to the new functions.
4193 * gio/gasyncresult.c:
4195 Add guards to the public functions.
4198 Implement get_path().
4200 2007-11-06 Alexander Larsson <alexl@redhat.com>
4202 * gio/gfilenamecompleter.c:
4203 Make g_filename_completer_get_completions
4204 return char ** instead of GList for
4207 * docs/reference/gio/gio-docs.xml:
4208 * docs/reference/gio/gio-sections.txt:
4210 * gio/gasyncresult.c:
4211 * gio/gbufferedinputstream.c:
4212 * gio/gbufferedoutputstream.c:
4213 * gio/gcancellable.c:
4214 * gio/gcontenttype.c:
4215 * gio/gdatainputstream.c:
4216 * gio/gdataoutputstream.c:
4217 * gio/gdesktopappinfo.c:
4218 * gio/gdirectorymonitor.c:
4222 * gio/gfileattribute.c:
4223 * gio/gfileenumerator.c:
4226 * gio/gfileinputstream.c:
4227 * gio/gfilemonitor.c:
4228 * gio/gfilenamecompleter.c:
4229 * gio/gfilenamecompleter.h:
4230 * gio/gfileoutputstream.c:
4231 * gio/gfilterinputstream.c:
4233 * gio/ginputstream.c:
4235 * gio/gioscheduler.c:
4236 * gio/gloadableicon.c:
4237 * gio/glocaldirectorymonitor.c:
4239 * gio/glocalfileinputstream.c:
4240 * gio/glocalfilemonitor.c:
4241 * gio/glocalfileoutputstream.c:
4243 * gio/gmemoryinputstream.c:
4244 * gio/gmemoryoutputstream.c:
4245 * gio/gmountoperation.c:
4246 * gio/goutputstream.c:
4247 * gio/gpollfilemonitor.c:
4249 * gio/gsimpleasyncresult.c:
4250 * gio/gsocketinputstream.c:
4251 * gio/gsocketoutputstream.c:
4252 * gio/gthemedicon.c:
4253 * gio/gunionvolumemonitor.c:
4255 * gio/gunixmounts.c:
4256 * gio/gunixvolume.c:
4257 * gio/gunixvolumemonitor.c:
4261 * gio/gvolumemonitor.c:
4262 * gio/gwin32appinfo.c:
4263 Add (mostly stub) doc strings to public functions.
4264 Patch from Andrew Walton (awalton@gmail.com)
4266 2007-11-06 Alexander Larsson <alexl@redhat.com>
4268 * gio/gappinfo.[ch]:
4269 Added GAppLaunchContext object and pass that to launch.
4270 This allows simple implementation of both
4271 launch-on-screen and startup notification via a gtk+
4272 subclass of GAppLaunchContext
4274 * gio/gdesktopappinfo.c:
4275 Implement GAppLaunchContext API
4277 * gio/gwin32appinfo.c:
4280 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4282 * gio/gmountoperation.c:
4283 Add some guards to GMountOperation's public functions.
4285 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4289 * gio/gcancellable.c:
4290 * gio/gdirectorymonitor.c:
4292 * gio/gfileenumerator.c:
4293 * gio/gfilemonitor.c:,
4294 * gio/gfilenamecompleter.c:
4297 * gio/gioscheduler.c:
4301 * gio/gvolumemonitor.c:
4302 Add even more guards to various public functions.
4304 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4307 Add guards to the public functions of GAppInfo.
4309 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4311 * gio/gcontenttype.c:
4312 Add some more guards for public functions.
4314 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4316 * gio/fam/fam-module.c:
4317 * gio/fam/gfamdirectorymonitor.c:
4318 * gio/fam/gfamdirectorymonitor.h:
4319 * gio/fam/gfamfilemonitor.c:
4320 * gio/fam/gfamfilemonitor.h:
4321 * gio/inotify/ginotifydirectorymonitor.c:
4322 * gio/inotify/ginotifydirectorymonitor.h:
4323 * gio/inotify/ginotifyfilemonitor.c:
4324 * gio/inotify/ginotifyfilemonitor.h:
4325 Add proper copyright information and remove an unused variable
4326 in the GInotifyFileMonitor constructor.
4328 * gio/gcancellable.c:
4329 Add a guard for a public function and an assertion to prevent
4330 an undefined program state.
4332 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4334 * gio/gfileattribute.c:
4335 Don't run into an assertion if the given attribute value is NULL
4336 in g_file_attribute_value_get_*() but instead return a fallback
4337 value that makes sense in most situations. Passing them a attribute
4338 value with the wrong type will still run into an assertion.
4340 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4342 * gio/gfileattribute.c:
4344 Add even more guards to the public functions. Also fix the refcounting
4345 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4346 let g_file_info_list_attributes() filter the attributes by namespace
4347 instead of simply ignoring the namespace parameter.
4349 2007-11-03 Sven Herzberg <sven@imendio.com>
4351 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4352 (This makes gio work on MacOS X again)
4354 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4357 Build the gio subdirectory before the docs. Otherwise the build will
4360 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4361 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4362 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4363 Add guards to the public functions.
4365 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4367 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4368 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4369 to prevent a compiler warning.
4371 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4372 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4373 return something in the non-void function find_topdir_for().
4375 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4382 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4384 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4385 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4386 * gwin32appinfo.c (g_win32_app_info_launch):
4387 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4388 envp_for_startup_id, g_desktop_app_info_launch,
4389 g_desktop_app_info_launch_uris):
4391 Give an opaque 'startup_id' string instead of 'envp'.
4392 Support empty file lists for launching new windows.
4393 Fix infinite recursion bug when launching URIs.
4395 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4398 Add guard to the new g_file_get_uri_scheme() function.
4400 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4403 Convert a g_return_val_if_fail() to setting the GError instead as
4404 otherwise applications have to verify the parameter before otherwise
4405 and the parameter might come directly from the user.
4407 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4409 * gio/inotify/ginotify*.[ch]:
4410 Add missing copyright information.
4412 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4415 Add guards in the beginning of public functions to check for valid
4416 parameters and fix a bug in copy_stream_with_progress() that could've
4417 caused writing less bytes than reading.
4418 * gio/glocalfileinfo.c:
4419 Check for a NULL parameter and set the GError accordingly then.
4420 * gio/goutputstream.c:
4421 Fix the same bug as in gfile.c that could've caused writing less bytes
4422 than reading in g_output_stream_real_splice().
4424 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4427 Use the correct gvolumeprivate.h naming
4429 2007-11-01 Christian Kellner <gicmo@gnome.org>
4432 Remove leftover "$(daemon_sources)" entry.
4434 2007-11-01 Christian Kellner <gicmo@gnome.org>
4439 Add copyright information to source files.
4441 2007-11-01 Alexander Larsson <alexl@redhat.com>
4445 Add g_file_get_uri_scheme
4447 2007-11-01 Alexander Larsson <alexl@redhat.com>
4450 * gio/gdesktopappinfo.c:
4451 * gio/gwin32appinfo.c:
4452 Add g_app_info_get_default_for_uri_scheme.
4454 2007-11-01 Alexander Larsson <alexl@redhat.com>
4457 Correct filename for gdriveprivate.h
4459 2007-10-31 Alexander Larsson <alexl@redhat.com>
4462 Rename id:value to id:file
4465 * gio/glocalfileinfo.c:
4468 2007-10-31 Alexander Larsson <alexl@redhat.com>
4470 * gio/gunixvolume.c:
4472 Remove g_volume_get_platform_id, as thats not
4473 needed with the simpler union volume monitor
4475 2007-10-31 Alexander Larsson <alexl@redhat.com>
4478 * gio/guniondrive.[ch]: Removed.
4479 * gio/gunionvolume.[ch]: Removed.
4480 Remove GUnionDrive/Volume
4482 * gio/gunionvolumemonitor.c:
4483 Simplify union volume monitor, now we
4484 only have one native volume monitor and
4485 we use the actual volumes/drives from the
4486 child monitors instead of wrapping them
4488 * gio/gnativevolumemonitor.[ch]:
4489 Base class for native volume monitors.
4490 Includes priority and get_volume_for_mountpoint
4493 Add g_file_find_enclosing_volume
4496 Remove volume name fs attribute
4497 Add readonly fs attribute
4500 Implement readonly attribute
4501 remove volume name attribute
4502 Implement find_enclosing volume
4504 * gio/gunixmounts.c:
4505 Add a volume for "/".
4507 * gio/gunixvolume.[ch]:
4508 Set better name for /
4510 * gio/gunixvolumemonitor.[ch]:
4511 Derive from GNativeVolumeMonitor
4512 Implement get_volume_for_mountpoint
4515 GVolume typedef moved to gfile.h
4517 * gio/gvolumeprivate.h:
4518 Add g_volume_get_for_mount_path
4520 2007-10-31 Alexander Larsson <alexl@redhat.com>
4522 * gio/gunixmounts.[ch]:
4523 Add cache info to unix mount listers
4524 Make getmntent use threadsafe
4525 Add is_system_internal attribute for GUnixMount
4527 * gio/gunixvolume.c:
4528 (g_unix_volume_new):
4529 Use is_system_internal instead of own code
4531 * gio/glocaldirectorymonitor.c:
4532 * gio/gunixvolumemonitor.c:
4533 Update to new gunixmounts API
4538 2007-10-30 Alexander Larsson <alexl@redhat.com>
4541 Add volume name fsinfo attribute
4544 Read volume name info
4546 * gio/gunionvolumemonitor.c:
4547 Fix infinite loops when finalizing a union volume monitor
4549 2007-10-30 Alexander Larsson <alexl@redhat.com>
4551 * gio/goutputstream.[ch]:
4552 Add splice() with default implementation
4554 * gio/gsocketoutputstream.c:
4555 (g_socket_output_stream_write):
4556 Return error on cancellation correctly.
4558 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4560 * gio/glocalfile.c (g_local_file_trash):
4561 Do not leak a string.
4563 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4565 * gio/gfile.c (g_file_load_contents):
4566 Unref the stream after closing it.
4568 2007-10-25 Alexander Larsson <alexl@redhat.com>
4570 * gio/gioscheduler.h:
4573 2007-10-25 Alexander Larsson <alexl@redhat.com>
4577 Add g_file_has_uri_scheme and implement for local files
4579 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4581 * gio/gdesktopappinfo.c: do not leak a string.
4583 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4585 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4586 (g_local_directory_monitor_new):
4587 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4588 (g_local_file_monitor_new):
4589 Only look for the monitor type that should be used the first time
4590 and use g_qsort_with_data() instead of our own bubble sort
4593 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4596 * gio/fam/Makefile.am:
4597 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4598 * gio/fam/fam-helper.h:
4599 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4600 * gio/fam/gfamdirectorymonitor.c:
4601 * gio/fam/gfamdirectorymonitor.h:
4602 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4603 * gio/fam/gfamfilemonitor.h:
4604 * gio/glocaldirectorymonitor.c:
4605 * gio/glocaldirectorymonitor.h:
4606 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4607 * gio/glocalfilemonitor.h:
4608 * gio/inotify/Makefile.am:
4609 * gio/inotify/ginotifydirectorymonitor.c:
4610 * gio/inotify/ginotifydirectorymonitor.h:
4611 * gio/inotify/ginotifyfilemonitor.c:
4612 * gio/inotify/ginotifyfilemonitor.h:
4613 Implement the FAM and Inotify monitors as
4614 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4615 their own GIO module. GLocal(Directory|File)Monitor will use the
4616 monitor with the highest rank that is supported on that machine.
4618 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4621 Change GIO module dir to $(libdir)/gio/modules and change
4622 the log domain from GVFS to GIO. Also only export symbols starting
4623 with g_ in the resulting library.
4624 * gio/test-streams.c: (main):
4625 Set log handler for the GIO log domain.
4627 2007-10-22 Alexander Larsson <alexl@redhat.com>
4629 * gio/gfilenamecompleter.[ch]:
4630 Add g_filename_completer_set_dirs_only
4632 2007-10-22 Alexander Larsson <alexl@redhat.com>
4635 * gio/gurifuncs.[ch]:
4636 Add some simple URI helpers
4638 * gio/gfilenamecompleter.[ch]:
4639 Added object for filename (parse name actually) completion
4642 Handle ~ in parse names
4644 2007-10-17 Alexander Larsson <alexl@redhat.com>
4647 * gio/glocalfileinfo.c:
4648 Add and implement id:value attribute
4650 2007-10-17 Alexander Larsson <alexl@redhat.com>
4653 * gio/guniondrive.c:
4655 Add and implement g_drive_has_volumes
4657 2007-10-17 Alexander Larsson <alexl@redhat.com>
4660 * gio/glocalfileinfo.[ch]:
4661 Add unix:is_mountpoint and implement for local files
4663 2007-10-16 Alexander Larsson <alexl@redhat.com>
4665 * gio/gunionvolumemonitor.c:
4666 (g_union_volume_monitor_init):
4667 Fix up the unix type getting so that it works with gcc
4669 2007-10-12 Alexander Larsson <alexl@redhat.com>
4672 * gio/glocalfileinfo.c:
4673 Add thumbnail:failed to file info
4675 2007-10-12 Richard Hult <richard@imendio.com>
4677 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4678 optimizing away the get_type call (happens with some gcc versions,
4679 like the one shipped with OS X 10.4).
4681 2007-10-12 Alexander Larsson <alexl@redhat.com>
4683 * gio/glocalfileinfo.c:
4684 (_g_local_file_info_set_attribute):
4685 Fix build if not HAVE_XATTR
4686 Patch from Milosz Derezynski <internalerror@gmail.com>
4688 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4690 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4691 around for review, otherwise I would have asked you before
4694 2007-10-11 Alexander Larsson <alexl@redhat.com>
4697 Add thumbnail:path attribute
4699 * gio/glocalfileinfo.c:
4700 Implement thumbnail:path for local files
4702 2007-10-11 Alexander Larsson <alexl@redhat.com>
4704 * gio/glocalfileinfo.c:
4705 (_g_local_file_info_get):
4706 Avoid duplicate icon names
4708 2007-10-11 Alexander Larsson <alexl@redhat.com>
4710 * gio/gthemedicon.[ch]:
4711 Change g_themed_icon_get_names return type to const
4713 2007-10-10 Alexander Larsson <alexl@redhat.com>
4715 * gio/glocalfileinfo.c:
4716 Don't reference freed memory
4718 2007-10-10 Alexander Larsson <alexl@redhat.com>
4720 * gio/gfileattribute.c:
4723 * gio/glocalfileinfo.c:
4726 2007-10-10 Alexander Larsson <alexl@redhat.com>
4729 Check for NULL icons
4731 * gio/gfileattribute.c:
4732 Don't dup when getting objects (same as for string attributes)
4734 * gio/gicon.c (g_icon_equal):
4735 Safely handle NULLs in equal
4737 2007-10-10 Alexander Larsson <alexl@redhat.com>
4740 Fix c++ compilation issues
4741 Patch from Milosz Derezynski <internalerror@gmail.com>
4743 2007-10-10 Alexander Larsson <alexl@redhat.com>
4745 * programs/gio-monitor-dir.c:
4746 Don't crash if dir monitor not supported.
4748 2007-10-09 Alexander Larsson <alexl@redhat.com>
4751 Add missing G_END_DECLS
4753 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4755 * gio/gfile.c: (g_file_set_display_name),
4756 (g_file_query_settable_attributes),
4757 (g_file_query_writable_namespaces):
4758 Return NULL not FALSE on errors as the return type is a pointer.
4760 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4762 * gio/glocalfile.c: (g_local_file_monitor_file):
4763 Don't call monitor_file on the default interface vtable (which
4764 is NULL) but simply return NULL. The caller, GFile, will create a
4765 polling monitor if NULL is returned.
4767 2007-10-09 Alexander Larsson <alexl@redhat.com>
4771 * gio-unix-2.0.pc.in:
4772 Add gio-unix-2.0.pc if OS_UNIX
4775 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4777 2007-10-09 Alexander Larsson <alexl@redhat.com>
4779 * gio/gunixmounts.[ch]:
4780 Make unix mount monitoring API sane.
4781 Now its just a object with mounts_changed
4782 and mountpoints_changed signals.
4784 * gio/glocaldirectorymonitor.c:
4785 * gio/gunixvolumemonitor.c:
4786 Use new mount monitor api
4788 2007-10-09 Alexander Larsson <alexl@redhat.com>
4790 * gio/gunixmounts.[ch]:
4791 Move guess type into one call for mounts and one for mountpoints
4794 * gio/gunixvolume.c:
4797 2007-10-09 Alexander Larsson <alexl@redhat.com>
4799 * gio/gunixmounts.[ch]:
4800 Remove _ prefix in preparation to make this semi-public
4801 Hide implementation of structs
4803 * gio/glocaldirectorymonitor.c:
4805 * gio/gunixvolume.c:
4806 * gio/gunixvolumemonitor.c:
4807 Update for above API changes
4809 2007-10-08 Alexander Larsson <alexl@redhat.com>
4812 Better polling fallback. This also handles the case where we have
4813 a monitor_file implementation, but it fails.
4815 2007-10-08 Alexander Larsson <alexl@redhat.com>
4819 * gio/gunixmounts.c:
4820 * programs/gio-monitor-dir.c:
4821 * programs/gio-monitor-file.c:
4822 Added cancellable to file monitoring calls.
4823 These are really sync calls and need this.
4825 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4827 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4828 (g_local_vfs_class_init):
4829 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4830 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4832 2007-10-05 Alexander Larsson <alexl@redhat.com>
4834 * gio/gdirectorymonitorprivate.h:
4835 * gio/gfilemonitorprivate.h:
4836 * gio/gdirectorymonitor.h:
4837 * gio/gfilemonitor.h:
4838 Remove *private.h and move to the public API, so that
4839 we can do implementations outside gio (such as in gvfs)
4841 * gio/gdirectorymonitor.c:
4842 * gio/gfilemonitor.c:
4843 * gio/glocaldirectorymonitor.c:
4844 * gio/gpollfilemonitor.c:
4845 * gio/inotify/inotify-helper.c:
4846 * gio/fam/fam-helper.c:
4847 Update to the new header names
4849 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4851 * gio/gdirectorymonitor.c:
4852 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4855 2007-10-04 Alexander Larsson <alexl@redhat.com>
4857 * gio/glocalfileinfo.c (get_access_rights):
4858 Set CAN_TRASH when we can move the file.
4859 We should really also check for a parent trash dir.
4861 2007-10-04 Alexander Larsson <alexl@redhat.com>
4863 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4864 Add can_trash access attribute
4866 2007-10-04 Alexander Larsson <alexl@redhat.com>
4869 (g_local_file_trash):
4870 Create info file first. This is per-spec and allows
4871 us to actually trash directories.
4873 2007-10-02 Alexander Larsson <alexl@redhat.com>
4875 * gio/gdesktopappinfo.c:
4876 Implement the new mime support code.
4877 Always set app as handling mimetype when being set as default for it
4879 2007-10-01 Alexander Larsson <alexl@redhat.com>
4881 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4882 Fix up check for xattrs:
4884 2007-10-01 Alexander Larsson <alexl@redhat.com>
4887 (g_app_info_set_as_default_for_extension):
4888 (g_app_info_add_supports_type):
4889 (g_app_info_can_remove_supports_type):
4890 (g_app_info_remove_supports_type):
4891 Make these fail nicely if not implemented
4893 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4895 * gio/glocalfileoutputstream.c:
4896 * gio/glocalfileoutputstream.h:
4901 * programs/gio-save.c:
4902 Add a GFileCreateFlags argument to operations that can create
4905 2007-10-01 Alexander Larsson <alexl@redhat.com>
4907 * gio/gappinfo.[ch]:
4908 * gio/gdesktopappinfo.c:
4909 Add more (stubbed out) mime API needed for nautilus
4911 2007-10-01 Alexander Larsson <alexl@redhat.com>
4914 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4915 Add g_app_info_set_as_default_for_extension.
4917 * gio/gdesktopappinfo.c:
4918 Dummy for g_app_info_set_as_default_for_extension
4919 Support flags in g_app_info_create_from_commandline
4921 * gio/gwin32appinfo.c:
4923 Update for API changes
4925 * gio/gthemedicon.c:
4926 Properly NULL-terminate list of icon names
4928 2007-09-28 Alexander Larsson <alexl@redhat.com>
4930 * gio/gloadableicon.h:
4931 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4933 2007-09-28 Alexander Larsson <alexl@redhat.com>
4936 Install headers in $includedir/gio-standalone/
4938 * gio-2.0.pc.in: Added.
4939 * gio-standalone.pc.in: Removed.
4942 Renamed pkg-config file to match glib (for future move)
4943 Update to the new include dir
4946 Add more TODO comments
4948 2007-09-28 Alexander Larsson <alexl@redhat.com>
4950 * gio/gdesktopappinfo.[ch]:
4951 Expose new_from_filename
4952 Add getter for is_hidden and handle it better
4954 2007-09-28 Alexander Larsson <alexl@redhat.com>
4956 * gio/gfileinfo.[ch]:
4957 Rename g_file_size_format_for_display to
4958 g_format_file_size_for_display.
4959 Now it doesn't have the g_file prefix, so we
4960 can later move it to glib.
4962 2007-09-28 Alexander Larsson <alexl@redhat.com>
4964 * gio/gappinfo.[ch]:
4965 Add g_app_info_get_id and g_app_info_get_executable.
4966 Make all getters non-reffing
4967 Make g_app_info_launch take GFile arguments.
4968 Add must_support_uris argument to g_app_info_get_default_for_type.
4970 * gio/gwin32appinfo.c:
4971 Update to GAppInfo api changes
4973 * gio/gdesktopappinfo.c:
4974 Update to GAppInfo api changes
4975 Implement supports_xdg_startup_notify
4977 * gio/gfileicon.c (g_file_icon_get_file):
4978 Make getter non-reffing.
4983 2007-09-27 Alexander Larsson <alexl@redhat.com>
4985 * gio/gfileinfo.[ch]:
4986 Add g_file_size_format_for_display helper
4988 2007-09-27 Alexander Larsson <alexl@redhat.com>
4990 * gio/glocalfileinfo.c:
4991 Set UNIX_GID from gid, not from uid
4993 2007-09-27 Alexander Larsson <alexl@redhat.com>
4996 Add g_file_set_attributes_async
4998 2007-09-27 Alexander Larsson <alexl@redhat.com>
5000 * gio/glocalfile.c (g_local_file_set_display_name):
5001 Fix set_display_name to actually rename to the right place.
5002 Use lstat to look for existing files so we don't overwrite
5005 2007-09-26 Alexander Larsson <alexl@redhat.com>
5008 Add g_file_set_display_name_async()
5010 2007-09-26 Alexander Larsson <alexl@redhat.com>
5013 Add load_partial_contents async calls
5016 Make internal function static
5018 2007-09-26 Alexander Larsson <alexl@redhat.com>
5020 * gio/glocalfileinfo.c:
5021 Correctly detect broken symlinks
5023 2007-09-26 Alexander Larsson <alexl@redhat.com>
5025 * gio/gcancellable.c (g_cancellable_cancel):
5026 Allow cancel on NULL cancellable
5028 2007-09-25 Alexander Larsson <alexl@redhat.com>
5030 * gio/gsimpleasyncresult.c:
5031 Don't allocate g_error manually.
5032 Fixes g_slice/g_new mixup crash
5034 2007-09-25 Alexander Larsson <alexl@redhat.com>
5036 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5037 Actually set active_backend.
5038 This means the monitor will be cancelled correctly.
5040 2007-09-25 Alexander Larsson <alexl@redhat.com>
5042 * gio/gdirectorymonitor.c:
5043 Set timeout to NULL when destroying
5045 2007-09-25 Alexander Larsson <alexl@redhat.com>
5048 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5049 that is a better description of the error.
5051 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5053 * gio/gvfs.c: (g_vfs_get_local):
5054 Make the local vfs variable static. The same instance should
5057 2007-09-24 Alexander Larsson <alexl@redhat.com>
5059 * gio/glocalfileinfo.c:
5060 Pass in actual length read into sniffer, not the length
5063 2007-09-21 Alexander Larsson <alexl@redhat.com>
5065 * gio/gfileenumerator.c:
5068 * gio/gfileinputstream.c:
5069 * gio/gfileoutputstream.c:
5070 * gio/ginputstream.c:
5071 * gio/goutputstream.c:
5072 Don't crash if async callbacks are NULL
5074 2007-09-20 Alexander Larsson <alexl@redhat.com>
5077 Add async enumerate_children method and default
5080 2007-09-20 Alexander Larsson <alexl@redhat.com>
5083 Add g_file_contains_file & g_file_get_relative_path, since they
5084 were needed for nautilus.
5085 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5090 Implement new methods
5092 2007-09-17 Alexander Larsson <alexl@redhat.com>
5095 * gio/gfileinputstream.[ch]:
5096 * gio/gfileoutputstream.[ch]:
5098 * gio/glocalfileenumerator.[ch]:
5099 * gio/glocalfileinfo.[ch]:
5100 * gio/glocalfileinputstream.c:
5101 * gio/glocalfileoutputstream.c:
5102 * gio/gpollfilemonitor.c:
5103 * programs/gio-copy.c:
5104 * programs/gio-info.c:
5105 * programs/gio-move.c:
5106 Rename get_file_info to query_info() to make it clearer
5107 that these are not simple getters, but do i/o.
5109 2007-09-17 Alexander Larsson <alexl@redhat.com>
5111 * gio/gdatainputstream.[ch]:
5112 * gio/test-streams.c:
5113 Use _read_XXX instead of _get_XXX for the i/o calls
5116 2007-09-17 Alexander Larsson <alexl@redhat.com>
5119 Added needed stuff to TODO comment
5121 2007-09-17 Alexander Larsson <alexl@redhat.com>
5123 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5124 Don't error out removing the backup copy if it doesn't
5127 2007-09-14 Alexander Larsson <alexl@redhat.com>
5129 * programs/Makefile.am:
5130 * programs/gvfs-*.c:
5132 Renamed apps from gvfs-xxx to gio-xxx.
5134 2007-09-14 Alexander Larsson <alexl@redhat.com>
5137 * gio/gfileoutputstream.[ch]:
5138 * gio/glocalfileoutputstream.c:
5139 * programs/gvfs-save.c:
5140 g_file_output_stream_get_etag doesn't do i/o, so remove
5141 cancellation and error.
5143 2007-09-14 Alexander Larsson <alexl@redhat.com>
5146 Add new_etag output to replace_contents functions
5148 2007-09-14 Alexander Larsson <alexl@redhat.com>
5150 * gio/gfileoutputstream.[ch]:
5151 Add async get_file_info and default implementation
5153 2007-09-14 Alexander Larsson <alexl@redhat.com>
5155 * gio/gfileinputstream.c:
5156 Implement fallback wrapper for async get_file_info
5158 2007-09-14 Alexander Larsson <alexl@redhat.com>
5161 Add etag out argument to load_contents
5166 2007-09-14 Alexander Larsson <alexl@redhat.com>
5168 * gio/gcontenttype.c (looks_like_text):
5169 Whitespace like tab, cr and lf do not make the
5172 2007-09-14 Alexander Larsson <alexl@redhat.com>
5174 * gio/gfileinputstream.[ch]:
5175 Add async get_file_info.
5177 2007-09-13 Alexander Larsson <alexl@redhat.com>
5179 * gio/goutputstream.c (g_output_stream_write_all):
5180 Allow NULL for bytes_written
5182 2007-09-13 Alexander Larsson <alexl@redhat.com>
5184 * gio/gmemoryinputstream.[ch]:
5185 Add accessors for data
5187 2007-09-13 Alexander Larsson <alexl@redhat.com>
5189 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5190 Don't crash if length is NULL