1 2008-10-10 Matthias Clasen <mclasen@redhat.com>
3 Bug 555121 – Improved build-time handling of gio module-dir
5 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
6 * Makefile.am: Create the module dir.
8 2008-10-10 Matthias Clasen <mclasen@redhat.com>
10 * gio/glocalfileinfo.c:
11 * gio/tests/live-g-file.c:
12 * gio/gsimpleasyncresult.c: Fix gcc warnings.
14 2008-10-09 Alexander Larsson <alexl@redhat.com>
16 * gunixinputstream.c (g_unix_input_stream_read):
17 Actually return -1 in case of cancelled, not old res value.
19 2008-10-06 Colin Walters <walters@verbum.org>
21 Bug 554745 - GFileAttributeInfoList should be boxed
23 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
24 for convenience of bindings.
25 * gio/gfileattribute.h: Prototype it.
27 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
29 Bug 554970 – segfault when update-desktop-database is not available
32 * gdesktopappinfo.c (run_update_command): Have the error set before
35 2008-10-01 David Zeuthen <davidz@redhat.com>
37 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
38 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
39 instead of the gio URI (such as sftp://foo/file.avi) when using
40 g_app_info_launch() and friends. With a sufficiently recent gvfs,
41 apps using gio+gvfs will map the FUSE file:// URI back to the gio
42 URI (and thus bypass the fuse daemon) thanks the patch from bug
43 #530654. Since Nautilus is an user of g_app_info_launch() it
44 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
45 when launced via the file manager. Win. Fixes bug #528670.
47 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
48 mapping to the description of GAppInfo.
50 2008-09-30 Tor Lillqvist <tml@novell.com>
52 * tests/Makefile.am: Build desktop-app-info only on Unix.
54 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
55 g_critical(). Pass a large enough result buffer to
56 GetVolumePathNameW(). Just use MAX_PATH.
58 2008-09-29 David Zeuthen <davidz@redhat.com>
60 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
62 2008-09-26 Dan Winship <danw@gnome.org>
64 * tests/data-input-stream.c:
65 * tests/data-output-stream.c:
66 * tests/live-g-file.c:
67 * tests/memory-input-stream.c:
68 * tests/memory-output-stream.c: Use g_assert_error() and
71 2008-09-26 Matthias Clasen <mclasen@redhat.com>
73 Bug 545350 – GAppInfo deletion
74 Bug 545351 – Reset associations for content type
77 * gappinfo.[hc]: New functions g_app_info_can_delete,
78 g_app_info_delete and g_app_info_reset_type_associations.
81 * gwin32appinfo.c: Implementations of these.
84 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
86 2008-09-26 Dan Winship <danw@gnome.org>
88 Bug 505361 – gunixinputstream.c assumes poll() available
89 Bug 509446 – portable blocking gio cancellation
91 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
92 GPollFD for a cancellable (which is slightly more complicated on
95 * gunixinputstream.c (g_unix_input_stream_read):
96 * gunixoutputstream.c (g_unix_output_stream_write): Use
97 g_cancellable_make_pollfd() and g_poll() rather than using poll()
100 * tests/unix-streams.c: test of GUnixInputStream,
101 GUnixOutputStream, and GCancellable.
103 2008-09-26 Dan Winship <danw@gnome.org>
105 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
106 cast to stop a gcc warning
108 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
111 2008-09-25 Dan Winship <danw@gnome.org>
113 Bug 553426 - cancellable clarifications
115 * gcancellable.c (g_cancellable_class_init): Add a note to the
116 "cancelled" signal docs warning about thread-safety issues
117 (g_cancellable_cancel): Note that cancelling an asynchronous
118 operation takes effect asynchronously, not immediately.
120 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
122 * gioenums.h: Add new GFileCopyFlag, to leave target file with
123 default perms, instead of setting the source file perms, in a copy
126 * gfile.c (g_file_copy_attributes)
127 (build_attribute_list_for_copy)
128 (should_copy): Not copy "unix::mode" attribute if we have received
129 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
131 2008-09-20 Matthias Clasen <mclasen@redhat.com>
133 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
135 2008-09-17 Matthias Clasen <mclasen@redhat.com>
137 * === Released 2.18.1 ===
139 2008-09-16 Michael Natterer <mitch@imendio.com>
141 * gcontenttype.c (g_content_type_guess): can't assign the return
142 value of g_strdupv() to an array. Fill the array manually with
143 const strings instead (it is never freed anyway). Fixes the
144 build. Also fixed indentation.
146 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
148 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
149 Fix trivial typo to unbreak the build (there was a colon
150 instead of a semicolon at the end of a statement).
152 2008-09-15 Matthias Clasen <mclasen@redhat.com>
154 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
157 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
160 2008-09-15 Matthias Clasen <mclasen@redhat.com>
162 Bug 551681 – g_content_type_guess() too naive with filenames
164 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
165 at the end of the filename, and declare it a directory.
166 Patch by Bastien Nocera
168 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
170 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
173 * gdesktopappinfo.c: add a note in the docs clarifying what the
174 "filename" parameter really is.
176 2008-09-12 Tor Lillqvist <tml@novell.com>
178 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
179 FormatMessage() etc here. Call g_win32_error_message() instead
180 which already does all that. Besides, the code was broken as it
181 called the default "A" version of FormatMessage() but still
182 thought it produced a wide string.
184 2008-09-12 Michael Natterer <mitch@imendio.com>
186 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
187 in the documentation.
189 2008-09-08 Christian Neumair <cneumair@gnome.org>
191 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
192 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
193 Use non-blocking pipe for mount helper I/O. Fixes #550647.
195 2008-09-06 Matthias Clasen <mclasen@redhat.com>
197 Bug 551149 – xdgmime mem leak
199 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
200 a memory leak. Patch by Christian Persch
202 2008-09-04 Tor Lillqvist <tml@novell.com>
204 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
207 2008-09-02 Matthias Clasen <mclasen@redhat.com>
209 * === Released 2.18.0 ===
211 2008-09-02 Michael Natterer <mitch@imendio.com>
213 * *.h: big header formatting cleanup: indentation, vtable
214 formatting, consistent spacing in (* vfunc), trailing whitespace
215 removal. Formatting should be pretty consistent in all GIO headers
218 2008-09-02 Matthias Clasen <mclasen@redhat.com>
220 * gmount.h: Document guess_content_type sync vfunc.
222 2008-09-02 Michael Natterer <mitch@imendio.com>
224 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
225 fix parent_class member to be GFilterOutputStreamClass (not
226 GOutputStreamClass). Drop three pointers of padding, which is
227 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
228 so the class struct size stays the same.
230 2008-09-02 Matthias Clasen <mclasen@redhat.com>
232 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
234 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
235 nonexisting return values. Pointed out by Cosimo Cecchi.
237 2008-08-23 Tor Lillqvist <tml@novell.com>
239 Bug 548988 - g_file_replace fails on Windows when the target file
242 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
243 Windows, close the file before potentially renaming it (in case we
244 have been writing to a file with a temporary name).
246 (g_local_file_output_stream_close, handle_overwrite_open): Use
247 GLocalFileStat instead of plain struct stat, for passing to
248 _g_local_file_info_create_etag(). Thus also use _fstati64()
249 instead of plain fstat() on Windows.
251 2008-08-18 Matthias Clasen <mclasen@redhat.com>
253 * === Released 2.17.7 ===
255 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
257 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
260 2008-08-13 Tor Lillqvist <tml@novell.com>
262 * win32/gwinhttpvfs.c
263 * win32/gwinhttpvfs.h
264 * win32/gwinhttpfile.c
265 * win32/gwinhttpfileinputstream.c
266 * win32/gwinhttpfileoutputstream.c: Refactor some common code
267 snippets into helper functions. Check HTTP response status
268 codes. Implement g_winhttp_file_query_info(), looking at
269 Content-Length, Content-Type and Last-Modified.
271 * win32/winhttp.h: Add some symbolic constants that are not
272 publicly documented. Just a handful, so it should be OK to use
273 information from the Windows SDK's headers.
275 2008-08-13 Tor Lillqvist <tml@novell.com>
277 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
280 * win32/gwin32directorymonitor.c
281 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
283 2008-08-13 Matthias Clasen <mclasen@redhat.com>
286 * goutputstream.c: Add intro docs.
288 2008-08-13 Tor Lillqvist <tml@novell.com>
290 * win32/gwinhttpfileoutputstream.c
291 (g_winhttp_file_output_stream_write): Don't write the
292 Content-Length header ourselves, WinHttpSendRequest() takes care
293 of that when the dwTotalLength parameter is non-zero. Increment
294 offset by the number of actual bytes sent, although I wonder if
295 such a scenario is possible where less than requested would be
296 sent and accepted by the server without errors.
298 2008-08-13 Tor Lillqvist <tml@novell.com>
300 * win32/gwinhttpvfs.c
301 * win32/gwinhttpvfs.h
302 * win32/gwinhttpfile.c
303 * win32/gwinhttpfile.h
304 * win32/gwinhttpfileinputstream.c
305 * win32/gwinhttpfileinputstream.h
306 * win32/gwinhttpfileoutputstream.c
307 * win32/gwinhttpfileoutputstream.h: New files implementing
308 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
309 Windows. The implementation uses the WinHttp API. Both reading and
310 writing are supported, i.e. GET and PUT requests. When writing,
311 each write call is done using a separate PUT request with a
312 Content-Range header. Requests for file URIs and plain pathnames
313 are forwarded to GLocalVfs.
315 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
316 WINE. Used as there is no <winhttp.h> bundled with mingw, and
317 requiring people to download the Windows SDK just for this one
318 header is not reasonable.
320 * win32/Makefile.am: Add above files.
322 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
323 the plumbing for the above.
325 2008-08-11 Sven Neumann <sven@gimp.org>
327 * gfilenamecompleter.c
328 * glocaldirectorymonitor.c
330 * gunionvolumemonitor.c
334 * gunixvolumemonitor.c
337 * gwin32volumemonitor.c: use canonical signal names.
339 2008-08-11 Tor Lillqvist <tml@novell.com>
341 * Makefile.am: Put a list of the platform-dependent .la files in
342 the subdirectories in the platform_deps Make variable, and make
343 libgio-2.0.la depend on that, so that it gets relinked if one of
344 the dependent libraries has changed.
346 2008-08-11 Tor Lillqvist <tml@novell.com>
348 * Makefile.am (platform_libadd): Remove -lwininet which had been
349 added by mistake. We will probably eventually be using WinHTTP,
350 not the older WinInet anyway. (Actually I am working on it.)
352 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
354 Bug 547080 – g_file_copy leaks expected errors
356 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
357 before trying the next fallback routine.
359 2008-08-09 Loïc Minier <lool@dooz.org>
361 Bug 535124 – umask 002 not being applied for new directories, new
362 files get the correct umask
364 * gfile.c (g_file_make_directory)
365 (g_file_make_directory_with_parents): Document ownership and
366 permissions of newly created directories as being the default
369 2008-08-08 Loïc Minier <lool@dooz.org>
371 Bug 535124 – umask 002 not being applied for new directories, new
372 files get the correct umask
374 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
377 2008-08-08 Tor Lillqvist <tml@novell.com>
379 * gwin32mount.c: Remove unused code. Whitespace cleanup.
381 * gwin32volumemonitor.c (get_connected_drives): Put questionable
382 code that didn't actually do anything inside #if 0, and add a
383 comment wondering what the code was supposed to do. This also gets
384 rid of a leftover debugging printout.
386 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
388 * gfileicon.c (g_file_icon_get_property)
389 (g_file_icon_set_property): New functions.
390 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
392 (g_file_icon_new): Use the property (bug #546132).
394 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
396 * gthemedicon.c (g_themed_icon_get_property): Also handle
397 `PROP_USE_DEFAULT_FALLBACKS'.
398 (g_themed_icon_class_init): Make
399 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
401 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
403 Bug 546371 – Improve docs re g_file_monitor
405 * gfilemonitor.c: Mention g_file_monitor() in the docs.
407 2008-08-04 Matthias Clasen <mclasen@redhat.com>
409 * === Released 2.17.6 ===
411 2008-08-04 Matthias Clasen <mclasen@redhat.com>
413 * === Released 2.17.5 ===
415 2008-08-04 Matthias Clasen <mclasen@redhat.com>
417 Bug 546017 – Don't copy attributes when copying a symlink
419 * gfile.c (g_file_copy_attributes): Specify
420 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
421 g_file_set_attributes_from_info. Patch by Christian Kellner
423 2008-08-04 Matthias Clasen <mclasen@redhat.com>
425 * gemblemedicon.[hc]:
427 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
428 a bit more extensible. Work by Clemens Buss.
430 * gioenums.h: Add GEmblemOrigin.
433 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
435 Bug 546079 – leak in xdgmime
437 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
439 2008-08-03 Tor Lillqvist <tml@novell.com>
441 * win32/gwin32directorymonitor.h
442 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
445 2008-08-03 Tor Lillqvist <tml@novell.com>
447 * win32/gwin32directorymonitor.c
448 (g_win32_directory_monitor_callback): Make prototype match
449 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
450 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
453 (g_win32_directory_monitor_constructor):
454 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
455 names in the GLib API on Windows, so convert to UTF-16 and open
458 2008-08-03 Tor Lillqvist <tml@novell.com>
460 Bug 541036 - Gnumeric crashes when trying to open Desktop or
461 user's folder under Windows
463 * win32/gwin32directorymonitor.c
464 (g_win32_directory_monitor_constructor): Ignore error from
465 CreateFile() when opening directory. Instead of asserting, just
466 store INVALID_HANDLE_VALUE then in
467 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
468 ReadDirectoryChangesW().
469 (g_win32_directory_monitor_cancel): Don't attempt to close
470 directory handle if it is INVALID_HANDLE_VALUE.
472 2008-08-01 Matthias Clasen <mclasen@redhat.com>
474 * gdesktopappinfo.c: Remove debug spew
476 2008-08-01 Hans Breuer <hans@breuer.org>
478 * makefile.msc : add gemblembedicon
480 2008-07-30 Matthias Clasen <mclasen@redhat.com>
482 Bug 545457 – gdmsetup crashed with SIGSEGV in
483 g_unix_mount_guess_should_display()
485 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
486 crash if no mount is found.
488 2008-07-28 Matthias Clasen <mclasen@redhat.com>
490 Bug 545203 – gfile.c: argument is different type.
492 * gfile.c (open_read_async_thread): Pass a GError **
493 to g_file_set_error_literal.
494 Reported by Kazuki Iwamoto
496 2008-07-28 Matthias Clasen <mclasen@redhat.com>
498 Bug 545157 – wrong/no list of "open with" applications for .cc and
501 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
502 Collect all ancestors, not just direct parents. Pointed
503 out by Bastien Nocera
505 2008-07-28 Matthias Clasen <mclasen@redhat.com>
507 * Makefile.am: Install gemblemedicon.h
509 2008-07-28 Matthias Clasen <mclasen@redhat.com>
511 * gemblemedicon.[hc]: Add a GIcon implementation that can
512 add an emblem to another icon.
519 * gfileicon.c: Small documentation additions.
521 2008-07-28 Tor Lillqvist <tml@novell.com>
523 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
526 2008-07-27 Tor Lillqvist <tml@novell.com>
528 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
530 2008-07-24 David Zeuthen <davidz@redhat.com>
534 Also export a g_mount_guess_content_type_sync() function.
536 2008-07-23 Matthias Clasen <mclasen@redhat.com>
538 529694 – SELinux context setting support
540 * gfileinfo.c: Support setting selinux attributes.
541 Patch by Tomas Bzatek
543 2008-07-22 Priit Laes <plaes@plaes.org>
545 Bug 544140 - fam-helper 64-bit issue?
547 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
549 2008-07-21 Matthias Clasen <mclasen@redhat.com>
551 * === Released 2.17.4 ===
553 2008-07-20 Matthias Clasen <mclasen@redhat.com>
555 * gvolumemonitor.[hc]:
560 * gmount.c: Documentation fixes
562 2008-07-19 Matthias Clasen <mclasen@redhat.com>
564 543504 – crash in Epiphany Web Browser: Opening local file
575 * gvolume.c: Register types thread-safely.
576 Patch by Christian Persch
578 2008-07-18 Matthias Clasen <mclasen@redhat.com>
580 * gcontenttype.c: Remove debug spew
582 2008-07-18 Matthias Clasen <mclasen@redhat.com>
584 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
587 * fen/fen-kernel.c: Remove a warning that was causing
588 crashes. Reported by Lin Ma.
590 2008-07-18 Matthias Clasen <mclasen@redhat.com>
592 Bug 543040 – async reading on dummy file will crash on
595 * gfile.c (open_read_async_thread): Cope with read_fn being
596 NULL. Reported by Lin Ma.
598 2008-07-18 Matthias Clasen <mclasen@redhat.com>
601 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
603 2008-07-16 Matthias Clasen <mclasen@redhat.com>
607 * giomodule.c: Rename a chapter id to avoid filename conflict.
609 2008-07-16 Matthias Clasen <mclasen@redhat.com>
611 Bug 540616 – mem leak in filechooser button
613 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
614 the mount entry. Reported by Chrisitan Persch
616 2008-07-16 Matthias Clasen <mclasen@redhat.com>
618 * gfile.c: Small documentation fixes.
620 2008-07-15 Matthias Clasen <mclasen@redhat.com>
622 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
624 2008-07-08 Matthias Clasen <mclasen@redhat.com>
629 * gmount.c: Documentation improvements.
631 2008-07-08 Matthias Clasen <mclasen@redhat.com>
634 * gmount.[hc]: Add g_mount_guess_content_type().
636 2008-07-06 David Zeuthen <davidz@redhat.com>
639 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
640 is needed for easily handling adoption of foreign volumes by
641 out-of-process volume monitors (#541793)
643 2008-07-06 David Zeuthen <davidz@redhat.com>
645 * gvolumemonitor.[ch]:
646 * gunionvolumemonitor.c: Export the eject-button signal on the
647 volume monitor class (#541794).
649 2008-07-06 Matthias Clasen <mclasen@redhat.com>
651 * gappinfo.c: More doc tweaks
653 2008-07-05 Matthias Clasen <mclasen@redhat.com>
655 * gappinfo.c: Clarify some docs
657 2008-07-03 Matthias Clasen <mclasen@redhat.com>
659 * gdesktopappinfo.c: Fix a stupid mistake.
661 2008-07-02 Matthias Clasen <mclasen@redhat.com>
663 * === Released 2.17.3 ===
665 2008-07-02 Matthias Clasen <mclasen@redhat.com>
667 * gfilemonitor.c: Fix the build.
669 2008-07-02 Matthias Clasen <mclasen@redhat.com>
671 Bug 536160 – Add g_file_monitor()
674 * gfile.[hc]: Add g_file_monitor which can return either
675 a file or a directory monitor. Proposed by Behdad Esfahbod
677 2008-07-02 Matthias Clasen <mclasen@redhat.com>
679 536733 – gio build failure on Irix
681 * glocalfile.c: Use a configure check for structfs.f_bavail.
683 2008-07-02 Matthias Clasen <mclasen@redhat.com>
685 Bug 534639 – add g_desktop_app_info_new_from_keyfile
688 * gdesktopappinfo.[hc]: Add a function to create a
689 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
691 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
693 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
695 2008-07-01 Matthias Clasen <mclasen@redhat.com>
697 * gunixmounts.c: Fix a doc typo.
699 2008-07-01 Cody Russell <bratsche@gnome.org>
701 * gio/gcontenttype.c:
702 * gio/gwin32appinfo.c:
703 * gio/gwin32volumemonitor.c:
704 * gio/gwin32mount.c: Fixed some include problems.
706 2008-07-01 Cody Russell <bratsche@gnome.org>
710 Moved all relevant typedefs into these files.
713 Updated wrt added files.
715 Split types into separate file for easier maintainership. (#538564)
717 2008-06-30 Matthias Clasen <mclasen@redhat.com>
719 Bug 540331 – g_file_append_to () documentation: can return NULL
721 * gfile.c (g_file_append_to): Clarify docs.
724 2008-06-30 Matthias Clasen <mclasen@redhat.com>
726 Bug 539090 – g_content_type_from_mime_type() should unalias
728 * gcontentype.c (g_content_type_from_mime_type): Unalias.
729 Patch by Markus Bergman
731 2008-06-30 Matthias Clasen <mclasen@redhat.com>
733 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
736 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
737 on ppc and alpha. Reported by Mart Raudsepp
739 2008-06-29 Matthias Clasen <mclasen@redhat.com>
742 * tests/memory-output-stream.c: Add some tests for
745 2008-06-29 Matthias Clasen <mclasen@redhat.com>
747 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
750 * gmemoryoutputstream.c (array_resize): Handle truncation to
751 zero correctly. Reported by Akira Tagoh
753 2008-06-29 Matthias Clasen <mclasen@redhat.com>
755 * gmemoryoutputstream.c: Trivial doc fixes
757 2008-06-29 Matthias Clasen <mclasen@redhat.com>
759 Bug 540802 – g_list_prepend doesn't concat lists
761 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
762 one list to another. Pointed out by Jan Arne Petersen
764 2008-06-28 Michael Natterer <mitch@imendio.com>
766 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
768 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
770 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
771 to avoid problems with partial icon themes.
773 2008-06-17 Hans Breuer <hans@breuer.org>
775 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
776 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
777 access again on win32, see bug #538127
778 * giomodule.c : ensure GWin32VolumeMonitor is registered
779 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
780 * Makefile.am makefile.msc : updated
782 2008-06-16 Hans Breuer <hans@breuer.org>
784 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
785 and initialization in one step avoids c99ism
787 2008-06-16 Christian Persch <chpe@gnome.org>
790 * gio/gbufferedinputstream.c
792 * gio/gdatainputstream.c
793 * gio/gdesktopappinfo.c
795 * gio/gfileenumerator.c
796 * gio/gfileinputstream.c
797 * gio/gfileoutputstream.c
799 * gio/glocaldirectorymonitor.c
801 * gio/glocalfileenumerator.c
802 * gio/glocalfileinfo.c
803 * gio/glocalfilemonitor.c
804 * gio/glocalfileoutputstream.c
805 * gio/gmemoryinputstream.c
806 * gio/gmemoryoutputstream.c
807 * gio/goutputstream.c
808 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
811 2008-06-16 Tor Lillqvist <tml@novell.com>
813 Bug 538362 - Get Win32 icons back in the file chooser
815 * gcontenttype.c (g_content_type_get_icon): Look up the icon
816 corresponding to a file extension in the Registry. Patch by Hans
818 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
820 2008-06-16 Tor Lillqvist <tml@novell.com>
822 Patches by Hans Breuer:
824 * glocalfile.c (is_xp_or_later): Handle compiling against older
825 SDK headers with missing VerifyVersionInfo(). Conditioned on
826 _MSC_VER, but should probably use some better test.
827 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
828 uninitialised statfs_result variable on Win32.
830 2008-06-16 Michael Natterer <mitch@imendio.com>
832 * *.c: chain up unconditionally in finalize() and dispose(). Also
833 don't dereference these function pointers when calling them since
834 that has no meaning at all.
836 2008-06-16 Ross Burton <ross@burtonini.com>
839 Remove check for dispose implementation as it annoys Emmanuele.
841 2008-06-16 Ross Burton <ross@burtonini.com>
843 Bug 536252 – GFileEnumerator should allow access to the containing
849 Add g_file_enumerator_get_container() and a container writeable
850 construct-only property. Also shuffle around typedefs to make it
853 * glocalfileenumerator.c:
854 * glocalfileenumerator.h:
856 Instead of a string filename take a GFile in the constructor and
857 use it to set the container property.
862 2008-06-16 Matthias Clasen <mclasen@redhat.com>
864 * gfile.c: Make includes more uniform
866 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
868 * tests/live-g-file.c (sample_struct):
869 Use less fancy unicode filenames, so the test doesn't fail
870 on Mac OS X (#531476).
872 2008-06-12 Matthias Clasen <mclasen@redhat.com>
874 * === Released 2.17.2 ===
876 2008-06-12 Matthias Clasen <mclasen@redhat.com>
878 * === Released 2.17.1 ===
880 2008-06-11 A. Walton <awalton@gnome.org>
882 * tests/g-file.c (test_g_file_new_null):
883 Fix broken test case.
885 2008-06-11 Matthias Clasen <mclasen@redhat.com>
887 * pltcheck.sh: We use g_clear_error now.
889 2008-06-11 Matthias Clasen <mclasen@redhat.com>
891 * glocalfile.c (g_local_file_enumerate_children): Revert
892 an unintended change.
894 2008-06-11 Matthias Clasen <mclasen@redhat.com>
896 * gfile.c (g_file_replace_contents): Don't unref before the last use.
898 2008-06-10 Matthias Clasen <mclasen@redhat.com>
900 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
903 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
904 as icon for the desktop directory, also make user-home and
905 user-desktop the preferred icons.
907 2008-06-10 Matthias Clasen <mclasen@redhat.com>
910 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
911 to add a name to the front of the list.
913 2008-06-10 Matthias Clasen <mclasen@redhat.com>
915 Bug 537392 – Additional colon in xattr name
917 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
918 too. Reported by Alessandro Morandi
920 2008-06-10 Matthias Clasen <mclasen@redhat.com>
922 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
925 * glocalfile.c (get_fs_type): Add afs and autofs.
926 Patch by Danny Baumann.
928 2008-06-10 Matthias Clasen <mclasen@redhat.com>
930 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
932 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
933 is no parent. (Owen Taylor, patch by Christian Neumair)
935 2008-06-10 Paolo Borelli <pborelli@katamail.com>
937 * gfile.c (g_file_replace_contents): do not leak the output stream.
939 2008-06-10 Michael Natterer <mitch@imendio.com>
941 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
942 uninitialized memory as array index.
944 2008-06-10 Tor Lillqvist <tml@novell.com>
946 * gcontenttype.c (g_content_type_can_be_executable)
947 (g_content_type_get_icon) [Win32]: Add TODO comments.
949 2008-06-09 Matthias Clasen <mclasen@redhat.com>
951 * xdgmime/Makefile.am: Fix the build
953 2008-06-09 Matthias Clasen <mclasen@redhat.com>
955 * gcontenttype.c (g_content_type_get_icon): Use icons specified
956 in the shared mime database, if available.
958 * xdgmime/*: Sync with upstream. This brings support for
959 glob weights, generic icons, and changes the cache format to
962 2008-05-28 Michael Natterer <mitch@imendio.com>
964 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
965 the global CPPFLAGS now.
967 * tests/data-input-stream.c
968 * tests/data-output-stream.c
969 * tests/g-file-info.c
971 * tests/live-g-file.c
972 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
974 2008-05-27 Matthias Clasen <mclasen@redhat.com>
976 * === Released 2.17.0 ===
978 * tests/live-g-file.c: Clean up after the tests, so make distcheck
979 doesn't complain about leftover files.
981 2008-05-27 simon.zheng <simon.zheng@sun.com>
983 * glocalfile.c: (g_local_file_query_filesystem_info):
984 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
986 2008-05-26 Michael Natterer <mitch@imendio.com>
988 * gmemoryoutputstream.h: declare
989 g_memory_output_stream_get_data_size().
991 2008-05-26 Matthias Clasen <mclasen@redhat.com>
993 * tests/*: Make tests work
995 2008-05-26 Matthias Clasen <mclasen@redhat.com>
997 * gio.symbols: Add g_memory_output_stream_get_data_size.
999 2008-05-25 Ross Burton <ross@burtonini.com>
1002 Fix typo in error message (#534764).
1004 2008-05-25 Ross Burton <ross@burtonini.com>
1007 Fix circular dependency loop for gioenumtypes.h (#534759).
1009 2008-05-19 Hans Breuer <hans@breuer.org>
1011 * Makefile.am : EXTRA_DIST += makefile.msc
1013 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1016 * gcontenttype.c: (g_content_type_from_mime_type):
1017 New function to create a content type from a mime type. (#527175,
1020 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1022 Bug 532965 – Should not return filesystem::free for certain file systems
1024 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1025 free space for ncpfs.
1027 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1029 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1031 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1032 st_dev might be zero.
1034 2008-05-16 Tor Lillqvist <tml@novell.com>
1036 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1037 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1039 2008-05-13 Bastien Nocera <hadess@hadess.net>
1041 * gfile.c (has_valid_scheme): A URI scheme must start with a
1042 letter, even if later more characters are allowed (#532852)
1044 2008-05-05 Michael Natterer <mitch@imendio.com>
1046 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1047 code from being checked in that breaks the build of applications
1048 which use G_DISABLE_SINGLE_INCLUDES.
1050 * makegioalias.pl: make the alias file include "glib.h" instead of
1053 * gio.symbols: whitespace change to force regeneration of the
1054 alias file after above script change.
1056 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1058 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1060 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1062 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1064 2008-04-28 David Zeuthen <davidz@redhat.com>
1066 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1067 displaying mounts in a subdirectory not accessible to the
1070 2008-04-22 Michael Natterer <mitch@imendio.com>
1072 * Makefile.am: fix library versioning (it was 0.0.0).
1074 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1076 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1077 Default disable all loggings.
1078 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1079 (port_fetch_event_cb): Fixed two macro nits.
1081 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1083 * xdgmime/xdgmime.c: Rework the timestamp checking code
1084 to protect against duplicate directories in XDG_DATA_DIRS.
1085 Fixes fd.o bug 12513, reported by Joe Shaw.
1087 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1089 Partically revert the last commit after realizing that
1090 xdg_mime_media_type_equal doesn't have to init at all.
1092 * xdgmime/xdgmime.h:
1093 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1095 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1097 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1099 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1100 reported by Joe Shaw and Federico Mena Quintero.
1102 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1103 (xdg_mime_media_type_equal): Turn into a wrapper around the
1106 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1107 functions throughout.
1109 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1111 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1112 tolerate an empty TryExec= line without failing; nautilus used
1113 to create launchers with these in previous versions. Fixes #528433
1115 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1117 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1118 after name. Fixes #527132.
1120 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1122 * gfile.c: (g_file_replace):
1125 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1127 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1129 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1130 by Christian Kellner.
1132 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1134 * gunixmounts.c: (g_unix_mount_guess_should_display):
1135 Don't list the user directory as a mount, fix potential issue
1136 when other users have a similar naming and don't special case the
1137 gvfs mounts there since that's not required (#525866)
1139 2008-03-31 Alexander Larsson <alexl@redhat.com>
1141 * glocalfile.c (get_parent):
1144 2008-03-31 A. Walton <awalton@svn.gnome.org>
1146 * gfile.c (g_file_query_file_type):
1147 Always return a GFileType enum value (#520715).
1149 2008-03-31 Alexander Larsson <alexl@redhat.com>
1151 * glocalfileenumerator.c:
1152 Read readdir() info in chunks (of 1000) and sort
1153 the chunks by inode before stat:ing.
1154 This is a 20% performance increase in testing
1155 gvfs-ls on /usr/bin with cold cache.
1157 2008-03-31 Alexander Larsson <alexl@redhat.com>
1159 * gmemoryoutputstream.c:
1160 Clarify docs for g_memory_output_stream_get_size.
1161 Add g_memory_output_stream_get_data_size.
1163 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1167 * gfile.h: Add g_file_query_file_type convenience function
1168 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1170 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1172 * gfileenumerator.c:
1173 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1175 2008-03-28 A. Walton <awalton@svn.gnome.org>
1177 * giomodule.c (_g_io_modules_ensure_loaded):
1178 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1181 2008-03-28 Alexander Larsson <alexl@redhat.com>
1184 (copy_stream_with_progress):
1187 2008-03-28 Alexander Larsson <alexl@redhat.com>
1190 (copy_stream_with_progress):
1191 (file_copy_fallback):
1192 Fallback to g_file_query_info for source size
1193 if g_file_input_stream_query_info fails. (#524579)
1195 2008-03-28 Alexander Larsson <alexl@redhat.com>
1197 * glocalfile.c (g_local_file_move):
1198 Reuse old string instead of adding new one.
1200 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1202 * fen/*.[hc]: still copyright issue. I hate copyright.
1204 2008-03-27 Alexander Larsson <alexl@redhat.com>
1206 * glocalfile.c (g_local_file_move):
1207 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1208 file over directory. This is according to the docs and what the move via
1209 copy+remove fallback does.
1211 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1213 * fen/*.[hc]: Updated copyright.
1215 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1217 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1219 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1221 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1222 not emit attribute changed events when optimizing changed events.
1223 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1226 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1228 * gmountoperation.[hc]: Small documentation additions
1230 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1232 * gunixmounts.c: (guess_mount_type):
1233 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1235 2008-03-19 Alexander Larsson <alexl@redhat.com>
1238 (copy_stream_with_progress):
1239 Bump block side for copy to 64k to minimize
1240 overhead for low latency links. (#523015)
1242 2008-03-16 Tor Lillqvist <tml@novell.com>
1244 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1245 depend on gio.def on Windows.
1247 2008-03-12 David Zeuthen <davidz@redhat.com>
1251 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1253 2008-03-14 Alexander Larsson <alexl@redhat.com>
1257 Avoid redudant tests (#521851)
1258 Patch from Josselin Mouette
1260 2008-03-14 Alexander Larsson <alexl@redhat.com>
1263 (g_file_monitor_is_cancelled):
1264 Fix C89 issue (#521672)
1265 Patch from Jens Granseuer
1267 2008-03-14 Alexander Larsson <alexl@redhat.com>
1269 * fam/fam-helper.[ch]:
1271 Shut down fam (including removing fam GSource) when
1272 module is unloaded (#521513)
1273 Patch from Joe Marcus Clarke
1275 2008-03-14 Alexander Larsson <alexl@redhat.com>
1278 (_g_io_modules_ensure_loaded):
1281 2008-03-14 Alexander Larsson <alexl@redhat.com>
1284 (g_local_file_query_filesystem_info):
1285 Use right define name for f_fstypename member check
1287 2008-03-14 Alexander Larsson <alexl@redhat.com>
1290 * fen/Makefile.am: Added.
1291 * fen/fen-data.[ch]: Added.
1292 * fen/fen-dump.[ch]: Added.
1293 * fen/fen-helper.[ch]: Added.
1294 * fen/fen-kernel.[ch]: Added.
1295 * fen/fen-missing.[ch]: Added.
1296 * fen/fen-node.[ch]: Added.
1297 * fen/fen-sub.[ch]: Added.
1298 * fen/gfendirectorymonitor.[ch]: Added.
1299 * fen/gfenfilemonitor.[ch]: Added.
1301 Added Solaris FEN file notification backend.
1302 Patch from Lin Ma <Lin.Ma@Sun.COM>
1304 2008-03-13 Tor Lillqvist <tml@novell.com>
1306 * Makefile.am: Actually use the gio.def file when linking the
1307 library on Windows. Produce .lib library for Microsoft's toolchain
1308 when possible. Install the .lib and .def file like for the other
1311 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1313 * tests/live-g-file.c:
1314 Include live-g-file in standard set of tests, making a temporary
1315 directory in source structure.
1317 Clean target directory before the tests (write mode only)
1319 2008-03-12 Tor Lillqvist <tml@novell.com>
1321 Bug 517419 - gio win32 directory monitor
1322 Implementation by Vlad Grecescu.
1325 * win32/gwin32directorymonitor.h
1326 * win32/gwin32directorymonitor.c: New files.
1328 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1330 * Makefile.am: Add the win32 subdirectory.
1332 2008-03-12 Tor Lillqvist <tml@novell.com>
1334 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1335 normal struct stat on Unix but struct _stati64 on Windows to have
1336 access to 64-bit file size information. Use that instead of struct
1337 stat in the functions declared here in this private header.
1339 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1340 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1341 warnings about unused functions and variables. Don't set
1342 meaningless attributes like inode numbers on Windows.
1344 2008-03-12 Benjamin Otte <otte@gnome.org>
1347 trim whitespace so gtk-doc groks the function name
1349 2008-03-12 Tor Lillqvist <tml@novell.com>
1351 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1352 returning FALSE, on Win32.
1354 2008-03-11 Alexander Larsson <alexl@redhat.com>
1357 * glocalfileinfo.[ch]:
1358 Correctly implement can_trash by actually
1359 looking for a trash dir, not just assuming
1362 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1364 * === Released 2.16.1 ===
1366 2008-03-11 Alexander Larsson <alexl@redhat.com>
1369 Fix crashes in new constructor and properties code
1371 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1373 * gfile.c: Minor spelling correction in documentation:
1374 existance -> existence.
1376 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1378 * === Released 2.16.0 ===
1380 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1382 * gio.symbols: Remove g_file_contains_file here, too.
1384 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1386 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1387 Samuel Cormier-Iijima)
1389 2008-03-08 Tor Lillqvist <tml@novell.com>
1391 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1394 2008-03-07 Alexander Larsson <alexl@redhat.com>
1397 (g_local_file_query_filesystem_info):
1398 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1399 Patch from Jasper Lievisse Adriaanse
1401 2008-03-06 Tor Lillqvist <tml@novell.com>
1403 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1404 comments for the *_USEC attributes.
1406 2008-03-06 Alexander Larsson <alexl@redhat.com>
1408 * gfile.c (g_file_query_exists):
1409 Add g_return_val_if_fail check (#520700)
1411 2008-03-06 Alexander Larsson <alexl@redhat.com>
1413 * gdesktopappinfo.c:
1416 * gunionvolumemonitor.c:
1419 * tests/live-g-file.c:
1420 * xdgmime/xdgmimecache.c:
1421 Fix sparse warnings (#519489)
1423 2008-03-05 Alexander Larsson <alexl@redhat.com>
1426 Make cancellation threadsafe (i.e.
1427 guarantee its only done once, and always
1430 * glocaldirectorymonitor.c:
1431 Make sure we the monitor lives while the
1432 mounts_changed callback is being called (#520484)
1434 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1436 * gbufferedinputstream.c: Fix typo in parameter
1439 2008-03-04 Alexander Larsson <alexl@redhat.com>
1442 Remove deprecated symbols we kept for one release.
1444 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1447 * goutputstream.c: Tiny documentation corrections.
1449 2008-03-03 Alexander Larsson <alexl@redhat.com>
1451 * gunionvolumemonitor.c:
1453 Fix the adopt_orphan_mount vfunc to take a
1454 volume_monitor reference in an ABI compat way.
1455 This change is not API compat, but the added
1456 arg is not used in the only user of this vfunc, so
1457 all we get is a harmless warning in gvfs (#520169)
1459 2008-03-01 Benjamin Otte <otte@gnome.org>
1462 clarify docs for g_file_delete().
1464 2008-02-29 Alexander Larsson <alexl@redhat.com>
1468 Make sure empty files get text/plain type (#518720)
1470 2008-02-27 Alexander Larsson <alexl@redhat.com>
1476 (g_unix_volume_mount):
1477 Add missing GMountMountFlags argument
1479 2008-02-26 Alexander Larsson <alexl@redhat.com>
1482 (g_local_file_delete):
1483 Handle filesystems (like ntfs-3g) that return EEXIST instead
1484 of ENOTEMPTY (#518816)
1486 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1488 * === Released 2.15.6 ===
1490 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1492 * gfile.c (g_file_find_enclosing_mount):
1493 * ginputstream.c (g_input_stream_set_pending):
1494 * glocalfile.c (g_local_file_find_enclosing_mount):
1495 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1496 * goutputstream.c (g_output_stream_set_pending):
1498 Fixup translator comments (#518578).
1500 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1502 * gfile.c (g_file_find_enclosing_mount):
1504 * glocalfile.c (g_local_file_find_enclosing_mount):
1507 Fix a few typos in translator comments and documentation.
1509 2008-02-25 Alexander Larsson <alexl@redhat.com>
1516 Add translator comments (#518578)
1518 2008-02-25 Alexander Larsson <alexl@redhat.com>
1521 Reintroduce g_file_contains_file, keep around for one
1522 unstable release cycle to avoid crashing to many apps.
1523 Make sure to delete after release.
1525 2008-02-25 Alexander Larsson <alexl@redhat.com>
1528 Remove deprecated g_file_contains_file.
1530 2008-02-25 Alexander Larsson <alexl@redhat.com>
1533 Emit actual change signals in an idle handler.
1534 This avoids reentrance and locking problems in
1535 the file notification backends.
1537 2008-02-25 Alexander Larsson <alexl@redhat.com>
1540 (g_unix_mount_guess_should_display):
1541 Remove type guessing, instead just display
1542 mounts in /media and in ~/.
1544 2008-02-25 Alexander Larsson <alexl@redhat.com>
1547 Make new strings reuse old ones.
1549 2008-02-25 Alexander Larsson <alexl@redhat.com>
1552 Implement trashing and filesystem::readonly for win32 (#517235)
1553 Patch from Yevgen Muntyan
1555 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1557 * gfileinfo.h: Documentation fixes.
1559 2008-02-22 Alexander Larsson <alexl@redhat.com>
1561 * gcontenttype.c (g_content_type_get_icon):
1562 Look at old-style gnome mime icon names too, as many
1563 have not moved to the new style.
1565 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1567 * *.c: Correct the @include in for section docs.
1569 2008-02-21 David Zeuthen <davidz@redhat.com>
1571 * glocalfileinfo.c: (_g_local_file_info_get):
1573 (g_content_type_get_icon): Implement this function by
1574 moving bits from glocalfileinfo.c
1575 (g_content_type_get_description): Unalias before getting
1576 description (#517687)
1578 * gfile.c: (g_file_class_init),
1579 (g_file_query_filesystem_info_async),
1580 (g_file_query_filesystem_info_finish),
1581 (query_filesystem_info_data_free),
1582 (query_filesystem_info_async_thread),
1583 (g_file_real_query_filesystem_info_async),
1584 (g_file_real_query_filesystem_info_finish):
1585 * gfile.h: Implement async version of
1586 g_file_query_filesystem_info()
1588 * gfileinfo.h: Add new attributes for filesystem::use-preview
1590 * gio.symbols: Update
1592 * gthemedicon.c: (g_themed_icon_append_name):
1593 * gthemedicon.h: Add new new convenience function.
1595 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1596 (get_mounts), (get_volumes), (get_connected_drives),
1597 (get_volume_for_uuid), (get_mount_for_uuid),
1598 (g_union_volume_monitor_init), (populate_union_monitor),
1599 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1600 (g_volume_monitor_adopt_orphan_mount):
1602 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1603 monitor implementations to call into the main volume monitor. Also
1604 separate object initialization and volume monitor initialization
1605 such that non-native volume monitors can properly adopt their
1608 2008-02-21 Alexander Larsson <alexl@redhat.com>
1613 2008-02-21 Alexander Larsson <alexl@redhat.com>
1616 Add more documentation about how GFiles work (from #517086)
1618 2008-02-21 Alexander Larsson <alexl@redhat.com>
1622 Add new g_file_has_prefix that does the same as g_file_contains_file.
1623 Deprecate g_file_contains_file and add a macro that converts
1624 it to g_file_has_prefix.
1625 The reason for this change is that the contains_file() name seems to
1626 imply that this does more work than what it does, but its really only
1627 a name match (from #517086)
1632 Update to match the above change.
1634 2008-02-20 Benjamin Otte <otte@gnome.org>
1636 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1637 (g_file_eject_mountable):
1638 even more cases of not returning in error path
1640 2008-02-20 Benjamin Otte <otte@gnome.org>
1642 * gfile.c: (g_file_mount_mountable):
1643 return from function in error path.
1645 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1648 Remove trailing coma in GMountMountFlags struct
1650 2008-02-18 Alexander Larsson <alexl@redhat.com>
1654 * glocalfileoutputstream.c:
1655 Use g_unlink/g_rename instead of unlink/rename;
1656 do not pass raw filenames to g_set_error. (#517239)
1657 Patch from Yevgen Muntyan.
1659 2008-02-18 Alexander Larsson <alexl@redhat.com>
1662 * glocalfileoutputstream.c:
1663 Open files with O_BINARY on windows. (#517140)
1665 2008-02-14 Alexander Larsson <alexl@redhat.com>
1667 * glocalfileoutputstream.c:
1668 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1670 2008-02-14 Alexander Larsson <alexl@redhat.com>
1673 Copy permissions with file on copy (#514084)
1674 This is what cp does and makes sure e.g. the
1675 exec permissions are kept.
1676 Its kinda weird in that it keeps the permission bits
1677 the same while the uid and gid are different. However
1678 the new uid is the user so its not a security issue,
1679 and I've heard no complaints about cp on this issue.
1681 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1683 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1685 2008-02-13 Alexander Larsson <alexl@redhat.com>
1687 * inotify/inotify-path.c:
1688 Define IN_ONLYDIR if not in header (#515346)
1690 2008-02-12 Alexander Larsson <alexl@redhat.com>
1692 * tests/live-g-file.c:
1695 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1697 * === Released 2.15.5 ===
1699 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1701 * gio.symbols: Add g_mount_mount_flags_get_type.
1703 2008-02-11 Alexander Larsson <alexl@redhat.com>
1706 (g_file_info_set_attribute_mask):
1707 (g_file_attribute_matcher_matches_id):
1708 Correctly handle NULL GAttributeMatcher meaning
1709 matches nothing. (Fixes #513492)
1711 2008-02-11 Alexander Larsson <alexl@redhat.com>
1716 Added GMountMountFlags enum and added a flags
1717 argument to all mount calls.
1719 This is an API/ABI change for future extensibility,
1720 as I think we will need at least an
1721 inhibit-autorun flag (the panel needs this).
1722 There are no flags defined yet though.
1724 2008-02-11 Alexander Larsson <alexl@redhat.com>
1727 Added new standard::description attribute.
1728 Requested by Vincent, and useful for both
1731 2008-02-11 Alexander Larsson <alexl@redhat.com>
1733 * gdesktopappinfo.c:
1736 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1738 * *.c: Documentation additions
1740 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1742 * gappinfo.h: Formatting cleanup
1743 * gappinfo.c: Fix up docs.
1745 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1747 * gunixmounts.c: Consistently use getmntent_r() and fall
1748 back to getmntent(). (#515492)
1750 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1752 * gbufferedinputstream.c:
1754 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1756 * tests/data-input-stream.c:
1757 * tests/data-output-stream.c: Portability fixes.
1759 2008-02-08 Alexander Larsson <alexl@redhat.com>
1764 Add g_volume_should_automount.
1767 2008-02-07 Tor Lillqvist <tml@novell.com>
1769 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1770 Win32, too Unix-specific.
1772 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1774 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1775 a local plt if the compiler doesn't support what we want. Bug #514702
1777 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1779 reviewed by: <delete if not using a buddy>
1782 * gunixinputstream.c:
1783 * gunixoutputstream.c:
1785 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1787 * tests/Makefile.am:
1788 * tests/live-g-file.c:
1789 * tests/live-g-file.txt:
1790 New GIO testing module working over real data
1792 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1794 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1795 Fallback to rename() if link() is not available
1796 (when no support on target filesystem)
1798 2008-02-06 Michael Natterer <mitch@imendio.com>
1800 * gfileinfo.c (g_file_info_get_icon): replace
1801 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1803 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1805 * gfile.c (g_file_create):
1806 Documentation update of error codes
1808 2008-02-06 Alexander Larsson <alexl@redhat.com>
1810 * gdesktopappinfo.c:
1811 Update to use both mimeapps.list and
1812 defaults.list as discussed on xdg list.
1814 2008-02-06 Benjamin Otte <otte@gnome.org>
1817 * gfilenamecompleter.c:
1818 Fix some typos in the documentation.
1820 2008-02-06 Alexander Larsson <alexl@redhat.com>
1822 * glocalfile.c (g_local_file_trash):
1823 Don't succeed with trash if newly created
1824 trash dir has the wrong owner. (#514696)
1826 2008-02-05 Alexander Larsson <alexl@redhat.com>
1828 * glocalfile.c (g_local_file_move):
1829 Don't spew warnings when destination is not
1832 2008-02-03 Hans Breuer <hans@breuer.org>
1834 * makefile.msc : update
1836 2008-02-01 Michael Natterer <mitch@imendio.com>
1838 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1839 return value of xdg_mime_list_mime_parents() to a variable of the
1842 2008-02-01 Alexander Larsson <alexl@redhat.com>
1844 * gappinfo.c (g_app_info_launch_uris):
1845 Actually call the launch_uris method, not
1848 2008-02-01 Alexander Larsson <alexl@redhat.com>
1850 * gdesktopappinfo.c (g_desktop_app_info_equal):
1851 Ensure appinfos with no id but same pointer value
1854 2008-02-01 Alexander Larsson <alexl@redhat.com>
1856 * gappinfo.c (g_app_info_launch_default_for_uri):
1859 2008-02-01 Alexander Larsson <alexl@redhat.com>
1863 Add g_app_info_launch_default_for_uri utility
1866 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1868 * gdesktopappinfo.c:
1869 Doc fix for g_app_info_get_default_for_uri_scheme ()
1872 2008-01-30 Alexander Larsson <alexl@redhat.com>
1875 Add doc comment about uris vs GFiles to
1878 * gdesktopappinfo.c:
1879 Ensure uris passed to g_app_info_launch_uris()
1880 are not roundtriped through GFile (as that
1881 may be slightly destructive for e.g. mailto: links)
1883 2008-01-30 Alexander Larsson <alexl@redhat.com>
1885 * tests/data-input-stream.c:
1886 * tests/data-output-stream.c:
1887 C89 fixes from Jens Granseuer (#512849)
1889 2008-01-30 Alexander Larsson <alexl@redhat.com>
1892 Fix gamin/fam difference build issue. (#509419)
1894 2008-01-29 Alexander Larsson <alexl@redhat.com>
1897 * gdesktopappinfo.c:
1898 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1900 2008-01-29 Alexander Larsson <alexl@redhat.com>
1902 * gdesktopappinfo.c:
1903 * gdesktopappinfo.h:
1904 giomodule-priv.h include moved to .c file.
1906 2008-01-29 Alexander Larsson <alexl@redhat.com>
1908 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1909 Remove unused prio/name fields.
1911 2008-01-29 Alexander Larsson <alexl@redhat.com>
1913 * gcontenttype.c (looks_like_text):
1914 Don't treat whitespace as control chars.
1916 2008-01-29 Alexander Larsson <alexl@redhat.com>
1918 * gdesktopappinfo.c:
1919 Lazily create the desktop files for appinfos created
1920 by g_app_info_create_from_commandline() when needed
1921 for mime associations. This allows run-time use
1922 of GAppInfo object without creating unnecessary
1925 2008-01-29 Alexander Larsson <alexl@redhat.com>
1928 Added new symbols to gio.symbols
1930 2008-01-29 Alexander Larsson <alexl@redhat.com>
1933 Add g_file_query_default_handler utility to easily look up
1934 the GAppInfo that handles a file.
1936 * gdesktopappinfo.[ch]:
1938 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1941 Remove unused function
1943 2008-01-29 Alexander Larsson <alexl@redhat.com>
1945 * gfileenumerator.c:
1946 Mention need to free returned value in
1947 g_file_enumerator_next_files_finish docs.
1948 Fix leak if g_file_enumerator_next_files_finish()
1951 2008-01-29 Alexander Larsson <alexl@redhat.com>
1954 (_g_unix_content_type_get_parents):
1955 Use list_parents, not get_parents from xdgmime, because
1956 the later doesn't use the cache.
1958 * xdgmime/xdgmimecache.c:
1959 (_xdg_mime_cache_list_mime_parents):
1960 Don't list the same type as parent multiple times.
1962 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1964 * === Released 2.15.4 ===
1966 2008-01-28 Alexander Larsson <alexl@redhat.com>
1969 Register local vfs with prio 0.
1972 Remove old name and prio class members
1974 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1976 * tests/g-file.c: Disable some tests that are failing in
1977 the absence of a http backend.
1979 2008-01-28 Alexander Larsson <alexl@redhat.com>
1983 Add registration hooks for extension points.
1984 Register the gio extension points.
1986 * fam/gfamdirectorymonitor.c:
1987 * fam/gfamfilemonitor.c:
1988 * glocaldirectorymonitor.[ch]:
1989 * glocalfilemonitor.[ch]:
1990 * gnativevolumemonitor.h:
1991 * gunionvolumemonitor.c:
1992 * gunixvolumemonitor.c:
1995 * inotify/ginotifydirectorymonitor.c:
1996 * inotify/ginotifyfilemonitor.c:
1997 Use the extension points registration instead
1998 of g_type_children().
2000 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2003 * gvolume.[hc]: Document new API.
2005 * gfile.c (g_file_copy_async): Fix docs
2007 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2009 * gbufferedinputstream.c:
2011 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2014 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2016 * glocalfile.c: Avoid trivial differences in translatable strings.
2018 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2020 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2021 build with gcc 3.4 (#509419)
2023 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2025 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2026 (#509994, Murray Cumming)
2028 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2030 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2031 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2032 this allows big jobs to be executed in chunks, instead of blocking
2033 the main loop for a long time.
2035 * gsimpleasyncresult.c:
2036 * giofile.c: Adapt callers.
2038 2008-01-25 Alexander Larsson <alexl@redhat.com>
2040 * gdesktopappinfo.c:
2041 Implement changes discussed on xdg list.
2042 Now we can add supported mimetypes by just using defaults.list
2043 We can also remove associations in defaults.list.
2045 2008-01-25 Alexander Larsson <alexl@redhat.com>
2047 * gdesktopappinfo.c:
2048 Don't make local copy of desktop file
2049 for mimetype changes if the file already
2050 supports the new mimetype.
2052 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2056 * gbufferedinputstream.c:
2057 * glocalfile.c: String improvements. (#511966,
2058 Theppitak Karoonboonyanan)
2060 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2062 * gioscheduler.h: Expand docs a bit.
2064 2008-01-24 Alexander Larsson <alexl@redhat.com>
2067 Add g_drive_get_identifier and
2068 g_drive_enumerate_identifiers
2071 Add g_volume_get_identifier and
2072 g_volume_enumerate_identifiers
2078 Implement identifiers for unix backend
2080 2008-01-24 Alexander Larsson <alexl@redhat.com>
2085 Add g_file_copy_async() (#511580)
2086 Based on patch from Carlos Garcia Campos
2088 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2090 * gioscheduler.c: Some documentation additions.
2092 2008-01-22 Alexander Larsson <alexl@redhat.com>
2094 * gdesktopappinfo.c:
2095 (g_desktop_app_info_new):
2096 Don't leak basename.
2098 2008-01-22 Alexander Larsson <alexl@redhat.com>
2100 * gdesktopappinfo.c:
2101 (g_desktop_app_info_new_from_filename):
2104 2008-01-22 Alexander Larsson <alexl@redhat.com>
2106 * glocalfileinfo.c (get_thumbnail_attributes):
2109 2008-01-22 Alexander Larsson <alexl@redhat.com>
2112 (canonicalize_filename):
2113 Canonicalize paths that start with more than
2117 (compare_two_files):
2118 (test_g_file_new_for_path):
2121 2008-01-22 Alexander Larsson <alexl@redhat.com>
2124 Allow UTF-8 in file:// parse names.
2126 * tests/Makefile.am:
2127 * tests/data-input-stream.c:
2128 * tests/data-output-stream.c:
2129 * tests/g-file-info.c:
2131 Added a bunch of tests from Tomas Bzatek
2133 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2135 * === Released 2.15.3 ===
2137 2008-01-21 Alexander Larsson <alexl@redhat.com>
2139 * gfileinputstream.[ch]:
2140 * gfileoutputstream.[ch]:
2142 Remove duplicated GSeekable functions. (#509990)
2143 Just use the g_seekable_xxx() calls instead.
2145 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2148 * gvolumemanager.c: Whitespace cleanups.
2150 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2151 Use the right mode when creating the file.
2153 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2155 * gfileenumerator.c:
2156 * gfileinputstream.c:
2158 * goutputstream.c: Documentation: Fixed minor typos
2159 and added more mentions of specific _finish() functions.
2161 2008-01-21 Alexander Larsson <alexl@redhat.com>
2163 * inotify/Makefile.am:
2164 * inotify/inotify-helper.c:
2165 * inotify/inotify-kernel.c:
2166 * inotify/inotify-path.c:
2167 * inotify/local_inotify.h: Removed.
2168 * inotify/local_inotify_syscalls.h: Removed.
2169 Removed the included copies of the inotify
2170 headers. We now only use the <sys/inotify.h>
2171 header which exists on modern systems.
2172 This fixes problems on ARM and SH5 (#510448)
2173 but is also generally much cleaner and future
2174 safe. For instance, if other OSes add support
2175 for inotify it should "just work".
2177 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2179 * inotify/*.c: Coding style fixes.
2180 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2181 for the 1/4 Hz timer.
2183 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2186 * gfilemonitor.[hc]:
2187 * gmemoryinputstream.c:
2188 * gmemoryoutputstream.c:
2189 * gmountoperation.c:
2190 * gthemedicon.c: Documentation updates
2192 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2194 * gfile.c: documentation: Fixed more minor
2197 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2199 * gmount.c: (g_mount_remount): documentation:
2200 Mention g_mount_remount_finish() instead of
2201 g_mount_unmount_finish().
2203 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2207 * gfile.c: Fixed some minor typos in the
2210 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2212 * gio/gvolumemonitor.c:
2213 (g_volume_monitor_get_connected_drives):
2214 (g_volume_monitor_get_volumes):
2215 (g_volume_monitor_get_mounts): Documentation:
2216 Clarify the ownership of the regurn GLists.
2218 2008-01-17 Alexander Larsson <alexl@redhat.com>
2221 Add the async find_enclosing_mount version
2222 to the header file too.
2224 2008-01-17 Alexander Larsson <alexl@redhat.com>
2227 Add async version of find_enclosing_mount
2228 with default implementation.
2230 2008-01-17 Alexander Larsson <alexl@redhat.com>
2235 Allow calls to implementation of copy and write
2236 even if the type of the file implementations is
2237 different. This can be used to implement native
2238 upload and download calls in a vfs.
2241 (g_local_file_move):
2242 Protect against the case where move is called
2243 with one file not being local.
2245 Make sure we call the progress callback once
2246 in the native move operation so that the caller
2247 knows how many bytes were copied.
2249 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2252 * gdatainputstream.c:
2254 * gfileoutputstream.c:
2259 * gunixmounts.c: Corrected some typos in the documentation:
2260 occured -> occurred.
2261 its -> it's (where appropriate).
2263 2008-01-16 Alexander Larsson <alexl@redhat.com>
2267 Add g_file_query_exists (#508771)
2269 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2274 * gvolume.c: For async functions that have no non-async
2275 version, document that the GAsyncReadyCallback may be NULL.
2278 2008-01-15 Alexander Larsson <alexl@redhat.com>
2280 * gmemoryinputstream.c:
2281 * gmemoryoutputstream.c:
2282 Don't do pointer arithmetic on void * (#508602)
2283 Patch from Kazuki IWAMOTO
2285 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2287 * === Released 2.15.2 ===
2289 2008-01-14 Alexander Larsson <alexl@redhat.com>
2291 * gfile.c (g_file_monitor_file):
2292 Don't set error here, since we fallback to polling monitor.
2294 2008-01-14 Alexander Larsson <alexl@redhat.com>
2297 (g_file_monitor_directory):
2298 (g_file_monitor_file):
2299 Add GError to file monitor calls
2301 * glocaldirectorymonitor.c:
2302 * glocaldirectorymonitor.h:
2304 * glocalfilemonitor.c:
2305 * glocalfilemonitor.h:
2307 Update for above change
2309 2008-01-14 Alexander Larsson <alexl@redhat.com>
2313 Handle root correctly in g_file_get_relative_path (#508719)
2315 2008-01-14 Alexander Larsson <alexl@redhat.com>
2318 Clean up docs and example for GAsyncResult (#508074)
2320 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2322 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2323 and correct some spelling mistakes. Bug #508108.
2325 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2327 * glocalfileinfo.c: Add a comment.
2329 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2331 * gfileinfo.c: GFileInfo description: Mention
2332 how to actually set attributes in a GFile and how to discover
2333 which attributes are settable. Bug #508378.
2335 2008-01-10 A. Walton <awalton@svn.gnome.org>
2337 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2338 (g_app_info_get_default_for_type):
2339 Check for NULL content types.
2341 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2343 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2345 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2347 * gfile.c: *_async() functions: Several small corrections
2348 to the documentation, mostly correcting copy/paste errors
2349 and improving some sentences.
2351 2008-01-09 Dan Winship <danw@gnome.org>
2353 * glocalfile.c (get_unique_filename): x86_64 fix
2355 2008-01-09 Alexander Larsson <alexl@redhat.com>
2360 Add g_unix_mount_guess_should_display and use
2361 for unix volume monitor backend.
2362 This means we more or less show what the
2363 gnome-vfs backend did.
2364 Based on patch from Padraig O'Briain
2366 2008-01-09 Alexander Larsson <alexl@redhat.com>
2370 Add g_themed_icon_new_with_default_fallbacks
2373 Use default fallbacks for icons
2375 2008-01-09 Alexander Larsson <alexl@redhat.com>
2378 * gmountoperation.[ch]:
2379 Change the API a bit so that unhandled methods
2380 get reported via the reply, rather than by
2381 the signal emission return value. This is because
2382 some handlers can't know this immediately without
2383 doing I/O, and this is an async operation that
2386 2008-01-09 Alexander Larsson <alexl@redhat.com>
2389 * fam/gfamdirectorymonitor.c:
2390 * fam/gfamfilemonitor.c:
2391 Fix double free crash (#508224)
2392 Patch from Joe Marcus Clarke
2394 008-01-07 Matthias Clasen <mclasen@redhat.com>
2396 * === Released 2.15.1 ===
2398 2008-01-07 Alexander Larsson <alexl@redhat.com>
2400 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2401 Fix warning (#507835)
2403 2008-01-07 Alexander Larsson <alexl@redhat.com>
2406 Pass --internal to glib-genmarshal
2409 * gmountoperation.c:
2411 Use better types for signal arguments (#507822)
2413 2008-01-07 Alexander Larsson <alexl@redhat.com>
2416 Build test subdir after .
2417 Remove gdirectorymonitor.[ch]
2419 * gdirectorymonitor.[ch]:
2423 Remove GDirectoryMonitor and make
2424 GFileMonitor the baseclass for both file and
2425 directory monitors. Lift the more generic
2426 rate limiting code from GDirectoryMonitor
2430 * fam/gfamdirectorymonitor.[ch]:
2431 * inotify/ginotifydirectorymonitor.[ch]:
2432 * inotify/inotify-helper.c:
2433 * glocaldirectorymonitor.[ch]:
2436 Update for the removed GDirectoryMonitor.
2438 * gmemoryoutputstream.c:
2439 Remove ununsed variable
2441 2008-01-07 Alexander Larsson <alexl@redhat.com>
2443 * gmemoryinputstream.c:
2444 Translate error strings
2447 * gmemoryoutputstream.[ch]:
2448 New implementation that avoids using GByteArray
2449 in implementation and API. (#506377)
2451 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2453 * tests/*: Add a test for memory input streams.
2455 * Makefile.am: Add tests to SUBDIRS.
2457 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2459 * glocalfilemonitor.c:
2460 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2463 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2465 * gdesktopappinfo.c: Fix a docs typo.
2467 * gfileattribute.c: Add information about extended attributes
2468 to the documentation. (#505058)
2470 2008-01-04 Alexander Larsson <alexl@redhat.com>
2473 * gmountoperation.c:
2474 Use the right type (uint) for the ask_password signal.
2476 2008-01-04 Alexander Larsson <alexl@redhat.com>
2481 Add g_app_info_supports_files()
2482 Remove desktop arg from g_app_info_should_show().
2484 * gdesktopappinfo.[ch]:
2485 Implement g_app_info_supports_files() and new should_show()
2486 Add g_desktop_app_info_set_desktop_env() to set the desktop
2487 for should_show(). (This will be set by gtk+ later)
2489 2008-01-04 Alexander Larsson <alexl@redhat.com>
2492 * gmemoryinputstream.[ch]:
2493 Improve API so that you can use multiple chunks
2494 of memory and custom destroy functions. (#506374)
2496 2008-01-03 Alexander Larsson <alexl@redhat.com>
2499 Handle NULL attribute matchers safely, as we return this
2500 for empty attribute matcher strings.
2502 2008-01-03 Alexander Larsson <alexl@redhat.com>
2504 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2505 Add /usr/local to list of internal mountpoints
2507 2008-01-03 Alexander Larsson <alexl@redhat.com>
2510 Check for HAVE_LCHOWN (#505887)
2512 2008-01-03 Alexander Larsson <alexl@redhat.com>
2516 Add define for selinux context attribute.
2517 Fix missing : -> :: namespace separator change
2518 Fix missing _ -> - name change for xattr-sys.
2521 2008-01-03 Alexander Larsson <alexl@redhat.com>
2524 Link to libglib and libgobject directly (#504879)
2525 Patch from Sebastien Bacher
2527 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2529 * gfile.c: Expanded the g_file_new_for_commandline_arg
2530 description a bit, based on the code and the docs of the
2531 other g_file_new_for_* functions.
2533 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2535 * gfilemonitor.h: Fixed typo in docs.
2537 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2539 Updates to GIO documentation. (#506395, Mikael Hermansson)
2541 * gcontenttype.c: Describe memory management for return value of
2542 g_content_types_get_registered(). Missing piece from #505815.
2543 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2544 GVolume, GDrive, GMounts, which hopefully gives the user less
2545 confusions when using this API. Following explainations from
2546 Alexander Larsson on gtk-devel-list.
2548 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2550 * gfileinfo.c: Expand the long description.
2552 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2555 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2556 fix builds with --disable-visibility. (#500273, Christian Persch)
2558 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2560 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2561 in the list of returned app infos.
2563 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2565 * gappinfo.c: Fix a cross-reference
2567 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2569 * gfileinputstream.c:
2570 * gfileoutputstream.c:
2574 * gdesktopappinfo.c:
2576 * gfileinfo.c: Documentation updates.
2578 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2580 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2583 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2585 * gcontenttype.c (g_content_types_get_registered): Don't return
2586 freed memory (#505815, Mikael Hermansson)
2588 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2590 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2591 used to detect statbuf->st_blocks. (#505042)
2593 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2595 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2596 environment handling. (#504829, Cosimo Cecchi)
2598 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2600 * gappinfo.c: Doc improvements
2602 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2605 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2607 * === Released 2.15.0 ===
2609 2007-12-20 Hans Breuer <hans@breuer.org>
2611 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2612 with symbols gwin32appinfo.obj, added gmount.obj
2613 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2615 2007-12-20 Alexander Larsson <alexl@redhat.com>
2621 * gfilenamecompleter.c:
2624 * gpollfilemonitor.c:
2625 File attribute renames:
2627 fs:: -> filesystem::
2628 id::fs -> id::filesystem
2630 2007-12-20 Alexander Larsson <alexl@redhat.com>
2639 Add GMountUnmountFlags to all unmount and
2641 Add g_mount_remount() call.
2643 2007-12-20 Alexander Larsson <alexl@redhat.com>
2645 * gvfs.c (get_default_vfs):
2646 Fix unused variable warning
2648 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2650 * pltcheck.sh: Update
2652 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2654 * gunionvolumemonitor.c:
2655 * gunixmount.c: Remove C99 comments
2657 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2659 * gio.symbols: Add some missing symbols
2661 2007-12-19 Alexander Larsson <alexl@redhat.com>
2664 Make g_io_modules_load_all_in_directory not unuse
2665 loaded modules so that users of it can do stuff
2667 Init internal "module" types.
2668 Initialize static prio and name for types so that
2669 we don't have to load modules to get it.
2671 * gnativevolumemonitor.h:
2673 Move is_supported to parent class so that
2674 non-native monitors can avoid being initialized
2675 too. (For instance GDaemonVolumeMonitor if we're
2676 not using GDaemonVfs.)
2678 * glocaldirectorymonitor.[ch]:
2679 * glocalfilemonitor.[ch]:
2680 * gunionvolumemonitor.c:
2681 * gunixvolumemonitor.c:
2683 Find plugins using the static prio+name to
2684 avoid unnecessarily loading the modules.
2686 2007-12-19 Alexander Larsson <alexl@redhat.com>
2691 2007-12-19 Alexander Larsson <alexl@redhat.com>
2693 * gunionvolumemonitor.c:
2694 Store the native type as GType, not class so that
2695 we can unload it. But still avoid unnecessarily
2698 2007-12-19 David Zeuthen <davidz@redhat.com>
2700 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2701 add signals 'disconnected' and 'eject-button' on GDrive. Add
2702 signal 'removed' on GVolume and 'unmounted' on GMount.
2704 * gdrive.c: (g_drive_base_init):
2706 * gfile.c: (g_file_mount_mountable),
2707 (g_file_mount_enclosing_volume):
2710 * gmount.c: (g_mount_base_init):
2712 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2713 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2714 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2718 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2720 * *.c: Fix up includes in the section docs.
2722 2007-12-17 Alexander Larsson <alexl@redhat.com>
2724 * gnativevolumemonitor.h:
2725 * gunionvolumemonitor.c:
2726 * gunixvolumemonitor.c:
2727 Add is_supported() to GNativeVolumeMonitorClass so
2728 that we can avoid having to create an object to see
2729 if the backend is supported at runtime.
2730 Also add name member and an env var to pick a specific
2731 volume monitor backend.
2735 Add cancellable to _g_mount_get_for_mount_path()
2737 * glocaldirectorymonitor.c:
2738 * glocalfilemonitor.c:
2739 Avoid loading and unloading modules while sorting.
2741 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2744 * gunixmounts.[hc]: Namespace waste reduction, move some
2745 g_get_unix_mount functions to the g_unix_mount namespace.
2748 * gunixvolumemonitor.c:
2750 * glocaldirectorymonitor.c: Update all callers.
2752 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2754 2007-12-17 Alexander Larsson <alexl@redhat.com>
2757 Add doc comments about what GFile operations are
2758 guaranteed to not block.
2760 2007-12-17 Alexander Larsson <alexl@redhat.com>
2763 Add missing #ifdef fixing OSX build.
2764 (#503334, patch from Richard Hult)
2766 2007-12-14 David Zeuthen <davidz@redhat.com>
2770 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2771 (g_mount_eject), (g_mount_eject_finish):
2773 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2774 (get_volume_for_uuid), (get_mount_for_uuid),
2775 (g_union_volume_monitor_class_init),
2776 (get_default_native_type_with_exclude), (get_default_native_type),
2777 (get_native_type), (update_native_type),
2778 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2779 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2780 (g_unix_mount_can_eject), (eject_unmount_cb),
2781 (eject_unmount_read_error), (eject_unmount_do),
2782 (g_unix_mount_unmount), (g_unix_mount_eject),
2783 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2784 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2785 (g_unix_mount_point_guess_can_eject):
2787 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2788 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2789 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2790 (g_unix_volume_mount), (g_unix_volume_eject),
2791 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2792 * gunixvolumemonitor.c: (get_volume_for_uuid),
2793 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2795 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2796 (g_volume_eject), (g_volume_eject_finish):
2798 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2799 (g_volume_monitor_get_mount_for_uuid):
2802 Provide eject() on both GMount and GVolume and utility functions
2803 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2804 ejected. Introduce the concept of UUID's and wire it into GVolume
2805 and GMount and provide API on GVolumeMonitor to find such
2806 instances. Also handle the case where an external
2807 GNativeVolumeMonitor fails to initialize. Lock around the
2808 _g_get_mount_for_mount_path() function such that volume monitor
2809 implementations won't have to do locking themselves.
2811 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2813 * gdesktopappinfo.c:
2819 * gvolume.h: Documentation updates
2821 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2824 * gfile.h: Doc updates
2826 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2829 * gdesktopappinfo.c: Use hash table iterators.
2831 2007-12-14 Alexander Larsson <alexl@redhat.com>
2834 * gfileattribute.[ch]:
2835 * gfileattribute-priv.h:
2836 Move GFileAttributeValue to a private header, as
2840 Make set_attribute take a type + a pointer instead
2841 of a GFileAttributeValue.
2844 Fix up for above changes.
2845 Add g_file_info_get_attribute_data to get
2846 all info in one call, g_file_info_get_attribute_status
2847 to get the status and g_file_info_get_attribute_as_string.
2851 * glocalfileinfo.[ch]:
2855 Make _guess_type static.
2857 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2860 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2861 made mkenums and friends use temporary files to avoid leaving
2862 empty generated files on failure (#503470).
2864 2007-12-14 Alexander Larsson <alexl@redhat.com>
2866 * gmountoperation.h:
2869 2007-12-14 Alexander Larsson <alexl@redhat.com>
2873 * gfileattribute.[ch]:
2876 * glocalfileoutputstream.c:
2877 * gmountoperation.[ch]:
2878 * goutputstream.[ch]:
2879 Clean up all flags enums to not have _FLAGS in them
2880 Make the names of some of the enums better.
2885 2007-12-14 Michael Natterer <mitch@imendio.com>
2887 * gio.symbols: fix g_io_scheduler symbol names.
2889 2007-12-14 Alexander Larsson <alexl@redhat.com>
2895 * gbufferedinputstream.h:
2896 * gbufferedoutputstream.h:
2899 * gdatainputstream.h:
2900 * gdataoutputstream.h:
2901 * gdesktopappinfo.h:
2902 * gdirectorymonitor.h:
2906 * gfileenumerator.h:
2909 * gfileinputstream.h:
2911 * gfilenamecompleter.h:
2912 * gfileoutputstream.h:
2913 * gfilterinputstream.h:
2914 * gfilteroutputstream.h:
2922 * gmemoryinputstream.h:
2923 * gmemoryoutputstream.h:
2925 * gmountoperation.h:
2928 * gsimpleasyncresult.h:
2930 * gunixinputstream.h:
2932 * gunixoutputstream.h:
2936 * inotify/Makefile.am:
2937 Only allow including <gio/gio.h> from apps
2939 2007-12-14 Alexander Larsson <alexl@redhat.com>
2941 * gioscheduler.[ch]:
2942 * gsimpleasyncresult.c:
2943 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2944 Split out the send_to_mainloop call into two versions instead
2945 of having the block argument.
2947 2007-12-13 Alexander Larsson <alexl@redhat.com>
2949 * gcancellable.[ch]:
2951 * gbufferedinputstream.c:
2952 * gfileenumerator.c:
2953 * gfileinputstream.c:
2954 * gfileoutputstream.c:
2958 g_push/pop_current_cancellable ->
2959 g_cancellable_push/pop_current
2961 2007-12-13 Alexander Larsson <alexl@redhat.com>
2965 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2967 2007-12-13 Alexander Larsson <alexl@redhat.com>
2969 * gmountoperation.h:
2970 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2972 2007-12-12 Alexander Larsson <alexl@redhat.com>
2975 Fix race condition when freeing proxy in
2976 g_io_job_send_to_mainloop().
2978 2007-12-12 Alexander Larsson <alexl@redhat.com>
2984 Make attribute namespace separator "::" instead of ":".
2985 Use - instead of _ as separator in attribute names.
2987 2007-12-12 Alexander Larsson <alexl@redhat.com>
2989 * gbufferedinputstream.h:
2990 * gbufferedoutputstream.h:
2991 * gdatainputstream.h:
2992 * gdataoutputstream.h:
2993 * gdirectorymonitor.h:
2994 * gfileenumerator.h:
2995 * gfileinputstream.h:
2997 * gfileoutputstream.h:
2998 * gfilterinputstream.h:
2999 * gfilteroutputstream.h:
3001 * glocalfileinputstream.h:
3002 * glocalfileoutputstream.h:
3003 * gmemoryinputstream.h:
3004 * gmemoryoutputstream.h:
3005 * gnativevolumemonitor.h:
3007 * gunixinputstream.h:
3008 * gunixoutputstream.h:
3011 s/parent/parent_instance/ in GObjects
3013 2007-12-12 Alexander Larsson <alexl@redhat.com>
3018 No need for padding for interfaces
3020 2007-12-12 Alexander Larsson <alexl@redhat.com>
3024 * gbufferedinputstream.c:
3025 * gbufferedoutputstream.c:
3028 * gdatainputstream.[ch]:
3029 * gdesktopappinfo.c:
3030 * gdirectorymonitor.c:
3032 * gfileattribute.[ch]:
3035 * gfileinputstream.h:
3036 * gfilemonitor.[ch]:
3037 * gfileoutputstream.[ch]:
3038 * gfilterinputstream.h:
3039 * gfilteroutputstream.h:
3042 * gloadableicon.[ch]:
3043 * gmemoryinputstream.c:
3044 * gmountoperation.c:
3046 Fix up a bunch of details in the docs.
3051 2007-12-11 David Zeuthen <davidz@redhat.com>
3053 Rework how volumes, drives and volume monitoring is
3054 done. Previosly the model was
3056 GDrive <1-1> GVolume
3058 where a GDrive instance represented a mount point and a GVolume
3059 instance represented a mounted file system. This patch changes it
3062 GDrive <1-N> GVolume <1-1> GMount
3064 where GMount now serves the purpose of the old GVolume and the new
3065 GVolume serves the purpose of the old GDrive. In addition the new
3066 GDrive interface is used to represent a collection of GVolume
3067 instances (typically partitions) and also contains utility to query
3068 the state of the physical drive the GDrive object represents (such
3069 as checking for media, polling the drive, ejecting the media etc.).
3071 Also implement mounting and unmounting in the Unix volume monitor
3072 backend. A subquent patch will introduce GDrive support for ejection
3076 * gdrive.c: (g_drive_is_media_check_automatic),
3077 (g_drive_is_media_removable), (g_drive_has_media),
3078 (g_drive_can_poll_for_media), (g_drive_eject),
3079 (g_drive_eject_finish), (g_drive_poll_for_media),
3080 (g_drive_poll_for_media_finish):
3082 * gfile.c: (g_file_find_enclosing_mount):
3085 * glocaldirectorymonitor.c:
3086 (g_local_directory_monitor_constructor), (mounts_changed):
3087 * glocalfile.c: (get_mount_info),
3088 (g_local_file_find_enclosing_mount),
3089 (g_local_file_file_iface_init):
3090 * gnativevolumemonitor.h:
3091 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3092 (get_connected_drives), (g_union_volume_monitor_class_init),
3093 (child_volume_added), (child_volume_removed),
3094 (child_volume_changed), (child_mount_added), (child_mount_removed),
3095 (child_mount_pre_unmount), (child_mount_changed),
3096 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3097 (g_union_volume_monitor_remove_monitor),
3098 (_g_mount_get_for_mount_path):
3099 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3100 (guess_system_internal), (_g_get_unix_mounts),
3101 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3102 (g_unix_mount_free), (g_unix_mount_compare),
3103 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3104 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3105 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3106 (type_to_icon), (g_unix_mount_guess_name),
3107 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3108 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3109 (_resolve_symlink), (_resolve_dev_root):
3111 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3112 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3113 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3114 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3115 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3116 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3117 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3118 (g_unix_volume_volume_iface_init):
3120 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3121 (get_mounts), (get_volumes), (get_connected_drives),
3122 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3123 (mountpoints_changed), (mounts_changed),
3124 (g_unix_volume_monitor_init),
3125 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3126 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3127 * gunixvolumemonitor.h:
3128 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3129 (g_volume_mount), (g_volume_mount_finish):
3131 * gvolumemonitor.c: (g_volume_monitor_class_init),
3132 (g_volume_monitor_get_connected_drives),
3133 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3136 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3138 * gmountoperation.h (GPasswordFlags): Close the gap
3140 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3142 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3144 * gdesktopappinfo.[hc]: Remove _-prefixes
3146 2007-12-10 Tor Lillqvist <tml@novell.com>
3148 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3151 2007-12-10 Alexander Larsson <alexl@redhat.com>
3153 * gfile.c (g_file_set_display_name):
3154 Don't hardcode '/' (#502727)
3156 2007-12-09 Hans Breuer <hans@breuer.org>
3158 * makefile.msc : follow lib naming convention
3159 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3160 for user and group name, tested with ../tests/gio-ls
3162 2007-12-09 A. Walton <awalton@svn.gnome.org>
3164 * gdesktopappinfo.c:
3170 * gfileenumerator.c:
3175 * gmemoryinputstream.c:
3176 * gmemoryoutputstream.c:
3178 * gsimpleasyncresult.c:
3179 More documentation cleanup and filling in missing information, bringing
3180 GIO to 99% symbol coverage.
3182 2007-12-08 Hans Breuer <hans@breuer.org>
3184 [gio compiles and links on win32, not sure how much already works]
3185 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3186 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3187 base on win32 API; prefer g_lstat() over lstat(); instead of
3188 localtime_r() use an all GLib implementation on win32;
3189 get_mount_info() still needs a win32 specifc implementation
3190 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3191 win32_get_file_user_info to get owner/group info without uid/gid
3192 * glocalfileinputstream.c : include <io.h> on win32
3193 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3194 definition, use g_win32_ftruncate() for G_OS_WIN32
3195 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3196 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3197 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3198 * makefile.msc : updated
3200 2007-12-07 Alexander Larsson <alexl@redhat.com>
3202 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3203 Avoid warning spew if error == NULL
3205 2007-12-07 Alexander Larsson <alexl@redhat.com>
3208 Update docs wrt etags
3210 2007-12-06 Alexander Larsson <alexl@redhat.com>
3213 Include sys/types.h for dev_t (#501919)
3215 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3219 Make abicheck and pltcheck pass.
3221 2007-12-05 Alexander Larsson <alexl@redhat.com>
3224 * giomodule-priv.h: Added.
3225 * glocaldirectorymonitor.c:
3226 * glocalfilemonitor.c:
3227 * gunionvolumemonitor.c:
3229 Actually add the declaration of _g_io_modules_ensure_loaded
3231 2007-12-05 Alexander Larsson <alexl@redhat.com>
3233 * gdatainputstream.c:
3238 * glocaldirectorymonitor.c:
3239 * glocalfilemonitor.c:
3240 * gunionvolumemonitor.c:
3242 Make g_io_modules_ensure_loaded a private function and
3243 don't pass in the dirname. This means we can do magic
3244 directory finding in the win32 version.
3245 Export the actual load-modules-in-directory code so that
3246 gvfs can reuse that.
3248 2007-12-05 Alexander Larsson <alexl@redhat.com>
3250 * gbufferedinputstream.c:
3251 * gbufferedoutputstream.c:
3254 * gfileenumerator.[ch]:
3255 * gfileinputstream.c:
3256 * gfileoutputstream.[ch]:
3257 * gfilterinputstream.c:
3258 * gfilteroutputstream.c:
3259 * ginputstream.[ch]:
3261 * glocalfileenumerator.c:
3262 * glocalfileinputstream.c:
3263 * glocalfileoutputstream.c:
3264 * gmemoryinputstream.c:
3265 * gmemoryoutputstream.c:
3266 * goutputstream.[ch]:
3269 * gunixinputstream.c:
3270 * gunixoutputstream.c:
3271 Rename all struct members named:
3272 read, write, close, truncate, or mount
3273 to foo_fn, as these are reserved names
3274 and could be defined as macros in libc.
3277 2007-12-04 Alexander Larsson <alexl@redhat.com>
3280 (g_output_stream_close):
3281 Only call flush if non-null.
3283 2007-11-30 Dan Winship <danw@gnome.org>
3285 * ginputstream.c (g_input_stream_set_pending): Make this take a
3286 GError and return a gboolean, and do the "outstanding operation"
3287 check (and the "stream is already closed" check) itself.
3288 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3290 * goutputstream.c (g_output_stream_set_pending)
3291 (g_output_stream_clear_pending): Likewise
3293 * gbufferedinputstream.c:
3294 * gfileinputstream.c:
3295 * gfileoutputstream.c: Update for that
3297 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3298 Like g_simple_async_report_error_in_idle, but takes a GError
3299 rather than building one.
3301 2007-11-30 Dan Winship <danw@gnome.org>
3303 * goutputstream.c: Don't cheat and unset the "pending" flag around
3304 inner calls. Instead, call the class method directly rather than
3305 the wrapper function that checks "pending"
3307 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3309 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3311 2007-12-03 Hans Breuer <hans@breuer.org>
3313 [start of port to win32/msvc]
3314 * gcancellable.c : HAVE_UNIST_H and _pipe()
3315 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3316 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3317 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3319 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3320 * glocalvfs.c : use HAVE_PWD_H
3321 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3322 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3323 * Makefile.am : added to EXTRA_DIST
3325 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3327 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3330 2007-12-03 Alexander Larsson <alexl@redhat.com>
3333 Handle OSX style xattrs API (#500506)
3335 2007-12-03 Alexander Larsson <alexl@redhat.com>
3339 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3341 2007-12-02 A. Walton <awalton@svn.gnome.org>
3345 Documentation accuracy fixes.
3347 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3349 * gioenumtypes.c.template: Fix typo.
3351 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3353 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3355 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3357 * gdirectorymonitor.c:
3358 * gfilemonitor.c: Add properties
3360 * gbufferedoutputstream.c: Don't mark buffer-size property
3363 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3365 * gbufferedoutputstream.c: Add auto-grow property.
3367 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3369 * *.c: Unify the capitalization of section headings.
3371 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3373 * gmountoperation.c: Add properties
3375 * gdatainputstream.c: Turn byte-order and newline-type into
3378 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3380 * gioenumtypes.[hc].template: Templates for enum registration
3382 * Makefile.am: Generate gioenumtypes.[hc]
3384 * gio.h: Include gioenumtypes.h
3386 * gfile.h: Add some explicit nicks.
3388 * gio.symbols: Add new symbols
3390 * pltcheck.sh: Adjust
3392 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3394 * *.c: Explain etags and link to the explanation
3396 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3398 * *.c: Explain I/O priority.
3400 * *.c: More coding style fixes.
3402 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3404 * gasyncresult.c: Add another paragraph to the intro,
3405 adjust coding style of example.
3407 2007-11-29 A. Walton <awalton@svn.gnome.org>
3410 Fixes unknown meaning in GAppLaunchContext docs.
3412 Clarify asynchronous ops.
3414 Fix entity tag docs.
3417 Provides missing gtk-doc section, fixes API docs slighly.
3418 * gsimpleasyncresult.c:
3419 Fill in missing info in docs.
3420 * gunixinputstream.c:
3421 * gunixoutputstream.c:
3422 Be more expressive in short description.
3424 Remove gtk-doc stubs for non-public API.
3426 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3428 * *.c: Coding style fixups
3430 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3432 * inotify/inotify-helper.c: Don't export the lock from libgio.
3434 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3437 * abicheck.sh: Fix copy-and-paste leftovers
3439 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3441 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3443 2007-11-28 Alexander Larsson <alexl@redhat.com>
3447 Removed unnecessary file
3449 * gdesktopappinfo.[ch]:
3452 * glocaldirectorymonitor.[ch]:
3454 * glocalfileenumerator.[ch]:
3455 * glocalfileinputstream.[ch]:
3456 * glocalfilemonitor.[ch]:
3457 * glocalfileoutputstream.[ch]:
3459 * gnativevolumemonitor.c:
3460 * gpollfilemonitor.[ch]:
3461 * gunionvolumemonitor.[ch]:
3464 * gunixvolumemonitor.[ch]:
3467 * inotify/ginotifydirectorymonitor.[ch]:
3468 * inotify/ginotifyfilemonitor.[ch]:
3469 * inotify/inotify-helper.c:
3470 Append _ to all internal functions
3474 Export symbols needed for modules
3476 2007-11-28 Alexander Larsson <alexl@redhat.com>
3479 * abicheck.sh: Added.
3480 * makegioalias.pl: Added.
3481 * pltcheck.sh: Added.
3482 * gio.symbols: Added.
3485 Initial work on adding symbol handling.
3488 Correct ifdef guard name
3491 * inotify/Makefile.am:
3492 * xdgmime/Makefile.am:
3493 Include toplevel Makefile.decl
3495 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3497 * gcontenttype.c: Move doc comments to the unix section.
3499 * *.[hc]: More trivial doc corrections.
3501 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3503 * gpollfilemonitor.c:
3507 * gdesktopappinfo.c:
3512 * gdatainputstream.c:
3513 * gdatainputstream.h:
3514 * gdataoutputstream.c:
3515 * gdataoutputstream.h:
3516 * gfileinfo.h: Doc cleanups
3518 2007-11-28 Andre Klapper <a9016009@gmx.de>
3520 * gdesktopappinfo.c: Fix a typo.
3522 2007-11-27 Andre Klapper <a9016009@gmx.de>
3524 * glocalfileoutputstream.c: Fix a typo.
3526 2007-11-27 Alexander Larsson <alexl@redhat.com>
3529 Don't include removed headers
3531 2007-11-27 Alexander Larsson <alexl@redhat.com>
3534 * gsocketinputstream.[ch]: Removed.
3535 * gsocketoutputstream.[ch]: Removed.
3536 * gunixinputstream.[ch]: Added.
3537 * gunixoutputstream.[ch]: Added.
3538 Renamed GSocket*Stream to GUnix*Stream and made
3539 it unix-only, since its not really only for sockets
3540 and it only works on unix (but is highly useful there).
3542 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3548 * gbufferedinputstream.c:
3549 * gbufferedinputstream.h:
3550 * gbufferedoutputstream.c:
3551 * gbufferedoutputstream.h:
3555 * gdatainputstream.c:
3556 * gdatainputstream.h:
3557 * gdataoutputstream.c:
3558 * gdataoutputstream.h:
3559 * gdirectorymonitor.c:
3560 * gdirectorymonitor.h:
3567 * gfileenumerator.c:
3568 * gfileenumerator.h:
3573 * gfileinputstream.c:
3574 * gfileinputstream.h:
3577 * gfilenamecompleter.c:
3578 * gfilenamecompleter.h:
3579 * gfileoutputstream.c:
3580 * gfileoutputstream.h:
3581 * gfilterinputstream.c:
3582 * gfilterinputstream.h:
3583 * gfilteroutputstream.c:
3584 * gfilteroutputstream.h:
3597 * glocalfileoutputstream.c:
3598 * gmemoryinputstream.c:
3599 * gmemoryinputstream.h:
3600 * gmemoryoutputstream.c:
3601 * gmemoryoutputstream.h:
3602 * gmountoperation.c:
3603 * gmountoperation.h:
3606 * gpollfilemonitor.c:
3609 * gsimpleasyncresult.c:
3610 * gsimpleasyncresult.h:
3611 * gsocketinputstream.c:
3612 * gsocketinputstream.h:
3613 * gsocketoutputstream.c:
3614 * gsocketoutputstream.h:
3621 * gunixvolumemonitor.c:
3630 Bumps documentation to 93% symbol coverage, touching most
3631 of the public files. Fixes broken function documentation prototypes.
3632 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3633 gtk-doc headers in private files.
3635 2007-11-27 Jürg Billeter <j@bitron.ch>
3637 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3638 (g_buffered_input_stream_read_byte):
3639 * gbufferedinputstream.h:
3640 New functions for efficient access to buffer and simple single byte
3643 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3644 (g_data_input_stream_read_until):
3645 * gdatainputstream.h:
3646 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3647 read_until with multiple stop chars.
3649 2007-11-27 Alexander Larsson <alexl@redhat.com>
3653 * inotify/Makefile.am:
3654 Use the user-specified giomoduledir
3656 2007-11-27 Alexander Larsson <alexl@redhat.com>
3660 Add catch-all gio.h header
3661 Don't install gdummyfile.h
3663 2007-11-26 Alexander Larsson <alexl@redhat.com>
3665 * Makefile.am (gioinclude_HEADERS):
3666 Remove trailing whitespace
3668 2007-11-26 Alexander Larsson <alexl@redhat.com>
3670 Merge gio-standalone into glib
3672 2007-11-25 Christian Kellner <gicmo@gnome.org>
3674 * gio/goutputstream.c:
3675 Fix small mistake in the docs.
3677 2007-11-21 Christian Persch <chpe@gnome.org>
3679 * gio/glocalfile.c: (g_local_file_trash):
3680 Convert filenames to UTF-8 for GError.
3681 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3682 as per xdg base dir spec.
3684 2007-11-21 Christian Persch <chpe@gnome.org>
3686 * gio/gdesktopappinfo.c:
3687 Use that g_key_file_to_data cannot fail.
3689 Use stock defines for the key file group and key names.
3692 2007-11-21 Alexander Larsson <alexl@redhat.com>
3695 (copy_stream_with_progress):
3696 Make sure we do a final progress callback with
3697 the full total size.
3699 2007-11-21 Alexander Larsson <alexl@redhat.com>
3702 Export g_file_copy_attributes
3703 Remove padding as its not needed for interfaces
3705 2007-11-20 Alexander Larsson <alexl@redhat.com>
3710 Add G_IO_ERROR_WOULD_MERGE for
3711 copy/move dir on dir with overwrite.
3713 2007-11-20 Alexander Larsson <alexl@redhat.com>
3716 * gio/glocalfileinfo.c:
3717 Add COPY_NAME (this is an optional
3718 non-modified utf8 version of the name) that
3721 2007-11-20 Alexander Larsson <alexl@redhat.com>
3723 * gio/glocalfileenumerator.c:
3724 Report errors as GIOError, not GFileError
3726 2007-11-16 Alexander Larsson <alexl@redhat.com>
3728 * gio/glocalfileoutputstream.c:
3729 * gio/gwin32appinfo.c:
3730 Fix typos in strings.
3731 Patch from Luca Ferretti <elle.uca@libero.it>
3733 2007-11-15 Alexander Larsson <alexl@redhat.com>
3736 Post release version bump
3738 === gio-standalone 0.1.2 ===
3740 2007-11-15 Alexander Larsson <alexl@redhat.com>
3742 * docs/reference/gio/Makefile.am:
3743 Fix up distcheck by removing weird
3749 2007-11-14 Alexander Larsson <alexl@redhat.com>
3751 * gio/gdesktopappinfo.c:
3752 * gio/glocaldirectorymonitor.c:
3754 * gio/glocalfileinfo.c:
3755 * gio/inotify/inotify-sub.c:
3756 * programs/gio-cat.c:
3757 * programs/gio-copy.c:
3758 * programs/gio-info.c:
3759 * programs/gio-ls.c:
3760 * programs/gio-monitor-dir.c:
3761 * programs/gio-monitor-file.c:
3762 * programs/gio-mount.c:
3763 * programs/gio-move.c:
3764 * programs/gio-rm.c:
3765 * programs/gio-save.c:
3766 * programs/gio-trash.c:
3767 Leak fixes from Kjartan Maraas
3769 2007-11-14 Alexander Larsson <alexl@redhat.com>
3771 * gio/fam/fam-helper.c:
3773 * gio/glocalfileinfo.c:
3777 * gio/inotify/inotify-diag.c:
3778 * gio/inotify/inotify-kernel.c:
3779 Various code cleanups from Kjartan Maraas
3781 2007-11-14 Alexander Larsson <alexl@redhat.com>
3783 * gio/gioscheduler.c:
3785 Set up threadpool so that we cache 2 unused
3786 idle threads for at 15 secs. This means we
3787 will reuse thread-local data (like dbus connections)
3790 2007-11-14 Alexander Larsson <alexl@redhat.com>
3792 * gio/fam/fam-helper.c:
3793 * gio/fam/gfamdirectorymonitor.c:
3794 * gio/fam/gfamfilemonitor.c:
3796 * gio/gcontenttype.c:
3797 * gio/gdatainputstream.c:
3798 * gio/gdataoutputstream.c:
3802 * gio/gfileattribute.h:
3803 * gio/gfileenumerator.c:
3805 * gio/ginputstream.c:
3808 * gio/glocalfileinfo.c:
3809 * gio/goutputstream.c:
3810 * gio/gpollfilemonitor.c:
3811 * gio/gsimpleasyncresult.c:
3812 * gio/gunixmounts.c:
3813 * gio/gunixmounts.h:
3814 * gio/inotify/ginotifydirectorymonitor.c:
3815 * gio/inotify/ginotifyfilemonitor.c:
3816 * gio/inotify/inotify-diag.c:
3817 * gio/inotify/inotify-kernel.c:
3818 * gio/inotify/inotify-path.c:
3820 * gio/test-streams.c:
3821 * programs/gio-info.c:
3822 * programs/gio-monitor-dir.c:
3823 * programs/gio-monitor-file.c:
3824 Various code cleanups from Kjartan Maraas
3826 2007-11-13 Alexander Larsson <alexl@redhat.com>
3829 Handle the uri-scheme calls for dummy files
3831 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3833 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3834 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3835 to avoid clash with the C++ keyword.
3837 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3839 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3840 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3842 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3844 * gio/glocaldirectorymonitor.c:
3845 * gio/glocalfilemonitor.c:
3846 * gio/gunionvolumemonitor.c:
3847 Don't use g_once_init_*() for initializations that could fail and
3848 could leave the initialization variable set to 0 but use GOnce.
3849 This prevents a deadlock on the second call when trying to create
3850 a monitor and no monitor type is available. Thanks to Sven Herzberg
3853 2007-11-11 Sven Herzberg <sven@imendio.com>
3855 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3856 #ifdef (make it work on MacOS X again)
3858 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3860 Fixes Changelog for last two commits (sorry guys).
3862 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3864 * gio/gbufferedinputstream.c:
3865 * gio/gdatainputstream.c:
3867 * gio/gfileoutputstream.c:
3868 * gio/gfilterinputstream.c:
3869 * gio/glocalfileinputstream.c:
3872 More consistency fixes in g*stream.c files.
3873 Significant clean of gfile's documentation, filling in of
3874 asynchronous operations documentation.
3876 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3878 * gio/gasyncresult.c:
3879 * gio/gbufferedinputstream.c:
3880 * gio/gbufferedoutputstream.c:
3881 * gio/gcancellable.c:
3882 * gio/gcontenttype.c:
3883 * gio/gdatainputstream.c:
3884 * gio/gdataoutputstream.c:
3885 * gio/gdesktopappinfo.c:
3888 * gio/gfileattribute.c:
3889 * gio/gio/gfileenumerator.c:
3891 * gio/gfileinputstream.c:
3892 * gio/gfilemonitor.c:
3893 * gio/gfileoutputstream.c:
3894 * gio/ginputstream.c:
3896 * gio/gioscheduler.c:
3897 * gio/gloadableicon.c:
3898 * gio/glocalfileoutputstream.c:
3899 * gio/gmemoryoutputstream.c:
3900 * gio/gmountoperation.c:
3901 * gio/goutputstream.c:
3903 * gio/gsimpleasyncresult.c:
3904 * gio/gunionvolumemonitor.c:
3905 * gio/gunixmounts.c:
3906 * gio/gunixvolume.c:
3910 * gio/gvolumemonitor.c:
3911 Updated documentation stubs, working towards consistency and
3914 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3916 * gio/gmemoryoutputstream.c:
3917 * gio/gmemoryoutputstream.h:
3918 Change g_memory_output_stream_set_free_on_close() to
3919 g_memory_output_stream_set_free_data() as this makes more sense and
3920 is more consistent with GMemoryInputStream.
3922 2007-11-07 Alexander Larsson <alexl@redhat.com>
3929 Change how we find the default vfs so that
3930 we can handle a gvfs failing to init
3932 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3934 * gio/gbufferedoutputstream.c:
3935 * gio/gdatainputstream.c:
3936 * gio/gdataoutputstream.c:
3937 * gio/gfileinputstream.c:
3938 * gio/gfileoutputstream.c:
3939 * gio/gfilterinputstream.c:
3940 * gio/gfilteroutputstream.c:
3941 * gio/ginputstream.c:
3942 * gio/gmemoryinputstream.c:
3943 * gio/gmemoryoutputstream.c:
3944 * gio/goutputstream.c:
3945 * gio/gsimpleasyncresult.c:
3946 * gio/gsocketinputstream.c:
3947 * gio/gsocketoutputstream.c:
3948 Add guards to the remaining public functions, add a TODO for
3949 an unimplemented function and remove some useless guards.
3951 2007-11-07 Alexander Larsson <alexl@redhat.com>
3954 Autoconf checks for the various types of
3955 getpwuid_r and getgrgid_r
3957 * gio/glocalfileinfo.c:
3958 Use the autoconf checks from above
3960 2007-11-07 Alexander Larsson <alexl@redhat.com>
3963 (g_local_file_query_filesystem_info):
3964 Some fixes for the statvfs case
3966 2007-11-07 Alexander Larsson <alexl@redhat.com>
3969 (g_local_file_query_filesystem_info):
3970 Pick the "best" of statfs / statvfs for the system
3971 if both are availible.
3973 2007-11-07 Alexander Larsson <alexl@redhat.com>
3975 Solaris fixes from Halton.Huo@Sun.COM:
3982 * gio/glocalfileinfo.c:
3983 Fix for solaris definition of getpwuid_r
3985 * gio/test-streams.c:
3986 Use G_GNUC_PRETTY_FUNCTION
3988 2007-11-07 Alexander Larsson <alexl@redhat.com>
3990 * gio/gdesktopappinfo.c:
3991 (update_default_list):
3992 Remove double semicolon.
3993 Patch from Jens Granseuer
3995 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3997 * docs/reference/gio/gio-sections.txt:
3998 * gio/gbufferedinputstream.c:
3999 * gio/gbufferedinputstream.h:
4000 * gio/gdatainputstream.c:
4001 * gio/gfileenumerator.c:
4002 * gio/gioscheduler.c:
4003 * gio/gunionvolumemonitor.c:
4005 * programs/gio-save.c:
4006 Fix typo: availible -> available. Unfortuntely this breaks API
4007 and ABI as g_buffered_input_stream_get_available() was renamed.
4009 * gio/gunixmounts.c:
4010 * gio/gbufferedinputstream.c:
4011 Add guards for public functions.
4013 2007-11-06 Ross Burton <ross@openedhand.com>
4015 * docs/reference/gio/Makefile.am:
4016 Fix invalid += usage which automake 1.10 doesn't like.
4018 2007-11-06 Alexander Larsson <alexl@redhat.com>
4021 (g_app_launch_context_class_init):
4024 Patch from Ross Burton
4026 2007-11-06 Alexander Larsson <alexl@redhat.com>
4029 Post release version bump
4031 === gio-standalone 0.1.1 ===
4033 2007-11-06 Alexander Larsson <alexl@redhat.com>
4036 Bump version to 0.1.1
4038 * gio/gsimpleasyncresult.c:
4039 (g_simple_async_result_set_from_error):
4040 Remove bogus g_return_if_fail
4042 2007-11-06 Alexander Larsson <alexl@redhat.com>
4045 The name is gio-standalone
4048 Add top src/builddir to includedir
4050 2007-11-06 Alexander Larsson <alexl@redhat.com>
4052 * docs/reference/gio/gio-sections.txt:
4054 * gio/gbufferedinputstream.c:
4055 * gio/gbufferedoutputstream.c:
4056 * gio/gcancellable.c:
4057 * gio/gdatainputstream.h:
4058 * gio/gdataoutputstream.c:
4059 * gio/gdataoutputstream.h:
4060 * gio/gdirectorymonitor.c:
4062 * gio/gfileattribute.c:
4063 * gio/gfileattribute.h:
4064 * gio/gfileenumerator.c:
4065 * gio/gfileenumerator.h:
4068 * gio/gfileinputstream.h:
4069 * gio/gfilemonitor.c:
4070 * gio/gfileoutputstream.h:
4071 * gio/glocalfilemonitor.h:
4072 * gio/glocalfileoutputstream.h:
4073 * gio/gmemoryinputstream.c:
4074 * gio/gmemoryoutputstream.c:
4075 * gio/gmountoperation.c:
4076 * gio/goutputstream.c:
4077 * gio/goutputstream.h:
4079 * gio/gsimpleasyncresult.c:
4080 * gio/gunixmounts.c:
4081 * gio/gunixmounts.h:
4083 * gio/inotify/inotify-helper.c:
4084 Fix gtk-doc warnings
4086 Patch from Ross Burton
4088 2007-11-06 Alexander Larsson <alexl@redhat.com>
4090 * gio/gfilenamecompleter.c:
4091 (g_filename_completer_get_completions):
4094 * gio/gunixvolume.c:
4095 Remove unused function
4097 Patches from Ross Burton
4099 2007-11-06 Alexander Larsson <alexl@redhat.com>
4104 Padding not needed for interfaces
4106 2007-11-06 Alexander Larsson <alexl@redhat.com>
4108 * gio/gfilemonitor.c:
4112 Make giotypes.h an internal file
4115 * gio/gbufferedinputstream.h:
4116 * gio/gbufferedoutputstream.h:
4117 * gio/gcancellable.h:
4118 * gio/gdatainputstream.h:
4119 * gio/gdataoutputstream.h:
4120 * gio/gdirectorymonitor.c:
4121 * gio/gdirectorymonitor.h:
4126 * gio/gfileattribute.h:
4127 * gio/gfileenumerator.h:
4132 * gio/gfilemonitor.c:
4133 * gio/gfilemonitor.h:
4134 * gio/gfilenamecompleter.c:
4135 * gio/gfilenamecompleter.h:
4136 * gio/gfilterinputstream.h:
4137 * gio/gfilteroutputstream.h:
4138 * gio/ginputstream.h:
4139 * gio/gmemoryinputstream.h:
4140 * gio/gmemoryoutputstream.h:
4141 * gio/gmountoperation.c:
4142 * gio/gmountoperation.h:
4143 * gio/gnativevolumemonitor.c:
4144 * gio/goutputstream.h:
4147 * gio/gsimpleasyncresult.c:
4148 * gio/gsimpleasyncresult.h:
4149 * gio/gsocketinputstream.h:
4150 * gio/gsocketoutputstream.h:
4151 * gio/gthemedicon.c:
4152 * gio/gthemedicon.h:
4156 * gio/gvolumemonitor.c:
4157 * gio/gvolumemonitor.h:
4158 Add padding in classes where it seems useful
4159 Don't include giotypes.h from public headers
4160 Move in Class definitions into c file where possible
4165 2007-11-06 Alexander Larsson <alexl@redhat.com>
4167 * docs/reference/gio/gio-docs.xml:
4168 Better structure for API docs
4170 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4173 * gio/gloadableicon.c:
4174 * gio/gsimpleasyncresult.c:
4175 * gio/gthemedicon.c:
4176 Add some more guards to public functions. Only files missing are now
4179 2007-11-06 Alexander Larsson <alexl@redhat.com>
4181 * docs/reference/gio/gio-docs.xml:
4182 Remove old files, add missing ones
4184 2007-11-06 Alexander Larsson <alexl@redhat.com>
4186 * docs/reference/gio/gio-sections.txt:
4189 Hide implementation classes
4191 * gio/gdriveprivate.h:
4192 * gio/gvolumeprivate.h:
4193 Remove non-existing function declarations
4195 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4198 Fix compilation warnings and add guards to the new functions.
4200 * gio/gasyncresult.c:
4202 Add guards to the public functions.
4205 Implement get_path().
4207 2007-11-06 Alexander Larsson <alexl@redhat.com>
4209 * gio/gfilenamecompleter.c:
4210 Make g_filename_completer_get_completions
4211 return char ** instead of GList for
4214 * docs/reference/gio/gio-docs.xml:
4215 * docs/reference/gio/gio-sections.txt:
4217 * gio/gasyncresult.c:
4218 * gio/gbufferedinputstream.c:
4219 * gio/gbufferedoutputstream.c:
4220 * gio/gcancellable.c:
4221 * gio/gcontenttype.c:
4222 * gio/gdatainputstream.c:
4223 * gio/gdataoutputstream.c:
4224 * gio/gdesktopappinfo.c:
4225 * gio/gdirectorymonitor.c:
4229 * gio/gfileattribute.c:
4230 * gio/gfileenumerator.c:
4233 * gio/gfileinputstream.c:
4234 * gio/gfilemonitor.c:
4235 * gio/gfilenamecompleter.c:
4236 * gio/gfilenamecompleter.h:
4237 * gio/gfileoutputstream.c:
4238 * gio/gfilterinputstream.c:
4240 * gio/ginputstream.c:
4242 * gio/gioscheduler.c:
4243 * gio/gloadableicon.c:
4244 * gio/glocaldirectorymonitor.c:
4246 * gio/glocalfileinputstream.c:
4247 * gio/glocalfilemonitor.c:
4248 * gio/glocalfileoutputstream.c:
4250 * gio/gmemoryinputstream.c:
4251 * gio/gmemoryoutputstream.c:
4252 * gio/gmountoperation.c:
4253 * gio/goutputstream.c:
4254 * gio/gpollfilemonitor.c:
4256 * gio/gsimpleasyncresult.c:
4257 * gio/gsocketinputstream.c:
4258 * gio/gsocketoutputstream.c:
4259 * gio/gthemedicon.c:
4260 * gio/gunionvolumemonitor.c:
4262 * gio/gunixmounts.c:
4263 * gio/gunixvolume.c:
4264 * gio/gunixvolumemonitor.c:
4268 * gio/gvolumemonitor.c:
4269 * gio/gwin32appinfo.c:
4270 Add (mostly stub) doc strings to public functions.
4271 Patch from Andrew Walton (awalton@gmail.com)
4273 2007-11-06 Alexander Larsson <alexl@redhat.com>
4275 * gio/gappinfo.[ch]:
4276 Added GAppLaunchContext object and pass that to launch.
4277 This allows simple implementation of both
4278 launch-on-screen and startup notification via a gtk+
4279 subclass of GAppLaunchContext
4281 * gio/gdesktopappinfo.c:
4282 Implement GAppLaunchContext API
4284 * gio/gwin32appinfo.c:
4287 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4289 * gio/gmountoperation.c:
4290 Add some guards to GMountOperation's public functions.
4292 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4296 * gio/gcancellable.c:
4297 * gio/gdirectorymonitor.c:
4299 * gio/gfileenumerator.c:
4300 * gio/gfilemonitor.c:,
4301 * gio/gfilenamecompleter.c:
4304 * gio/gioscheduler.c:
4308 * gio/gvolumemonitor.c:
4309 Add even more guards to various public functions.
4311 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4314 Add guards to the public functions of GAppInfo.
4316 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4318 * gio/gcontenttype.c:
4319 Add some more guards for public functions.
4321 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4323 * gio/fam/fam-module.c:
4324 * gio/fam/gfamdirectorymonitor.c:
4325 * gio/fam/gfamdirectorymonitor.h:
4326 * gio/fam/gfamfilemonitor.c:
4327 * gio/fam/gfamfilemonitor.h:
4328 * gio/inotify/ginotifydirectorymonitor.c:
4329 * gio/inotify/ginotifydirectorymonitor.h:
4330 * gio/inotify/ginotifyfilemonitor.c:
4331 * gio/inotify/ginotifyfilemonitor.h:
4332 Add proper copyright information and remove an unused variable
4333 in the GInotifyFileMonitor constructor.
4335 * gio/gcancellable.c:
4336 Add a guard for a public function and an assertion to prevent
4337 an undefined program state.
4339 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4341 * gio/gfileattribute.c:
4342 Don't run into an assertion if the given attribute value is NULL
4343 in g_file_attribute_value_get_*() but instead return a fallback
4344 value that makes sense in most situations. Passing them a attribute
4345 value with the wrong type will still run into an assertion.
4347 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4349 * gio/gfileattribute.c:
4351 Add even more guards to the public functions. Also fix the refcounting
4352 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4353 let g_file_info_list_attributes() filter the attributes by namespace
4354 instead of simply ignoring the namespace parameter.
4356 2007-11-03 Sven Herzberg <sven@imendio.com>
4358 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4359 (This makes gio work on MacOS X again)
4361 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4364 Build the gio subdirectory before the docs. Otherwise the build will
4367 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4368 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4369 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4370 Add guards to the public functions.
4372 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4374 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4375 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4376 to prevent a compiler warning.
4378 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4379 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4380 return something in the non-void function find_topdir_for().
4382 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4389 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4391 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4392 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4393 * gwin32appinfo.c (g_win32_app_info_launch):
4394 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4395 envp_for_startup_id, g_desktop_app_info_launch,
4396 g_desktop_app_info_launch_uris):
4398 Give an opaque 'startup_id' string instead of 'envp'.
4399 Support empty file lists for launching new windows.
4400 Fix infinite recursion bug when launching URIs.
4402 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4405 Add guard to the new g_file_get_uri_scheme() function.
4407 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4410 Convert a g_return_val_if_fail() to setting the GError instead as
4411 otherwise applications have to verify the parameter before otherwise
4412 and the parameter might come directly from the user.
4414 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4416 * gio/inotify/ginotify*.[ch]:
4417 Add missing copyright information.
4419 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4422 Add guards in the beginning of public functions to check for valid
4423 parameters and fix a bug in copy_stream_with_progress() that could've
4424 caused writing less bytes than reading.
4425 * gio/glocalfileinfo.c:
4426 Check for a NULL parameter and set the GError accordingly then.
4427 * gio/goutputstream.c:
4428 Fix the same bug as in gfile.c that could've caused writing less bytes
4429 than reading in g_output_stream_real_splice().
4431 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4434 Use the correct gvolumeprivate.h naming
4436 2007-11-01 Christian Kellner <gicmo@gnome.org>
4439 Remove leftover "$(daemon_sources)" entry.
4441 2007-11-01 Christian Kellner <gicmo@gnome.org>
4446 Add copyright information to source files.
4448 2007-11-01 Alexander Larsson <alexl@redhat.com>
4452 Add g_file_get_uri_scheme
4454 2007-11-01 Alexander Larsson <alexl@redhat.com>
4457 * gio/gdesktopappinfo.c:
4458 * gio/gwin32appinfo.c:
4459 Add g_app_info_get_default_for_uri_scheme.
4461 2007-11-01 Alexander Larsson <alexl@redhat.com>
4464 Correct filename for gdriveprivate.h
4466 2007-10-31 Alexander Larsson <alexl@redhat.com>
4469 Rename id:value to id:file
4472 * gio/glocalfileinfo.c:
4475 2007-10-31 Alexander Larsson <alexl@redhat.com>
4477 * gio/gunixvolume.c:
4479 Remove g_volume_get_platform_id, as thats not
4480 needed with the simpler union volume monitor
4482 2007-10-31 Alexander Larsson <alexl@redhat.com>
4485 * gio/guniondrive.[ch]: Removed.
4486 * gio/gunionvolume.[ch]: Removed.
4487 Remove GUnionDrive/Volume
4489 * gio/gunionvolumemonitor.c:
4490 Simplify union volume monitor, now we
4491 only have one native volume monitor and
4492 we use the actual volumes/drives from the
4493 child monitors instead of wrapping them
4495 * gio/gnativevolumemonitor.[ch]:
4496 Base class for native volume monitors.
4497 Includes priority and get_volume_for_mountpoint
4500 Add g_file_find_enclosing_volume
4503 Remove volume name fs attribute
4504 Add readonly fs attribute
4507 Implement readonly attribute
4508 remove volume name attribute
4509 Implement find_enclosing volume
4511 * gio/gunixmounts.c:
4512 Add a volume for "/".
4514 * gio/gunixvolume.[ch]:
4515 Set better name for /
4517 * gio/gunixvolumemonitor.[ch]:
4518 Derive from GNativeVolumeMonitor
4519 Implement get_volume_for_mountpoint
4522 GVolume typedef moved to gfile.h
4524 * gio/gvolumeprivate.h:
4525 Add g_volume_get_for_mount_path
4527 2007-10-31 Alexander Larsson <alexl@redhat.com>
4529 * gio/gunixmounts.[ch]:
4530 Add cache info to unix mount listers
4531 Make getmntent use threadsafe
4532 Add is_system_internal attribute for GUnixMount
4534 * gio/gunixvolume.c:
4535 (g_unix_volume_new):
4536 Use is_system_internal instead of own code
4538 * gio/glocaldirectorymonitor.c:
4539 * gio/gunixvolumemonitor.c:
4540 Update to new gunixmounts API
4545 2007-10-30 Alexander Larsson <alexl@redhat.com>
4548 Add volume name fsinfo attribute
4551 Read volume name info
4553 * gio/gunionvolumemonitor.c:
4554 Fix infinite loops when finalizing a union volume monitor
4556 2007-10-30 Alexander Larsson <alexl@redhat.com>
4558 * gio/goutputstream.[ch]:
4559 Add splice() with default implementation
4561 * gio/gsocketoutputstream.c:
4562 (g_socket_output_stream_write):
4563 Return error on cancellation correctly.
4565 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4567 * gio/glocalfile.c (g_local_file_trash):
4568 Do not leak a string.
4570 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4572 * gio/gfile.c (g_file_load_contents):
4573 Unref the stream after closing it.
4575 2007-10-25 Alexander Larsson <alexl@redhat.com>
4577 * gio/gioscheduler.h:
4580 2007-10-25 Alexander Larsson <alexl@redhat.com>
4584 Add g_file_has_uri_scheme and implement for local files
4586 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4588 * gio/gdesktopappinfo.c: do not leak a string.
4590 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4592 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4593 (g_local_directory_monitor_new):
4594 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4595 (g_local_file_monitor_new):
4596 Only look for the monitor type that should be used the first time
4597 and use g_qsort_with_data() instead of our own bubble sort
4600 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4603 * gio/fam/Makefile.am:
4604 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4605 * gio/fam/fam-helper.h:
4606 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4607 * gio/fam/gfamdirectorymonitor.c:
4608 * gio/fam/gfamdirectorymonitor.h:
4609 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4610 * gio/fam/gfamfilemonitor.h:
4611 * gio/glocaldirectorymonitor.c:
4612 * gio/glocaldirectorymonitor.h:
4613 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4614 * gio/glocalfilemonitor.h:
4615 * gio/inotify/Makefile.am:
4616 * gio/inotify/ginotifydirectorymonitor.c:
4617 * gio/inotify/ginotifydirectorymonitor.h:
4618 * gio/inotify/ginotifyfilemonitor.c:
4619 * gio/inotify/ginotifyfilemonitor.h:
4620 Implement the FAM and Inotify monitors as
4621 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4622 their own GIO module. GLocal(Directory|File)Monitor will use the
4623 monitor with the highest rank that is supported on that machine.
4625 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4628 Change GIO module dir to $(libdir)/gio/modules and change
4629 the log domain from GVFS to GIO. Also only export symbols starting
4630 with g_ in the resulting library.
4631 * gio/test-streams.c: (main):
4632 Set log handler for the GIO log domain.
4634 2007-10-22 Alexander Larsson <alexl@redhat.com>
4636 * gio/gfilenamecompleter.[ch]:
4637 Add g_filename_completer_set_dirs_only
4639 2007-10-22 Alexander Larsson <alexl@redhat.com>
4642 * gio/gurifuncs.[ch]:
4643 Add some simple URI helpers
4645 * gio/gfilenamecompleter.[ch]:
4646 Added object for filename (parse name actually) completion
4649 Handle ~ in parse names
4651 2007-10-17 Alexander Larsson <alexl@redhat.com>
4654 * gio/glocalfileinfo.c:
4655 Add and implement id:value attribute
4657 2007-10-17 Alexander Larsson <alexl@redhat.com>
4660 * gio/guniondrive.c:
4662 Add and implement g_drive_has_volumes
4664 2007-10-17 Alexander Larsson <alexl@redhat.com>
4667 * gio/glocalfileinfo.[ch]:
4668 Add unix:is_mountpoint and implement for local files
4670 2007-10-16 Alexander Larsson <alexl@redhat.com>
4672 * gio/gunionvolumemonitor.c:
4673 (g_union_volume_monitor_init):
4674 Fix up the unix type getting so that it works with gcc
4676 2007-10-12 Alexander Larsson <alexl@redhat.com>
4679 * gio/glocalfileinfo.c:
4680 Add thumbnail:failed to file info
4682 2007-10-12 Richard Hult <richard@imendio.com>
4684 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4685 optimizing away the get_type call (happens with some gcc versions,
4686 like the one shipped with OS X 10.4).
4688 2007-10-12 Alexander Larsson <alexl@redhat.com>
4690 * gio/glocalfileinfo.c:
4691 (_g_local_file_info_set_attribute):
4692 Fix build if not HAVE_XATTR
4693 Patch from Milosz Derezynski <internalerror@gmail.com>
4695 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4697 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4698 around for review, otherwise I would have asked you before
4701 2007-10-11 Alexander Larsson <alexl@redhat.com>
4704 Add thumbnail:path attribute
4706 * gio/glocalfileinfo.c:
4707 Implement thumbnail:path for local files
4709 2007-10-11 Alexander Larsson <alexl@redhat.com>
4711 * gio/glocalfileinfo.c:
4712 (_g_local_file_info_get):
4713 Avoid duplicate icon names
4715 2007-10-11 Alexander Larsson <alexl@redhat.com>
4717 * gio/gthemedicon.[ch]:
4718 Change g_themed_icon_get_names return type to const
4720 2007-10-10 Alexander Larsson <alexl@redhat.com>
4722 * gio/glocalfileinfo.c:
4723 Don't reference freed memory
4725 2007-10-10 Alexander Larsson <alexl@redhat.com>
4727 * gio/gfileattribute.c:
4730 * gio/glocalfileinfo.c:
4733 2007-10-10 Alexander Larsson <alexl@redhat.com>
4736 Check for NULL icons
4738 * gio/gfileattribute.c:
4739 Don't dup when getting objects (same as for string attributes)
4741 * gio/gicon.c (g_icon_equal):
4742 Safely handle NULLs in equal
4744 2007-10-10 Alexander Larsson <alexl@redhat.com>
4747 Fix c++ compilation issues
4748 Patch from Milosz Derezynski <internalerror@gmail.com>
4750 2007-10-10 Alexander Larsson <alexl@redhat.com>
4752 * programs/gio-monitor-dir.c:
4753 Don't crash if dir monitor not supported.
4755 2007-10-09 Alexander Larsson <alexl@redhat.com>
4758 Add missing G_END_DECLS
4760 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4762 * gio/gfile.c: (g_file_set_display_name),
4763 (g_file_query_settable_attributes),
4764 (g_file_query_writable_namespaces):
4765 Return NULL not FALSE on errors as the return type is a pointer.
4767 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4769 * gio/glocalfile.c: (g_local_file_monitor_file):
4770 Don't call monitor_file on the default interface vtable (which
4771 is NULL) but simply return NULL. The caller, GFile, will create a
4772 polling monitor if NULL is returned.
4774 2007-10-09 Alexander Larsson <alexl@redhat.com>
4778 * gio-unix-2.0.pc.in:
4779 Add gio-unix-2.0.pc if OS_UNIX
4782 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4784 2007-10-09 Alexander Larsson <alexl@redhat.com>
4786 * gio/gunixmounts.[ch]:
4787 Make unix mount monitoring API sane.
4788 Now its just a object with mounts_changed
4789 and mountpoints_changed signals.
4791 * gio/glocaldirectorymonitor.c:
4792 * gio/gunixvolumemonitor.c:
4793 Use new mount monitor api
4795 2007-10-09 Alexander Larsson <alexl@redhat.com>
4797 * gio/gunixmounts.[ch]:
4798 Move guess type into one call for mounts and one for mountpoints
4801 * gio/gunixvolume.c:
4804 2007-10-09 Alexander Larsson <alexl@redhat.com>
4806 * gio/gunixmounts.[ch]:
4807 Remove _ prefix in preparation to make this semi-public
4808 Hide implementation of structs
4810 * gio/glocaldirectorymonitor.c:
4812 * gio/gunixvolume.c:
4813 * gio/gunixvolumemonitor.c:
4814 Update for above API changes
4816 2007-10-08 Alexander Larsson <alexl@redhat.com>
4819 Better polling fallback. This also handles the case where we have
4820 a monitor_file implementation, but it fails.
4822 2007-10-08 Alexander Larsson <alexl@redhat.com>
4826 * gio/gunixmounts.c:
4827 * programs/gio-monitor-dir.c:
4828 * programs/gio-monitor-file.c:
4829 Added cancellable to file monitoring calls.
4830 These are really sync calls and need this.
4832 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4834 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4835 (g_local_vfs_class_init):
4836 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4837 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4839 2007-10-05 Alexander Larsson <alexl@redhat.com>
4841 * gio/gdirectorymonitorprivate.h:
4842 * gio/gfilemonitorprivate.h:
4843 * gio/gdirectorymonitor.h:
4844 * gio/gfilemonitor.h:
4845 Remove *private.h and move to the public API, so that
4846 we can do implementations outside gio (such as in gvfs)
4848 * gio/gdirectorymonitor.c:
4849 * gio/gfilemonitor.c:
4850 * gio/glocaldirectorymonitor.c:
4851 * gio/gpollfilemonitor.c:
4852 * gio/inotify/inotify-helper.c:
4853 * gio/fam/fam-helper.c:
4854 Update to the new header names
4856 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4858 * gio/gdirectorymonitor.c:
4859 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4862 2007-10-04 Alexander Larsson <alexl@redhat.com>
4864 * gio/glocalfileinfo.c (get_access_rights):
4865 Set CAN_TRASH when we can move the file.
4866 We should really also check for a parent trash dir.
4868 2007-10-04 Alexander Larsson <alexl@redhat.com>
4870 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4871 Add can_trash access attribute
4873 2007-10-04 Alexander Larsson <alexl@redhat.com>
4876 (g_local_file_trash):
4877 Create info file first. This is per-spec and allows
4878 us to actually trash directories.
4880 2007-10-02 Alexander Larsson <alexl@redhat.com>
4882 * gio/gdesktopappinfo.c:
4883 Implement the new mime support code.
4884 Always set app as handling mimetype when being set as default for it
4886 2007-10-01 Alexander Larsson <alexl@redhat.com>
4888 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4889 Fix up check for xattrs:
4891 2007-10-01 Alexander Larsson <alexl@redhat.com>
4894 (g_app_info_set_as_default_for_extension):
4895 (g_app_info_add_supports_type):
4896 (g_app_info_can_remove_supports_type):
4897 (g_app_info_remove_supports_type):
4898 Make these fail nicely if not implemented
4900 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4902 * gio/glocalfileoutputstream.c:
4903 * gio/glocalfileoutputstream.h:
4908 * programs/gio-save.c:
4909 Add a GFileCreateFlags argument to operations that can create
4912 2007-10-01 Alexander Larsson <alexl@redhat.com>
4914 * gio/gappinfo.[ch]:
4915 * gio/gdesktopappinfo.c:
4916 Add more (stubbed out) mime API needed for nautilus
4918 2007-10-01 Alexander Larsson <alexl@redhat.com>
4921 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4922 Add g_app_info_set_as_default_for_extension.
4924 * gio/gdesktopappinfo.c:
4925 Dummy for g_app_info_set_as_default_for_extension
4926 Support flags in g_app_info_create_from_commandline
4928 * gio/gwin32appinfo.c:
4930 Update for API changes
4932 * gio/gthemedicon.c:
4933 Properly NULL-terminate list of icon names
4935 2007-09-28 Alexander Larsson <alexl@redhat.com>
4937 * gio/gloadableicon.h:
4938 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4940 2007-09-28 Alexander Larsson <alexl@redhat.com>
4943 Install headers in $includedir/gio-standalone/
4945 * gio-2.0.pc.in: Added.
4946 * gio-standalone.pc.in: Removed.
4949 Renamed pkg-config file to match glib (for future move)
4950 Update to the new include dir
4953 Add more TODO comments
4955 2007-09-28 Alexander Larsson <alexl@redhat.com>
4957 * gio/gdesktopappinfo.[ch]:
4958 Expose new_from_filename
4959 Add getter for is_hidden and handle it better
4961 2007-09-28 Alexander Larsson <alexl@redhat.com>
4963 * gio/gfileinfo.[ch]:
4964 Rename g_file_size_format_for_display to
4965 g_format_file_size_for_display.
4966 Now it doesn't have the g_file prefix, so we
4967 can later move it to glib.
4969 2007-09-28 Alexander Larsson <alexl@redhat.com>
4971 * gio/gappinfo.[ch]:
4972 Add g_app_info_get_id and g_app_info_get_executable.
4973 Make all getters non-reffing
4974 Make g_app_info_launch take GFile arguments.
4975 Add must_support_uris argument to g_app_info_get_default_for_type.
4977 * gio/gwin32appinfo.c:
4978 Update to GAppInfo api changes
4980 * gio/gdesktopappinfo.c:
4981 Update to GAppInfo api changes
4982 Implement supports_xdg_startup_notify
4984 * gio/gfileicon.c (g_file_icon_get_file):
4985 Make getter non-reffing.
4990 2007-09-27 Alexander Larsson <alexl@redhat.com>
4992 * gio/gfileinfo.[ch]:
4993 Add g_file_size_format_for_display helper
4995 2007-09-27 Alexander Larsson <alexl@redhat.com>
4997 * gio/glocalfileinfo.c:
4998 Set UNIX_GID from gid, not from uid
5000 2007-09-27 Alexander Larsson <alexl@redhat.com>
5003 Add g_file_set_attributes_async
5005 2007-09-27 Alexander Larsson <alexl@redhat.com>
5007 * gio/glocalfile.c (g_local_file_set_display_name):
5008 Fix set_display_name to actually rename to the right place.
5009 Use lstat to look for existing files so we don't overwrite
5012 2007-09-26 Alexander Larsson <alexl@redhat.com>
5015 Add g_file_set_display_name_async()
5017 2007-09-26 Alexander Larsson <alexl@redhat.com>
5020 Add load_partial_contents async calls
5023 Make internal function static
5025 2007-09-26 Alexander Larsson <alexl@redhat.com>
5027 * gio/glocalfileinfo.c:
5028 Correctly detect broken symlinks
5030 2007-09-26 Alexander Larsson <alexl@redhat.com>
5032 * gio/gcancellable.c (g_cancellable_cancel):
5033 Allow cancel on NULL cancellable
5035 2007-09-25 Alexander Larsson <alexl@redhat.com>
5037 * gio/gsimpleasyncresult.c:
5038 Don't allocate g_error manually.
5039 Fixes g_slice/g_new mixup crash
5041 2007-09-25 Alexander Larsson <alexl@redhat.com>
5043 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5044 Actually set active_backend.
5045 This means the monitor will be cancelled correctly.
5047 2007-09-25 Alexander Larsson <alexl@redhat.com>
5049 * gio/gdirectorymonitor.c:
5050 Set timeout to NULL when destroying
5052 2007-09-25 Alexander Larsson <alexl@redhat.com>
5055 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5056 that is a better description of the error.
5058 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5060 * gio/gvfs.c: (g_vfs_get_local):
5061 Make the local vfs variable static. The same instance should
5064 2007-09-24 Alexander Larsson <alexl@redhat.com>
5066 * gio/glocalfileinfo.c:
5067 Pass in actual length read into sniffer, not the length
5070 2007-09-21 Alexander Larsson <alexl@redhat.com>
5072 * gio/gfileenumerator.c:
5075 * gio/gfileinputstream.c:
5076 * gio/gfileoutputstream.c:
5077 * gio/ginputstream.c:
5078 * gio/goutputstream.c:
5079 Don't crash if async callbacks are NULL
5081 2007-09-20 Alexander Larsson <alexl@redhat.com>
5084 Add async enumerate_children method and default
5087 2007-09-20 Alexander Larsson <alexl@redhat.com>
5090 Add g_file_contains_file & g_file_get_relative_path, since they
5091 were needed for nautilus.
5092 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5097 Implement new methods
5099 2007-09-17 Alexander Larsson <alexl@redhat.com>
5102 * gio/gfileinputstream.[ch]:
5103 * gio/gfileoutputstream.[ch]:
5105 * gio/glocalfileenumerator.[ch]:
5106 * gio/glocalfileinfo.[ch]:
5107 * gio/glocalfileinputstream.c:
5108 * gio/glocalfileoutputstream.c:
5109 * gio/gpollfilemonitor.c:
5110 * programs/gio-copy.c:
5111 * programs/gio-info.c:
5112 * programs/gio-move.c:
5113 Rename get_file_info to query_info() to make it clearer
5114 that these are not simple getters, but do i/o.
5116 2007-09-17 Alexander Larsson <alexl@redhat.com>
5118 * gio/gdatainputstream.[ch]:
5119 * gio/test-streams.c:
5120 Use _read_XXX instead of _get_XXX for the i/o calls
5123 2007-09-17 Alexander Larsson <alexl@redhat.com>
5126 Added needed stuff to TODO comment
5128 2007-09-17 Alexander Larsson <alexl@redhat.com>
5130 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5131 Don't error out removing the backup copy if it doesn't
5134 2007-09-14 Alexander Larsson <alexl@redhat.com>
5136 * programs/Makefile.am:
5137 * programs/gvfs-*.c:
5139 Renamed apps from gvfs-xxx to gio-xxx.
5141 2007-09-14 Alexander Larsson <alexl@redhat.com>
5144 * gio/gfileoutputstream.[ch]:
5145 * gio/glocalfileoutputstream.c:
5146 * programs/gvfs-save.c:
5147 g_file_output_stream_get_etag doesn't do i/o, so remove
5148 cancellation and error.
5150 2007-09-14 Alexander Larsson <alexl@redhat.com>
5153 Add new_etag output to replace_contents functions
5155 2007-09-14 Alexander Larsson <alexl@redhat.com>
5157 * gio/gfileoutputstream.[ch]:
5158 Add async get_file_info and default implementation
5160 2007-09-14 Alexander Larsson <alexl@redhat.com>
5162 * gio/gfileinputstream.c:
5163 Implement fallback wrapper for async get_file_info
5165 2007-09-14 Alexander Larsson <alexl@redhat.com>
5168 Add etag out argument to load_contents
5173 2007-09-14 Alexander Larsson <alexl@redhat.com>
5175 * gio/gcontenttype.c (looks_like_text):
5176 Whitespace like tab, cr and lf do not make the
5179 2007-09-14 Alexander Larsson <alexl@redhat.com>
5181 * gio/gfileinputstream.[ch]:
5182 Add async get_file_info.
5184 2007-09-13 Alexander Larsson <alexl@redhat.com>
5186 * gio/goutputstream.c (g_output_stream_write_all):
5187 Allow NULL for bytes_written
5189 2007-09-13 Alexander Larsson <alexl@redhat.com>
5191 * gio/gmemoryinputstream.[ch]:
5192 Add accessors for data
5194 2007-09-13 Alexander Larsson <alexl@redhat.com>
5196 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5197 Don't crash if length is NULL