1 2008-10-10 Matthias Clasen <mclasen@redhat.com>
3 Bug 555711 – Wrong fallback order of mimetype icons
5 * gcontenttype.c: Don't prefer generic icons over
6 default mimetype icons.
8 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
9 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
11 Patch by Krysztof Kosiński
13 2008-10-10 Matthias Clasen <mclasen@redhat.com>
15 Bug 555121 – Improved build-time handling of gio module-dir
17 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
18 * Makefile.am: Create the module dir.
20 2008-10-10 Matthias Clasen <mclasen@redhat.com>
22 * gio/glocalfileinfo.c:
23 * gio/tests/live-g-file.c:
24 * gio/gsimpleasyncresult.c: Fix gcc warnings.
26 2008-10-09 Alexander Larsson <alexl@redhat.com>
28 * gunixinputstream.c (g_unix_input_stream_read):
29 Actually return -1 in case of cancelled, not old res value.
31 2008-10-06 Colin Walters <walters@verbum.org>
33 Bug 554745 - GFileAttributeInfoList should be boxed
35 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
36 for convenience of bindings.
37 * gio/gfileattribute.h: Prototype it.
39 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
41 Bug 554970 – segfault when update-desktop-database is not available
44 * gdesktopappinfo.c (run_update_command): Have the error set before
47 2008-10-01 David Zeuthen <davidz@redhat.com>
49 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
50 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
51 instead of the gio URI (such as sftp://foo/file.avi) when using
52 g_app_info_launch() and friends. With a sufficiently recent gvfs,
53 apps using gio+gvfs will map the FUSE file:// URI back to the gio
54 URI (and thus bypass the fuse daemon) thanks the patch from bug
55 #530654. Since Nautilus is an user of g_app_info_launch() it
56 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
57 when launced via the file manager. Win. Fixes bug #528670.
59 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
60 mapping to the description of GAppInfo.
62 2008-09-30 Tor Lillqvist <tml@novell.com>
64 * tests/Makefile.am: Build desktop-app-info only on Unix.
66 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
67 g_critical(). Pass a large enough result buffer to
68 GetVolumePathNameW(). Just use MAX_PATH.
70 2008-09-29 David Zeuthen <davidz@redhat.com>
72 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
74 2008-09-26 Dan Winship <danw@gnome.org>
76 * tests/data-input-stream.c:
77 * tests/data-output-stream.c:
78 * tests/live-g-file.c:
79 * tests/memory-input-stream.c:
80 * tests/memory-output-stream.c: Use g_assert_error() and
83 2008-09-26 Matthias Clasen <mclasen@redhat.com>
85 Bug 545350 – GAppInfo deletion
86 Bug 545351 – Reset associations for content type
89 * gappinfo.[hc]: New functions g_app_info_can_delete,
90 g_app_info_delete and g_app_info_reset_type_associations.
93 * gwin32appinfo.c: Implementations of these.
96 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
98 2008-09-26 Dan Winship <danw@gnome.org>
100 Bug 505361 – gunixinputstream.c assumes poll() available
101 Bug 509446 – portable blocking gio cancellation
103 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
104 GPollFD for a cancellable (which is slightly more complicated on
107 * gunixinputstream.c (g_unix_input_stream_read):
108 * gunixoutputstream.c (g_unix_output_stream_write): Use
109 g_cancellable_make_pollfd() and g_poll() rather than using poll()
112 * tests/unix-streams.c: test of GUnixInputStream,
113 GUnixOutputStream, and GCancellable.
115 2008-09-26 Dan Winship <danw@gnome.org>
117 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
118 cast to stop a gcc warning
120 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
123 2008-09-25 Dan Winship <danw@gnome.org>
125 Bug 553426 - cancellable clarifications
127 * gcancellable.c (g_cancellable_class_init): Add a note to the
128 "cancelled" signal docs warning about thread-safety issues
129 (g_cancellable_cancel): Note that cancelling an asynchronous
130 operation takes effect asynchronously, not immediately.
132 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
134 * gioenums.h: Add new GFileCopyFlag, to leave target file with
135 default perms, instead of setting the source file perms, in a copy
138 * gfile.c (g_file_copy_attributes)
139 (build_attribute_list_for_copy)
140 (should_copy): Not copy "unix::mode" attribute if we have received
141 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
143 2008-09-20 Matthias Clasen <mclasen@redhat.com>
145 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
147 2008-09-17 Matthias Clasen <mclasen@redhat.com>
149 * === Released 2.18.1 ===
151 2008-09-16 Michael Natterer <mitch@imendio.com>
153 * gcontenttype.c (g_content_type_guess): can't assign the return
154 value of g_strdupv() to an array. Fill the array manually with
155 const strings instead (it is never freed anyway). Fixes the
156 build. Also fixed indentation.
158 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
160 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
161 Fix trivial typo to unbreak the build (there was a colon
162 instead of a semicolon at the end of a statement).
164 2008-09-15 Matthias Clasen <mclasen@redhat.com>
166 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
169 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
172 2008-09-15 Matthias Clasen <mclasen@redhat.com>
174 Bug 551681 – g_content_type_guess() too naive with filenames
176 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
177 at the end of the filename, and declare it a directory.
178 Patch by Bastien Nocera
180 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
182 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
185 * gdesktopappinfo.c: add a note in the docs clarifying what the
186 "filename" parameter really is.
188 2008-09-12 Tor Lillqvist <tml@novell.com>
190 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
191 FormatMessage() etc here. Call g_win32_error_message() instead
192 which already does all that. Besides, the code was broken as it
193 called the default "A" version of FormatMessage() but still
194 thought it produced a wide string.
196 2008-09-12 Michael Natterer <mitch@imendio.com>
198 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
199 in the documentation.
201 2008-09-08 Christian Neumair <cneumair@gnome.org>
203 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
204 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
205 Use non-blocking pipe for mount helper I/O. Fixes #550647.
207 2008-09-06 Matthias Clasen <mclasen@redhat.com>
209 Bug 551149 – xdgmime mem leak
211 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
212 a memory leak. Patch by Christian Persch
214 2008-09-04 Tor Lillqvist <tml@novell.com>
216 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
219 2008-09-02 Matthias Clasen <mclasen@redhat.com>
221 * === Released 2.18.0 ===
223 2008-09-02 Michael Natterer <mitch@imendio.com>
225 * *.h: big header formatting cleanup: indentation, vtable
226 formatting, consistent spacing in (* vfunc), trailing whitespace
227 removal. Formatting should be pretty consistent in all GIO headers
230 2008-09-02 Matthias Clasen <mclasen@redhat.com>
232 * gmount.h: Document guess_content_type sync vfunc.
234 2008-09-02 Michael Natterer <mitch@imendio.com>
236 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
237 fix parent_class member to be GFilterOutputStreamClass (not
238 GOutputStreamClass). Drop three pointers of padding, which is
239 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
240 so the class struct size stays the same.
242 2008-09-02 Matthias Clasen <mclasen@redhat.com>
244 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
246 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
247 nonexisting return values. Pointed out by Cosimo Cecchi.
249 2008-08-23 Tor Lillqvist <tml@novell.com>
251 Bug 548988 - g_file_replace fails on Windows when the target file
254 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
255 Windows, close the file before potentially renaming it (in case we
256 have been writing to a file with a temporary name).
258 (g_local_file_output_stream_close, handle_overwrite_open): Use
259 GLocalFileStat instead of plain struct stat, for passing to
260 _g_local_file_info_create_etag(). Thus also use _fstati64()
261 instead of plain fstat() on Windows.
263 2008-08-18 Matthias Clasen <mclasen@redhat.com>
265 * === Released 2.17.7 ===
267 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
269 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
272 2008-08-13 Tor Lillqvist <tml@novell.com>
274 * win32/gwinhttpvfs.c
275 * win32/gwinhttpvfs.h
276 * win32/gwinhttpfile.c
277 * win32/gwinhttpfileinputstream.c
278 * win32/gwinhttpfileoutputstream.c: Refactor some common code
279 snippets into helper functions. Check HTTP response status
280 codes. Implement g_winhttp_file_query_info(), looking at
281 Content-Length, Content-Type and Last-Modified.
283 * win32/winhttp.h: Add some symbolic constants that are not
284 publicly documented. Just a handful, so it should be OK to use
285 information from the Windows SDK's headers.
287 2008-08-13 Tor Lillqvist <tml@novell.com>
289 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
292 * win32/gwin32directorymonitor.c
293 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
295 2008-08-13 Matthias Clasen <mclasen@redhat.com>
298 * goutputstream.c: Add intro docs.
300 2008-08-13 Tor Lillqvist <tml@novell.com>
302 * win32/gwinhttpfileoutputstream.c
303 (g_winhttp_file_output_stream_write): Don't write the
304 Content-Length header ourselves, WinHttpSendRequest() takes care
305 of that when the dwTotalLength parameter is non-zero. Increment
306 offset by the number of actual bytes sent, although I wonder if
307 such a scenario is possible where less than requested would be
308 sent and accepted by the server without errors.
310 2008-08-13 Tor Lillqvist <tml@novell.com>
312 * win32/gwinhttpvfs.c
313 * win32/gwinhttpvfs.h
314 * win32/gwinhttpfile.c
315 * win32/gwinhttpfile.h
316 * win32/gwinhttpfileinputstream.c
317 * win32/gwinhttpfileinputstream.h
318 * win32/gwinhttpfileoutputstream.c
319 * win32/gwinhttpfileoutputstream.h: New files implementing
320 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
321 Windows. The implementation uses the WinHttp API. Both reading and
322 writing are supported, i.e. GET and PUT requests. When writing,
323 each write call is done using a separate PUT request with a
324 Content-Range header. Requests for file URIs and plain pathnames
325 are forwarded to GLocalVfs.
327 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
328 WINE. Used as there is no <winhttp.h> bundled with mingw, and
329 requiring people to download the Windows SDK just for this one
330 header is not reasonable.
332 * win32/Makefile.am: Add above files.
334 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
335 the plumbing for the above.
337 2008-08-11 Sven Neumann <sven@gimp.org>
339 * gfilenamecompleter.c
340 * glocaldirectorymonitor.c
342 * gunionvolumemonitor.c
346 * gunixvolumemonitor.c
349 * gwin32volumemonitor.c: use canonical signal names.
351 2008-08-11 Tor Lillqvist <tml@novell.com>
353 * Makefile.am: Put a list of the platform-dependent .la files in
354 the subdirectories in the platform_deps Make variable, and make
355 libgio-2.0.la depend on that, so that it gets relinked if one of
356 the dependent libraries has changed.
358 2008-08-11 Tor Lillqvist <tml@novell.com>
360 * Makefile.am (platform_libadd): Remove -lwininet which had been
361 added by mistake. We will probably eventually be using WinHTTP,
362 not the older WinInet anyway. (Actually I am working on it.)
364 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
366 Bug 547080 – g_file_copy leaks expected errors
368 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
369 before trying the next fallback routine.
371 2008-08-09 Loïc Minier <lool@dooz.org>
373 Bug 535124 – umask 002 not being applied for new directories, new
374 files get the correct umask
376 * gfile.c (g_file_make_directory)
377 (g_file_make_directory_with_parents): Document ownership and
378 permissions of newly created directories as being the default
381 2008-08-08 Loïc Minier <lool@dooz.org>
383 Bug 535124 – umask 002 not being applied for new directories, new
384 files get the correct umask
386 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
389 2008-08-08 Tor Lillqvist <tml@novell.com>
391 * gwin32mount.c: Remove unused code. Whitespace cleanup.
393 * gwin32volumemonitor.c (get_connected_drives): Put questionable
394 code that didn't actually do anything inside #if 0, and add a
395 comment wondering what the code was supposed to do. This also gets
396 rid of a leftover debugging printout.
398 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
400 * gfileicon.c (g_file_icon_get_property)
401 (g_file_icon_set_property): New functions.
402 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
404 (g_file_icon_new): Use the property (bug #546132).
406 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
408 * gthemedicon.c (g_themed_icon_get_property): Also handle
409 `PROP_USE_DEFAULT_FALLBACKS'.
410 (g_themed_icon_class_init): Make
411 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
413 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
415 Bug 546371 – Improve docs re g_file_monitor
417 * gfilemonitor.c: Mention g_file_monitor() in the docs.
419 2008-08-04 Matthias Clasen <mclasen@redhat.com>
421 * === Released 2.17.6 ===
423 2008-08-04 Matthias Clasen <mclasen@redhat.com>
425 * === Released 2.17.5 ===
427 2008-08-04 Matthias Clasen <mclasen@redhat.com>
429 Bug 546017 – Don't copy attributes when copying a symlink
431 * gfile.c (g_file_copy_attributes): Specify
432 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
433 g_file_set_attributes_from_info. Patch by Christian Kellner
435 2008-08-04 Matthias Clasen <mclasen@redhat.com>
437 * gemblemedicon.[hc]:
439 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
440 a bit more extensible. Work by Clemens Buss.
442 * gioenums.h: Add GEmblemOrigin.
445 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
447 Bug 546079 – leak in xdgmime
449 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
451 2008-08-03 Tor Lillqvist <tml@novell.com>
453 * win32/gwin32directorymonitor.h
454 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
457 2008-08-03 Tor Lillqvist <tml@novell.com>
459 * win32/gwin32directorymonitor.c
460 (g_win32_directory_monitor_callback): Make prototype match
461 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
462 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
465 (g_win32_directory_monitor_constructor):
466 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
467 names in the GLib API on Windows, so convert to UTF-16 and open
470 2008-08-03 Tor Lillqvist <tml@novell.com>
472 Bug 541036 - Gnumeric crashes when trying to open Desktop or
473 user's folder under Windows
475 * win32/gwin32directorymonitor.c
476 (g_win32_directory_monitor_constructor): Ignore error from
477 CreateFile() when opening directory. Instead of asserting, just
478 store INVALID_HANDLE_VALUE then in
479 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
480 ReadDirectoryChangesW().
481 (g_win32_directory_monitor_cancel): Don't attempt to close
482 directory handle if it is INVALID_HANDLE_VALUE.
484 2008-08-01 Matthias Clasen <mclasen@redhat.com>
486 * gdesktopappinfo.c: Remove debug spew
488 2008-08-01 Hans Breuer <hans@breuer.org>
490 * makefile.msc : add gemblembedicon
492 2008-07-30 Matthias Clasen <mclasen@redhat.com>
494 Bug 545457 – gdmsetup crashed with SIGSEGV in
495 g_unix_mount_guess_should_display()
497 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
498 crash if no mount is found.
500 2008-07-28 Matthias Clasen <mclasen@redhat.com>
502 Bug 545203 – gfile.c: argument is different type.
504 * gfile.c (open_read_async_thread): Pass a GError **
505 to g_file_set_error_literal.
506 Reported by Kazuki Iwamoto
508 2008-07-28 Matthias Clasen <mclasen@redhat.com>
510 Bug 545157 – wrong/no list of "open with" applications for .cc and
513 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
514 Collect all ancestors, not just direct parents. Pointed
515 out by Bastien Nocera
517 2008-07-28 Matthias Clasen <mclasen@redhat.com>
519 * Makefile.am: Install gemblemedicon.h
521 2008-07-28 Matthias Clasen <mclasen@redhat.com>
523 * gemblemedicon.[hc]: Add a GIcon implementation that can
524 add an emblem to another icon.
531 * gfileicon.c: Small documentation additions.
533 2008-07-28 Tor Lillqvist <tml@novell.com>
535 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
538 2008-07-27 Tor Lillqvist <tml@novell.com>
540 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
542 2008-07-24 David Zeuthen <davidz@redhat.com>
546 Also export a g_mount_guess_content_type_sync() function.
548 2008-07-23 Matthias Clasen <mclasen@redhat.com>
550 529694 – SELinux context setting support
552 * gfileinfo.c: Support setting selinux attributes.
553 Patch by Tomas Bzatek
555 2008-07-22 Priit Laes <plaes@plaes.org>
557 Bug 544140 - fam-helper 64-bit issue?
559 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
561 2008-07-21 Matthias Clasen <mclasen@redhat.com>
563 * === Released 2.17.4 ===
565 2008-07-20 Matthias Clasen <mclasen@redhat.com>
567 * gvolumemonitor.[hc]:
572 * gmount.c: Documentation fixes
574 2008-07-19 Matthias Clasen <mclasen@redhat.com>
576 543504 – crash in Epiphany Web Browser: Opening local file
587 * gvolume.c: Register types thread-safely.
588 Patch by Christian Persch
590 2008-07-18 Matthias Clasen <mclasen@redhat.com>
592 * gcontenttype.c: Remove debug spew
594 2008-07-18 Matthias Clasen <mclasen@redhat.com>
596 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
599 * fen/fen-kernel.c: Remove a warning that was causing
600 crashes. Reported by Lin Ma.
602 2008-07-18 Matthias Clasen <mclasen@redhat.com>
604 Bug 543040 – async reading on dummy file will crash on
607 * gfile.c (open_read_async_thread): Cope with read_fn being
608 NULL. Reported by Lin Ma.
610 2008-07-18 Matthias Clasen <mclasen@redhat.com>
613 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
615 2008-07-16 Matthias Clasen <mclasen@redhat.com>
619 * giomodule.c: Rename a chapter id to avoid filename conflict.
621 2008-07-16 Matthias Clasen <mclasen@redhat.com>
623 Bug 540616 – mem leak in filechooser button
625 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
626 the mount entry. Reported by Chrisitan Persch
628 2008-07-16 Matthias Clasen <mclasen@redhat.com>
630 * gfile.c: Small documentation fixes.
632 2008-07-15 Matthias Clasen <mclasen@redhat.com>
634 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
636 2008-07-08 Matthias Clasen <mclasen@redhat.com>
641 * gmount.c: Documentation improvements.
643 2008-07-08 Matthias Clasen <mclasen@redhat.com>
646 * gmount.[hc]: Add g_mount_guess_content_type().
648 2008-07-06 David Zeuthen <davidz@redhat.com>
651 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
652 is needed for easily handling adoption of foreign volumes by
653 out-of-process volume monitors (#541793)
655 2008-07-06 David Zeuthen <davidz@redhat.com>
657 * gvolumemonitor.[ch]:
658 * gunionvolumemonitor.c: Export the eject-button signal on the
659 volume monitor class (#541794).
661 2008-07-06 Matthias Clasen <mclasen@redhat.com>
663 * gappinfo.c: More doc tweaks
665 2008-07-05 Matthias Clasen <mclasen@redhat.com>
667 * gappinfo.c: Clarify some docs
669 2008-07-03 Matthias Clasen <mclasen@redhat.com>
671 * gdesktopappinfo.c: Fix a stupid mistake.
673 2008-07-02 Matthias Clasen <mclasen@redhat.com>
675 * === Released 2.17.3 ===
677 2008-07-02 Matthias Clasen <mclasen@redhat.com>
679 * gfilemonitor.c: Fix the build.
681 2008-07-02 Matthias Clasen <mclasen@redhat.com>
683 Bug 536160 – Add g_file_monitor()
686 * gfile.[hc]: Add g_file_monitor which can return either
687 a file or a directory monitor. Proposed by Behdad Esfahbod
689 2008-07-02 Matthias Clasen <mclasen@redhat.com>
691 536733 – gio build failure on Irix
693 * glocalfile.c: Use a configure check for structfs.f_bavail.
695 2008-07-02 Matthias Clasen <mclasen@redhat.com>
697 Bug 534639 – add g_desktop_app_info_new_from_keyfile
700 * gdesktopappinfo.[hc]: Add a function to create a
701 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
703 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
705 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
707 2008-07-01 Matthias Clasen <mclasen@redhat.com>
709 * gunixmounts.c: Fix a doc typo.
711 2008-07-01 Cody Russell <bratsche@gnome.org>
713 * gio/gcontenttype.c:
714 * gio/gwin32appinfo.c:
715 * gio/gwin32volumemonitor.c:
716 * gio/gwin32mount.c: Fixed some include problems.
718 2008-07-01 Cody Russell <bratsche@gnome.org>
722 Moved all relevant typedefs into these files.
725 Updated wrt added files.
727 Split types into separate file for easier maintainership. (#538564)
729 2008-06-30 Matthias Clasen <mclasen@redhat.com>
731 Bug 540331 – g_file_append_to () documentation: can return NULL
733 * gfile.c (g_file_append_to): Clarify docs.
736 2008-06-30 Matthias Clasen <mclasen@redhat.com>
738 Bug 539090 – g_content_type_from_mime_type() should unalias
740 * gcontentype.c (g_content_type_from_mime_type): Unalias.
741 Patch by Markus Bergman
743 2008-06-30 Matthias Clasen <mclasen@redhat.com>
745 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
748 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
749 on ppc and alpha. Reported by Mart Raudsepp
751 2008-06-29 Matthias Clasen <mclasen@redhat.com>
754 * tests/memory-output-stream.c: Add some tests for
757 2008-06-29 Matthias Clasen <mclasen@redhat.com>
759 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
762 * gmemoryoutputstream.c (array_resize): Handle truncation to
763 zero correctly. Reported by Akira Tagoh
765 2008-06-29 Matthias Clasen <mclasen@redhat.com>
767 * gmemoryoutputstream.c: Trivial doc fixes
769 2008-06-29 Matthias Clasen <mclasen@redhat.com>
771 Bug 540802 – g_list_prepend doesn't concat lists
773 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
774 one list to another. Pointed out by Jan Arne Petersen
776 2008-06-28 Michael Natterer <mitch@imendio.com>
778 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
780 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
782 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
783 to avoid problems with partial icon themes.
785 2008-06-17 Hans Breuer <hans@breuer.org>
787 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
788 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
789 access again on win32, see bug #538127
790 * giomodule.c : ensure GWin32VolumeMonitor is registered
791 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
792 * Makefile.am makefile.msc : updated
794 2008-06-16 Hans Breuer <hans@breuer.org>
796 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
797 and initialization in one step avoids c99ism
799 2008-06-16 Christian Persch <chpe@gnome.org>
802 * gio/gbufferedinputstream.c
804 * gio/gdatainputstream.c
805 * gio/gdesktopappinfo.c
807 * gio/gfileenumerator.c
808 * gio/gfileinputstream.c
809 * gio/gfileoutputstream.c
811 * gio/glocaldirectorymonitor.c
813 * gio/glocalfileenumerator.c
814 * gio/glocalfileinfo.c
815 * gio/glocalfilemonitor.c
816 * gio/glocalfileoutputstream.c
817 * gio/gmemoryinputstream.c
818 * gio/gmemoryoutputstream.c
819 * gio/goutputstream.c
820 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
823 2008-06-16 Tor Lillqvist <tml@novell.com>
825 Bug 538362 - Get Win32 icons back in the file chooser
827 * gcontenttype.c (g_content_type_get_icon): Look up the icon
828 corresponding to a file extension in the Registry. Patch by Hans
830 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
832 2008-06-16 Tor Lillqvist <tml@novell.com>
834 Patches by Hans Breuer:
836 * glocalfile.c (is_xp_or_later): Handle compiling against older
837 SDK headers with missing VerifyVersionInfo(). Conditioned on
838 _MSC_VER, but should probably use some better test.
839 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
840 uninitialised statfs_result variable on Win32.
842 2008-06-16 Michael Natterer <mitch@imendio.com>
844 * *.c: chain up unconditionally in finalize() and dispose(). Also
845 don't dereference these function pointers when calling them since
846 that has no meaning at all.
848 2008-06-16 Ross Burton <ross@burtonini.com>
851 Remove check for dispose implementation as it annoys Emmanuele.
853 2008-06-16 Ross Burton <ross@burtonini.com>
855 Bug 536252 – GFileEnumerator should allow access to the containing
861 Add g_file_enumerator_get_container() and a container writeable
862 construct-only property. Also shuffle around typedefs to make it
865 * glocalfileenumerator.c:
866 * glocalfileenumerator.h:
868 Instead of a string filename take a GFile in the constructor and
869 use it to set the container property.
874 2008-06-16 Matthias Clasen <mclasen@redhat.com>
876 * gfile.c: Make includes more uniform
878 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
880 * tests/live-g-file.c (sample_struct):
881 Use less fancy unicode filenames, so the test doesn't fail
882 on Mac OS X (#531476).
884 2008-06-12 Matthias Clasen <mclasen@redhat.com>
886 * === Released 2.17.2 ===
888 2008-06-12 Matthias Clasen <mclasen@redhat.com>
890 * === Released 2.17.1 ===
892 2008-06-11 A. Walton <awalton@gnome.org>
894 * tests/g-file.c (test_g_file_new_null):
895 Fix broken test case.
897 2008-06-11 Matthias Clasen <mclasen@redhat.com>
899 * pltcheck.sh: We use g_clear_error now.
901 2008-06-11 Matthias Clasen <mclasen@redhat.com>
903 * glocalfile.c (g_local_file_enumerate_children): Revert
904 an unintended change.
906 2008-06-11 Matthias Clasen <mclasen@redhat.com>
908 * gfile.c (g_file_replace_contents): Don't unref before the last use.
910 2008-06-10 Matthias Clasen <mclasen@redhat.com>
912 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
915 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
916 as icon for the desktop directory, also make user-home and
917 user-desktop the preferred icons.
919 2008-06-10 Matthias Clasen <mclasen@redhat.com>
922 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
923 to add a name to the front of the list.
925 2008-06-10 Matthias Clasen <mclasen@redhat.com>
927 Bug 537392 – Additional colon in xattr name
929 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
930 too. Reported by Alessandro Morandi
932 2008-06-10 Matthias Clasen <mclasen@redhat.com>
934 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
937 * glocalfile.c (get_fs_type): Add afs and autofs.
938 Patch by Danny Baumann.
940 2008-06-10 Matthias Clasen <mclasen@redhat.com>
942 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
944 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
945 is no parent. (Owen Taylor, patch by Christian Neumair)
947 2008-06-10 Paolo Borelli <pborelli@katamail.com>
949 * gfile.c (g_file_replace_contents): do not leak the output stream.
951 2008-06-10 Michael Natterer <mitch@imendio.com>
953 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
954 uninitialized memory as array index.
956 2008-06-10 Tor Lillqvist <tml@novell.com>
958 * gcontenttype.c (g_content_type_can_be_executable)
959 (g_content_type_get_icon) [Win32]: Add TODO comments.
961 2008-06-09 Matthias Clasen <mclasen@redhat.com>
963 * xdgmime/Makefile.am: Fix the build
965 2008-06-09 Matthias Clasen <mclasen@redhat.com>
967 * gcontenttype.c (g_content_type_get_icon): Use icons specified
968 in the shared mime database, if available.
970 * xdgmime/*: Sync with upstream. This brings support for
971 glob weights, generic icons, and changes the cache format to
974 2008-05-28 Michael Natterer <mitch@imendio.com>
976 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
977 the global CPPFLAGS now.
979 * tests/data-input-stream.c
980 * tests/data-output-stream.c
981 * tests/g-file-info.c
983 * tests/live-g-file.c
984 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
986 2008-05-27 Matthias Clasen <mclasen@redhat.com>
988 * === Released 2.17.0 ===
990 * tests/live-g-file.c: Clean up after the tests, so make distcheck
991 doesn't complain about leftover files.
993 2008-05-27 simon.zheng <simon.zheng@sun.com>
995 * glocalfile.c: (g_local_file_query_filesystem_info):
996 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
998 2008-05-26 Michael Natterer <mitch@imendio.com>
1000 * gmemoryoutputstream.h: declare
1001 g_memory_output_stream_get_data_size().
1003 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1005 * tests/*: Make tests work
1007 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1009 * gio.symbols: Add g_memory_output_stream_get_data_size.
1011 2008-05-25 Ross Burton <ross@burtonini.com>
1014 Fix typo in error message (#534764).
1016 2008-05-25 Ross Burton <ross@burtonini.com>
1019 Fix circular dependency loop for gioenumtypes.h (#534759).
1021 2008-05-19 Hans Breuer <hans@breuer.org>
1023 * Makefile.am : EXTRA_DIST += makefile.msc
1025 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1028 * gcontenttype.c: (g_content_type_from_mime_type):
1029 New function to create a content type from a mime type. (#527175,
1032 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1034 Bug 532965 – Should not return filesystem::free for certain file systems
1036 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1037 free space for ncpfs.
1039 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1041 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1043 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1044 st_dev might be zero.
1046 2008-05-16 Tor Lillqvist <tml@novell.com>
1048 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1049 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1051 2008-05-13 Bastien Nocera <hadess@hadess.net>
1053 * gfile.c (has_valid_scheme): A URI scheme must start with a
1054 letter, even if later more characters are allowed (#532852)
1056 2008-05-05 Michael Natterer <mitch@imendio.com>
1058 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1059 code from being checked in that breaks the build of applications
1060 which use G_DISABLE_SINGLE_INCLUDES.
1062 * makegioalias.pl: make the alias file include "glib.h" instead of
1065 * gio.symbols: whitespace change to force regeneration of the
1066 alias file after above script change.
1068 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1070 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1072 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1074 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1076 2008-04-28 David Zeuthen <davidz@redhat.com>
1078 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1079 displaying mounts in a subdirectory not accessible to the
1082 2008-04-22 Michael Natterer <mitch@imendio.com>
1084 * Makefile.am: fix library versioning (it was 0.0.0).
1086 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1088 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1089 Default disable all loggings.
1090 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1091 (port_fetch_event_cb): Fixed two macro nits.
1093 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1095 * xdgmime/xdgmime.c: Rework the timestamp checking code
1096 to protect against duplicate directories in XDG_DATA_DIRS.
1097 Fixes fd.o bug 12513, reported by Joe Shaw.
1099 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1101 Partically revert the last commit after realizing that
1102 xdg_mime_media_type_equal doesn't have to init at all.
1104 * xdgmime/xdgmime.h:
1105 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1107 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1109 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1111 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1112 reported by Joe Shaw and Federico Mena Quintero.
1114 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1115 (xdg_mime_media_type_equal): Turn into a wrapper around the
1118 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1119 functions throughout.
1121 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1123 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1124 tolerate an empty TryExec= line without failing; nautilus used
1125 to create launchers with these in previous versions. Fixes #528433
1127 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1129 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1130 after name. Fixes #527132.
1132 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1134 * gfile.c: (g_file_replace):
1137 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1139 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1141 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1142 by Christian Kellner.
1144 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1146 * gunixmounts.c: (g_unix_mount_guess_should_display):
1147 Don't list the user directory as a mount, fix potential issue
1148 when other users have a similar naming and don't special case the
1149 gvfs mounts there since that's not required (#525866)
1151 2008-03-31 Alexander Larsson <alexl@redhat.com>
1153 * glocalfile.c (get_parent):
1156 2008-03-31 A. Walton <awalton@svn.gnome.org>
1158 * gfile.c (g_file_query_file_type):
1159 Always return a GFileType enum value (#520715).
1161 2008-03-31 Alexander Larsson <alexl@redhat.com>
1163 * glocalfileenumerator.c:
1164 Read readdir() info in chunks (of 1000) and sort
1165 the chunks by inode before stat:ing.
1166 This is a 20% performance increase in testing
1167 gvfs-ls on /usr/bin with cold cache.
1169 2008-03-31 Alexander Larsson <alexl@redhat.com>
1171 * gmemoryoutputstream.c:
1172 Clarify docs for g_memory_output_stream_get_size.
1173 Add g_memory_output_stream_get_data_size.
1175 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1179 * gfile.h: Add g_file_query_file_type convenience function
1180 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1182 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1184 * gfileenumerator.c:
1185 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1187 2008-03-28 A. Walton <awalton@svn.gnome.org>
1189 * giomodule.c (_g_io_modules_ensure_loaded):
1190 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1193 2008-03-28 Alexander Larsson <alexl@redhat.com>
1196 (copy_stream_with_progress):
1199 2008-03-28 Alexander Larsson <alexl@redhat.com>
1202 (copy_stream_with_progress):
1203 (file_copy_fallback):
1204 Fallback to g_file_query_info for source size
1205 if g_file_input_stream_query_info fails. (#524579)
1207 2008-03-28 Alexander Larsson <alexl@redhat.com>
1209 * glocalfile.c (g_local_file_move):
1210 Reuse old string instead of adding new one.
1212 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1214 * fen/*.[hc]: still copyright issue. I hate copyright.
1216 2008-03-27 Alexander Larsson <alexl@redhat.com>
1218 * glocalfile.c (g_local_file_move):
1219 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1220 file over directory. This is according to the docs and what the move via
1221 copy+remove fallback does.
1223 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1225 * fen/*.[hc]: Updated copyright.
1227 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1229 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1231 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1233 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1234 not emit attribute changed events when optimizing changed events.
1235 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1238 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1240 * gmountoperation.[hc]: Small documentation additions
1242 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1244 * gunixmounts.c: (guess_mount_type):
1245 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1247 2008-03-19 Alexander Larsson <alexl@redhat.com>
1250 (copy_stream_with_progress):
1251 Bump block side for copy to 64k to minimize
1252 overhead for low latency links. (#523015)
1254 2008-03-16 Tor Lillqvist <tml@novell.com>
1256 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1257 depend on gio.def on Windows.
1259 2008-03-12 David Zeuthen <davidz@redhat.com>
1263 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1265 2008-03-14 Alexander Larsson <alexl@redhat.com>
1269 Avoid redudant tests (#521851)
1270 Patch from Josselin Mouette
1272 2008-03-14 Alexander Larsson <alexl@redhat.com>
1275 (g_file_monitor_is_cancelled):
1276 Fix C89 issue (#521672)
1277 Patch from Jens Granseuer
1279 2008-03-14 Alexander Larsson <alexl@redhat.com>
1281 * fam/fam-helper.[ch]:
1283 Shut down fam (including removing fam GSource) when
1284 module is unloaded (#521513)
1285 Patch from Joe Marcus Clarke
1287 2008-03-14 Alexander Larsson <alexl@redhat.com>
1290 (_g_io_modules_ensure_loaded):
1293 2008-03-14 Alexander Larsson <alexl@redhat.com>
1296 (g_local_file_query_filesystem_info):
1297 Use right define name for f_fstypename member check
1299 2008-03-14 Alexander Larsson <alexl@redhat.com>
1302 * fen/Makefile.am: Added.
1303 * fen/fen-data.[ch]: Added.
1304 * fen/fen-dump.[ch]: Added.
1305 * fen/fen-helper.[ch]: Added.
1306 * fen/fen-kernel.[ch]: Added.
1307 * fen/fen-missing.[ch]: Added.
1308 * fen/fen-node.[ch]: Added.
1309 * fen/fen-sub.[ch]: Added.
1310 * fen/gfendirectorymonitor.[ch]: Added.
1311 * fen/gfenfilemonitor.[ch]: Added.
1313 Added Solaris FEN file notification backend.
1314 Patch from Lin Ma <Lin.Ma@Sun.COM>
1316 2008-03-13 Tor Lillqvist <tml@novell.com>
1318 * Makefile.am: Actually use the gio.def file when linking the
1319 library on Windows. Produce .lib library for Microsoft's toolchain
1320 when possible. Install the .lib and .def file like for the other
1323 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1325 * tests/live-g-file.c:
1326 Include live-g-file in standard set of tests, making a temporary
1327 directory in source structure.
1329 Clean target directory before the tests (write mode only)
1331 2008-03-12 Tor Lillqvist <tml@novell.com>
1333 Bug 517419 - gio win32 directory monitor
1334 Implementation by Vlad Grecescu.
1337 * win32/gwin32directorymonitor.h
1338 * win32/gwin32directorymonitor.c: New files.
1340 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1342 * Makefile.am: Add the win32 subdirectory.
1344 2008-03-12 Tor Lillqvist <tml@novell.com>
1346 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1347 normal struct stat on Unix but struct _stati64 on Windows to have
1348 access to 64-bit file size information. Use that instead of struct
1349 stat in the functions declared here in this private header.
1351 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1352 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1353 warnings about unused functions and variables. Don't set
1354 meaningless attributes like inode numbers on Windows.
1356 2008-03-12 Benjamin Otte <otte@gnome.org>
1359 trim whitespace so gtk-doc groks the function name
1361 2008-03-12 Tor Lillqvist <tml@novell.com>
1363 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1364 returning FALSE, on Win32.
1366 2008-03-11 Alexander Larsson <alexl@redhat.com>
1369 * glocalfileinfo.[ch]:
1370 Correctly implement can_trash by actually
1371 looking for a trash dir, not just assuming
1374 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1376 * === Released 2.16.1 ===
1378 2008-03-11 Alexander Larsson <alexl@redhat.com>
1381 Fix crashes in new constructor and properties code
1383 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1385 * gfile.c: Minor spelling correction in documentation:
1386 existance -> existence.
1388 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1390 * === Released 2.16.0 ===
1392 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1394 * gio.symbols: Remove g_file_contains_file here, too.
1396 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1398 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1399 Samuel Cormier-Iijima)
1401 2008-03-08 Tor Lillqvist <tml@novell.com>
1403 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1406 2008-03-07 Alexander Larsson <alexl@redhat.com>
1409 (g_local_file_query_filesystem_info):
1410 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1411 Patch from Jasper Lievisse Adriaanse
1413 2008-03-06 Tor Lillqvist <tml@novell.com>
1415 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1416 comments for the *_USEC attributes.
1418 2008-03-06 Alexander Larsson <alexl@redhat.com>
1420 * gfile.c (g_file_query_exists):
1421 Add g_return_val_if_fail check (#520700)
1423 2008-03-06 Alexander Larsson <alexl@redhat.com>
1425 * gdesktopappinfo.c:
1428 * gunionvolumemonitor.c:
1431 * tests/live-g-file.c:
1432 * xdgmime/xdgmimecache.c:
1433 Fix sparse warnings (#519489)
1435 2008-03-05 Alexander Larsson <alexl@redhat.com>
1438 Make cancellation threadsafe (i.e.
1439 guarantee its only done once, and always
1442 * glocaldirectorymonitor.c:
1443 Make sure we the monitor lives while the
1444 mounts_changed callback is being called (#520484)
1446 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1448 * gbufferedinputstream.c: Fix typo in parameter
1451 2008-03-04 Alexander Larsson <alexl@redhat.com>
1454 Remove deprecated symbols we kept for one release.
1456 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1459 * goutputstream.c: Tiny documentation corrections.
1461 2008-03-03 Alexander Larsson <alexl@redhat.com>
1463 * gunionvolumemonitor.c:
1465 Fix the adopt_orphan_mount vfunc to take a
1466 volume_monitor reference in an ABI compat way.
1467 This change is not API compat, but the added
1468 arg is not used in the only user of this vfunc, so
1469 all we get is a harmless warning in gvfs (#520169)
1471 2008-03-01 Benjamin Otte <otte@gnome.org>
1474 clarify docs for g_file_delete().
1476 2008-02-29 Alexander Larsson <alexl@redhat.com>
1480 Make sure empty files get text/plain type (#518720)
1482 2008-02-27 Alexander Larsson <alexl@redhat.com>
1488 (g_unix_volume_mount):
1489 Add missing GMountMountFlags argument
1491 2008-02-26 Alexander Larsson <alexl@redhat.com>
1494 (g_local_file_delete):
1495 Handle filesystems (like ntfs-3g) that return EEXIST instead
1496 of ENOTEMPTY (#518816)
1498 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1500 * === Released 2.15.6 ===
1502 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1504 * gfile.c (g_file_find_enclosing_mount):
1505 * ginputstream.c (g_input_stream_set_pending):
1506 * glocalfile.c (g_local_file_find_enclosing_mount):
1507 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1508 * goutputstream.c (g_output_stream_set_pending):
1510 Fixup translator comments (#518578).
1512 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1514 * gfile.c (g_file_find_enclosing_mount):
1516 * glocalfile.c (g_local_file_find_enclosing_mount):
1519 Fix a few typos in translator comments and documentation.
1521 2008-02-25 Alexander Larsson <alexl@redhat.com>
1528 Add translator comments (#518578)
1530 2008-02-25 Alexander Larsson <alexl@redhat.com>
1533 Reintroduce g_file_contains_file, keep around for one
1534 unstable release cycle to avoid crashing to many apps.
1535 Make sure to delete after release.
1537 2008-02-25 Alexander Larsson <alexl@redhat.com>
1540 Remove deprecated g_file_contains_file.
1542 2008-02-25 Alexander Larsson <alexl@redhat.com>
1545 Emit actual change signals in an idle handler.
1546 This avoids reentrance and locking problems in
1547 the file notification backends.
1549 2008-02-25 Alexander Larsson <alexl@redhat.com>
1552 (g_unix_mount_guess_should_display):
1553 Remove type guessing, instead just display
1554 mounts in /media and in ~/.
1556 2008-02-25 Alexander Larsson <alexl@redhat.com>
1559 Make new strings reuse old ones.
1561 2008-02-25 Alexander Larsson <alexl@redhat.com>
1564 Implement trashing and filesystem::readonly for win32 (#517235)
1565 Patch from Yevgen Muntyan
1567 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1569 * gfileinfo.h: Documentation fixes.
1571 2008-02-22 Alexander Larsson <alexl@redhat.com>
1573 * gcontenttype.c (g_content_type_get_icon):
1574 Look at old-style gnome mime icon names too, as many
1575 have not moved to the new style.
1577 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1579 * *.c: Correct the @include in for section docs.
1581 2008-02-21 David Zeuthen <davidz@redhat.com>
1583 * glocalfileinfo.c: (_g_local_file_info_get):
1585 (g_content_type_get_icon): Implement this function by
1586 moving bits from glocalfileinfo.c
1587 (g_content_type_get_description): Unalias before getting
1588 description (#517687)
1590 * gfile.c: (g_file_class_init),
1591 (g_file_query_filesystem_info_async),
1592 (g_file_query_filesystem_info_finish),
1593 (query_filesystem_info_data_free),
1594 (query_filesystem_info_async_thread),
1595 (g_file_real_query_filesystem_info_async),
1596 (g_file_real_query_filesystem_info_finish):
1597 * gfile.h: Implement async version of
1598 g_file_query_filesystem_info()
1600 * gfileinfo.h: Add new attributes for filesystem::use-preview
1602 * gio.symbols: Update
1604 * gthemedicon.c: (g_themed_icon_append_name):
1605 * gthemedicon.h: Add new new convenience function.
1607 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1608 (get_mounts), (get_volumes), (get_connected_drives),
1609 (get_volume_for_uuid), (get_mount_for_uuid),
1610 (g_union_volume_monitor_init), (populate_union_monitor),
1611 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1612 (g_volume_monitor_adopt_orphan_mount):
1614 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1615 monitor implementations to call into the main volume monitor. Also
1616 separate object initialization and volume monitor initialization
1617 such that non-native volume monitors can properly adopt their
1620 2008-02-21 Alexander Larsson <alexl@redhat.com>
1625 2008-02-21 Alexander Larsson <alexl@redhat.com>
1628 Add more documentation about how GFiles work (from #517086)
1630 2008-02-21 Alexander Larsson <alexl@redhat.com>
1634 Add new g_file_has_prefix that does the same as g_file_contains_file.
1635 Deprecate g_file_contains_file and add a macro that converts
1636 it to g_file_has_prefix.
1637 The reason for this change is that the contains_file() name seems to
1638 imply that this does more work than what it does, but its really only
1639 a name match (from #517086)
1644 Update to match the above change.
1646 2008-02-20 Benjamin Otte <otte@gnome.org>
1648 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1649 (g_file_eject_mountable):
1650 even more cases of not returning in error path
1652 2008-02-20 Benjamin Otte <otte@gnome.org>
1654 * gfile.c: (g_file_mount_mountable):
1655 return from function in error path.
1657 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1660 Remove trailing coma in GMountMountFlags struct
1662 2008-02-18 Alexander Larsson <alexl@redhat.com>
1666 * glocalfileoutputstream.c:
1667 Use g_unlink/g_rename instead of unlink/rename;
1668 do not pass raw filenames to g_set_error. (#517239)
1669 Patch from Yevgen Muntyan.
1671 2008-02-18 Alexander Larsson <alexl@redhat.com>
1674 * glocalfileoutputstream.c:
1675 Open files with O_BINARY on windows. (#517140)
1677 2008-02-14 Alexander Larsson <alexl@redhat.com>
1679 * glocalfileoutputstream.c:
1680 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1682 2008-02-14 Alexander Larsson <alexl@redhat.com>
1685 Copy permissions with file on copy (#514084)
1686 This is what cp does and makes sure e.g. the
1687 exec permissions are kept.
1688 Its kinda weird in that it keeps the permission bits
1689 the same while the uid and gid are different. However
1690 the new uid is the user so its not a security issue,
1691 and I've heard no complaints about cp on this issue.
1693 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1695 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1697 2008-02-13 Alexander Larsson <alexl@redhat.com>
1699 * inotify/inotify-path.c:
1700 Define IN_ONLYDIR if not in header (#515346)
1702 2008-02-12 Alexander Larsson <alexl@redhat.com>
1704 * tests/live-g-file.c:
1707 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1709 * === Released 2.15.5 ===
1711 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1713 * gio.symbols: Add g_mount_mount_flags_get_type.
1715 2008-02-11 Alexander Larsson <alexl@redhat.com>
1718 (g_file_info_set_attribute_mask):
1719 (g_file_attribute_matcher_matches_id):
1720 Correctly handle NULL GAttributeMatcher meaning
1721 matches nothing. (Fixes #513492)
1723 2008-02-11 Alexander Larsson <alexl@redhat.com>
1728 Added GMountMountFlags enum and added a flags
1729 argument to all mount calls.
1731 This is an API/ABI change for future extensibility,
1732 as I think we will need at least an
1733 inhibit-autorun flag (the panel needs this).
1734 There are no flags defined yet though.
1736 2008-02-11 Alexander Larsson <alexl@redhat.com>
1739 Added new standard::description attribute.
1740 Requested by Vincent, and useful for both
1743 2008-02-11 Alexander Larsson <alexl@redhat.com>
1745 * gdesktopappinfo.c:
1748 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1750 * *.c: Documentation additions
1752 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1754 * gappinfo.h: Formatting cleanup
1755 * gappinfo.c: Fix up docs.
1757 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1759 * gunixmounts.c: Consistently use getmntent_r() and fall
1760 back to getmntent(). (#515492)
1762 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1764 * gbufferedinputstream.c:
1766 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1768 * tests/data-input-stream.c:
1769 * tests/data-output-stream.c: Portability fixes.
1771 2008-02-08 Alexander Larsson <alexl@redhat.com>
1776 Add g_volume_should_automount.
1779 2008-02-07 Tor Lillqvist <tml@novell.com>
1781 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1782 Win32, too Unix-specific.
1784 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1786 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1787 a local plt if the compiler doesn't support what we want. Bug #514702
1789 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1791 reviewed by: <delete if not using a buddy>
1794 * gunixinputstream.c:
1795 * gunixoutputstream.c:
1797 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1799 * tests/Makefile.am:
1800 * tests/live-g-file.c:
1801 * tests/live-g-file.txt:
1802 New GIO testing module working over real data
1804 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1806 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1807 Fallback to rename() if link() is not available
1808 (when no support on target filesystem)
1810 2008-02-06 Michael Natterer <mitch@imendio.com>
1812 * gfileinfo.c (g_file_info_get_icon): replace
1813 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1815 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1817 * gfile.c (g_file_create):
1818 Documentation update of error codes
1820 2008-02-06 Alexander Larsson <alexl@redhat.com>
1822 * gdesktopappinfo.c:
1823 Update to use both mimeapps.list and
1824 defaults.list as discussed on xdg list.
1826 2008-02-06 Benjamin Otte <otte@gnome.org>
1829 * gfilenamecompleter.c:
1830 Fix some typos in the documentation.
1832 2008-02-06 Alexander Larsson <alexl@redhat.com>
1834 * glocalfile.c (g_local_file_trash):
1835 Don't succeed with trash if newly created
1836 trash dir has the wrong owner. (#514696)
1838 2008-02-05 Alexander Larsson <alexl@redhat.com>
1840 * glocalfile.c (g_local_file_move):
1841 Don't spew warnings when destination is not
1844 2008-02-03 Hans Breuer <hans@breuer.org>
1846 * makefile.msc : update
1848 2008-02-01 Michael Natterer <mitch@imendio.com>
1850 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1851 return value of xdg_mime_list_mime_parents() to a variable of the
1854 2008-02-01 Alexander Larsson <alexl@redhat.com>
1856 * gappinfo.c (g_app_info_launch_uris):
1857 Actually call the launch_uris method, not
1860 2008-02-01 Alexander Larsson <alexl@redhat.com>
1862 * gdesktopappinfo.c (g_desktop_app_info_equal):
1863 Ensure appinfos with no id but same pointer value
1866 2008-02-01 Alexander Larsson <alexl@redhat.com>
1868 * gappinfo.c (g_app_info_launch_default_for_uri):
1871 2008-02-01 Alexander Larsson <alexl@redhat.com>
1875 Add g_app_info_launch_default_for_uri utility
1878 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1880 * gdesktopappinfo.c:
1881 Doc fix for g_app_info_get_default_for_uri_scheme ()
1884 2008-01-30 Alexander Larsson <alexl@redhat.com>
1887 Add doc comment about uris vs GFiles to
1890 * gdesktopappinfo.c:
1891 Ensure uris passed to g_app_info_launch_uris()
1892 are not roundtriped through GFile (as that
1893 may be slightly destructive for e.g. mailto: links)
1895 2008-01-30 Alexander Larsson <alexl@redhat.com>
1897 * tests/data-input-stream.c:
1898 * tests/data-output-stream.c:
1899 C89 fixes from Jens Granseuer (#512849)
1901 2008-01-30 Alexander Larsson <alexl@redhat.com>
1904 Fix gamin/fam difference build issue. (#509419)
1906 2008-01-29 Alexander Larsson <alexl@redhat.com>
1909 * gdesktopappinfo.c:
1910 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1912 2008-01-29 Alexander Larsson <alexl@redhat.com>
1914 * gdesktopappinfo.c:
1915 * gdesktopappinfo.h:
1916 giomodule-priv.h include moved to .c file.
1918 2008-01-29 Alexander Larsson <alexl@redhat.com>
1920 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1921 Remove unused prio/name fields.
1923 2008-01-29 Alexander Larsson <alexl@redhat.com>
1925 * gcontenttype.c (looks_like_text):
1926 Don't treat whitespace as control chars.
1928 2008-01-29 Alexander Larsson <alexl@redhat.com>
1930 * gdesktopappinfo.c:
1931 Lazily create the desktop files for appinfos created
1932 by g_app_info_create_from_commandline() when needed
1933 for mime associations. This allows run-time use
1934 of GAppInfo object without creating unnecessary
1937 2008-01-29 Alexander Larsson <alexl@redhat.com>
1940 Added new symbols to gio.symbols
1942 2008-01-29 Alexander Larsson <alexl@redhat.com>
1945 Add g_file_query_default_handler utility to easily look up
1946 the GAppInfo that handles a file.
1948 * gdesktopappinfo.[ch]:
1950 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1953 Remove unused function
1955 2008-01-29 Alexander Larsson <alexl@redhat.com>
1957 * gfileenumerator.c:
1958 Mention need to free returned value in
1959 g_file_enumerator_next_files_finish docs.
1960 Fix leak if g_file_enumerator_next_files_finish()
1963 2008-01-29 Alexander Larsson <alexl@redhat.com>
1966 (_g_unix_content_type_get_parents):
1967 Use list_parents, not get_parents from xdgmime, because
1968 the later doesn't use the cache.
1970 * xdgmime/xdgmimecache.c:
1971 (_xdg_mime_cache_list_mime_parents):
1972 Don't list the same type as parent multiple times.
1974 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1976 * === Released 2.15.4 ===
1978 2008-01-28 Alexander Larsson <alexl@redhat.com>
1981 Register local vfs with prio 0.
1984 Remove old name and prio class members
1986 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1988 * tests/g-file.c: Disable some tests that are failing in
1989 the absence of a http backend.
1991 2008-01-28 Alexander Larsson <alexl@redhat.com>
1995 Add registration hooks for extension points.
1996 Register the gio extension points.
1998 * fam/gfamdirectorymonitor.c:
1999 * fam/gfamfilemonitor.c:
2000 * glocaldirectorymonitor.[ch]:
2001 * glocalfilemonitor.[ch]:
2002 * gnativevolumemonitor.h:
2003 * gunionvolumemonitor.c:
2004 * gunixvolumemonitor.c:
2007 * inotify/ginotifydirectorymonitor.c:
2008 * inotify/ginotifyfilemonitor.c:
2009 Use the extension points registration instead
2010 of g_type_children().
2012 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2015 * gvolume.[hc]: Document new API.
2017 * gfile.c (g_file_copy_async): Fix docs
2019 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2021 * gbufferedinputstream.c:
2023 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2026 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2028 * glocalfile.c: Avoid trivial differences in translatable strings.
2030 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2032 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2033 build with gcc 3.4 (#509419)
2035 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2037 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2038 (#509994, Murray Cumming)
2040 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2042 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2043 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2044 this allows big jobs to be executed in chunks, instead of blocking
2045 the main loop for a long time.
2047 * gsimpleasyncresult.c:
2048 * giofile.c: Adapt callers.
2050 2008-01-25 Alexander Larsson <alexl@redhat.com>
2052 * gdesktopappinfo.c:
2053 Implement changes discussed on xdg list.
2054 Now we can add supported mimetypes by just using defaults.list
2055 We can also remove associations in defaults.list.
2057 2008-01-25 Alexander Larsson <alexl@redhat.com>
2059 * gdesktopappinfo.c:
2060 Don't make local copy of desktop file
2061 for mimetype changes if the file already
2062 supports the new mimetype.
2064 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2068 * gbufferedinputstream.c:
2069 * glocalfile.c: String improvements. (#511966,
2070 Theppitak Karoonboonyanan)
2072 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2074 * gioscheduler.h: Expand docs a bit.
2076 2008-01-24 Alexander Larsson <alexl@redhat.com>
2079 Add g_drive_get_identifier and
2080 g_drive_enumerate_identifiers
2083 Add g_volume_get_identifier and
2084 g_volume_enumerate_identifiers
2090 Implement identifiers for unix backend
2092 2008-01-24 Alexander Larsson <alexl@redhat.com>
2097 Add g_file_copy_async() (#511580)
2098 Based on patch from Carlos Garcia Campos
2100 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2102 * gioscheduler.c: Some documentation additions.
2104 2008-01-22 Alexander Larsson <alexl@redhat.com>
2106 * gdesktopappinfo.c:
2107 (g_desktop_app_info_new):
2108 Don't leak basename.
2110 2008-01-22 Alexander Larsson <alexl@redhat.com>
2112 * gdesktopappinfo.c:
2113 (g_desktop_app_info_new_from_filename):
2116 2008-01-22 Alexander Larsson <alexl@redhat.com>
2118 * glocalfileinfo.c (get_thumbnail_attributes):
2121 2008-01-22 Alexander Larsson <alexl@redhat.com>
2124 (canonicalize_filename):
2125 Canonicalize paths that start with more than
2129 (compare_two_files):
2130 (test_g_file_new_for_path):
2133 2008-01-22 Alexander Larsson <alexl@redhat.com>
2136 Allow UTF-8 in file:// parse names.
2138 * tests/Makefile.am:
2139 * tests/data-input-stream.c:
2140 * tests/data-output-stream.c:
2141 * tests/g-file-info.c:
2143 Added a bunch of tests from Tomas Bzatek
2145 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2147 * === Released 2.15.3 ===
2149 2008-01-21 Alexander Larsson <alexl@redhat.com>
2151 * gfileinputstream.[ch]:
2152 * gfileoutputstream.[ch]:
2154 Remove duplicated GSeekable functions. (#509990)
2155 Just use the g_seekable_xxx() calls instead.
2157 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2160 * gvolumemanager.c: Whitespace cleanups.
2162 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2163 Use the right mode when creating the file.
2165 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2167 * gfileenumerator.c:
2168 * gfileinputstream.c:
2170 * goutputstream.c: Documentation: Fixed minor typos
2171 and added more mentions of specific _finish() functions.
2173 2008-01-21 Alexander Larsson <alexl@redhat.com>
2175 * inotify/Makefile.am:
2176 * inotify/inotify-helper.c:
2177 * inotify/inotify-kernel.c:
2178 * inotify/inotify-path.c:
2179 * inotify/local_inotify.h: Removed.
2180 * inotify/local_inotify_syscalls.h: Removed.
2181 Removed the included copies of the inotify
2182 headers. We now only use the <sys/inotify.h>
2183 header which exists on modern systems.
2184 This fixes problems on ARM and SH5 (#510448)
2185 but is also generally much cleaner and future
2186 safe. For instance, if other OSes add support
2187 for inotify it should "just work".
2189 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2191 * inotify/*.c: Coding style fixes.
2192 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2193 for the 1/4 Hz timer.
2195 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2198 * gfilemonitor.[hc]:
2199 * gmemoryinputstream.c:
2200 * gmemoryoutputstream.c:
2201 * gmountoperation.c:
2202 * gthemedicon.c: Documentation updates
2204 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2206 * gfile.c: documentation: Fixed more minor
2209 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2211 * gmount.c: (g_mount_remount): documentation:
2212 Mention g_mount_remount_finish() instead of
2213 g_mount_unmount_finish().
2215 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2219 * gfile.c: Fixed some minor typos in the
2222 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2224 * gio/gvolumemonitor.c:
2225 (g_volume_monitor_get_connected_drives):
2226 (g_volume_monitor_get_volumes):
2227 (g_volume_monitor_get_mounts): Documentation:
2228 Clarify the ownership of the regurn GLists.
2230 2008-01-17 Alexander Larsson <alexl@redhat.com>
2233 Add the async find_enclosing_mount version
2234 to the header file too.
2236 2008-01-17 Alexander Larsson <alexl@redhat.com>
2239 Add async version of find_enclosing_mount
2240 with default implementation.
2242 2008-01-17 Alexander Larsson <alexl@redhat.com>
2247 Allow calls to implementation of copy and write
2248 even if the type of the file implementations is
2249 different. This can be used to implement native
2250 upload and download calls in a vfs.
2253 (g_local_file_move):
2254 Protect against the case where move is called
2255 with one file not being local.
2257 Make sure we call the progress callback once
2258 in the native move operation so that the caller
2259 knows how many bytes were copied.
2261 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2264 * gdatainputstream.c:
2266 * gfileoutputstream.c:
2271 * gunixmounts.c: Corrected some typos in the documentation:
2272 occured -> occurred.
2273 its -> it's (where appropriate).
2275 2008-01-16 Alexander Larsson <alexl@redhat.com>
2279 Add g_file_query_exists (#508771)
2281 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2286 * gvolume.c: For async functions that have no non-async
2287 version, document that the GAsyncReadyCallback may be NULL.
2290 2008-01-15 Alexander Larsson <alexl@redhat.com>
2292 * gmemoryinputstream.c:
2293 * gmemoryoutputstream.c:
2294 Don't do pointer arithmetic on void * (#508602)
2295 Patch from Kazuki IWAMOTO
2297 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2299 * === Released 2.15.2 ===
2301 2008-01-14 Alexander Larsson <alexl@redhat.com>
2303 * gfile.c (g_file_monitor_file):
2304 Don't set error here, since we fallback to polling monitor.
2306 2008-01-14 Alexander Larsson <alexl@redhat.com>
2309 (g_file_monitor_directory):
2310 (g_file_monitor_file):
2311 Add GError to file monitor calls
2313 * glocaldirectorymonitor.c:
2314 * glocaldirectorymonitor.h:
2316 * glocalfilemonitor.c:
2317 * glocalfilemonitor.h:
2319 Update for above change
2321 2008-01-14 Alexander Larsson <alexl@redhat.com>
2325 Handle root correctly in g_file_get_relative_path (#508719)
2327 2008-01-14 Alexander Larsson <alexl@redhat.com>
2330 Clean up docs and example for GAsyncResult (#508074)
2332 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2334 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2335 and correct some spelling mistakes. Bug #508108.
2337 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2339 * glocalfileinfo.c: Add a comment.
2341 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2343 * gfileinfo.c: GFileInfo description: Mention
2344 how to actually set attributes in a GFile and how to discover
2345 which attributes are settable. Bug #508378.
2347 2008-01-10 A. Walton <awalton@svn.gnome.org>
2349 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2350 (g_app_info_get_default_for_type):
2351 Check for NULL content types.
2353 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2355 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2357 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2359 * gfile.c: *_async() functions: Several small corrections
2360 to the documentation, mostly correcting copy/paste errors
2361 and improving some sentences.
2363 2008-01-09 Dan Winship <danw@gnome.org>
2365 * glocalfile.c (get_unique_filename): x86_64 fix
2367 2008-01-09 Alexander Larsson <alexl@redhat.com>
2372 Add g_unix_mount_guess_should_display and use
2373 for unix volume monitor backend.
2374 This means we more or less show what the
2375 gnome-vfs backend did.
2376 Based on patch from Padraig O'Briain
2378 2008-01-09 Alexander Larsson <alexl@redhat.com>
2382 Add g_themed_icon_new_with_default_fallbacks
2385 Use default fallbacks for icons
2387 2008-01-09 Alexander Larsson <alexl@redhat.com>
2390 * gmountoperation.[ch]:
2391 Change the API a bit so that unhandled methods
2392 get reported via the reply, rather than by
2393 the signal emission return value. This is because
2394 some handlers can't know this immediately without
2395 doing I/O, and this is an async operation that
2398 2008-01-09 Alexander Larsson <alexl@redhat.com>
2401 * fam/gfamdirectorymonitor.c:
2402 * fam/gfamfilemonitor.c:
2403 Fix double free crash (#508224)
2404 Patch from Joe Marcus Clarke
2406 008-01-07 Matthias Clasen <mclasen@redhat.com>
2408 * === Released 2.15.1 ===
2410 2008-01-07 Alexander Larsson <alexl@redhat.com>
2412 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2413 Fix warning (#507835)
2415 2008-01-07 Alexander Larsson <alexl@redhat.com>
2418 Pass --internal to glib-genmarshal
2421 * gmountoperation.c:
2423 Use better types for signal arguments (#507822)
2425 2008-01-07 Alexander Larsson <alexl@redhat.com>
2428 Build test subdir after .
2429 Remove gdirectorymonitor.[ch]
2431 * gdirectorymonitor.[ch]:
2435 Remove GDirectoryMonitor and make
2436 GFileMonitor the baseclass for both file and
2437 directory monitors. Lift the more generic
2438 rate limiting code from GDirectoryMonitor
2442 * fam/gfamdirectorymonitor.[ch]:
2443 * inotify/ginotifydirectorymonitor.[ch]:
2444 * inotify/inotify-helper.c:
2445 * glocaldirectorymonitor.[ch]:
2448 Update for the removed GDirectoryMonitor.
2450 * gmemoryoutputstream.c:
2451 Remove ununsed variable
2453 2008-01-07 Alexander Larsson <alexl@redhat.com>
2455 * gmemoryinputstream.c:
2456 Translate error strings
2459 * gmemoryoutputstream.[ch]:
2460 New implementation that avoids using GByteArray
2461 in implementation and API. (#506377)
2463 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2465 * tests/*: Add a test for memory input streams.
2467 * Makefile.am: Add tests to SUBDIRS.
2469 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2471 * glocalfilemonitor.c:
2472 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2475 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2477 * gdesktopappinfo.c: Fix a docs typo.
2479 * gfileattribute.c: Add information about extended attributes
2480 to the documentation. (#505058)
2482 2008-01-04 Alexander Larsson <alexl@redhat.com>
2485 * gmountoperation.c:
2486 Use the right type (uint) for the ask_password signal.
2488 2008-01-04 Alexander Larsson <alexl@redhat.com>
2493 Add g_app_info_supports_files()
2494 Remove desktop arg from g_app_info_should_show().
2496 * gdesktopappinfo.[ch]:
2497 Implement g_app_info_supports_files() and new should_show()
2498 Add g_desktop_app_info_set_desktop_env() to set the desktop
2499 for should_show(). (This will be set by gtk+ later)
2501 2008-01-04 Alexander Larsson <alexl@redhat.com>
2504 * gmemoryinputstream.[ch]:
2505 Improve API so that you can use multiple chunks
2506 of memory and custom destroy functions. (#506374)
2508 2008-01-03 Alexander Larsson <alexl@redhat.com>
2511 Handle NULL attribute matchers safely, as we return this
2512 for empty attribute matcher strings.
2514 2008-01-03 Alexander Larsson <alexl@redhat.com>
2516 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2517 Add /usr/local to list of internal mountpoints
2519 2008-01-03 Alexander Larsson <alexl@redhat.com>
2522 Check for HAVE_LCHOWN (#505887)
2524 2008-01-03 Alexander Larsson <alexl@redhat.com>
2528 Add define for selinux context attribute.
2529 Fix missing : -> :: namespace separator change
2530 Fix missing _ -> - name change for xattr-sys.
2533 2008-01-03 Alexander Larsson <alexl@redhat.com>
2536 Link to libglib and libgobject directly (#504879)
2537 Patch from Sebastien Bacher
2539 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2541 * gfile.c: Expanded the g_file_new_for_commandline_arg
2542 description a bit, based on the code and the docs of the
2543 other g_file_new_for_* functions.
2545 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2547 * gfilemonitor.h: Fixed typo in docs.
2549 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2551 Updates to GIO documentation. (#506395, Mikael Hermansson)
2553 * gcontenttype.c: Describe memory management for return value of
2554 g_content_types_get_registered(). Missing piece from #505815.
2555 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2556 GVolume, GDrive, GMounts, which hopefully gives the user less
2557 confusions when using this API. Following explainations from
2558 Alexander Larsson on gtk-devel-list.
2560 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2562 * gfileinfo.c: Expand the long description.
2564 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2567 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2568 fix builds with --disable-visibility. (#500273, Christian Persch)
2570 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2572 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2573 in the list of returned app infos.
2575 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2577 * gappinfo.c: Fix a cross-reference
2579 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2581 * gfileinputstream.c:
2582 * gfileoutputstream.c:
2586 * gdesktopappinfo.c:
2588 * gfileinfo.c: Documentation updates.
2590 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2592 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2595 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2597 * gcontenttype.c (g_content_types_get_registered): Don't return
2598 freed memory (#505815, Mikael Hermansson)
2600 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2602 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2603 used to detect statbuf->st_blocks. (#505042)
2605 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2607 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2608 environment handling. (#504829, Cosimo Cecchi)
2610 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2612 * gappinfo.c: Doc improvements
2614 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2617 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2619 * === Released 2.15.0 ===
2621 2007-12-20 Hans Breuer <hans@breuer.org>
2623 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2624 with symbols gwin32appinfo.obj, added gmount.obj
2625 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2627 2007-12-20 Alexander Larsson <alexl@redhat.com>
2633 * gfilenamecompleter.c:
2636 * gpollfilemonitor.c:
2637 File attribute renames:
2639 fs:: -> filesystem::
2640 id::fs -> id::filesystem
2642 2007-12-20 Alexander Larsson <alexl@redhat.com>
2651 Add GMountUnmountFlags to all unmount and
2653 Add g_mount_remount() call.
2655 2007-12-20 Alexander Larsson <alexl@redhat.com>
2657 * gvfs.c (get_default_vfs):
2658 Fix unused variable warning
2660 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2662 * pltcheck.sh: Update
2664 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2666 * gunionvolumemonitor.c:
2667 * gunixmount.c: Remove C99 comments
2669 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2671 * gio.symbols: Add some missing symbols
2673 2007-12-19 Alexander Larsson <alexl@redhat.com>
2676 Make g_io_modules_load_all_in_directory not unuse
2677 loaded modules so that users of it can do stuff
2679 Init internal "module" types.
2680 Initialize static prio and name for types so that
2681 we don't have to load modules to get it.
2683 * gnativevolumemonitor.h:
2685 Move is_supported to parent class so that
2686 non-native monitors can avoid being initialized
2687 too. (For instance GDaemonVolumeMonitor if we're
2688 not using GDaemonVfs.)
2690 * glocaldirectorymonitor.[ch]:
2691 * glocalfilemonitor.[ch]:
2692 * gunionvolumemonitor.c:
2693 * gunixvolumemonitor.c:
2695 Find plugins using the static prio+name to
2696 avoid unnecessarily loading the modules.
2698 2007-12-19 Alexander Larsson <alexl@redhat.com>
2703 2007-12-19 Alexander Larsson <alexl@redhat.com>
2705 * gunionvolumemonitor.c:
2706 Store the native type as GType, not class so that
2707 we can unload it. But still avoid unnecessarily
2710 2007-12-19 David Zeuthen <davidz@redhat.com>
2712 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2713 add signals 'disconnected' and 'eject-button' on GDrive. Add
2714 signal 'removed' on GVolume and 'unmounted' on GMount.
2716 * gdrive.c: (g_drive_base_init):
2718 * gfile.c: (g_file_mount_mountable),
2719 (g_file_mount_enclosing_volume):
2722 * gmount.c: (g_mount_base_init):
2724 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2725 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2726 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2730 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2732 * *.c: Fix up includes in the section docs.
2734 2007-12-17 Alexander Larsson <alexl@redhat.com>
2736 * gnativevolumemonitor.h:
2737 * gunionvolumemonitor.c:
2738 * gunixvolumemonitor.c:
2739 Add is_supported() to GNativeVolumeMonitorClass so
2740 that we can avoid having to create an object to see
2741 if the backend is supported at runtime.
2742 Also add name member and an env var to pick a specific
2743 volume monitor backend.
2747 Add cancellable to _g_mount_get_for_mount_path()
2749 * glocaldirectorymonitor.c:
2750 * glocalfilemonitor.c:
2751 Avoid loading and unloading modules while sorting.
2753 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2756 * gunixmounts.[hc]: Namespace waste reduction, move some
2757 g_get_unix_mount functions to the g_unix_mount namespace.
2760 * gunixvolumemonitor.c:
2762 * glocaldirectorymonitor.c: Update all callers.
2764 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2766 2007-12-17 Alexander Larsson <alexl@redhat.com>
2769 Add doc comments about what GFile operations are
2770 guaranteed to not block.
2772 2007-12-17 Alexander Larsson <alexl@redhat.com>
2775 Add missing #ifdef fixing OSX build.
2776 (#503334, patch from Richard Hult)
2778 2007-12-14 David Zeuthen <davidz@redhat.com>
2782 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2783 (g_mount_eject), (g_mount_eject_finish):
2785 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2786 (get_volume_for_uuid), (get_mount_for_uuid),
2787 (g_union_volume_monitor_class_init),
2788 (get_default_native_type_with_exclude), (get_default_native_type),
2789 (get_native_type), (update_native_type),
2790 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2791 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2792 (g_unix_mount_can_eject), (eject_unmount_cb),
2793 (eject_unmount_read_error), (eject_unmount_do),
2794 (g_unix_mount_unmount), (g_unix_mount_eject),
2795 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2796 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2797 (g_unix_mount_point_guess_can_eject):
2799 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2800 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2801 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2802 (g_unix_volume_mount), (g_unix_volume_eject),
2803 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2804 * gunixvolumemonitor.c: (get_volume_for_uuid),
2805 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2807 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2808 (g_volume_eject), (g_volume_eject_finish):
2810 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2811 (g_volume_monitor_get_mount_for_uuid):
2814 Provide eject() on both GMount and GVolume and utility functions
2815 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2816 ejected. Introduce the concept of UUID's and wire it into GVolume
2817 and GMount and provide API on GVolumeMonitor to find such
2818 instances. Also handle the case where an external
2819 GNativeVolumeMonitor fails to initialize. Lock around the
2820 _g_get_mount_for_mount_path() function such that volume monitor
2821 implementations won't have to do locking themselves.
2823 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2825 * gdesktopappinfo.c:
2831 * gvolume.h: Documentation updates
2833 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2836 * gfile.h: Doc updates
2838 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2841 * gdesktopappinfo.c: Use hash table iterators.
2843 2007-12-14 Alexander Larsson <alexl@redhat.com>
2846 * gfileattribute.[ch]:
2847 * gfileattribute-priv.h:
2848 Move GFileAttributeValue to a private header, as
2852 Make set_attribute take a type + a pointer instead
2853 of a GFileAttributeValue.
2856 Fix up for above changes.
2857 Add g_file_info_get_attribute_data to get
2858 all info in one call, g_file_info_get_attribute_status
2859 to get the status and g_file_info_get_attribute_as_string.
2863 * glocalfileinfo.[ch]:
2867 Make _guess_type static.
2869 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2872 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2873 made mkenums and friends use temporary files to avoid leaving
2874 empty generated files on failure (#503470).
2876 2007-12-14 Alexander Larsson <alexl@redhat.com>
2878 * gmountoperation.h:
2881 2007-12-14 Alexander Larsson <alexl@redhat.com>
2885 * gfileattribute.[ch]:
2888 * glocalfileoutputstream.c:
2889 * gmountoperation.[ch]:
2890 * goutputstream.[ch]:
2891 Clean up all flags enums to not have _FLAGS in them
2892 Make the names of some of the enums better.
2897 2007-12-14 Michael Natterer <mitch@imendio.com>
2899 * gio.symbols: fix g_io_scheduler symbol names.
2901 2007-12-14 Alexander Larsson <alexl@redhat.com>
2907 * gbufferedinputstream.h:
2908 * gbufferedoutputstream.h:
2911 * gdatainputstream.h:
2912 * gdataoutputstream.h:
2913 * gdesktopappinfo.h:
2914 * gdirectorymonitor.h:
2918 * gfileenumerator.h:
2921 * gfileinputstream.h:
2923 * gfilenamecompleter.h:
2924 * gfileoutputstream.h:
2925 * gfilterinputstream.h:
2926 * gfilteroutputstream.h:
2934 * gmemoryinputstream.h:
2935 * gmemoryoutputstream.h:
2937 * gmountoperation.h:
2940 * gsimpleasyncresult.h:
2942 * gunixinputstream.h:
2944 * gunixoutputstream.h:
2948 * inotify/Makefile.am:
2949 Only allow including <gio/gio.h> from apps
2951 2007-12-14 Alexander Larsson <alexl@redhat.com>
2953 * gioscheduler.[ch]:
2954 * gsimpleasyncresult.c:
2955 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2956 Split out the send_to_mainloop call into two versions instead
2957 of having the block argument.
2959 2007-12-13 Alexander Larsson <alexl@redhat.com>
2961 * gcancellable.[ch]:
2963 * gbufferedinputstream.c:
2964 * gfileenumerator.c:
2965 * gfileinputstream.c:
2966 * gfileoutputstream.c:
2970 g_push/pop_current_cancellable ->
2971 g_cancellable_push/pop_current
2973 2007-12-13 Alexander Larsson <alexl@redhat.com>
2977 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2979 2007-12-13 Alexander Larsson <alexl@redhat.com>
2981 * gmountoperation.h:
2982 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2984 2007-12-12 Alexander Larsson <alexl@redhat.com>
2987 Fix race condition when freeing proxy in
2988 g_io_job_send_to_mainloop().
2990 2007-12-12 Alexander Larsson <alexl@redhat.com>
2996 Make attribute namespace separator "::" instead of ":".
2997 Use - instead of _ as separator in attribute names.
2999 2007-12-12 Alexander Larsson <alexl@redhat.com>
3001 * gbufferedinputstream.h:
3002 * gbufferedoutputstream.h:
3003 * gdatainputstream.h:
3004 * gdataoutputstream.h:
3005 * gdirectorymonitor.h:
3006 * gfileenumerator.h:
3007 * gfileinputstream.h:
3009 * gfileoutputstream.h:
3010 * gfilterinputstream.h:
3011 * gfilteroutputstream.h:
3013 * glocalfileinputstream.h:
3014 * glocalfileoutputstream.h:
3015 * gmemoryinputstream.h:
3016 * gmemoryoutputstream.h:
3017 * gnativevolumemonitor.h:
3019 * gunixinputstream.h:
3020 * gunixoutputstream.h:
3023 s/parent/parent_instance/ in GObjects
3025 2007-12-12 Alexander Larsson <alexl@redhat.com>
3030 No need for padding for interfaces
3032 2007-12-12 Alexander Larsson <alexl@redhat.com>
3036 * gbufferedinputstream.c:
3037 * gbufferedoutputstream.c:
3040 * gdatainputstream.[ch]:
3041 * gdesktopappinfo.c:
3042 * gdirectorymonitor.c:
3044 * gfileattribute.[ch]:
3047 * gfileinputstream.h:
3048 * gfilemonitor.[ch]:
3049 * gfileoutputstream.[ch]:
3050 * gfilterinputstream.h:
3051 * gfilteroutputstream.h:
3054 * gloadableicon.[ch]:
3055 * gmemoryinputstream.c:
3056 * gmountoperation.c:
3058 Fix up a bunch of details in the docs.
3063 2007-12-11 David Zeuthen <davidz@redhat.com>
3065 Rework how volumes, drives and volume monitoring is
3066 done. Previosly the model was
3068 GDrive <1-1> GVolume
3070 where a GDrive instance represented a mount point and a GVolume
3071 instance represented a mounted file system. This patch changes it
3074 GDrive <1-N> GVolume <1-1> GMount
3076 where GMount now serves the purpose of the old GVolume and the new
3077 GVolume serves the purpose of the old GDrive. In addition the new
3078 GDrive interface is used to represent a collection of GVolume
3079 instances (typically partitions) and also contains utility to query
3080 the state of the physical drive the GDrive object represents (such
3081 as checking for media, polling the drive, ejecting the media etc.).
3083 Also implement mounting and unmounting in the Unix volume monitor
3084 backend. A subquent patch will introduce GDrive support for ejection
3088 * gdrive.c: (g_drive_is_media_check_automatic),
3089 (g_drive_is_media_removable), (g_drive_has_media),
3090 (g_drive_can_poll_for_media), (g_drive_eject),
3091 (g_drive_eject_finish), (g_drive_poll_for_media),
3092 (g_drive_poll_for_media_finish):
3094 * gfile.c: (g_file_find_enclosing_mount):
3097 * glocaldirectorymonitor.c:
3098 (g_local_directory_monitor_constructor), (mounts_changed):
3099 * glocalfile.c: (get_mount_info),
3100 (g_local_file_find_enclosing_mount),
3101 (g_local_file_file_iface_init):
3102 * gnativevolumemonitor.h:
3103 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3104 (get_connected_drives), (g_union_volume_monitor_class_init),
3105 (child_volume_added), (child_volume_removed),
3106 (child_volume_changed), (child_mount_added), (child_mount_removed),
3107 (child_mount_pre_unmount), (child_mount_changed),
3108 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3109 (g_union_volume_monitor_remove_monitor),
3110 (_g_mount_get_for_mount_path):
3111 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3112 (guess_system_internal), (_g_get_unix_mounts),
3113 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3114 (g_unix_mount_free), (g_unix_mount_compare),
3115 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3116 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3117 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3118 (type_to_icon), (g_unix_mount_guess_name),
3119 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3120 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3121 (_resolve_symlink), (_resolve_dev_root):
3123 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3124 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3125 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3126 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3127 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3128 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3129 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3130 (g_unix_volume_volume_iface_init):
3132 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3133 (get_mounts), (get_volumes), (get_connected_drives),
3134 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3135 (mountpoints_changed), (mounts_changed),
3136 (g_unix_volume_monitor_init),
3137 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3138 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3139 * gunixvolumemonitor.h:
3140 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3141 (g_volume_mount), (g_volume_mount_finish):
3143 * gvolumemonitor.c: (g_volume_monitor_class_init),
3144 (g_volume_monitor_get_connected_drives),
3145 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3148 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3150 * gmountoperation.h (GPasswordFlags): Close the gap
3152 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3154 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3156 * gdesktopappinfo.[hc]: Remove _-prefixes
3158 2007-12-10 Tor Lillqvist <tml@novell.com>
3160 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3163 2007-12-10 Alexander Larsson <alexl@redhat.com>
3165 * gfile.c (g_file_set_display_name):
3166 Don't hardcode '/' (#502727)
3168 2007-12-09 Hans Breuer <hans@breuer.org>
3170 * makefile.msc : follow lib naming convention
3171 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3172 for user and group name, tested with ../tests/gio-ls
3174 2007-12-09 A. Walton <awalton@svn.gnome.org>
3176 * gdesktopappinfo.c:
3182 * gfileenumerator.c:
3187 * gmemoryinputstream.c:
3188 * gmemoryoutputstream.c:
3190 * gsimpleasyncresult.c:
3191 More documentation cleanup and filling in missing information, bringing
3192 GIO to 99% symbol coverage.
3194 2007-12-08 Hans Breuer <hans@breuer.org>
3196 [gio compiles and links on win32, not sure how much already works]
3197 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3198 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3199 base on win32 API; prefer g_lstat() over lstat(); instead of
3200 localtime_r() use an all GLib implementation on win32;
3201 get_mount_info() still needs a win32 specifc implementation
3202 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3203 win32_get_file_user_info to get owner/group info without uid/gid
3204 * glocalfileinputstream.c : include <io.h> on win32
3205 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3206 definition, use g_win32_ftruncate() for G_OS_WIN32
3207 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3208 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3209 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3210 * makefile.msc : updated
3212 2007-12-07 Alexander Larsson <alexl@redhat.com>
3214 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3215 Avoid warning spew if error == NULL
3217 2007-12-07 Alexander Larsson <alexl@redhat.com>
3220 Update docs wrt etags
3222 2007-12-06 Alexander Larsson <alexl@redhat.com>
3225 Include sys/types.h for dev_t (#501919)
3227 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3231 Make abicheck and pltcheck pass.
3233 2007-12-05 Alexander Larsson <alexl@redhat.com>
3236 * giomodule-priv.h: Added.
3237 * glocaldirectorymonitor.c:
3238 * glocalfilemonitor.c:
3239 * gunionvolumemonitor.c:
3241 Actually add the declaration of _g_io_modules_ensure_loaded
3243 2007-12-05 Alexander Larsson <alexl@redhat.com>
3245 * gdatainputstream.c:
3250 * glocaldirectorymonitor.c:
3251 * glocalfilemonitor.c:
3252 * gunionvolumemonitor.c:
3254 Make g_io_modules_ensure_loaded a private function and
3255 don't pass in the dirname. This means we can do magic
3256 directory finding in the win32 version.
3257 Export the actual load-modules-in-directory code so that
3258 gvfs can reuse that.
3260 2007-12-05 Alexander Larsson <alexl@redhat.com>
3262 * gbufferedinputstream.c:
3263 * gbufferedoutputstream.c:
3266 * gfileenumerator.[ch]:
3267 * gfileinputstream.c:
3268 * gfileoutputstream.[ch]:
3269 * gfilterinputstream.c:
3270 * gfilteroutputstream.c:
3271 * ginputstream.[ch]:
3273 * glocalfileenumerator.c:
3274 * glocalfileinputstream.c:
3275 * glocalfileoutputstream.c:
3276 * gmemoryinputstream.c:
3277 * gmemoryoutputstream.c:
3278 * goutputstream.[ch]:
3281 * gunixinputstream.c:
3282 * gunixoutputstream.c:
3283 Rename all struct members named:
3284 read, write, close, truncate, or mount
3285 to foo_fn, as these are reserved names
3286 and could be defined as macros in libc.
3289 2007-12-04 Alexander Larsson <alexl@redhat.com>
3292 (g_output_stream_close):
3293 Only call flush if non-null.
3295 2007-11-30 Dan Winship <danw@gnome.org>
3297 * ginputstream.c (g_input_stream_set_pending): Make this take a
3298 GError and return a gboolean, and do the "outstanding operation"
3299 check (and the "stream is already closed" check) itself.
3300 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3302 * goutputstream.c (g_output_stream_set_pending)
3303 (g_output_stream_clear_pending): Likewise
3305 * gbufferedinputstream.c:
3306 * gfileinputstream.c:
3307 * gfileoutputstream.c: Update for that
3309 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3310 Like g_simple_async_report_error_in_idle, but takes a GError
3311 rather than building one.
3313 2007-11-30 Dan Winship <danw@gnome.org>
3315 * goutputstream.c: Don't cheat and unset the "pending" flag around
3316 inner calls. Instead, call the class method directly rather than
3317 the wrapper function that checks "pending"
3319 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3321 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3323 2007-12-03 Hans Breuer <hans@breuer.org>
3325 [start of port to win32/msvc]
3326 * gcancellable.c : HAVE_UNIST_H and _pipe()
3327 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3328 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3329 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3331 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3332 * glocalvfs.c : use HAVE_PWD_H
3333 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3334 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3335 * Makefile.am : added to EXTRA_DIST
3337 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3339 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3342 2007-12-03 Alexander Larsson <alexl@redhat.com>
3345 Handle OSX style xattrs API (#500506)
3347 2007-12-03 Alexander Larsson <alexl@redhat.com>
3351 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3353 2007-12-02 A. Walton <awalton@svn.gnome.org>
3357 Documentation accuracy fixes.
3359 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3361 * gioenumtypes.c.template: Fix typo.
3363 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3365 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3367 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3369 * gdirectorymonitor.c:
3370 * gfilemonitor.c: Add properties
3372 * gbufferedoutputstream.c: Don't mark buffer-size property
3375 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3377 * gbufferedoutputstream.c: Add auto-grow property.
3379 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3381 * *.c: Unify the capitalization of section headings.
3383 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3385 * gmountoperation.c: Add properties
3387 * gdatainputstream.c: Turn byte-order and newline-type into
3390 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3392 * gioenumtypes.[hc].template: Templates for enum registration
3394 * Makefile.am: Generate gioenumtypes.[hc]
3396 * gio.h: Include gioenumtypes.h
3398 * gfile.h: Add some explicit nicks.
3400 * gio.symbols: Add new symbols
3402 * pltcheck.sh: Adjust
3404 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3406 * *.c: Explain etags and link to the explanation
3408 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3410 * *.c: Explain I/O priority.
3412 * *.c: More coding style fixes.
3414 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3416 * gasyncresult.c: Add another paragraph to the intro,
3417 adjust coding style of example.
3419 2007-11-29 A. Walton <awalton@svn.gnome.org>
3422 Fixes unknown meaning in GAppLaunchContext docs.
3424 Clarify asynchronous ops.
3426 Fix entity tag docs.
3429 Provides missing gtk-doc section, fixes API docs slighly.
3430 * gsimpleasyncresult.c:
3431 Fill in missing info in docs.
3432 * gunixinputstream.c:
3433 * gunixoutputstream.c:
3434 Be more expressive in short description.
3436 Remove gtk-doc stubs for non-public API.
3438 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3440 * *.c: Coding style fixups
3442 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3444 * inotify/inotify-helper.c: Don't export the lock from libgio.
3446 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3449 * abicheck.sh: Fix copy-and-paste leftovers
3451 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3453 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3455 2007-11-28 Alexander Larsson <alexl@redhat.com>
3459 Removed unnecessary file
3461 * gdesktopappinfo.[ch]:
3464 * glocaldirectorymonitor.[ch]:
3466 * glocalfileenumerator.[ch]:
3467 * glocalfileinputstream.[ch]:
3468 * glocalfilemonitor.[ch]:
3469 * glocalfileoutputstream.[ch]:
3471 * gnativevolumemonitor.c:
3472 * gpollfilemonitor.[ch]:
3473 * gunionvolumemonitor.[ch]:
3476 * gunixvolumemonitor.[ch]:
3479 * inotify/ginotifydirectorymonitor.[ch]:
3480 * inotify/ginotifyfilemonitor.[ch]:
3481 * inotify/inotify-helper.c:
3482 Append _ to all internal functions
3486 Export symbols needed for modules
3488 2007-11-28 Alexander Larsson <alexl@redhat.com>
3491 * abicheck.sh: Added.
3492 * makegioalias.pl: Added.
3493 * pltcheck.sh: Added.
3494 * gio.symbols: Added.
3497 Initial work on adding symbol handling.
3500 Correct ifdef guard name
3503 * inotify/Makefile.am:
3504 * xdgmime/Makefile.am:
3505 Include toplevel Makefile.decl
3507 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3509 * gcontenttype.c: Move doc comments to the unix section.
3511 * *.[hc]: More trivial doc corrections.
3513 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3515 * gpollfilemonitor.c:
3519 * gdesktopappinfo.c:
3524 * gdatainputstream.c:
3525 * gdatainputstream.h:
3526 * gdataoutputstream.c:
3527 * gdataoutputstream.h:
3528 * gfileinfo.h: Doc cleanups
3530 2007-11-28 Andre Klapper <a9016009@gmx.de>
3532 * gdesktopappinfo.c: Fix a typo.
3534 2007-11-27 Andre Klapper <a9016009@gmx.de>
3536 * glocalfileoutputstream.c: Fix a typo.
3538 2007-11-27 Alexander Larsson <alexl@redhat.com>
3541 Don't include removed headers
3543 2007-11-27 Alexander Larsson <alexl@redhat.com>
3546 * gsocketinputstream.[ch]: Removed.
3547 * gsocketoutputstream.[ch]: Removed.
3548 * gunixinputstream.[ch]: Added.
3549 * gunixoutputstream.[ch]: Added.
3550 Renamed GSocket*Stream to GUnix*Stream and made
3551 it unix-only, since its not really only for sockets
3552 and it only works on unix (but is highly useful there).
3554 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3560 * gbufferedinputstream.c:
3561 * gbufferedinputstream.h:
3562 * gbufferedoutputstream.c:
3563 * gbufferedoutputstream.h:
3567 * gdatainputstream.c:
3568 * gdatainputstream.h:
3569 * gdataoutputstream.c:
3570 * gdataoutputstream.h:
3571 * gdirectorymonitor.c:
3572 * gdirectorymonitor.h:
3579 * gfileenumerator.c:
3580 * gfileenumerator.h:
3585 * gfileinputstream.c:
3586 * gfileinputstream.h:
3589 * gfilenamecompleter.c:
3590 * gfilenamecompleter.h:
3591 * gfileoutputstream.c:
3592 * gfileoutputstream.h:
3593 * gfilterinputstream.c:
3594 * gfilterinputstream.h:
3595 * gfilteroutputstream.c:
3596 * gfilteroutputstream.h:
3609 * glocalfileoutputstream.c:
3610 * gmemoryinputstream.c:
3611 * gmemoryinputstream.h:
3612 * gmemoryoutputstream.c:
3613 * gmemoryoutputstream.h:
3614 * gmountoperation.c:
3615 * gmountoperation.h:
3618 * gpollfilemonitor.c:
3621 * gsimpleasyncresult.c:
3622 * gsimpleasyncresult.h:
3623 * gsocketinputstream.c:
3624 * gsocketinputstream.h:
3625 * gsocketoutputstream.c:
3626 * gsocketoutputstream.h:
3633 * gunixvolumemonitor.c:
3642 Bumps documentation to 93% symbol coverage, touching most
3643 of the public files. Fixes broken function documentation prototypes.
3644 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3645 gtk-doc headers in private files.
3647 2007-11-27 Jürg Billeter <j@bitron.ch>
3649 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3650 (g_buffered_input_stream_read_byte):
3651 * gbufferedinputstream.h:
3652 New functions for efficient access to buffer and simple single byte
3655 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3656 (g_data_input_stream_read_until):
3657 * gdatainputstream.h:
3658 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3659 read_until with multiple stop chars.
3661 2007-11-27 Alexander Larsson <alexl@redhat.com>
3665 * inotify/Makefile.am:
3666 Use the user-specified giomoduledir
3668 2007-11-27 Alexander Larsson <alexl@redhat.com>
3672 Add catch-all gio.h header
3673 Don't install gdummyfile.h
3675 2007-11-26 Alexander Larsson <alexl@redhat.com>
3677 * Makefile.am (gioinclude_HEADERS):
3678 Remove trailing whitespace
3680 2007-11-26 Alexander Larsson <alexl@redhat.com>
3682 Merge gio-standalone into glib
3684 2007-11-25 Christian Kellner <gicmo@gnome.org>
3686 * gio/goutputstream.c:
3687 Fix small mistake in the docs.
3689 2007-11-21 Christian Persch <chpe@gnome.org>
3691 * gio/glocalfile.c: (g_local_file_trash):
3692 Convert filenames to UTF-8 for GError.
3693 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3694 as per xdg base dir spec.
3696 2007-11-21 Christian Persch <chpe@gnome.org>
3698 * gio/gdesktopappinfo.c:
3699 Use that g_key_file_to_data cannot fail.
3701 Use stock defines for the key file group and key names.
3704 2007-11-21 Alexander Larsson <alexl@redhat.com>
3707 (copy_stream_with_progress):
3708 Make sure we do a final progress callback with
3709 the full total size.
3711 2007-11-21 Alexander Larsson <alexl@redhat.com>
3714 Export g_file_copy_attributes
3715 Remove padding as its not needed for interfaces
3717 2007-11-20 Alexander Larsson <alexl@redhat.com>
3722 Add G_IO_ERROR_WOULD_MERGE for
3723 copy/move dir on dir with overwrite.
3725 2007-11-20 Alexander Larsson <alexl@redhat.com>
3728 * gio/glocalfileinfo.c:
3729 Add COPY_NAME (this is an optional
3730 non-modified utf8 version of the name) that
3733 2007-11-20 Alexander Larsson <alexl@redhat.com>
3735 * gio/glocalfileenumerator.c:
3736 Report errors as GIOError, not GFileError
3738 2007-11-16 Alexander Larsson <alexl@redhat.com>
3740 * gio/glocalfileoutputstream.c:
3741 * gio/gwin32appinfo.c:
3742 Fix typos in strings.
3743 Patch from Luca Ferretti <elle.uca@libero.it>
3745 2007-11-15 Alexander Larsson <alexl@redhat.com>
3748 Post release version bump
3750 === gio-standalone 0.1.2 ===
3752 2007-11-15 Alexander Larsson <alexl@redhat.com>
3754 * docs/reference/gio/Makefile.am:
3755 Fix up distcheck by removing weird
3761 2007-11-14 Alexander Larsson <alexl@redhat.com>
3763 * gio/gdesktopappinfo.c:
3764 * gio/glocaldirectorymonitor.c:
3766 * gio/glocalfileinfo.c:
3767 * gio/inotify/inotify-sub.c:
3768 * programs/gio-cat.c:
3769 * programs/gio-copy.c:
3770 * programs/gio-info.c:
3771 * programs/gio-ls.c:
3772 * programs/gio-monitor-dir.c:
3773 * programs/gio-monitor-file.c:
3774 * programs/gio-mount.c:
3775 * programs/gio-move.c:
3776 * programs/gio-rm.c:
3777 * programs/gio-save.c:
3778 * programs/gio-trash.c:
3779 Leak fixes from Kjartan Maraas
3781 2007-11-14 Alexander Larsson <alexl@redhat.com>
3783 * gio/fam/fam-helper.c:
3785 * gio/glocalfileinfo.c:
3789 * gio/inotify/inotify-diag.c:
3790 * gio/inotify/inotify-kernel.c:
3791 Various code cleanups from Kjartan Maraas
3793 2007-11-14 Alexander Larsson <alexl@redhat.com>
3795 * gio/gioscheduler.c:
3797 Set up threadpool so that we cache 2 unused
3798 idle threads for at 15 secs. This means we
3799 will reuse thread-local data (like dbus connections)
3802 2007-11-14 Alexander Larsson <alexl@redhat.com>
3804 * gio/fam/fam-helper.c:
3805 * gio/fam/gfamdirectorymonitor.c:
3806 * gio/fam/gfamfilemonitor.c:
3808 * gio/gcontenttype.c:
3809 * gio/gdatainputstream.c:
3810 * gio/gdataoutputstream.c:
3814 * gio/gfileattribute.h:
3815 * gio/gfileenumerator.c:
3817 * gio/ginputstream.c:
3820 * gio/glocalfileinfo.c:
3821 * gio/goutputstream.c:
3822 * gio/gpollfilemonitor.c:
3823 * gio/gsimpleasyncresult.c:
3824 * gio/gunixmounts.c:
3825 * gio/gunixmounts.h:
3826 * gio/inotify/ginotifydirectorymonitor.c:
3827 * gio/inotify/ginotifyfilemonitor.c:
3828 * gio/inotify/inotify-diag.c:
3829 * gio/inotify/inotify-kernel.c:
3830 * gio/inotify/inotify-path.c:
3832 * gio/test-streams.c:
3833 * programs/gio-info.c:
3834 * programs/gio-monitor-dir.c:
3835 * programs/gio-monitor-file.c:
3836 Various code cleanups from Kjartan Maraas
3838 2007-11-13 Alexander Larsson <alexl@redhat.com>
3841 Handle the uri-scheme calls for dummy files
3843 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3845 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3846 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3847 to avoid clash with the C++ keyword.
3849 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3851 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3852 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3854 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3856 * gio/glocaldirectorymonitor.c:
3857 * gio/glocalfilemonitor.c:
3858 * gio/gunionvolumemonitor.c:
3859 Don't use g_once_init_*() for initializations that could fail and
3860 could leave the initialization variable set to 0 but use GOnce.
3861 This prevents a deadlock on the second call when trying to create
3862 a monitor and no monitor type is available. Thanks to Sven Herzberg
3865 2007-11-11 Sven Herzberg <sven@imendio.com>
3867 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3868 #ifdef (make it work on MacOS X again)
3870 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3872 Fixes Changelog for last two commits (sorry guys).
3874 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3876 * gio/gbufferedinputstream.c:
3877 * gio/gdatainputstream.c:
3879 * gio/gfileoutputstream.c:
3880 * gio/gfilterinputstream.c:
3881 * gio/glocalfileinputstream.c:
3884 More consistency fixes in g*stream.c files.
3885 Significant clean of gfile's documentation, filling in of
3886 asynchronous operations documentation.
3888 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3890 * gio/gasyncresult.c:
3891 * gio/gbufferedinputstream.c:
3892 * gio/gbufferedoutputstream.c:
3893 * gio/gcancellable.c:
3894 * gio/gcontenttype.c:
3895 * gio/gdatainputstream.c:
3896 * gio/gdataoutputstream.c:
3897 * gio/gdesktopappinfo.c:
3900 * gio/gfileattribute.c:
3901 * gio/gio/gfileenumerator.c:
3903 * gio/gfileinputstream.c:
3904 * gio/gfilemonitor.c:
3905 * gio/gfileoutputstream.c:
3906 * gio/ginputstream.c:
3908 * gio/gioscheduler.c:
3909 * gio/gloadableicon.c:
3910 * gio/glocalfileoutputstream.c:
3911 * gio/gmemoryoutputstream.c:
3912 * gio/gmountoperation.c:
3913 * gio/goutputstream.c:
3915 * gio/gsimpleasyncresult.c:
3916 * gio/gunionvolumemonitor.c:
3917 * gio/gunixmounts.c:
3918 * gio/gunixvolume.c:
3922 * gio/gvolumemonitor.c:
3923 Updated documentation stubs, working towards consistency and
3926 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3928 * gio/gmemoryoutputstream.c:
3929 * gio/gmemoryoutputstream.h:
3930 Change g_memory_output_stream_set_free_on_close() to
3931 g_memory_output_stream_set_free_data() as this makes more sense and
3932 is more consistent with GMemoryInputStream.
3934 2007-11-07 Alexander Larsson <alexl@redhat.com>
3941 Change how we find the default vfs so that
3942 we can handle a gvfs failing to init
3944 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3946 * gio/gbufferedoutputstream.c:
3947 * gio/gdatainputstream.c:
3948 * gio/gdataoutputstream.c:
3949 * gio/gfileinputstream.c:
3950 * gio/gfileoutputstream.c:
3951 * gio/gfilterinputstream.c:
3952 * gio/gfilteroutputstream.c:
3953 * gio/ginputstream.c:
3954 * gio/gmemoryinputstream.c:
3955 * gio/gmemoryoutputstream.c:
3956 * gio/goutputstream.c:
3957 * gio/gsimpleasyncresult.c:
3958 * gio/gsocketinputstream.c:
3959 * gio/gsocketoutputstream.c:
3960 Add guards to the remaining public functions, add a TODO for
3961 an unimplemented function and remove some useless guards.
3963 2007-11-07 Alexander Larsson <alexl@redhat.com>
3966 Autoconf checks for the various types of
3967 getpwuid_r and getgrgid_r
3969 * gio/glocalfileinfo.c:
3970 Use the autoconf checks from above
3972 2007-11-07 Alexander Larsson <alexl@redhat.com>
3975 (g_local_file_query_filesystem_info):
3976 Some fixes for the statvfs case
3978 2007-11-07 Alexander Larsson <alexl@redhat.com>
3981 (g_local_file_query_filesystem_info):
3982 Pick the "best" of statfs / statvfs for the system
3983 if both are availible.
3985 2007-11-07 Alexander Larsson <alexl@redhat.com>
3987 Solaris fixes from Halton.Huo@Sun.COM:
3994 * gio/glocalfileinfo.c:
3995 Fix for solaris definition of getpwuid_r
3997 * gio/test-streams.c:
3998 Use G_GNUC_PRETTY_FUNCTION
4000 2007-11-07 Alexander Larsson <alexl@redhat.com>
4002 * gio/gdesktopappinfo.c:
4003 (update_default_list):
4004 Remove double semicolon.
4005 Patch from Jens Granseuer
4007 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4009 * docs/reference/gio/gio-sections.txt:
4010 * gio/gbufferedinputstream.c:
4011 * gio/gbufferedinputstream.h:
4012 * gio/gdatainputstream.c:
4013 * gio/gfileenumerator.c:
4014 * gio/gioscheduler.c:
4015 * gio/gunionvolumemonitor.c:
4017 * programs/gio-save.c:
4018 Fix typo: availible -> available. Unfortuntely this breaks API
4019 and ABI as g_buffered_input_stream_get_available() was renamed.
4021 * gio/gunixmounts.c:
4022 * gio/gbufferedinputstream.c:
4023 Add guards for public functions.
4025 2007-11-06 Ross Burton <ross@openedhand.com>
4027 * docs/reference/gio/Makefile.am:
4028 Fix invalid += usage which automake 1.10 doesn't like.
4030 2007-11-06 Alexander Larsson <alexl@redhat.com>
4033 (g_app_launch_context_class_init):
4036 Patch from Ross Burton
4038 2007-11-06 Alexander Larsson <alexl@redhat.com>
4041 Post release version bump
4043 === gio-standalone 0.1.1 ===
4045 2007-11-06 Alexander Larsson <alexl@redhat.com>
4048 Bump version to 0.1.1
4050 * gio/gsimpleasyncresult.c:
4051 (g_simple_async_result_set_from_error):
4052 Remove bogus g_return_if_fail
4054 2007-11-06 Alexander Larsson <alexl@redhat.com>
4057 The name is gio-standalone
4060 Add top src/builddir to includedir
4062 2007-11-06 Alexander Larsson <alexl@redhat.com>
4064 * docs/reference/gio/gio-sections.txt:
4066 * gio/gbufferedinputstream.c:
4067 * gio/gbufferedoutputstream.c:
4068 * gio/gcancellable.c:
4069 * gio/gdatainputstream.h:
4070 * gio/gdataoutputstream.c:
4071 * gio/gdataoutputstream.h:
4072 * gio/gdirectorymonitor.c:
4074 * gio/gfileattribute.c:
4075 * gio/gfileattribute.h:
4076 * gio/gfileenumerator.c:
4077 * gio/gfileenumerator.h:
4080 * gio/gfileinputstream.h:
4081 * gio/gfilemonitor.c:
4082 * gio/gfileoutputstream.h:
4083 * gio/glocalfilemonitor.h:
4084 * gio/glocalfileoutputstream.h:
4085 * gio/gmemoryinputstream.c:
4086 * gio/gmemoryoutputstream.c:
4087 * gio/gmountoperation.c:
4088 * gio/goutputstream.c:
4089 * gio/goutputstream.h:
4091 * gio/gsimpleasyncresult.c:
4092 * gio/gunixmounts.c:
4093 * gio/gunixmounts.h:
4095 * gio/inotify/inotify-helper.c:
4096 Fix gtk-doc warnings
4098 Patch from Ross Burton
4100 2007-11-06 Alexander Larsson <alexl@redhat.com>
4102 * gio/gfilenamecompleter.c:
4103 (g_filename_completer_get_completions):
4106 * gio/gunixvolume.c:
4107 Remove unused function
4109 Patches from Ross Burton
4111 2007-11-06 Alexander Larsson <alexl@redhat.com>
4116 Padding not needed for interfaces
4118 2007-11-06 Alexander Larsson <alexl@redhat.com>
4120 * gio/gfilemonitor.c:
4124 Make giotypes.h an internal file
4127 * gio/gbufferedinputstream.h:
4128 * gio/gbufferedoutputstream.h:
4129 * gio/gcancellable.h:
4130 * gio/gdatainputstream.h:
4131 * gio/gdataoutputstream.h:
4132 * gio/gdirectorymonitor.c:
4133 * gio/gdirectorymonitor.h:
4138 * gio/gfileattribute.h:
4139 * gio/gfileenumerator.h:
4144 * gio/gfilemonitor.c:
4145 * gio/gfilemonitor.h:
4146 * gio/gfilenamecompleter.c:
4147 * gio/gfilenamecompleter.h:
4148 * gio/gfilterinputstream.h:
4149 * gio/gfilteroutputstream.h:
4150 * gio/ginputstream.h:
4151 * gio/gmemoryinputstream.h:
4152 * gio/gmemoryoutputstream.h:
4153 * gio/gmountoperation.c:
4154 * gio/gmountoperation.h:
4155 * gio/gnativevolumemonitor.c:
4156 * gio/goutputstream.h:
4159 * gio/gsimpleasyncresult.c:
4160 * gio/gsimpleasyncresult.h:
4161 * gio/gsocketinputstream.h:
4162 * gio/gsocketoutputstream.h:
4163 * gio/gthemedicon.c:
4164 * gio/gthemedicon.h:
4168 * gio/gvolumemonitor.c:
4169 * gio/gvolumemonitor.h:
4170 Add padding in classes where it seems useful
4171 Don't include giotypes.h from public headers
4172 Move in Class definitions into c file where possible
4177 2007-11-06 Alexander Larsson <alexl@redhat.com>
4179 * docs/reference/gio/gio-docs.xml:
4180 Better structure for API docs
4182 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4185 * gio/gloadableicon.c:
4186 * gio/gsimpleasyncresult.c:
4187 * gio/gthemedicon.c:
4188 Add some more guards to public functions. Only files missing are now
4191 2007-11-06 Alexander Larsson <alexl@redhat.com>
4193 * docs/reference/gio/gio-docs.xml:
4194 Remove old files, add missing ones
4196 2007-11-06 Alexander Larsson <alexl@redhat.com>
4198 * docs/reference/gio/gio-sections.txt:
4201 Hide implementation classes
4203 * gio/gdriveprivate.h:
4204 * gio/gvolumeprivate.h:
4205 Remove non-existing function declarations
4207 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4210 Fix compilation warnings and add guards to the new functions.
4212 * gio/gasyncresult.c:
4214 Add guards to the public functions.
4217 Implement get_path().
4219 2007-11-06 Alexander Larsson <alexl@redhat.com>
4221 * gio/gfilenamecompleter.c:
4222 Make g_filename_completer_get_completions
4223 return char ** instead of GList for
4226 * docs/reference/gio/gio-docs.xml:
4227 * docs/reference/gio/gio-sections.txt:
4229 * gio/gasyncresult.c:
4230 * gio/gbufferedinputstream.c:
4231 * gio/gbufferedoutputstream.c:
4232 * gio/gcancellable.c:
4233 * gio/gcontenttype.c:
4234 * gio/gdatainputstream.c:
4235 * gio/gdataoutputstream.c:
4236 * gio/gdesktopappinfo.c:
4237 * gio/gdirectorymonitor.c:
4241 * gio/gfileattribute.c:
4242 * gio/gfileenumerator.c:
4245 * gio/gfileinputstream.c:
4246 * gio/gfilemonitor.c:
4247 * gio/gfilenamecompleter.c:
4248 * gio/gfilenamecompleter.h:
4249 * gio/gfileoutputstream.c:
4250 * gio/gfilterinputstream.c:
4252 * gio/ginputstream.c:
4254 * gio/gioscheduler.c:
4255 * gio/gloadableicon.c:
4256 * gio/glocaldirectorymonitor.c:
4258 * gio/glocalfileinputstream.c:
4259 * gio/glocalfilemonitor.c:
4260 * gio/glocalfileoutputstream.c:
4262 * gio/gmemoryinputstream.c:
4263 * gio/gmemoryoutputstream.c:
4264 * gio/gmountoperation.c:
4265 * gio/goutputstream.c:
4266 * gio/gpollfilemonitor.c:
4268 * gio/gsimpleasyncresult.c:
4269 * gio/gsocketinputstream.c:
4270 * gio/gsocketoutputstream.c:
4271 * gio/gthemedicon.c:
4272 * gio/gunionvolumemonitor.c:
4274 * gio/gunixmounts.c:
4275 * gio/gunixvolume.c:
4276 * gio/gunixvolumemonitor.c:
4280 * gio/gvolumemonitor.c:
4281 * gio/gwin32appinfo.c:
4282 Add (mostly stub) doc strings to public functions.
4283 Patch from Andrew Walton (awalton@gmail.com)
4285 2007-11-06 Alexander Larsson <alexl@redhat.com>
4287 * gio/gappinfo.[ch]:
4288 Added GAppLaunchContext object and pass that to launch.
4289 This allows simple implementation of both
4290 launch-on-screen and startup notification via a gtk+
4291 subclass of GAppLaunchContext
4293 * gio/gdesktopappinfo.c:
4294 Implement GAppLaunchContext API
4296 * gio/gwin32appinfo.c:
4299 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4301 * gio/gmountoperation.c:
4302 Add some guards to GMountOperation's public functions.
4304 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4308 * gio/gcancellable.c:
4309 * gio/gdirectorymonitor.c:
4311 * gio/gfileenumerator.c:
4312 * gio/gfilemonitor.c:,
4313 * gio/gfilenamecompleter.c:
4316 * gio/gioscheduler.c:
4320 * gio/gvolumemonitor.c:
4321 Add even more guards to various public functions.
4323 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4326 Add guards to the public functions of GAppInfo.
4328 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4330 * gio/gcontenttype.c:
4331 Add some more guards for public functions.
4333 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4335 * gio/fam/fam-module.c:
4336 * gio/fam/gfamdirectorymonitor.c:
4337 * gio/fam/gfamdirectorymonitor.h:
4338 * gio/fam/gfamfilemonitor.c:
4339 * gio/fam/gfamfilemonitor.h:
4340 * gio/inotify/ginotifydirectorymonitor.c:
4341 * gio/inotify/ginotifydirectorymonitor.h:
4342 * gio/inotify/ginotifyfilemonitor.c:
4343 * gio/inotify/ginotifyfilemonitor.h:
4344 Add proper copyright information and remove an unused variable
4345 in the GInotifyFileMonitor constructor.
4347 * gio/gcancellable.c:
4348 Add a guard for a public function and an assertion to prevent
4349 an undefined program state.
4351 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4353 * gio/gfileattribute.c:
4354 Don't run into an assertion if the given attribute value is NULL
4355 in g_file_attribute_value_get_*() but instead return a fallback
4356 value that makes sense in most situations. Passing them a attribute
4357 value with the wrong type will still run into an assertion.
4359 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4361 * gio/gfileattribute.c:
4363 Add even more guards to the public functions. Also fix the refcounting
4364 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4365 let g_file_info_list_attributes() filter the attributes by namespace
4366 instead of simply ignoring the namespace parameter.
4368 2007-11-03 Sven Herzberg <sven@imendio.com>
4370 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4371 (This makes gio work on MacOS X again)
4373 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4376 Build the gio subdirectory before the docs. Otherwise the build will
4379 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4380 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4381 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4382 Add guards to the public functions.
4384 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4386 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4387 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4388 to prevent a compiler warning.
4390 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4391 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4392 return something in the non-void function find_topdir_for().
4394 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4401 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4403 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4404 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4405 * gwin32appinfo.c (g_win32_app_info_launch):
4406 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4407 envp_for_startup_id, g_desktop_app_info_launch,
4408 g_desktop_app_info_launch_uris):
4410 Give an opaque 'startup_id' string instead of 'envp'.
4411 Support empty file lists for launching new windows.
4412 Fix infinite recursion bug when launching URIs.
4414 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4417 Add guard to the new g_file_get_uri_scheme() function.
4419 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4422 Convert a g_return_val_if_fail() to setting the GError instead as
4423 otherwise applications have to verify the parameter before otherwise
4424 and the parameter might come directly from the user.
4426 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4428 * gio/inotify/ginotify*.[ch]:
4429 Add missing copyright information.
4431 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4434 Add guards in the beginning of public functions to check for valid
4435 parameters and fix a bug in copy_stream_with_progress() that could've
4436 caused writing less bytes than reading.
4437 * gio/glocalfileinfo.c:
4438 Check for a NULL parameter and set the GError accordingly then.
4439 * gio/goutputstream.c:
4440 Fix the same bug as in gfile.c that could've caused writing less bytes
4441 than reading in g_output_stream_real_splice().
4443 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4446 Use the correct gvolumeprivate.h naming
4448 2007-11-01 Christian Kellner <gicmo@gnome.org>
4451 Remove leftover "$(daemon_sources)" entry.
4453 2007-11-01 Christian Kellner <gicmo@gnome.org>
4458 Add copyright information to source files.
4460 2007-11-01 Alexander Larsson <alexl@redhat.com>
4464 Add g_file_get_uri_scheme
4466 2007-11-01 Alexander Larsson <alexl@redhat.com>
4469 * gio/gdesktopappinfo.c:
4470 * gio/gwin32appinfo.c:
4471 Add g_app_info_get_default_for_uri_scheme.
4473 2007-11-01 Alexander Larsson <alexl@redhat.com>
4476 Correct filename for gdriveprivate.h
4478 2007-10-31 Alexander Larsson <alexl@redhat.com>
4481 Rename id:value to id:file
4484 * gio/glocalfileinfo.c:
4487 2007-10-31 Alexander Larsson <alexl@redhat.com>
4489 * gio/gunixvolume.c:
4491 Remove g_volume_get_platform_id, as thats not
4492 needed with the simpler union volume monitor
4494 2007-10-31 Alexander Larsson <alexl@redhat.com>
4497 * gio/guniondrive.[ch]: Removed.
4498 * gio/gunionvolume.[ch]: Removed.
4499 Remove GUnionDrive/Volume
4501 * gio/gunionvolumemonitor.c:
4502 Simplify union volume monitor, now we
4503 only have one native volume monitor and
4504 we use the actual volumes/drives from the
4505 child monitors instead of wrapping them
4507 * gio/gnativevolumemonitor.[ch]:
4508 Base class for native volume monitors.
4509 Includes priority and get_volume_for_mountpoint
4512 Add g_file_find_enclosing_volume
4515 Remove volume name fs attribute
4516 Add readonly fs attribute
4519 Implement readonly attribute
4520 remove volume name attribute
4521 Implement find_enclosing volume
4523 * gio/gunixmounts.c:
4524 Add a volume for "/".
4526 * gio/gunixvolume.[ch]:
4527 Set better name for /
4529 * gio/gunixvolumemonitor.[ch]:
4530 Derive from GNativeVolumeMonitor
4531 Implement get_volume_for_mountpoint
4534 GVolume typedef moved to gfile.h
4536 * gio/gvolumeprivate.h:
4537 Add g_volume_get_for_mount_path
4539 2007-10-31 Alexander Larsson <alexl@redhat.com>
4541 * gio/gunixmounts.[ch]:
4542 Add cache info to unix mount listers
4543 Make getmntent use threadsafe
4544 Add is_system_internal attribute for GUnixMount
4546 * gio/gunixvolume.c:
4547 (g_unix_volume_new):
4548 Use is_system_internal instead of own code
4550 * gio/glocaldirectorymonitor.c:
4551 * gio/gunixvolumemonitor.c:
4552 Update to new gunixmounts API
4557 2007-10-30 Alexander Larsson <alexl@redhat.com>
4560 Add volume name fsinfo attribute
4563 Read volume name info
4565 * gio/gunionvolumemonitor.c:
4566 Fix infinite loops when finalizing a union volume monitor
4568 2007-10-30 Alexander Larsson <alexl@redhat.com>
4570 * gio/goutputstream.[ch]:
4571 Add splice() with default implementation
4573 * gio/gsocketoutputstream.c:
4574 (g_socket_output_stream_write):
4575 Return error on cancellation correctly.
4577 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4579 * gio/glocalfile.c (g_local_file_trash):
4580 Do not leak a string.
4582 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4584 * gio/gfile.c (g_file_load_contents):
4585 Unref the stream after closing it.
4587 2007-10-25 Alexander Larsson <alexl@redhat.com>
4589 * gio/gioscheduler.h:
4592 2007-10-25 Alexander Larsson <alexl@redhat.com>
4596 Add g_file_has_uri_scheme and implement for local files
4598 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4600 * gio/gdesktopappinfo.c: do not leak a string.
4602 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4604 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4605 (g_local_directory_monitor_new):
4606 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4607 (g_local_file_monitor_new):
4608 Only look for the monitor type that should be used the first time
4609 and use g_qsort_with_data() instead of our own bubble sort
4612 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4615 * gio/fam/Makefile.am:
4616 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4617 * gio/fam/fam-helper.h:
4618 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4619 * gio/fam/gfamdirectorymonitor.c:
4620 * gio/fam/gfamdirectorymonitor.h:
4621 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4622 * gio/fam/gfamfilemonitor.h:
4623 * gio/glocaldirectorymonitor.c:
4624 * gio/glocaldirectorymonitor.h:
4625 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4626 * gio/glocalfilemonitor.h:
4627 * gio/inotify/Makefile.am:
4628 * gio/inotify/ginotifydirectorymonitor.c:
4629 * gio/inotify/ginotifydirectorymonitor.h:
4630 * gio/inotify/ginotifyfilemonitor.c:
4631 * gio/inotify/ginotifyfilemonitor.h:
4632 Implement the FAM and Inotify monitors as
4633 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4634 their own GIO module. GLocal(Directory|File)Monitor will use the
4635 monitor with the highest rank that is supported on that machine.
4637 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4640 Change GIO module dir to $(libdir)/gio/modules and change
4641 the log domain from GVFS to GIO. Also only export symbols starting
4642 with g_ in the resulting library.
4643 * gio/test-streams.c: (main):
4644 Set log handler for the GIO log domain.
4646 2007-10-22 Alexander Larsson <alexl@redhat.com>
4648 * gio/gfilenamecompleter.[ch]:
4649 Add g_filename_completer_set_dirs_only
4651 2007-10-22 Alexander Larsson <alexl@redhat.com>
4654 * gio/gurifuncs.[ch]:
4655 Add some simple URI helpers
4657 * gio/gfilenamecompleter.[ch]:
4658 Added object for filename (parse name actually) completion
4661 Handle ~ in parse names
4663 2007-10-17 Alexander Larsson <alexl@redhat.com>
4666 * gio/glocalfileinfo.c:
4667 Add and implement id:value attribute
4669 2007-10-17 Alexander Larsson <alexl@redhat.com>
4672 * gio/guniondrive.c:
4674 Add and implement g_drive_has_volumes
4676 2007-10-17 Alexander Larsson <alexl@redhat.com>
4679 * gio/glocalfileinfo.[ch]:
4680 Add unix:is_mountpoint and implement for local files
4682 2007-10-16 Alexander Larsson <alexl@redhat.com>
4684 * gio/gunionvolumemonitor.c:
4685 (g_union_volume_monitor_init):
4686 Fix up the unix type getting so that it works with gcc
4688 2007-10-12 Alexander Larsson <alexl@redhat.com>
4691 * gio/glocalfileinfo.c:
4692 Add thumbnail:failed to file info
4694 2007-10-12 Richard Hult <richard@imendio.com>
4696 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4697 optimizing away the get_type call (happens with some gcc versions,
4698 like the one shipped with OS X 10.4).
4700 2007-10-12 Alexander Larsson <alexl@redhat.com>
4702 * gio/glocalfileinfo.c:
4703 (_g_local_file_info_set_attribute):
4704 Fix build if not HAVE_XATTR
4705 Patch from Milosz Derezynski <internalerror@gmail.com>
4707 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4709 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4710 around for review, otherwise I would have asked you before
4713 2007-10-11 Alexander Larsson <alexl@redhat.com>
4716 Add thumbnail:path attribute
4718 * gio/glocalfileinfo.c:
4719 Implement thumbnail:path for local files
4721 2007-10-11 Alexander Larsson <alexl@redhat.com>
4723 * gio/glocalfileinfo.c:
4724 (_g_local_file_info_get):
4725 Avoid duplicate icon names
4727 2007-10-11 Alexander Larsson <alexl@redhat.com>
4729 * gio/gthemedicon.[ch]:
4730 Change g_themed_icon_get_names return type to const
4732 2007-10-10 Alexander Larsson <alexl@redhat.com>
4734 * gio/glocalfileinfo.c:
4735 Don't reference freed memory
4737 2007-10-10 Alexander Larsson <alexl@redhat.com>
4739 * gio/gfileattribute.c:
4742 * gio/glocalfileinfo.c:
4745 2007-10-10 Alexander Larsson <alexl@redhat.com>
4748 Check for NULL icons
4750 * gio/gfileattribute.c:
4751 Don't dup when getting objects (same as for string attributes)
4753 * gio/gicon.c (g_icon_equal):
4754 Safely handle NULLs in equal
4756 2007-10-10 Alexander Larsson <alexl@redhat.com>
4759 Fix c++ compilation issues
4760 Patch from Milosz Derezynski <internalerror@gmail.com>
4762 2007-10-10 Alexander Larsson <alexl@redhat.com>
4764 * programs/gio-monitor-dir.c:
4765 Don't crash if dir monitor not supported.
4767 2007-10-09 Alexander Larsson <alexl@redhat.com>
4770 Add missing G_END_DECLS
4772 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4774 * gio/gfile.c: (g_file_set_display_name),
4775 (g_file_query_settable_attributes),
4776 (g_file_query_writable_namespaces):
4777 Return NULL not FALSE on errors as the return type is a pointer.
4779 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4781 * gio/glocalfile.c: (g_local_file_monitor_file):
4782 Don't call monitor_file on the default interface vtable (which
4783 is NULL) but simply return NULL. The caller, GFile, will create a
4784 polling monitor if NULL is returned.
4786 2007-10-09 Alexander Larsson <alexl@redhat.com>
4790 * gio-unix-2.0.pc.in:
4791 Add gio-unix-2.0.pc if OS_UNIX
4794 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4796 2007-10-09 Alexander Larsson <alexl@redhat.com>
4798 * gio/gunixmounts.[ch]:
4799 Make unix mount monitoring API sane.
4800 Now its just a object with mounts_changed
4801 and mountpoints_changed signals.
4803 * gio/glocaldirectorymonitor.c:
4804 * gio/gunixvolumemonitor.c:
4805 Use new mount monitor api
4807 2007-10-09 Alexander Larsson <alexl@redhat.com>
4809 * gio/gunixmounts.[ch]:
4810 Move guess type into one call for mounts and one for mountpoints
4813 * gio/gunixvolume.c:
4816 2007-10-09 Alexander Larsson <alexl@redhat.com>
4818 * gio/gunixmounts.[ch]:
4819 Remove _ prefix in preparation to make this semi-public
4820 Hide implementation of structs
4822 * gio/glocaldirectorymonitor.c:
4824 * gio/gunixvolume.c:
4825 * gio/gunixvolumemonitor.c:
4826 Update for above API changes
4828 2007-10-08 Alexander Larsson <alexl@redhat.com>
4831 Better polling fallback. This also handles the case where we have
4832 a monitor_file implementation, but it fails.
4834 2007-10-08 Alexander Larsson <alexl@redhat.com>
4838 * gio/gunixmounts.c:
4839 * programs/gio-monitor-dir.c:
4840 * programs/gio-monitor-file.c:
4841 Added cancellable to file monitoring calls.
4842 These are really sync calls and need this.
4844 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4846 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4847 (g_local_vfs_class_init):
4848 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4849 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4851 2007-10-05 Alexander Larsson <alexl@redhat.com>
4853 * gio/gdirectorymonitorprivate.h:
4854 * gio/gfilemonitorprivate.h:
4855 * gio/gdirectorymonitor.h:
4856 * gio/gfilemonitor.h:
4857 Remove *private.h and move to the public API, so that
4858 we can do implementations outside gio (such as in gvfs)
4860 * gio/gdirectorymonitor.c:
4861 * gio/gfilemonitor.c:
4862 * gio/glocaldirectorymonitor.c:
4863 * gio/gpollfilemonitor.c:
4864 * gio/inotify/inotify-helper.c:
4865 * gio/fam/fam-helper.c:
4866 Update to the new header names
4868 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4870 * gio/gdirectorymonitor.c:
4871 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4874 2007-10-04 Alexander Larsson <alexl@redhat.com>
4876 * gio/glocalfileinfo.c (get_access_rights):
4877 Set CAN_TRASH when we can move the file.
4878 We should really also check for a parent trash dir.
4880 2007-10-04 Alexander Larsson <alexl@redhat.com>
4882 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4883 Add can_trash access attribute
4885 2007-10-04 Alexander Larsson <alexl@redhat.com>
4888 (g_local_file_trash):
4889 Create info file first. This is per-spec and allows
4890 us to actually trash directories.
4892 2007-10-02 Alexander Larsson <alexl@redhat.com>
4894 * gio/gdesktopappinfo.c:
4895 Implement the new mime support code.
4896 Always set app as handling mimetype when being set as default for it
4898 2007-10-01 Alexander Larsson <alexl@redhat.com>
4900 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4901 Fix up check for xattrs:
4903 2007-10-01 Alexander Larsson <alexl@redhat.com>
4906 (g_app_info_set_as_default_for_extension):
4907 (g_app_info_add_supports_type):
4908 (g_app_info_can_remove_supports_type):
4909 (g_app_info_remove_supports_type):
4910 Make these fail nicely if not implemented
4912 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4914 * gio/glocalfileoutputstream.c:
4915 * gio/glocalfileoutputstream.h:
4920 * programs/gio-save.c:
4921 Add a GFileCreateFlags argument to operations that can create
4924 2007-10-01 Alexander Larsson <alexl@redhat.com>
4926 * gio/gappinfo.[ch]:
4927 * gio/gdesktopappinfo.c:
4928 Add more (stubbed out) mime API needed for nautilus
4930 2007-10-01 Alexander Larsson <alexl@redhat.com>
4933 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4934 Add g_app_info_set_as_default_for_extension.
4936 * gio/gdesktopappinfo.c:
4937 Dummy for g_app_info_set_as_default_for_extension
4938 Support flags in g_app_info_create_from_commandline
4940 * gio/gwin32appinfo.c:
4942 Update for API changes
4944 * gio/gthemedicon.c:
4945 Properly NULL-terminate list of icon names
4947 2007-09-28 Alexander Larsson <alexl@redhat.com>
4949 * gio/gloadableicon.h:
4950 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4952 2007-09-28 Alexander Larsson <alexl@redhat.com>
4955 Install headers in $includedir/gio-standalone/
4957 * gio-2.0.pc.in: Added.
4958 * gio-standalone.pc.in: Removed.
4961 Renamed pkg-config file to match glib (for future move)
4962 Update to the new include dir
4965 Add more TODO comments
4967 2007-09-28 Alexander Larsson <alexl@redhat.com>
4969 * gio/gdesktopappinfo.[ch]:
4970 Expose new_from_filename
4971 Add getter for is_hidden and handle it better
4973 2007-09-28 Alexander Larsson <alexl@redhat.com>
4975 * gio/gfileinfo.[ch]:
4976 Rename g_file_size_format_for_display to
4977 g_format_file_size_for_display.
4978 Now it doesn't have the g_file prefix, so we
4979 can later move it to glib.
4981 2007-09-28 Alexander Larsson <alexl@redhat.com>
4983 * gio/gappinfo.[ch]:
4984 Add g_app_info_get_id and g_app_info_get_executable.
4985 Make all getters non-reffing
4986 Make g_app_info_launch take GFile arguments.
4987 Add must_support_uris argument to g_app_info_get_default_for_type.
4989 * gio/gwin32appinfo.c:
4990 Update to GAppInfo api changes
4992 * gio/gdesktopappinfo.c:
4993 Update to GAppInfo api changes
4994 Implement supports_xdg_startup_notify
4996 * gio/gfileicon.c (g_file_icon_get_file):
4997 Make getter non-reffing.
5002 2007-09-27 Alexander Larsson <alexl@redhat.com>
5004 * gio/gfileinfo.[ch]:
5005 Add g_file_size_format_for_display helper
5007 2007-09-27 Alexander Larsson <alexl@redhat.com>
5009 * gio/glocalfileinfo.c:
5010 Set UNIX_GID from gid, not from uid
5012 2007-09-27 Alexander Larsson <alexl@redhat.com>
5015 Add g_file_set_attributes_async
5017 2007-09-27 Alexander Larsson <alexl@redhat.com>
5019 * gio/glocalfile.c (g_local_file_set_display_name):
5020 Fix set_display_name to actually rename to the right place.
5021 Use lstat to look for existing files so we don't overwrite
5024 2007-09-26 Alexander Larsson <alexl@redhat.com>
5027 Add g_file_set_display_name_async()
5029 2007-09-26 Alexander Larsson <alexl@redhat.com>
5032 Add load_partial_contents async calls
5035 Make internal function static
5037 2007-09-26 Alexander Larsson <alexl@redhat.com>
5039 * gio/glocalfileinfo.c:
5040 Correctly detect broken symlinks
5042 2007-09-26 Alexander Larsson <alexl@redhat.com>
5044 * gio/gcancellable.c (g_cancellable_cancel):
5045 Allow cancel on NULL cancellable
5047 2007-09-25 Alexander Larsson <alexl@redhat.com>
5049 * gio/gsimpleasyncresult.c:
5050 Don't allocate g_error manually.
5051 Fixes g_slice/g_new mixup crash
5053 2007-09-25 Alexander Larsson <alexl@redhat.com>
5055 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5056 Actually set active_backend.
5057 This means the monitor will be cancelled correctly.
5059 2007-09-25 Alexander Larsson <alexl@redhat.com>
5061 * gio/gdirectorymonitor.c:
5062 Set timeout to NULL when destroying
5064 2007-09-25 Alexander Larsson <alexl@redhat.com>
5067 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5068 that is a better description of the error.
5070 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5072 * gio/gvfs.c: (g_vfs_get_local):
5073 Make the local vfs variable static. The same instance should
5076 2007-09-24 Alexander Larsson <alexl@redhat.com>
5078 * gio/glocalfileinfo.c:
5079 Pass in actual length read into sniffer, not the length
5082 2007-09-21 Alexander Larsson <alexl@redhat.com>
5084 * gio/gfileenumerator.c:
5087 * gio/gfileinputstream.c:
5088 * gio/gfileoutputstream.c:
5089 * gio/ginputstream.c:
5090 * gio/goutputstream.c:
5091 Don't crash if async callbacks are NULL
5093 2007-09-20 Alexander Larsson <alexl@redhat.com>
5096 Add async enumerate_children method and default
5099 2007-09-20 Alexander Larsson <alexl@redhat.com>
5102 Add g_file_contains_file & g_file_get_relative_path, since they
5103 were needed for nautilus.
5104 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5109 Implement new methods
5111 2007-09-17 Alexander Larsson <alexl@redhat.com>
5114 * gio/gfileinputstream.[ch]:
5115 * gio/gfileoutputstream.[ch]:
5117 * gio/glocalfileenumerator.[ch]:
5118 * gio/glocalfileinfo.[ch]:
5119 * gio/glocalfileinputstream.c:
5120 * gio/glocalfileoutputstream.c:
5121 * gio/gpollfilemonitor.c:
5122 * programs/gio-copy.c:
5123 * programs/gio-info.c:
5124 * programs/gio-move.c:
5125 Rename get_file_info to query_info() to make it clearer
5126 that these are not simple getters, but do i/o.
5128 2007-09-17 Alexander Larsson <alexl@redhat.com>
5130 * gio/gdatainputstream.[ch]:
5131 * gio/test-streams.c:
5132 Use _read_XXX instead of _get_XXX for the i/o calls
5135 2007-09-17 Alexander Larsson <alexl@redhat.com>
5138 Added needed stuff to TODO comment
5140 2007-09-17 Alexander Larsson <alexl@redhat.com>
5142 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5143 Don't error out removing the backup copy if it doesn't
5146 2007-09-14 Alexander Larsson <alexl@redhat.com>
5148 * programs/Makefile.am:
5149 * programs/gvfs-*.c:
5151 Renamed apps from gvfs-xxx to gio-xxx.
5153 2007-09-14 Alexander Larsson <alexl@redhat.com>
5156 * gio/gfileoutputstream.[ch]:
5157 * gio/glocalfileoutputstream.c:
5158 * programs/gvfs-save.c:
5159 g_file_output_stream_get_etag doesn't do i/o, so remove
5160 cancellation and error.
5162 2007-09-14 Alexander Larsson <alexl@redhat.com>
5165 Add new_etag output to replace_contents functions
5167 2007-09-14 Alexander Larsson <alexl@redhat.com>
5169 * gio/gfileoutputstream.[ch]:
5170 Add async get_file_info and default implementation
5172 2007-09-14 Alexander Larsson <alexl@redhat.com>
5174 * gio/gfileinputstream.c:
5175 Implement fallback wrapper for async get_file_info
5177 2007-09-14 Alexander Larsson <alexl@redhat.com>
5180 Add etag out argument to load_contents
5185 2007-09-14 Alexander Larsson <alexl@redhat.com>
5187 * gio/gcontenttype.c (looks_like_text):
5188 Whitespace like tab, cr and lf do not make the
5191 2007-09-14 Alexander Larsson <alexl@redhat.com>
5193 * gio/gfileinputstream.[ch]:
5194 Add async get_file_info.
5196 2007-09-13 Alexander Larsson <alexl@redhat.com>
5198 * gio/goutputstream.c (g_output_stream_write_all):
5199 Allow NULL for bytes_written
5201 2007-09-13 Alexander Larsson <alexl@redhat.com>
5203 * gio/gmemoryinputstream.[ch]:
5204 Add accessors for data
5206 2007-09-13 Alexander Larsson <alexl@redhat.com>
5208 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5209 Don't crash if length is NULL