1 2008-10-13 Alexander Larsson <alexl@redhat.com>
4 When adding an application as handling a mime type (but
5 not as the default), copy the full list of desktop ids handling
6 that type in before adding the new one on the end of the list.
7 This means we're not accidentally changing the default by overriding
8 the info from the later directories in the search path.
10 Also, fixes small leak of removed_entries.
12 2008-10-12 David Zeuthen <davidz@redhat.com>
15 * gunionvolumemonitor.c:
17 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
19 2008-10-10 Alexander Larsson <alexl@redhat.com>
21 * gfileattribute.c (escape_byte_string):
22 Upper half of byte is >> 4, not >> 8.
23 Found by Kjartan Maraas via sparse
25 2008-10-10 Matthias Clasen <mclasen@redhat.com>
27 Bug 555711 – Wrong fallback order of mimetype icons
29 * gcontenttype.c: Don't prefer generic icons over
30 default mimetype icons.
32 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
33 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
35 Patch by Krysztof Kosiński
37 2008-10-10 Matthias Clasen <mclasen@redhat.com>
39 Bug 555121 – Improved build-time handling of gio module-dir
41 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
42 * Makefile.am: Create the module dir.
44 2008-10-10 Matthias Clasen <mclasen@redhat.com>
46 * gio/glocalfileinfo.c:
47 * gio/tests/live-g-file.c:
48 * gio/gsimpleasyncresult.c: Fix gcc warnings.
50 2008-10-09 Alexander Larsson <alexl@redhat.com>
52 * gunixinputstream.c (g_unix_input_stream_read):
53 Actually return -1 in case of cancelled, not old res value.
55 2008-10-06 Colin Walters <walters@verbum.org>
57 Bug 554745 - GFileAttributeInfoList should be boxed
59 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
60 for convenience of bindings.
61 * gio/gfileattribute.h: Prototype it.
63 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
65 Bug 554970 – segfault when update-desktop-database is not available
68 * gdesktopappinfo.c (run_update_command): Have the error set before
71 2008-10-01 David Zeuthen <davidz@redhat.com>
73 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
74 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
75 instead of the gio URI (such as sftp://foo/file.avi) when using
76 g_app_info_launch() and friends. With a sufficiently recent gvfs,
77 apps using gio+gvfs will map the FUSE file:// URI back to the gio
78 URI (and thus bypass the fuse daemon) thanks the patch from bug
79 #530654. Since Nautilus is an user of g_app_info_launch() it
80 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
81 when launced via the file manager. Win. Fixes bug #528670.
83 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
84 mapping to the description of GAppInfo.
86 2008-09-30 Tor Lillqvist <tml@novell.com>
88 * tests/Makefile.am: Build desktop-app-info only on Unix.
90 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
91 g_critical(). Pass a large enough result buffer to
92 GetVolumePathNameW(). Just use MAX_PATH.
94 2008-09-29 David Zeuthen <davidz@redhat.com>
96 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
98 2008-09-26 Dan Winship <danw@gnome.org>
100 * tests/data-input-stream.c:
101 * tests/data-output-stream.c:
102 * tests/live-g-file.c:
103 * tests/memory-input-stream.c:
104 * tests/memory-output-stream.c: Use g_assert_error() and
107 2008-09-26 Matthias Clasen <mclasen@redhat.com>
109 Bug 545350 – GAppInfo deletion
110 Bug 545351 – Reset associations for content type
113 * gappinfo.[hc]: New functions g_app_info_can_delete,
114 g_app_info_delete and g_app_info_reset_type_associations.
117 * gwin32appinfo.c: Implementations of these.
120 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
122 2008-09-26 Dan Winship <danw@gnome.org>
124 Bug 505361 – gunixinputstream.c assumes poll() available
125 Bug 509446 – portable blocking gio cancellation
127 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
128 GPollFD for a cancellable (which is slightly more complicated on
131 * gunixinputstream.c (g_unix_input_stream_read):
132 * gunixoutputstream.c (g_unix_output_stream_write): Use
133 g_cancellable_make_pollfd() and g_poll() rather than using poll()
136 * tests/unix-streams.c: test of GUnixInputStream,
137 GUnixOutputStream, and GCancellable.
139 2008-09-26 Dan Winship <danw@gnome.org>
141 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
142 cast to stop a gcc warning
144 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
147 2008-09-25 Dan Winship <danw@gnome.org>
149 Bug 553426 - cancellable clarifications
151 * gcancellable.c (g_cancellable_class_init): Add a note to the
152 "cancelled" signal docs warning about thread-safety issues
153 (g_cancellable_cancel): Note that cancelling an asynchronous
154 operation takes effect asynchronously, not immediately.
156 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
158 * gioenums.h: Add new GFileCopyFlag, to leave target file with
159 default perms, instead of setting the source file perms, in a copy
162 * gfile.c (g_file_copy_attributes)
163 (build_attribute_list_for_copy)
164 (should_copy): Not copy "unix::mode" attribute if we have received
165 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
167 2008-09-20 Matthias Clasen <mclasen@redhat.com>
169 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
171 2008-09-17 Matthias Clasen <mclasen@redhat.com>
173 * === Released 2.18.1 ===
175 2008-09-16 Michael Natterer <mitch@imendio.com>
177 * gcontenttype.c (g_content_type_guess): can't assign the return
178 value of g_strdupv() to an array. Fill the array manually with
179 const strings instead (it is never freed anyway). Fixes the
180 build. Also fixed indentation.
182 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
184 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
185 Fix trivial typo to unbreak the build (there was a colon
186 instead of a semicolon at the end of a statement).
188 2008-09-15 Matthias Clasen <mclasen@redhat.com>
190 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
193 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
196 2008-09-15 Matthias Clasen <mclasen@redhat.com>
198 Bug 551681 – g_content_type_guess() too naive with filenames
200 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
201 at the end of the filename, and declare it a directory.
202 Patch by Bastien Nocera
204 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
206 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
209 * gdesktopappinfo.c: add a note in the docs clarifying what the
210 "filename" parameter really is.
212 2008-09-12 Tor Lillqvist <tml@novell.com>
214 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
215 FormatMessage() etc here. Call g_win32_error_message() instead
216 which already does all that. Besides, the code was broken as it
217 called the default "A" version of FormatMessage() but still
218 thought it produced a wide string.
220 2008-09-12 Michael Natterer <mitch@imendio.com>
222 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
223 in the documentation.
225 2008-09-08 Christian Neumair <cneumair@gnome.org>
227 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
228 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
229 Use non-blocking pipe for mount helper I/O. Fixes #550647.
231 2008-09-06 Matthias Clasen <mclasen@redhat.com>
233 Bug 551149 – xdgmime mem leak
235 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
236 a memory leak. Patch by Christian Persch
238 2008-09-04 Tor Lillqvist <tml@novell.com>
240 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
243 2008-09-02 Matthias Clasen <mclasen@redhat.com>
245 * === Released 2.18.0 ===
247 2008-09-02 Michael Natterer <mitch@imendio.com>
249 * *.h: big header formatting cleanup: indentation, vtable
250 formatting, consistent spacing in (* vfunc), trailing whitespace
251 removal. Formatting should be pretty consistent in all GIO headers
254 2008-09-02 Matthias Clasen <mclasen@redhat.com>
256 * gmount.h: Document guess_content_type sync vfunc.
258 2008-09-02 Michael Natterer <mitch@imendio.com>
260 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
261 fix parent_class member to be GFilterOutputStreamClass (not
262 GOutputStreamClass). Drop three pointers of padding, which is
263 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
264 so the class struct size stays the same.
266 2008-09-02 Matthias Clasen <mclasen@redhat.com>
268 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
270 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
271 nonexisting return values. Pointed out by Cosimo Cecchi.
273 2008-08-23 Tor Lillqvist <tml@novell.com>
275 Bug 548988 - g_file_replace fails on Windows when the target file
278 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
279 Windows, close the file before potentially renaming it (in case we
280 have been writing to a file with a temporary name).
282 (g_local_file_output_stream_close, handle_overwrite_open): Use
283 GLocalFileStat instead of plain struct stat, for passing to
284 _g_local_file_info_create_etag(). Thus also use _fstati64()
285 instead of plain fstat() on Windows.
287 2008-08-18 Matthias Clasen <mclasen@redhat.com>
289 * === Released 2.17.7 ===
291 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
293 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
296 2008-08-13 Tor Lillqvist <tml@novell.com>
298 * win32/gwinhttpvfs.c
299 * win32/gwinhttpvfs.h
300 * win32/gwinhttpfile.c
301 * win32/gwinhttpfileinputstream.c
302 * win32/gwinhttpfileoutputstream.c: Refactor some common code
303 snippets into helper functions. Check HTTP response status
304 codes. Implement g_winhttp_file_query_info(), looking at
305 Content-Length, Content-Type and Last-Modified.
307 * win32/winhttp.h: Add some symbolic constants that are not
308 publicly documented. Just a handful, so it should be OK to use
309 information from the Windows SDK's headers.
311 2008-08-13 Tor Lillqvist <tml@novell.com>
313 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
316 * win32/gwin32directorymonitor.c
317 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
319 2008-08-13 Matthias Clasen <mclasen@redhat.com>
322 * goutputstream.c: Add intro docs.
324 2008-08-13 Tor Lillqvist <tml@novell.com>
326 * win32/gwinhttpfileoutputstream.c
327 (g_winhttp_file_output_stream_write): Don't write the
328 Content-Length header ourselves, WinHttpSendRequest() takes care
329 of that when the dwTotalLength parameter is non-zero. Increment
330 offset by the number of actual bytes sent, although I wonder if
331 such a scenario is possible where less than requested would be
332 sent and accepted by the server without errors.
334 2008-08-13 Tor Lillqvist <tml@novell.com>
336 * win32/gwinhttpvfs.c
337 * win32/gwinhttpvfs.h
338 * win32/gwinhttpfile.c
339 * win32/gwinhttpfile.h
340 * win32/gwinhttpfileinputstream.c
341 * win32/gwinhttpfileinputstream.h
342 * win32/gwinhttpfileoutputstream.c
343 * win32/gwinhttpfileoutputstream.h: New files implementing
344 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
345 Windows. The implementation uses the WinHttp API. Both reading and
346 writing are supported, i.e. GET and PUT requests. When writing,
347 each write call is done using a separate PUT request with a
348 Content-Range header. Requests for file URIs and plain pathnames
349 are forwarded to GLocalVfs.
351 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
352 WINE. Used as there is no <winhttp.h> bundled with mingw, and
353 requiring people to download the Windows SDK just for this one
354 header is not reasonable.
356 * win32/Makefile.am: Add above files.
358 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
359 the plumbing for the above.
361 2008-08-11 Sven Neumann <sven@gimp.org>
363 * gfilenamecompleter.c
364 * glocaldirectorymonitor.c
366 * gunionvolumemonitor.c
370 * gunixvolumemonitor.c
373 * gwin32volumemonitor.c: use canonical signal names.
375 2008-08-11 Tor Lillqvist <tml@novell.com>
377 * Makefile.am: Put a list of the platform-dependent .la files in
378 the subdirectories in the platform_deps Make variable, and make
379 libgio-2.0.la depend on that, so that it gets relinked if one of
380 the dependent libraries has changed.
382 2008-08-11 Tor Lillqvist <tml@novell.com>
384 * Makefile.am (platform_libadd): Remove -lwininet which had been
385 added by mistake. We will probably eventually be using WinHTTP,
386 not the older WinInet anyway. (Actually I am working on it.)
388 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
390 Bug 547080 – g_file_copy leaks expected errors
392 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
393 before trying the next fallback routine.
395 2008-08-09 Loïc Minier <lool@dooz.org>
397 Bug 535124 – umask 002 not being applied for new directories, new
398 files get the correct umask
400 * gfile.c (g_file_make_directory)
401 (g_file_make_directory_with_parents): Document ownership and
402 permissions of newly created directories as being the default
405 2008-08-08 Loïc Minier <lool@dooz.org>
407 Bug 535124 – umask 002 not being applied for new directories, new
408 files get the correct umask
410 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
413 2008-08-08 Tor Lillqvist <tml@novell.com>
415 * gwin32mount.c: Remove unused code. Whitespace cleanup.
417 * gwin32volumemonitor.c (get_connected_drives): Put questionable
418 code that didn't actually do anything inside #if 0, and add a
419 comment wondering what the code was supposed to do. This also gets
420 rid of a leftover debugging printout.
422 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
424 * gfileicon.c (g_file_icon_get_property)
425 (g_file_icon_set_property): New functions.
426 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
428 (g_file_icon_new): Use the property (bug #546132).
430 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
432 * gthemedicon.c (g_themed_icon_get_property): Also handle
433 `PROP_USE_DEFAULT_FALLBACKS'.
434 (g_themed_icon_class_init): Make
435 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
437 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
439 Bug 546371 – Improve docs re g_file_monitor
441 * gfilemonitor.c: Mention g_file_monitor() in the docs.
443 2008-08-04 Matthias Clasen <mclasen@redhat.com>
445 * === Released 2.17.6 ===
447 2008-08-04 Matthias Clasen <mclasen@redhat.com>
449 * === Released 2.17.5 ===
451 2008-08-04 Matthias Clasen <mclasen@redhat.com>
453 Bug 546017 – Don't copy attributes when copying a symlink
455 * gfile.c (g_file_copy_attributes): Specify
456 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
457 g_file_set_attributes_from_info. Patch by Christian Kellner
459 2008-08-04 Matthias Clasen <mclasen@redhat.com>
461 * gemblemedicon.[hc]:
463 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
464 a bit more extensible. Work by Clemens Buss.
466 * gioenums.h: Add GEmblemOrigin.
469 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
471 Bug 546079 – leak in xdgmime
473 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
475 2008-08-03 Tor Lillqvist <tml@novell.com>
477 * win32/gwin32directorymonitor.h
478 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
481 2008-08-03 Tor Lillqvist <tml@novell.com>
483 * win32/gwin32directorymonitor.c
484 (g_win32_directory_monitor_callback): Make prototype match
485 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
486 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
489 (g_win32_directory_monitor_constructor):
490 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
491 names in the GLib API on Windows, so convert to UTF-16 and open
494 2008-08-03 Tor Lillqvist <tml@novell.com>
496 Bug 541036 - Gnumeric crashes when trying to open Desktop or
497 user's folder under Windows
499 * win32/gwin32directorymonitor.c
500 (g_win32_directory_monitor_constructor): Ignore error from
501 CreateFile() when opening directory. Instead of asserting, just
502 store INVALID_HANDLE_VALUE then in
503 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
504 ReadDirectoryChangesW().
505 (g_win32_directory_monitor_cancel): Don't attempt to close
506 directory handle if it is INVALID_HANDLE_VALUE.
508 2008-08-01 Matthias Clasen <mclasen@redhat.com>
510 * gdesktopappinfo.c: Remove debug spew
512 2008-08-01 Hans Breuer <hans@breuer.org>
514 * makefile.msc : add gemblembedicon
516 2008-07-30 Matthias Clasen <mclasen@redhat.com>
518 Bug 545457 – gdmsetup crashed with SIGSEGV in
519 g_unix_mount_guess_should_display()
521 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
522 crash if no mount is found.
524 2008-07-28 Matthias Clasen <mclasen@redhat.com>
526 Bug 545203 – gfile.c: argument is different type.
528 * gfile.c (open_read_async_thread): Pass a GError **
529 to g_file_set_error_literal.
530 Reported by Kazuki Iwamoto
532 2008-07-28 Matthias Clasen <mclasen@redhat.com>
534 Bug 545157 – wrong/no list of "open with" applications for .cc and
537 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
538 Collect all ancestors, not just direct parents. Pointed
539 out by Bastien Nocera
541 2008-07-28 Matthias Clasen <mclasen@redhat.com>
543 * Makefile.am: Install gemblemedicon.h
545 2008-07-28 Matthias Clasen <mclasen@redhat.com>
547 * gemblemedicon.[hc]: Add a GIcon implementation that can
548 add an emblem to another icon.
555 * gfileicon.c: Small documentation additions.
557 2008-07-28 Tor Lillqvist <tml@novell.com>
559 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
562 2008-07-27 Tor Lillqvist <tml@novell.com>
564 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
566 2008-07-24 David Zeuthen <davidz@redhat.com>
570 Also export a g_mount_guess_content_type_sync() function.
572 2008-07-23 Matthias Clasen <mclasen@redhat.com>
574 529694 – SELinux context setting support
576 * gfileinfo.c: Support setting selinux attributes.
577 Patch by Tomas Bzatek
579 2008-07-22 Priit Laes <plaes@plaes.org>
581 Bug 544140 - fam-helper 64-bit issue?
583 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
585 2008-07-21 Matthias Clasen <mclasen@redhat.com>
587 * === Released 2.17.4 ===
589 2008-07-20 Matthias Clasen <mclasen@redhat.com>
591 * gvolumemonitor.[hc]:
596 * gmount.c: Documentation fixes
598 2008-07-19 Matthias Clasen <mclasen@redhat.com>
600 543504 – crash in Epiphany Web Browser: Opening local file
611 * gvolume.c: Register types thread-safely.
612 Patch by Christian Persch
614 2008-07-18 Matthias Clasen <mclasen@redhat.com>
616 * gcontenttype.c: Remove debug spew
618 2008-07-18 Matthias Clasen <mclasen@redhat.com>
620 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
623 * fen/fen-kernel.c: Remove a warning that was causing
624 crashes. Reported by Lin Ma.
626 2008-07-18 Matthias Clasen <mclasen@redhat.com>
628 Bug 543040 – async reading on dummy file will crash on
631 * gfile.c (open_read_async_thread): Cope with read_fn being
632 NULL. Reported by Lin Ma.
634 2008-07-18 Matthias Clasen <mclasen@redhat.com>
637 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
639 2008-07-16 Matthias Clasen <mclasen@redhat.com>
643 * giomodule.c: Rename a chapter id to avoid filename conflict.
645 2008-07-16 Matthias Clasen <mclasen@redhat.com>
647 Bug 540616 – mem leak in filechooser button
649 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
650 the mount entry. Reported by Chrisitan Persch
652 2008-07-16 Matthias Clasen <mclasen@redhat.com>
654 * gfile.c: Small documentation fixes.
656 2008-07-15 Matthias Clasen <mclasen@redhat.com>
658 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
660 2008-07-08 Matthias Clasen <mclasen@redhat.com>
665 * gmount.c: Documentation improvements.
667 2008-07-08 Matthias Clasen <mclasen@redhat.com>
670 * gmount.[hc]: Add g_mount_guess_content_type().
672 2008-07-06 David Zeuthen <davidz@redhat.com>
675 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
676 is needed for easily handling adoption of foreign volumes by
677 out-of-process volume monitors (#541793)
679 2008-07-06 David Zeuthen <davidz@redhat.com>
681 * gvolumemonitor.[ch]:
682 * gunionvolumemonitor.c: Export the eject-button signal on the
683 volume monitor class (#541794).
685 2008-07-06 Matthias Clasen <mclasen@redhat.com>
687 * gappinfo.c: More doc tweaks
689 2008-07-05 Matthias Clasen <mclasen@redhat.com>
691 * gappinfo.c: Clarify some docs
693 2008-07-03 Matthias Clasen <mclasen@redhat.com>
695 * gdesktopappinfo.c: Fix a stupid mistake.
697 2008-07-02 Matthias Clasen <mclasen@redhat.com>
699 * === Released 2.17.3 ===
701 2008-07-02 Matthias Clasen <mclasen@redhat.com>
703 * gfilemonitor.c: Fix the build.
705 2008-07-02 Matthias Clasen <mclasen@redhat.com>
707 Bug 536160 – Add g_file_monitor()
710 * gfile.[hc]: Add g_file_monitor which can return either
711 a file or a directory monitor. Proposed by Behdad Esfahbod
713 2008-07-02 Matthias Clasen <mclasen@redhat.com>
715 536733 – gio build failure on Irix
717 * glocalfile.c: Use a configure check for structfs.f_bavail.
719 2008-07-02 Matthias Clasen <mclasen@redhat.com>
721 Bug 534639 – add g_desktop_app_info_new_from_keyfile
724 * gdesktopappinfo.[hc]: Add a function to create a
725 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
727 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
729 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
731 2008-07-01 Matthias Clasen <mclasen@redhat.com>
733 * gunixmounts.c: Fix a doc typo.
735 2008-07-01 Cody Russell <bratsche@gnome.org>
737 * gio/gcontenttype.c:
738 * gio/gwin32appinfo.c:
739 * gio/gwin32volumemonitor.c:
740 * gio/gwin32mount.c: Fixed some include problems.
742 2008-07-01 Cody Russell <bratsche@gnome.org>
746 Moved all relevant typedefs into these files.
749 Updated wrt added files.
751 Split types into separate file for easier maintainership. (#538564)
753 2008-06-30 Matthias Clasen <mclasen@redhat.com>
755 Bug 540331 – g_file_append_to () documentation: can return NULL
757 * gfile.c (g_file_append_to): Clarify docs.
760 2008-06-30 Matthias Clasen <mclasen@redhat.com>
762 Bug 539090 – g_content_type_from_mime_type() should unalias
764 * gcontentype.c (g_content_type_from_mime_type): Unalias.
765 Patch by Markus Bergman
767 2008-06-30 Matthias Clasen <mclasen@redhat.com>
769 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
772 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
773 on ppc and alpha. Reported by Mart Raudsepp
775 2008-06-29 Matthias Clasen <mclasen@redhat.com>
778 * tests/memory-output-stream.c: Add some tests for
781 2008-06-29 Matthias Clasen <mclasen@redhat.com>
783 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
786 * gmemoryoutputstream.c (array_resize): Handle truncation to
787 zero correctly. Reported by Akira Tagoh
789 2008-06-29 Matthias Clasen <mclasen@redhat.com>
791 * gmemoryoutputstream.c: Trivial doc fixes
793 2008-06-29 Matthias Clasen <mclasen@redhat.com>
795 Bug 540802 – g_list_prepend doesn't concat lists
797 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
798 one list to another. Pointed out by Jan Arne Petersen
800 2008-06-28 Michael Natterer <mitch@imendio.com>
802 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
804 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
806 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
807 to avoid problems with partial icon themes.
809 2008-06-17 Hans Breuer <hans@breuer.org>
811 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
812 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
813 access again on win32, see bug #538127
814 * giomodule.c : ensure GWin32VolumeMonitor is registered
815 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
816 * Makefile.am makefile.msc : updated
818 2008-06-16 Hans Breuer <hans@breuer.org>
820 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
821 and initialization in one step avoids c99ism
823 2008-06-16 Christian Persch <chpe@gnome.org>
826 * gio/gbufferedinputstream.c
828 * gio/gdatainputstream.c
829 * gio/gdesktopappinfo.c
831 * gio/gfileenumerator.c
832 * gio/gfileinputstream.c
833 * gio/gfileoutputstream.c
835 * gio/glocaldirectorymonitor.c
837 * gio/glocalfileenumerator.c
838 * gio/glocalfileinfo.c
839 * gio/glocalfilemonitor.c
840 * gio/glocalfileoutputstream.c
841 * gio/gmemoryinputstream.c
842 * gio/gmemoryoutputstream.c
843 * gio/goutputstream.c
844 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
847 2008-06-16 Tor Lillqvist <tml@novell.com>
849 Bug 538362 - Get Win32 icons back in the file chooser
851 * gcontenttype.c (g_content_type_get_icon): Look up the icon
852 corresponding to a file extension in the Registry. Patch by Hans
854 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
856 2008-06-16 Tor Lillqvist <tml@novell.com>
858 Patches by Hans Breuer:
860 * glocalfile.c (is_xp_or_later): Handle compiling against older
861 SDK headers with missing VerifyVersionInfo(). Conditioned on
862 _MSC_VER, but should probably use some better test.
863 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
864 uninitialised statfs_result variable on Win32.
866 2008-06-16 Michael Natterer <mitch@imendio.com>
868 * *.c: chain up unconditionally in finalize() and dispose(). Also
869 don't dereference these function pointers when calling them since
870 that has no meaning at all.
872 2008-06-16 Ross Burton <ross@burtonini.com>
875 Remove check for dispose implementation as it annoys Emmanuele.
877 2008-06-16 Ross Burton <ross@burtonini.com>
879 Bug 536252 – GFileEnumerator should allow access to the containing
885 Add g_file_enumerator_get_container() and a container writeable
886 construct-only property. Also shuffle around typedefs to make it
889 * glocalfileenumerator.c:
890 * glocalfileenumerator.h:
892 Instead of a string filename take a GFile in the constructor and
893 use it to set the container property.
898 2008-06-16 Matthias Clasen <mclasen@redhat.com>
900 * gfile.c: Make includes more uniform
902 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
904 * tests/live-g-file.c (sample_struct):
905 Use less fancy unicode filenames, so the test doesn't fail
906 on Mac OS X (#531476).
908 2008-06-12 Matthias Clasen <mclasen@redhat.com>
910 * === Released 2.17.2 ===
912 2008-06-12 Matthias Clasen <mclasen@redhat.com>
914 * === Released 2.17.1 ===
916 2008-06-11 A. Walton <awalton@gnome.org>
918 * tests/g-file.c (test_g_file_new_null):
919 Fix broken test case.
921 2008-06-11 Matthias Clasen <mclasen@redhat.com>
923 * pltcheck.sh: We use g_clear_error now.
925 2008-06-11 Matthias Clasen <mclasen@redhat.com>
927 * glocalfile.c (g_local_file_enumerate_children): Revert
928 an unintended change.
930 2008-06-11 Matthias Clasen <mclasen@redhat.com>
932 * gfile.c (g_file_replace_contents): Don't unref before the last use.
934 2008-06-10 Matthias Clasen <mclasen@redhat.com>
936 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
939 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
940 as icon for the desktop directory, also make user-home and
941 user-desktop the preferred icons.
943 2008-06-10 Matthias Clasen <mclasen@redhat.com>
946 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
947 to add a name to the front of the list.
949 2008-06-10 Matthias Clasen <mclasen@redhat.com>
951 Bug 537392 – Additional colon in xattr name
953 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
954 too. Reported by Alessandro Morandi
956 2008-06-10 Matthias Clasen <mclasen@redhat.com>
958 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
961 * glocalfile.c (get_fs_type): Add afs and autofs.
962 Patch by Danny Baumann.
964 2008-06-10 Matthias Clasen <mclasen@redhat.com>
966 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
968 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
969 is no parent. (Owen Taylor, patch by Christian Neumair)
971 2008-06-10 Paolo Borelli <pborelli@katamail.com>
973 * gfile.c (g_file_replace_contents): do not leak the output stream.
975 2008-06-10 Michael Natterer <mitch@imendio.com>
977 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
978 uninitialized memory as array index.
980 2008-06-10 Tor Lillqvist <tml@novell.com>
982 * gcontenttype.c (g_content_type_can_be_executable)
983 (g_content_type_get_icon) [Win32]: Add TODO comments.
985 2008-06-09 Matthias Clasen <mclasen@redhat.com>
987 * xdgmime/Makefile.am: Fix the build
989 2008-06-09 Matthias Clasen <mclasen@redhat.com>
991 * gcontenttype.c (g_content_type_get_icon): Use icons specified
992 in the shared mime database, if available.
994 * xdgmime/*: Sync with upstream. This brings support for
995 glob weights, generic icons, and changes the cache format to
998 2008-05-28 Michael Natterer <mitch@imendio.com>
1000 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1001 the global CPPFLAGS now.
1003 * tests/data-input-stream.c
1004 * tests/data-output-stream.c
1005 * tests/g-file-info.c
1007 * tests/live-g-file.c
1008 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1010 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1012 * === Released 2.17.0 ===
1014 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1015 doesn't complain about leftover files.
1017 2008-05-27 simon.zheng <simon.zheng@sun.com>
1019 * glocalfile.c: (g_local_file_query_filesystem_info):
1020 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1022 2008-05-26 Michael Natterer <mitch@imendio.com>
1024 * gmemoryoutputstream.h: declare
1025 g_memory_output_stream_get_data_size().
1027 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1029 * tests/*: Make tests work
1031 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1033 * gio.symbols: Add g_memory_output_stream_get_data_size.
1035 2008-05-25 Ross Burton <ross@burtonini.com>
1038 Fix typo in error message (#534764).
1040 2008-05-25 Ross Burton <ross@burtonini.com>
1043 Fix circular dependency loop for gioenumtypes.h (#534759).
1045 2008-05-19 Hans Breuer <hans@breuer.org>
1047 * Makefile.am : EXTRA_DIST += makefile.msc
1049 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1052 * gcontenttype.c: (g_content_type_from_mime_type):
1053 New function to create a content type from a mime type. (#527175,
1056 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1058 Bug 532965 – Should not return filesystem::free for certain file systems
1060 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1061 free space for ncpfs.
1063 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1065 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1067 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1068 st_dev might be zero.
1070 2008-05-16 Tor Lillqvist <tml@novell.com>
1072 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1073 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1075 2008-05-13 Bastien Nocera <hadess@hadess.net>
1077 * gfile.c (has_valid_scheme): A URI scheme must start with a
1078 letter, even if later more characters are allowed (#532852)
1080 2008-05-05 Michael Natterer <mitch@imendio.com>
1082 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1083 code from being checked in that breaks the build of applications
1084 which use G_DISABLE_SINGLE_INCLUDES.
1086 * makegioalias.pl: make the alias file include "glib.h" instead of
1089 * gio.symbols: whitespace change to force regeneration of the
1090 alias file after above script change.
1092 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1094 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1096 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1098 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1100 2008-04-28 David Zeuthen <davidz@redhat.com>
1102 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1103 displaying mounts in a subdirectory not accessible to the
1106 2008-04-22 Michael Natterer <mitch@imendio.com>
1108 * Makefile.am: fix library versioning (it was 0.0.0).
1110 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1112 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1113 Default disable all loggings.
1114 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1115 (port_fetch_event_cb): Fixed two macro nits.
1117 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1119 * xdgmime/xdgmime.c: Rework the timestamp checking code
1120 to protect against duplicate directories in XDG_DATA_DIRS.
1121 Fixes fd.o bug 12513, reported by Joe Shaw.
1123 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1125 Partically revert the last commit after realizing that
1126 xdg_mime_media_type_equal doesn't have to init at all.
1128 * xdgmime/xdgmime.h:
1129 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1131 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1133 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1135 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1136 reported by Joe Shaw and Federico Mena Quintero.
1138 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1139 (xdg_mime_media_type_equal): Turn into a wrapper around the
1142 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1143 functions throughout.
1145 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1147 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1148 tolerate an empty TryExec= line without failing; nautilus used
1149 to create launchers with these in previous versions. Fixes #528433
1151 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1153 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1154 after name. Fixes #527132.
1156 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1158 * gfile.c: (g_file_replace):
1161 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1163 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1165 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1166 by Christian Kellner.
1168 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1170 * gunixmounts.c: (g_unix_mount_guess_should_display):
1171 Don't list the user directory as a mount, fix potential issue
1172 when other users have a similar naming and don't special case the
1173 gvfs mounts there since that's not required (#525866)
1175 2008-03-31 Alexander Larsson <alexl@redhat.com>
1177 * glocalfile.c (get_parent):
1180 2008-03-31 A. Walton <awalton@svn.gnome.org>
1182 * gfile.c (g_file_query_file_type):
1183 Always return a GFileType enum value (#520715).
1185 2008-03-31 Alexander Larsson <alexl@redhat.com>
1187 * glocalfileenumerator.c:
1188 Read readdir() info in chunks (of 1000) and sort
1189 the chunks by inode before stat:ing.
1190 This is a 20% performance increase in testing
1191 gvfs-ls on /usr/bin with cold cache.
1193 2008-03-31 Alexander Larsson <alexl@redhat.com>
1195 * gmemoryoutputstream.c:
1196 Clarify docs for g_memory_output_stream_get_size.
1197 Add g_memory_output_stream_get_data_size.
1199 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1203 * gfile.h: Add g_file_query_file_type convenience function
1204 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1206 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1208 * gfileenumerator.c:
1209 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1211 2008-03-28 A. Walton <awalton@svn.gnome.org>
1213 * giomodule.c (_g_io_modules_ensure_loaded):
1214 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1217 2008-03-28 Alexander Larsson <alexl@redhat.com>
1220 (copy_stream_with_progress):
1223 2008-03-28 Alexander Larsson <alexl@redhat.com>
1226 (copy_stream_with_progress):
1227 (file_copy_fallback):
1228 Fallback to g_file_query_info for source size
1229 if g_file_input_stream_query_info fails. (#524579)
1231 2008-03-28 Alexander Larsson <alexl@redhat.com>
1233 * glocalfile.c (g_local_file_move):
1234 Reuse old string instead of adding new one.
1236 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1238 * fen/*.[hc]: still copyright issue. I hate copyright.
1240 2008-03-27 Alexander Larsson <alexl@redhat.com>
1242 * glocalfile.c (g_local_file_move):
1243 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1244 file over directory. This is according to the docs and what the move via
1245 copy+remove fallback does.
1247 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1249 * fen/*.[hc]: Updated copyright.
1251 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1253 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1255 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1257 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1258 not emit attribute changed events when optimizing changed events.
1259 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1262 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1264 * gmountoperation.[hc]: Small documentation additions
1266 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1268 * gunixmounts.c: (guess_mount_type):
1269 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1271 2008-03-19 Alexander Larsson <alexl@redhat.com>
1274 (copy_stream_with_progress):
1275 Bump block side for copy to 64k to minimize
1276 overhead for low latency links. (#523015)
1278 2008-03-16 Tor Lillqvist <tml@novell.com>
1280 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1281 depend on gio.def on Windows.
1283 2008-03-12 David Zeuthen <davidz@redhat.com>
1287 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1289 2008-03-14 Alexander Larsson <alexl@redhat.com>
1293 Avoid redudant tests (#521851)
1294 Patch from Josselin Mouette
1296 2008-03-14 Alexander Larsson <alexl@redhat.com>
1299 (g_file_monitor_is_cancelled):
1300 Fix C89 issue (#521672)
1301 Patch from Jens Granseuer
1303 2008-03-14 Alexander Larsson <alexl@redhat.com>
1305 * fam/fam-helper.[ch]:
1307 Shut down fam (including removing fam GSource) when
1308 module is unloaded (#521513)
1309 Patch from Joe Marcus Clarke
1311 2008-03-14 Alexander Larsson <alexl@redhat.com>
1314 (_g_io_modules_ensure_loaded):
1317 2008-03-14 Alexander Larsson <alexl@redhat.com>
1320 (g_local_file_query_filesystem_info):
1321 Use right define name for f_fstypename member check
1323 2008-03-14 Alexander Larsson <alexl@redhat.com>
1326 * fen/Makefile.am: Added.
1327 * fen/fen-data.[ch]: Added.
1328 * fen/fen-dump.[ch]: Added.
1329 * fen/fen-helper.[ch]: Added.
1330 * fen/fen-kernel.[ch]: Added.
1331 * fen/fen-missing.[ch]: Added.
1332 * fen/fen-node.[ch]: Added.
1333 * fen/fen-sub.[ch]: Added.
1334 * fen/gfendirectorymonitor.[ch]: Added.
1335 * fen/gfenfilemonitor.[ch]: Added.
1337 Added Solaris FEN file notification backend.
1338 Patch from Lin Ma <Lin.Ma@Sun.COM>
1340 2008-03-13 Tor Lillqvist <tml@novell.com>
1342 * Makefile.am: Actually use the gio.def file when linking the
1343 library on Windows. Produce .lib library for Microsoft's toolchain
1344 when possible. Install the .lib and .def file like for the other
1347 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1349 * tests/live-g-file.c:
1350 Include live-g-file in standard set of tests, making a temporary
1351 directory in source structure.
1353 Clean target directory before the tests (write mode only)
1355 2008-03-12 Tor Lillqvist <tml@novell.com>
1357 Bug 517419 - gio win32 directory monitor
1358 Implementation by Vlad Grecescu.
1361 * win32/gwin32directorymonitor.h
1362 * win32/gwin32directorymonitor.c: New files.
1364 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1366 * Makefile.am: Add the win32 subdirectory.
1368 2008-03-12 Tor Lillqvist <tml@novell.com>
1370 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1371 normal struct stat on Unix but struct _stati64 on Windows to have
1372 access to 64-bit file size information. Use that instead of struct
1373 stat in the functions declared here in this private header.
1375 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1376 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1377 warnings about unused functions and variables. Don't set
1378 meaningless attributes like inode numbers on Windows.
1380 2008-03-12 Benjamin Otte <otte@gnome.org>
1383 trim whitespace so gtk-doc groks the function name
1385 2008-03-12 Tor Lillqvist <tml@novell.com>
1387 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1388 returning FALSE, on Win32.
1390 2008-03-11 Alexander Larsson <alexl@redhat.com>
1393 * glocalfileinfo.[ch]:
1394 Correctly implement can_trash by actually
1395 looking for a trash dir, not just assuming
1398 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1400 * === Released 2.16.1 ===
1402 2008-03-11 Alexander Larsson <alexl@redhat.com>
1405 Fix crashes in new constructor and properties code
1407 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1409 * gfile.c: Minor spelling correction in documentation:
1410 existance -> existence.
1412 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1414 * === Released 2.16.0 ===
1416 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1418 * gio.symbols: Remove g_file_contains_file here, too.
1420 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1422 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1423 Samuel Cormier-Iijima)
1425 2008-03-08 Tor Lillqvist <tml@novell.com>
1427 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1430 2008-03-07 Alexander Larsson <alexl@redhat.com>
1433 (g_local_file_query_filesystem_info):
1434 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1435 Patch from Jasper Lievisse Adriaanse
1437 2008-03-06 Tor Lillqvist <tml@novell.com>
1439 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1440 comments for the *_USEC attributes.
1442 2008-03-06 Alexander Larsson <alexl@redhat.com>
1444 * gfile.c (g_file_query_exists):
1445 Add g_return_val_if_fail check (#520700)
1447 2008-03-06 Alexander Larsson <alexl@redhat.com>
1449 * gdesktopappinfo.c:
1452 * gunionvolumemonitor.c:
1455 * tests/live-g-file.c:
1456 * xdgmime/xdgmimecache.c:
1457 Fix sparse warnings (#519489)
1459 2008-03-05 Alexander Larsson <alexl@redhat.com>
1462 Make cancellation threadsafe (i.e.
1463 guarantee its only done once, and always
1466 * glocaldirectorymonitor.c:
1467 Make sure we the monitor lives while the
1468 mounts_changed callback is being called (#520484)
1470 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1472 * gbufferedinputstream.c: Fix typo in parameter
1475 2008-03-04 Alexander Larsson <alexl@redhat.com>
1478 Remove deprecated symbols we kept for one release.
1480 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1483 * goutputstream.c: Tiny documentation corrections.
1485 2008-03-03 Alexander Larsson <alexl@redhat.com>
1487 * gunionvolumemonitor.c:
1489 Fix the adopt_orphan_mount vfunc to take a
1490 volume_monitor reference in an ABI compat way.
1491 This change is not API compat, but the added
1492 arg is not used in the only user of this vfunc, so
1493 all we get is a harmless warning in gvfs (#520169)
1495 2008-03-01 Benjamin Otte <otte@gnome.org>
1498 clarify docs for g_file_delete().
1500 2008-02-29 Alexander Larsson <alexl@redhat.com>
1504 Make sure empty files get text/plain type (#518720)
1506 2008-02-27 Alexander Larsson <alexl@redhat.com>
1512 (g_unix_volume_mount):
1513 Add missing GMountMountFlags argument
1515 2008-02-26 Alexander Larsson <alexl@redhat.com>
1518 (g_local_file_delete):
1519 Handle filesystems (like ntfs-3g) that return EEXIST instead
1520 of ENOTEMPTY (#518816)
1522 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1524 * === Released 2.15.6 ===
1526 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1528 * gfile.c (g_file_find_enclosing_mount):
1529 * ginputstream.c (g_input_stream_set_pending):
1530 * glocalfile.c (g_local_file_find_enclosing_mount):
1531 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1532 * goutputstream.c (g_output_stream_set_pending):
1534 Fixup translator comments (#518578).
1536 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1538 * gfile.c (g_file_find_enclosing_mount):
1540 * glocalfile.c (g_local_file_find_enclosing_mount):
1543 Fix a few typos in translator comments and documentation.
1545 2008-02-25 Alexander Larsson <alexl@redhat.com>
1552 Add translator comments (#518578)
1554 2008-02-25 Alexander Larsson <alexl@redhat.com>
1557 Reintroduce g_file_contains_file, keep around for one
1558 unstable release cycle to avoid crashing to many apps.
1559 Make sure to delete after release.
1561 2008-02-25 Alexander Larsson <alexl@redhat.com>
1564 Remove deprecated g_file_contains_file.
1566 2008-02-25 Alexander Larsson <alexl@redhat.com>
1569 Emit actual change signals in an idle handler.
1570 This avoids reentrance and locking problems in
1571 the file notification backends.
1573 2008-02-25 Alexander Larsson <alexl@redhat.com>
1576 (g_unix_mount_guess_should_display):
1577 Remove type guessing, instead just display
1578 mounts in /media and in ~/.
1580 2008-02-25 Alexander Larsson <alexl@redhat.com>
1583 Make new strings reuse old ones.
1585 2008-02-25 Alexander Larsson <alexl@redhat.com>
1588 Implement trashing and filesystem::readonly for win32 (#517235)
1589 Patch from Yevgen Muntyan
1591 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1593 * gfileinfo.h: Documentation fixes.
1595 2008-02-22 Alexander Larsson <alexl@redhat.com>
1597 * gcontenttype.c (g_content_type_get_icon):
1598 Look at old-style gnome mime icon names too, as many
1599 have not moved to the new style.
1601 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1603 * *.c: Correct the @include in for section docs.
1605 2008-02-21 David Zeuthen <davidz@redhat.com>
1607 * glocalfileinfo.c: (_g_local_file_info_get):
1609 (g_content_type_get_icon): Implement this function by
1610 moving bits from glocalfileinfo.c
1611 (g_content_type_get_description): Unalias before getting
1612 description (#517687)
1614 * gfile.c: (g_file_class_init),
1615 (g_file_query_filesystem_info_async),
1616 (g_file_query_filesystem_info_finish),
1617 (query_filesystem_info_data_free),
1618 (query_filesystem_info_async_thread),
1619 (g_file_real_query_filesystem_info_async),
1620 (g_file_real_query_filesystem_info_finish):
1621 * gfile.h: Implement async version of
1622 g_file_query_filesystem_info()
1624 * gfileinfo.h: Add new attributes for filesystem::use-preview
1626 * gio.symbols: Update
1628 * gthemedicon.c: (g_themed_icon_append_name):
1629 * gthemedicon.h: Add new new convenience function.
1631 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1632 (get_mounts), (get_volumes), (get_connected_drives),
1633 (get_volume_for_uuid), (get_mount_for_uuid),
1634 (g_union_volume_monitor_init), (populate_union_monitor),
1635 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1636 (g_volume_monitor_adopt_orphan_mount):
1638 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1639 monitor implementations to call into the main volume monitor. Also
1640 separate object initialization and volume monitor initialization
1641 such that non-native volume monitors can properly adopt their
1644 2008-02-21 Alexander Larsson <alexl@redhat.com>
1649 2008-02-21 Alexander Larsson <alexl@redhat.com>
1652 Add more documentation about how GFiles work (from #517086)
1654 2008-02-21 Alexander Larsson <alexl@redhat.com>
1658 Add new g_file_has_prefix that does the same as g_file_contains_file.
1659 Deprecate g_file_contains_file and add a macro that converts
1660 it to g_file_has_prefix.
1661 The reason for this change is that the contains_file() name seems to
1662 imply that this does more work than what it does, but its really only
1663 a name match (from #517086)
1668 Update to match the above change.
1670 2008-02-20 Benjamin Otte <otte@gnome.org>
1672 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1673 (g_file_eject_mountable):
1674 even more cases of not returning in error path
1676 2008-02-20 Benjamin Otte <otte@gnome.org>
1678 * gfile.c: (g_file_mount_mountable):
1679 return from function in error path.
1681 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1684 Remove trailing coma in GMountMountFlags struct
1686 2008-02-18 Alexander Larsson <alexl@redhat.com>
1690 * glocalfileoutputstream.c:
1691 Use g_unlink/g_rename instead of unlink/rename;
1692 do not pass raw filenames to g_set_error. (#517239)
1693 Patch from Yevgen Muntyan.
1695 2008-02-18 Alexander Larsson <alexl@redhat.com>
1698 * glocalfileoutputstream.c:
1699 Open files with O_BINARY on windows. (#517140)
1701 2008-02-14 Alexander Larsson <alexl@redhat.com>
1703 * glocalfileoutputstream.c:
1704 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1706 2008-02-14 Alexander Larsson <alexl@redhat.com>
1709 Copy permissions with file on copy (#514084)
1710 This is what cp does and makes sure e.g. the
1711 exec permissions are kept.
1712 Its kinda weird in that it keeps the permission bits
1713 the same while the uid and gid are different. However
1714 the new uid is the user so its not a security issue,
1715 and I've heard no complaints about cp on this issue.
1717 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1719 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1721 2008-02-13 Alexander Larsson <alexl@redhat.com>
1723 * inotify/inotify-path.c:
1724 Define IN_ONLYDIR if not in header (#515346)
1726 2008-02-12 Alexander Larsson <alexl@redhat.com>
1728 * tests/live-g-file.c:
1731 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1733 * === Released 2.15.5 ===
1735 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1737 * gio.symbols: Add g_mount_mount_flags_get_type.
1739 2008-02-11 Alexander Larsson <alexl@redhat.com>
1742 (g_file_info_set_attribute_mask):
1743 (g_file_attribute_matcher_matches_id):
1744 Correctly handle NULL GAttributeMatcher meaning
1745 matches nothing. (Fixes #513492)
1747 2008-02-11 Alexander Larsson <alexl@redhat.com>
1752 Added GMountMountFlags enum and added a flags
1753 argument to all mount calls.
1755 This is an API/ABI change for future extensibility,
1756 as I think we will need at least an
1757 inhibit-autorun flag (the panel needs this).
1758 There are no flags defined yet though.
1760 2008-02-11 Alexander Larsson <alexl@redhat.com>
1763 Added new standard::description attribute.
1764 Requested by Vincent, and useful for both
1767 2008-02-11 Alexander Larsson <alexl@redhat.com>
1769 * gdesktopappinfo.c:
1772 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1774 * *.c: Documentation additions
1776 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1778 * gappinfo.h: Formatting cleanup
1779 * gappinfo.c: Fix up docs.
1781 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1783 * gunixmounts.c: Consistently use getmntent_r() and fall
1784 back to getmntent(). (#515492)
1786 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1788 * gbufferedinputstream.c:
1790 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1792 * tests/data-input-stream.c:
1793 * tests/data-output-stream.c: Portability fixes.
1795 2008-02-08 Alexander Larsson <alexl@redhat.com>
1800 Add g_volume_should_automount.
1803 2008-02-07 Tor Lillqvist <tml@novell.com>
1805 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1806 Win32, too Unix-specific.
1808 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1810 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1811 a local plt if the compiler doesn't support what we want. Bug #514702
1813 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1815 reviewed by: <delete if not using a buddy>
1818 * gunixinputstream.c:
1819 * gunixoutputstream.c:
1821 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1823 * tests/Makefile.am:
1824 * tests/live-g-file.c:
1825 * tests/live-g-file.txt:
1826 New GIO testing module working over real data
1828 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1830 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1831 Fallback to rename() if link() is not available
1832 (when no support on target filesystem)
1834 2008-02-06 Michael Natterer <mitch@imendio.com>
1836 * gfileinfo.c (g_file_info_get_icon): replace
1837 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1839 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1841 * gfile.c (g_file_create):
1842 Documentation update of error codes
1844 2008-02-06 Alexander Larsson <alexl@redhat.com>
1846 * gdesktopappinfo.c:
1847 Update to use both mimeapps.list and
1848 defaults.list as discussed on xdg list.
1850 2008-02-06 Benjamin Otte <otte@gnome.org>
1853 * gfilenamecompleter.c:
1854 Fix some typos in the documentation.
1856 2008-02-06 Alexander Larsson <alexl@redhat.com>
1858 * glocalfile.c (g_local_file_trash):
1859 Don't succeed with trash if newly created
1860 trash dir has the wrong owner. (#514696)
1862 2008-02-05 Alexander Larsson <alexl@redhat.com>
1864 * glocalfile.c (g_local_file_move):
1865 Don't spew warnings when destination is not
1868 2008-02-03 Hans Breuer <hans@breuer.org>
1870 * makefile.msc : update
1872 2008-02-01 Michael Natterer <mitch@imendio.com>
1874 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1875 return value of xdg_mime_list_mime_parents() to a variable of the
1878 2008-02-01 Alexander Larsson <alexl@redhat.com>
1880 * gappinfo.c (g_app_info_launch_uris):
1881 Actually call the launch_uris method, not
1884 2008-02-01 Alexander Larsson <alexl@redhat.com>
1886 * gdesktopappinfo.c (g_desktop_app_info_equal):
1887 Ensure appinfos with no id but same pointer value
1890 2008-02-01 Alexander Larsson <alexl@redhat.com>
1892 * gappinfo.c (g_app_info_launch_default_for_uri):
1895 2008-02-01 Alexander Larsson <alexl@redhat.com>
1899 Add g_app_info_launch_default_for_uri utility
1902 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1904 * gdesktopappinfo.c:
1905 Doc fix for g_app_info_get_default_for_uri_scheme ()
1908 2008-01-30 Alexander Larsson <alexl@redhat.com>
1911 Add doc comment about uris vs GFiles to
1914 * gdesktopappinfo.c:
1915 Ensure uris passed to g_app_info_launch_uris()
1916 are not roundtriped through GFile (as that
1917 may be slightly destructive for e.g. mailto: links)
1919 2008-01-30 Alexander Larsson <alexl@redhat.com>
1921 * tests/data-input-stream.c:
1922 * tests/data-output-stream.c:
1923 C89 fixes from Jens Granseuer (#512849)
1925 2008-01-30 Alexander Larsson <alexl@redhat.com>
1928 Fix gamin/fam difference build issue. (#509419)
1930 2008-01-29 Alexander Larsson <alexl@redhat.com>
1933 * gdesktopappinfo.c:
1934 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1936 2008-01-29 Alexander Larsson <alexl@redhat.com>
1938 * gdesktopappinfo.c:
1939 * gdesktopappinfo.h:
1940 giomodule-priv.h include moved to .c file.
1942 2008-01-29 Alexander Larsson <alexl@redhat.com>
1944 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1945 Remove unused prio/name fields.
1947 2008-01-29 Alexander Larsson <alexl@redhat.com>
1949 * gcontenttype.c (looks_like_text):
1950 Don't treat whitespace as control chars.
1952 2008-01-29 Alexander Larsson <alexl@redhat.com>
1954 * gdesktopappinfo.c:
1955 Lazily create the desktop files for appinfos created
1956 by g_app_info_create_from_commandline() when needed
1957 for mime associations. This allows run-time use
1958 of GAppInfo object without creating unnecessary
1961 2008-01-29 Alexander Larsson <alexl@redhat.com>
1964 Added new symbols to gio.symbols
1966 2008-01-29 Alexander Larsson <alexl@redhat.com>
1969 Add g_file_query_default_handler utility to easily look up
1970 the GAppInfo that handles a file.
1972 * gdesktopappinfo.[ch]:
1974 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1977 Remove unused function
1979 2008-01-29 Alexander Larsson <alexl@redhat.com>
1981 * gfileenumerator.c:
1982 Mention need to free returned value in
1983 g_file_enumerator_next_files_finish docs.
1984 Fix leak if g_file_enumerator_next_files_finish()
1987 2008-01-29 Alexander Larsson <alexl@redhat.com>
1990 (_g_unix_content_type_get_parents):
1991 Use list_parents, not get_parents from xdgmime, because
1992 the later doesn't use the cache.
1994 * xdgmime/xdgmimecache.c:
1995 (_xdg_mime_cache_list_mime_parents):
1996 Don't list the same type as parent multiple times.
1998 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2000 * === Released 2.15.4 ===
2002 2008-01-28 Alexander Larsson <alexl@redhat.com>
2005 Register local vfs with prio 0.
2008 Remove old name and prio class members
2010 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2012 * tests/g-file.c: Disable some tests that are failing in
2013 the absence of a http backend.
2015 2008-01-28 Alexander Larsson <alexl@redhat.com>
2019 Add registration hooks for extension points.
2020 Register the gio extension points.
2022 * fam/gfamdirectorymonitor.c:
2023 * fam/gfamfilemonitor.c:
2024 * glocaldirectorymonitor.[ch]:
2025 * glocalfilemonitor.[ch]:
2026 * gnativevolumemonitor.h:
2027 * gunionvolumemonitor.c:
2028 * gunixvolumemonitor.c:
2031 * inotify/ginotifydirectorymonitor.c:
2032 * inotify/ginotifyfilemonitor.c:
2033 Use the extension points registration instead
2034 of g_type_children().
2036 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2039 * gvolume.[hc]: Document new API.
2041 * gfile.c (g_file_copy_async): Fix docs
2043 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2045 * gbufferedinputstream.c:
2047 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2050 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2052 * glocalfile.c: Avoid trivial differences in translatable strings.
2054 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2056 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2057 build with gcc 3.4 (#509419)
2059 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2061 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2062 (#509994, Murray Cumming)
2064 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2066 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2067 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2068 this allows big jobs to be executed in chunks, instead of blocking
2069 the main loop for a long time.
2071 * gsimpleasyncresult.c:
2072 * giofile.c: Adapt callers.
2074 2008-01-25 Alexander Larsson <alexl@redhat.com>
2076 * gdesktopappinfo.c:
2077 Implement changes discussed on xdg list.
2078 Now we can add supported mimetypes by just using defaults.list
2079 We can also remove associations in defaults.list.
2081 2008-01-25 Alexander Larsson <alexl@redhat.com>
2083 * gdesktopappinfo.c:
2084 Don't make local copy of desktop file
2085 for mimetype changes if the file already
2086 supports the new mimetype.
2088 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2092 * gbufferedinputstream.c:
2093 * glocalfile.c: String improvements. (#511966,
2094 Theppitak Karoonboonyanan)
2096 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2098 * gioscheduler.h: Expand docs a bit.
2100 2008-01-24 Alexander Larsson <alexl@redhat.com>
2103 Add g_drive_get_identifier and
2104 g_drive_enumerate_identifiers
2107 Add g_volume_get_identifier and
2108 g_volume_enumerate_identifiers
2114 Implement identifiers for unix backend
2116 2008-01-24 Alexander Larsson <alexl@redhat.com>
2121 Add g_file_copy_async() (#511580)
2122 Based on patch from Carlos Garcia Campos
2124 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2126 * gioscheduler.c: Some documentation additions.
2128 2008-01-22 Alexander Larsson <alexl@redhat.com>
2130 * gdesktopappinfo.c:
2131 (g_desktop_app_info_new):
2132 Don't leak basename.
2134 2008-01-22 Alexander Larsson <alexl@redhat.com>
2136 * gdesktopappinfo.c:
2137 (g_desktop_app_info_new_from_filename):
2140 2008-01-22 Alexander Larsson <alexl@redhat.com>
2142 * glocalfileinfo.c (get_thumbnail_attributes):
2145 2008-01-22 Alexander Larsson <alexl@redhat.com>
2148 (canonicalize_filename):
2149 Canonicalize paths that start with more than
2153 (compare_two_files):
2154 (test_g_file_new_for_path):
2157 2008-01-22 Alexander Larsson <alexl@redhat.com>
2160 Allow UTF-8 in file:// parse names.
2162 * tests/Makefile.am:
2163 * tests/data-input-stream.c:
2164 * tests/data-output-stream.c:
2165 * tests/g-file-info.c:
2167 Added a bunch of tests from Tomas Bzatek
2169 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2171 * === Released 2.15.3 ===
2173 2008-01-21 Alexander Larsson <alexl@redhat.com>
2175 * gfileinputstream.[ch]:
2176 * gfileoutputstream.[ch]:
2178 Remove duplicated GSeekable functions. (#509990)
2179 Just use the g_seekable_xxx() calls instead.
2181 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2184 * gvolumemanager.c: Whitespace cleanups.
2186 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2187 Use the right mode when creating the file.
2189 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2191 * gfileenumerator.c:
2192 * gfileinputstream.c:
2194 * goutputstream.c: Documentation: Fixed minor typos
2195 and added more mentions of specific _finish() functions.
2197 2008-01-21 Alexander Larsson <alexl@redhat.com>
2199 * inotify/Makefile.am:
2200 * inotify/inotify-helper.c:
2201 * inotify/inotify-kernel.c:
2202 * inotify/inotify-path.c:
2203 * inotify/local_inotify.h: Removed.
2204 * inotify/local_inotify_syscalls.h: Removed.
2205 Removed the included copies of the inotify
2206 headers. We now only use the <sys/inotify.h>
2207 header which exists on modern systems.
2208 This fixes problems on ARM and SH5 (#510448)
2209 but is also generally much cleaner and future
2210 safe. For instance, if other OSes add support
2211 for inotify it should "just work".
2213 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2215 * inotify/*.c: Coding style fixes.
2216 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2217 for the 1/4 Hz timer.
2219 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2222 * gfilemonitor.[hc]:
2223 * gmemoryinputstream.c:
2224 * gmemoryoutputstream.c:
2225 * gmountoperation.c:
2226 * gthemedicon.c: Documentation updates
2228 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2230 * gfile.c: documentation: Fixed more minor
2233 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2235 * gmount.c: (g_mount_remount): documentation:
2236 Mention g_mount_remount_finish() instead of
2237 g_mount_unmount_finish().
2239 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2243 * gfile.c: Fixed some minor typos in the
2246 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2248 * gio/gvolumemonitor.c:
2249 (g_volume_monitor_get_connected_drives):
2250 (g_volume_monitor_get_volumes):
2251 (g_volume_monitor_get_mounts): Documentation:
2252 Clarify the ownership of the regurn GLists.
2254 2008-01-17 Alexander Larsson <alexl@redhat.com>
2257 Add the async find_enclosing_mount version
2258 to the header file too.
2260 2008-01-17 Alexander Larsson <alexl@redhat.com>
2263 Add async version of find_enclosing_mount
2264 with default implementation.
2266 2008-01-17 Alexander Larsson <alexl@redhat.com>
2271 Allow calls to implementation of copy and write
2272 even if the type of the file implementations is
2273 different. This can be used to implement native
2274 upload and download calls in a vfs.
2277 (g_local_file_move):
2278 Protect against the case where move is called
2279 with one file not being local.
2281 Make sure we call the progress callback once
2282 in the native move operation so that the caller
2283 knows how many bytes were copied.
2285 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2288 * gdatainputstream.c:
2290 * gfileoutputstream.c:
2295 * gunixmounts.c: Corrected some typos in the documentation:
2296 occured -> occurred.
2297 its -> it's (where appropriate).
2299 2008-01-16 Alexander Larsson <alexl@redhat.com>
2303 Add g_file_query_exists (#508771)
2305 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2310 * gvolume.c: For async functions that have no non-async
2311 version, document that the GAsyncReadyCallback may be NULL.
2314 2008-01-15 Alexander Larsson <alexl@redhat.com>
2316 * gmemoryinputstream.c:
2317 * gmemoryoutputstream.c:
2318 Don't do pointer arithmetic on void * (#508602)
2319 Patch from Kazuki IWAMOTO
2321 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2323 * === Released 2.15.2 ===
2325 2008-01-14 Alexander Larsson <alexl@redhat.com>
2327 * gfile.c (g_file_monitor_file):
2328 Don't set error here, since we fallback to polling monitor.
2330 2008-01-14 Alexander Larsson <alexl@redhat.com>
2333 (g_file_monitor_directory):
2334 (g_file_monitor_file):
2335 Add GError to file monitor calls
2337 * glocaldirectorymonitor.c:
2338 * glocaldirectorymonitor.h:
2340 * glocalfilemonitor.c:
2341 * glocalfilemonitor.h:
2343 Update for above change
2345 2008-01-14 Alexander Larsson <alexl@redhat.com>
2349 Handle root correctly in g_file_get_relative_path (#508719)
2351 2008-01-14 Alexander Larsson <alexl@redhat.com>
2354 Clean up docs and example for GAsyncResult (#508074)
2356 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2358 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2359 and correct some spelling mistakes. Bug #508108.
2361 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2363 * glocalfileinfo.c: Add a comment.
2365 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2367 * gfileinfo.c: GFileInfo description: Mention
2368 how to actually set attributes in a GFile and how to discover
2369 which attributes are settable. Bug #508378.
2371 2008-01-10 A. Walton <awalton@svn.gnome.org>
2373 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2374 (g_app_info_get_default_for_type):
2375 Check for NULL content types.
2377 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2379 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2381 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2383 * gfile.c: *_async() functions: Several small corrections
2384 to the documentation, mostly correcting copy/paste errors
2385 and improving some sentences.
2387 2008-01-09 Dan Winship <danw@gnome.org>
2389 * glocalfile.c (get_unique_filename): x86_64 fix
2391 2008-01-09 Alexander Larsson <alexl@redhat.com>
2396 Add g_unix_mount_guess_should_display and use
2397 for unix volume monitor backend.
2398 This means we more or less show what the
2399 gnome-vfs backend did.
2400 Based on patch from Padraig O'Briain
2402 2008-01-09 Alexander Larsson <alexl@redhat.com>
2406 Add g_themed_icon_new_with_default_fallbacks
2409 Use default fallbacks for icons
2411 2008-01-09 Alexander Larsson <alexl@redhat.com>
2414 * gmountoperation.[ch]:
2415 Change the API a bit so that unhandled methods
2416 get reported via the reply, rather than by
2417 the signal emission return value. This is because
2418 some handlers can't know this immediately without
2419 doing I/O, and this is an async operation that
2422 2008-01-09 Alexander Larsson <alexl@redhat.com>
2425 * fam/gfamdirectorymonitor.c:
2426 * fam/gfamfilemonitor.c:
2427 Fix double free crash (#508224)
2428 Patch from Joe Marcus Clarke
2430 008-01-07 Matthias Clasen <mclasen@redhat.com>
2432 * === Released 2.15.1 ===
2434 2008-01-07 Alexander Larsson <alexl@redhat.com>
2436 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2437 Fix warning (#507835)
2439 2008-01-07 Alexander Larsson <alexl@redhat.com>
2442 Pass --internal to glib-genmarshal
2445 * gmountoperation.c:
2447 Use better types for signal arguments (#507822)
2449 2008-01-07 Alexander Larsson <alexl@redhat.com>
2452 Build test subdir after .
2453 Remove gdirectorymonitor.[ch]
2455 * gdirectorymonitor.[ch]:
2459 Remove GDirectoryMonitor and make
2460 GFileMonitor the baseclass for both file and
2461 directory monitors. Lift the more generic
2462 rate limiting code from GDirectoryMonitor
2466 * fam/gfamdirectorymonitor.[ch]:
2467 * inotify/ginotifydirectorymonitor.[ch]:
2468 * inotify/inotify-helper.c:
2469 * glocaldirectorymonitor.[ch]:
2472 Update for the removed GDirectoryMonitor.
2474 * gmemoryoutputstream.c:
2475 Remove ununsed variable
2477 2008-01-07 Alexander Larsson <alexl@redhat.com>
2479 * gmemoryinputstream.c:
2480 Translate error strings
2483 * gmemoryoutputstream.[ch]:
2484 New implementation that avoids using GByteArray
2485 in implementation and API. (#506377)
2487 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2489 * tests/*: Add a test for memory input streams.
2491 * Makefile.am: Add tests to SUBDIRS.
2493 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2495 * glocalfilemonitor.c:
2496 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2499 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2501 * gdesktopappinfo.c: Fix a docs typo.
2503 * gfileattribute.c: Add information about extended attributes
2504 to the documentation. (#505058)
2506 2008-01-04 Alexander Larsson <alexl@redhat.com>
2509 * gmountoperation.c:
2510 Use the right type (uint) for the ask_password signal.
2512 2008-01-04 Alexander Larsson <alexl@redhat.com>
2517 Add g_app_info_supports_files()
2518 Remove desktop arg from g_app_info_should_show().
2520 * gdesktopappinfo.[ch]:
2521 Implement g_app_info_supports_files() and new should_show()
2522 Add g_desktop_app_info_set_desktop_env() to set the desktop
2523 for should_show(). (This will be set by gtk+ later)
2525 2008-01-04 Alexander Larsson <alexl@redhat.com>
2528 * gmemoryinputstream.[ch]:
2529 Improve API so that you can use multiple chunks
2530 of memory and custom destroy functions. (#506374)
2532 2008-01-03 Alexander Larsson <alexl@redhat.com>
2535 Handle NULL attribute matchers safely, as we return this
2536 for empty attribute matcher strings.
2538 2008-01-03 Alexander Larsson <alexl@redhat.com>
2540 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2541 Add /usr/local to list of internal mountpoints
2543 2008-01-03 Alexander Larsson <alexl@redhat.com>
2546 Check for HAVE_LCHOWN (#505887)
2548 2008-01-03 Alexander Larsson <alexl@redhat.com>
2552 Add define for selinux context attribute.
2553 Fix missing : -> :: namespace separator change
2554 Fix missing _ -> - name change for xattr-sys.
2557 2008-01-03 Alexander Larsson <alexl@redhat.com>
2560 Link to libglib and libgobject directly (#504879)
2561 Patch from Sebastien Bacher
2563 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2565 * gfile.c: Expanded the g_file_new_for_commandline_arg
2566 description a bit, based on the code and the docs of the
2567 other g_file_new_for_* functions.
2569 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2571 * gfilemonitor.h: Fixed typo in docs.
2573 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2575 Updates to GIO documentation. (#506395, Mikael Hermansson)
2577 * gcontenttype.c: Describe memory management for return value of
2578 g_content_types_get_registered(). Missing piece from #505815.
2579 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2580 GVolume, GDrive, GMounts, which hopefully gives the user less
2581 confusions when using this API. Following explainations from
2582 Alexander Larsson on gtk-devel-list.
2584 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2586 * gfileinfo.c: Expand the long description.
2588 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2591 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2592 fix builds with --disable-visibility. (#500273, Christian Persch)
2594 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2596 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2597 in the list of returned app infos.
2599 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2601 * gappinfo.c: Fix a cross-reference
2603 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2605 * gfileinputstream.c:
2606 * gfileoutputstream.c:
2610 * gdesktopappinfo.c:
2612 * gfileinfo.c: Documentation updates.
2614 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2616 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2619 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2621 * gcontenttype.c (g_content_types_get_registered): Don't return
2622 freed memory (#505815, Mikael Hermansson)
2624 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2626 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2627 used to detect statbuf->st_blocks. (#505042)
2629 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2631 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2632 environment handling. (#504829, Cosimo Cecchi)
2634 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2636 * gappinfo.c: Doc improvements
2638 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2641 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2643 * === Released 2.15.0 ===
2645 2007-12-20 Hans Breuer <hans@breuer.org>
2647 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2648 with symbols gwin32appinfo.obj, added gmount.obj
2649 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2651 2007-12-20 Alexander Larsson <alexl@redhat.com>
2657 * gfilenamecompleter.c:
2660 * gpollfilemonitor.c:
2661 File attribute renames:
2663 fs:: -> filesystem::
2664 id::fs -> id::filesystem
2666 2007-12-20 Alexander Larsson <alexl@redhat.com>
2675 Add GMountUnmountFlags to all unmount and
2677 Add g_mount_remount() call.
2679 2007-12-20 Alexander Larsson <alexl@redhat.com>
2681 * gvfs.c (get_default_vfs):
2682 Fix unused variable warning
2684 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2686 * pltcheck.sh: Update
2688 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2690 * gunionvolumemonitor.c:
2691 * gunixmount.c: Remove C99 comments
2693 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2695 * gio.symbols: Add some missing symbols
2697 2007-12-19 Alexander Larsson <alexl@redhat.com>
2700 Make g_io_modules_load_all_in_directory not unuse
2701 loaded modules so that users of it can do stuff
2703 Init internal "module" types.
2704 Initialize static prio and name for types so that
2705 we don't have to load modules to get it.
2707 * gnativevolumemonitor.h:
2709 Move is_supported to parent class so that
2710 non-native monitors can avoid being initialized
2711 too. (For instance GDaemonVolumeMonitor if we're
2712 not using GDaemonVfs.)
2714 * glocaldirectorymonitor.[ch]:
2715 * glocalfilemonitor.[ch]:
2716 * gunionvolumemonitor.c:
2717 * gunixvolumemonitor.c:
2719 Find plugins using the static prio+name to
2720 avoid unnecessarily loading the modules.
2722 2007-12-19 Alexander Larsson <alexl@redhat.com>
2727 2007-12-19 Alexander Larsson <alexl@redhat.com>
2729 * gunionvolumemonitor.c:
2730 Store the native type as GType, not class so that
2731 we can unload it. But still avoid unnecessarily
2734 2007-12-19 David Zeuthen <davidz@redhat.com>
2736 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2737 add signals 'disconnected' and 'eject-button' on GDrive. Add
2738 signal 'removed' on GVolume and 'unmounted' on GMount.
2740 * gdrive.c: (g_drive_base_init):
2742 * gfile.c: (g_file_mount_mountable),
2743 (g_file_mount_enclosing_volume):
2746 * gmount.c: (g_mount_base_init):
2748 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2749 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2750 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2754 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2756 * *.c: Fix up includes in the section docs.
2758 2007-12-17 Alexander Larsson <alexl@redhat.com>
2760 * gnativevolumemonitor.h:
2761 * gunionvolumemonitor.c:
2762 * gunixvolumemonitor.c:
2763 Add is_supported() to GNativeVolumeMonitorClass so
2764 that we can avoid having to create an object to see
2765 if the backend is supported at runtime.
2766 Also add name member and an env var to pick a specific
2767 volume monitor backend.
2771 Add cancellable to _g_mount_get_for_mount_path()
2773 * glocaldirectorymonitor.c:
2774 * glocalfilemonitor.c:
2775 Avoid loading and unloading modules while sorting.
2777 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2780 * gunixmounts.[hc]: Namespace waste reduction, move some
2781 g_get_unix_mount functions to the g_unix_mount namespace.
2784 * gunixvolumemonitor.c:
2786 * glocaldirectorymonitor.c: Update all callers.
2788 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2790 2007-12-17 Alexander Larsson <alexl@redhat.com>
2793 Add doc comments about what GFile operations are
2794 guaranteed to not block.
2796 2007-12-17 Alexander Larsson <alexl@redhat.com>
2799 Add missing #ifdef fixing OSX build.
2800 (#503334, patch from Richard Hult)
2802 2007-12-14 David Zeuthen <davidz@redhat.com>
2806 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2807 (g_mount_eject), (g_mount_eject_finish):
2809 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2810 (get_volume_for_uuid), (get_mount_for_uuid),
2811 (g_union_volume_monitor_class_init),
2812 (get_default_native_type_with_exclude), (get_default_native_type),
2813 (get_native_type), (update_native_type),
2814 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2815 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2816 (g_unix_mount_can_eject), (eject_unmount_cb),
2817 (eject_unmount_read_error), (eject_unmount_do),
2818 (g_unix_mount_unmount), (g_unix_mount_eject),
2819 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2820 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2821 (g_unix_mount_point_guess_can_eject):
2823 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2824 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2825 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2826 (g_unix_volume_mount), (g_unix_volume_eject),
2827 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2828 * gunixvolumemonitor.c: (get_volume_for_uuid),
2829 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2831 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2832 (g_volume_eject), (g_volume_eject_finish):
2834 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2835 (g_volume_monitor_get_mount_for_uuid):
2838 Provide eject() on both GMount and GVolume and utility functions
2839 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2840 ejected. Introduce the concept of UUID's and wire it into GVolume
2841 and GMount and provide API on GVolumeMonitor to find such
2842 instances. Also handle the case where an external
2843 GNativeVolumeMonitor fails to initialize. Lock around the
2844 _g_get_mount_for_mount_path() function such that volume monitor
2845 implementations won't have to do locking themselves.
2847 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2849 * gdesktopappinfo.c:
2855 * gvolume.h: Documentation updates
2857 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2860 * gfile.h: Doc updates
2862 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2865 * gdesktopappinfo.c: Use hash table iterators.
2867 2007-12-14 Alexander Larsson <alexl@redhat.com>
2870 * gfileattribute.[ch]:
2871 * gfileattribute-priv.h:
2872 Move GFileAttributeValue to a private header, as
2876 Make set_attribute take a type + a pointer instead
2877 of a GFileAttributeValue.
2880 Fix up for above changes.
2881 Add g_file_info_get_attribute_data to get
2882 all info in one call, g_file_info_get_attribute_status
2883 to get the status and g_file_info_get_attribute_as_string.
2887 * glocalfileinfo.[ch]:
2891 Make _guess_type static.
2893 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2896 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2897 made mkenums and friends use temporary files to avoid leaving
2898 empty generated files on failure (#503470).
2900 2007-12-14 Alexander Larsson <alexl@redhat.com>
2902 * gmountoperation.h:
2905 2007-12-14 Alexander Larsson <alexl@redhat.com>
2909 * gfileattribute.[ch]:
2912 * glocalfileoutputstream.c:
2913 * gmountoperation.[ch]:
2914 * goutputstream.[ch]:
2915 Clean up all flags enums to not have _FLAGS in them
2916 Make the names of some of the enums better.
2921 2007-12-14 Michael Natterer <mitch@imendio.com>
2923 * gio.symbols: fix g_io_scheduler symbol names.
2925 2007-12-14 Alexander Larsson <alexl@redhat.com>
2931 * gbufferedinputstream.h:
2932 * gbufferedoutputstream.h:
2935 * gdatainputstream.h:
2936 * gdataoutputstream.h:
2937 * gdesktopappinfo.h:
2938 * gdirectorymonitor.h:
2942 * gfileenumerator.h:
2945 * gfileinputstream.h:
2947 * gfilenamecompleter.h:
2948 * gfileoutputstream.h:
2949 * gfilterinputstream.h:
2950 * gfilteroutputstream.h:
2958 * gmemoryinputstream.h:
2959 * gmemoryoutputstream.h:
2961 * gmountoperation.h:
2964 * gsimpleasyncresult.h:
2966 * gunixinputstream.h:
2968 * gunixoutputstream.h:
2972 * inotify/Makefile.am:
2973 Only allow including <gio/gio.h> from apps
2975 2007-12-14 Alexander Larsson <alexl@redhat.com>
2977 * gioscheduler.[ch]:
2978 * gsimpleasyncresult.c:
2979 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2980 Split out the send_to_mainloop call into two versions instead
2981 of having the block argument.
2983 2007-12-13 Alexander Larsson <alexl@redhat.com>
2985 * gcancellable.[ch]:
2987 * gbufferedinputstream.c:
2988 * gfileenumerator.c:
2989 * gfileinputstream.c:
2990 * gfileoutputstream.c:
2994 g_push/pop_current_cancellable ->
2995 g_cancellable_push/pop_current
2997 2007-12-13 Alexander Larsson <alexl@redhat.com>
3001 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3003 2007-12-13 Alexander Larsson <alexl@redhat.com>
3005 * gmountoperation.h:
3006 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3008 2007-12-12 Alexander Larsson <alexl@redhat.com>
3011 Fix race condition when freeing proxy in
3012 g_io_job_send_to_mainloop().
3014 2007-12-12 Alexander Larsson <alexl@redhat.com>
3020 Make attribute namespace separator "::" instead of ":".
3021 Use - instead of _ as separator in attribute names.
3023 2007-12-12 Alexander Larsson <alexl@redhat.com>
3025 * gbufferedinputstream.h:
3026 * gbufferedoutputstream.h:
3027 * gdatainputstream.h:
3028 * gdataoutputstream.h:
3029 * gdirectorymonitor.h:
3030 * gfileenumerator.h:
3031 * gfileinputstream.h:
3033 * gfileoutputstream.h:
3034 * gfilterinputstream.h:
3035 * gfilteroutputstream.h:
3037 * glocalfileinputstream.h:
3038 * glocalfileoutputstream.h:
3039 * gmemoryinputstream.h:
3040 * gmemoryoutputstream.h:
3041 * gnativevolumemonitor.h:
3043 * gunixinputstream.h:
3044 * gunixoutputstream.h:
3047 s/parent/parent_instance/ in GObjects
3049 2007-12-12 Alexander Larsson <alexl@redhat.com>
3054 No need for padding for interfaces
3056 2007-12-12 Alexander Larsson <alexl@redhat.com>
3060 * gbufferedinputstream.c:
3061 * gbufferedoutputstream.c:
3064 * gdatainputstream.[ch]:
3065 * gdesktopappinfo.c:
3066 * gdirectorymonitor.c:
3068 * gfileattribute.[ch]:
3071 * gfileinputstream.h:
3072 * gfilemonitor.[ch]:
3073 * gfileoutputstream.[ch]:
3074 * gfilterinputstream.h:
3075 * gfilteroutputstream.h:
3078 * gloadableicon.[ch]:
3079 * gmemoryinputstream.c:
3080 * gmountoperation.c:
3082 Fix up a bunch of details in the docs.
3087 2007-12-11 David Zeuthen <davidz@redhat.com>
3089 Rework how volumes, drives and volume monitoring is
3090 done. Previosly the model was
3092 GDrive <1-1> GVolume
3094 where a GDrive instance represented a mount point and a GVolume
3095 instance represented a mounted file system. This patch changes it
3098 GDrive <1-N> GVolume <1-1> GMount
3100 where GMount now serves the purpose of the old GVolume and the new
3101 GVolume serves the purpose of the old GDrive. In addition the new
3102 GDrive interface is used to represent a collection of GVolume
3103 instances (typically partitions) and also contains utility to query
3104 the state of the physical drive the GDrive object represents (such
3105 as checking for media, polling the drive, ejecting the media etc.).
3107 Also implement mounting and unmounting in the Unix volume monitor
3108 backend. A subquent patch will introduce GDrive support for ejection
3112 * gdrive.c: (g_drive_is_media_check_automatic),
3113 (g_drive_is_media_removable), (g_drive_has_media),
3114 (g_drive_can_poll_for_media), (g_drive_eject),
3115 (g_drive_eject_finish), (g_drive_poll_for_media),
3116 (g_drive_poll_for_media_finish):
3118 * gfile.c: (g_file_find_enclosing_mount):
3121 * glocaldirectorymonitor.c:
3122 (g_local_directory_monitor_constructor), (mounts_changed):
3123 * glocalfile.c: (get_mount_info),
3124 (g_local_file_find_enclosing_mount),
3125 (g_local_file_file_iface_init):
3126 * gnativevolumemonitor.h:
3127 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3128 (get_connected_drives), (g_union_volume_monitor_class_init),
3129 (child_volume_added), (child_volume_removed),
3130 (child_volume_changed), (child_mount_added), (child_mount_removed),
3131 (child_mount_pre_unmount), (child_mount_changed),
3132 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3133 (g_union_volume_monitor_remove_monitor),
3134 (_g_mount_get_for_mount_path):
3135 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3136 (guess_system_internal), (_g_get_unix_mounts),
3137 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3138 (g_unix_mount_free), (g_unix_mount_compare),
3139 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3140 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3141 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3142 (type_to_icon), (g_unix_mount_guess_name),
3143 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3144 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3145 (_resolve_symlink), (_resolve_dev_root):
3147 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3148 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3149 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3150 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3151 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3152 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3153 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3154 (g_unix_volume_volume_iface_init):
3156 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3157 (get_mounts), (get_volumes), (get_connected_drives),
3158 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3159 (mountpoints_changed), (mounts_changed),
3160 (g_unix_volume_monitor_init),
3161 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3162 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3163 * gunixvolumemonitor.h:
3164 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3165 (g_volume_mount), (g_volume_mount_finish):
3167 * gvolumemonitor.c: (g_volume_monitor_class_init),
3168 (g_volume_monitor_get_connected_drives),
3169 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3172 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3174 * gmountoperation.h (GPasswordFlags): Close the gap
3176 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3178 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3180 * gdesktopappinfo.[hc]: Remove _-prefixes
3182 2007-12-10 Tor Lillqvist <tml@novell.com>
3184 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3187 2007-12-10 Alexander Larsson <alexl@redhat.com>
3189 * gfile.c (g_file_set_display_name):
3190 Don't hardcode '/' (#502727)
3192 2007-12-09 Hans Breuer <hans@breuer.org>
3194 * makefile.msc : follow lib naming convention
3195 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3196 for user and group name, tested with ../tests/gio-ls
3198 2007-12-09 A. Walton <awalton@svn.gnome.org>
3200 * gdesktopappinfo.c:
3206 * gfileenumerator.c:
3211 * gmemoryinputstream.c:
3212 * gmemoryoutputstream.c:
3214 * gsimpleasyncresult.c:
3215 More documentation cleanup and filling in missing information, bringing
3216 GIO to 99% symbol coverage.
3218 2007-12-08 Hans Breuer <hans@breuer.org>
3220 [gio compiles and links on win32, not sure how much already works]
3221 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3222 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3223 base on win32 API; prefer g_lstat() over lstat(); instead of
3224 localtime_r() use an all GLib implementation on win32;
3225 get_mount_info() still needs a win32 specifc implementation
3226 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3227 win32_get_file_user_info to get owner/group info without uid/gid
3228 * glocalfileinputstream.c : include <io.h> on win32
3229 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3230 definition, use g_win32_ftruncate() for G_OS_WIN32
3231 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3232 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3233 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3234 * makefile.msc : updated
3236 2007-12-07 Alexander Larsson <alexl@redhat.com>
3238 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3239 Avoid warning spew if error == NULL
3241 2007-12-07 Alexander Larsson <alexl@redhat.com>
3244 Update docs wrt etags
3246 2007-12-06 Alexander Larsson <alexl@redhat.com>
3249 Include sys/types.h for dev_t (#501919)
3251 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3255 Make abicheck and pltcheck pass.
3257 2007-12-05 Alexander Larsson <alexl@redhat.com>
3260 * giomodule-priv.h: Added.
3261 * glocaldirectorymonitor.c:
3262 * glocalfilemonitor.c:
3263 * gunionvolumemonitor.c:
3265 Actually add the declaration of _g_io_modules_ensure_loaded
3267 2007-12-05 Alexander Larsson <alexl@redhat.com>
3269 * gdatainputstream.c:
3274 * glocaldirectorymonitor.c:
3275 * glocalfilemonitor.c:
3276 * gunionvolumemonitor.c:
3278 Make g_io_modules_ensure_loaded a private function and
3279 don't pass in the dirname. This means we can do magic
3280 directory finding in the win32 version.
3281 Export the actual load-modules-in-directory code so that
3282 gvfs can reuse that.
3284 2007-12-05 Alexander Larsson <alexl@redhat.com>
3286 * gbufferedinputstream.c:
3287 * gbufferedoutputstream.c:
3290 * gfileenumerator.[ch]:
3291 * gfileinputstream.c:
3292 * gfileoutputstream.[ch]:
3293 * gfilterinputstream.c:
3294 * gfilteroutputstream.c:
3295 * ginputstream.[ch]:
3297 * glocalfileenumerator.c:
3298 * glocalfileinputstream.c:
3299 * glocalfileoutputstream.c:
3300 * gmemoryinputstream.c:
3301 * gmemoryoutputstream.c:
3302 * goutputstream.[ch]:
3305 * gunixinputstream.c:
3306 * gunixoutputstream.c:
3307 Rename all struct members named:
3308 read, write, close, truncate, or mount
3309 to foo_fn, as these are reserved names
3310 and could be defined as macros in libc.
3313 2007-12-04 Alexander Larsson <alexl@redhat.com>
3316 (g_output_stream_close):
3317 Only call flush if non-null.
3319 2007-11-30 Dan Winship <danw@gnome.org>
3321 * ginputstream.c (g_input_stream_set_pending): Make this take a
3322 GError and return a gboolean, and do the "outstanding operation"
3323 check (and the "stream is already closed" check) itself.
3324 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3326 * goutputstream.c (g_output_stream_set_pending)
3327 (g_output_stream_clear_pending): Likewise
3329 * gbufferedinputstream.c:
3330 * gfileinputstream.c:
3331 * gfileoutputstream.c: Update for that
3333 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3334 Like g_simple_async_report_error_in_idle, but takes a GError
3335 rather than building one.
3337 2007-11-30 Dan Winship <danw@gnome.org>
3339 * goutputstream.c: Don't cheat and unset the "pending" flag around
3340 inner calls. Instead, call the class method directly rather than
3341 the wrapper function that checks "pending"
3343 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3345 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3347 2007-12-03 Hans Breuer <hans@breuer.org>
3349 [start of port to win32/msvc]
3350 * gcancellable.c : HAVE_UNIST_H and _pipe()
3351 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3352 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3353 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3355 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3356 * glocalvfs.c : use HAVE_PWD_H
3357 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3358 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3359 * Makefile.am : added to EXTRA_DIST
3361 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3363 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3366 2007-12-03 Alexander Larsson <alexl@redhat.com>
3369 Handle OSX style xattrs API (#500506)
3371 2007-12-03 Alexander Larsson <alexl@redhat.com>
3375 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3377 2007-12-02 A. Walton <awalton@svn.gnome.org>
3381 Documentation accuracy fixes.
3383 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3385 * gioenumtypes.c.template: Fix typo.
3387 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3389 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3391 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3393 * gdirectorymonitor.c:
3394 * gfilemonitor.c: Add properties
3396 * gbufferedoutputstream.c: Don't mark buffer-size property
3399 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3401 * gbufferedoutputstream.c: Add auto-grow property.
3403 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3405 * *.c: Unify the capitalization of section headings.
3407 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3409 * gmountoperation.c: Add properties
3411 * gdatainputstream.c: Turn byte-order and newline-type into
3414 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3416 * gioenumtypes.[hc].template: Templates for enum registration
3418 * Makefile.am: Generate gioenumtypes.[hc]
3420 * gio.h: Include gioenumtypes.h
3422 * gfile.h: Add some explicit nicks.
3424 * gio.symbols: Add new symbols
3426 * pltcheck.sh: Adjust
3428 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3430 * *.c: Explain etags and link to the explanation
3432 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3434 * *.c: Explain I/O priority.
3436 * *.c: More coding style fixes.
3438 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3440 * gasyncresult.c: Add another paragraph to the intro,
3441 adjust coding style of example.
3443 2007-11-29 A. Walton <awalton@svn.gnome.org>
3446 Fixes unknown meaning in GAppLaunchContext docs.
3448 Clarify asynchronous ops.
3450 Fix entity tag docs.
3453 Provides missing gtk-doc section, fixes API docs slighly.
3454 * gsimpleasyncresult.c:
3455 Fill in missing info in docs.
3456 * gunixinputstream.c:
3457 * gunixoutputstream.c:
3458 Be more expressive in short description.
3460 Remove gtk-doc stubs for non-public API.
3462 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3464 * *.c: Coding style fixups
3466 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3468 * inotify/inotify-helper.c: Don't export the lock from libgio.
3470 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3473 * abicheck.sh: Fix copy-and-paste leftovers
3475 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3477 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3479 2007-11-28 Alexander Larsson <alexl@redhat.com>
3483 Removed unnecessary file
3485 * gdesktopappinfo.[ch]:
3488 * glocaldirectorymonitor.[ch]:
3490 * glocalfileenumerator.[ch]:
3491 * glocalfileinputstream.[ch]:
3492 * glocalfilemonitor.[ch]:
3493 * glocalfileoutputstream.[ch]:
3495 * gnativevolumemonitor.c:
3496 * gpollfilemonitor.[ch]:
3497 * gunionvolumemonitor.[ch]:
3500 * gunixvolumemonitor.[ch]:
3503 * inotify/ginotifydirectorymonitor.[ch]:
3504 * inotify/ginotifyfilemonitor.[ch]:
3505 * inotify/inotify-helper.c:
3506 Append _ to all internal functions
3510 Export symbols needed for modules
3512 2007-11-28 Alexander Larsson <alexl@redhat.com>
3515 * abicheck.sh: Added.
3516 * makegioalias.pl: Added.
3517 * pltcheck.sh: Added.
3518 * gio.symbols: Added.
3521 Initial work on adding symbol handling.
3524 Correct ifdef guard name
3527 * inotify/Makefile.am:
3528 * xdgmime/Makefile.am:
3529 Include toplevel Makefile.decl
3531 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3533 * gcontenttype.c: Move doc comments to the unix section.
3535 * *.[hc]: More trivial doc corrections.
3537 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3539 * gpollfilemonitor.c:
3543 * gdesktopappinfo.c:
3548 * gdatainputstream.c:
3549 * gdatainputstream.h:
3550 * gdataoutputstream.c:
3551 * gdataoutputstream.h:
3552 * gfileinfo.h: Doc cleanups
3554 2007-11-28 Andre Klapper <a9016009@gmx.de>
3556 * gdesktopappinfo.c: Fix a typo.
3558 2007-11-27 Andre Klapper <a9016009@gmx.de>
3560 * glocalfileoutputstream.c: Fix a typo.
3562 2007-11-27 Alexander Larsson <alexl@redhat.com>
3565 Don't include removed headers
3567 2007-11-27 Alexander Larsson <alexl@redhat.com>
3570 * gsocketinputstream.[ch]: Removed.
3571 * gsocketoutputstream.[ch]: Removed.
3572 * gunixinputstream.[ch]: Added.
3573 * gunixoutputstream.[ch]: Added.
3574 Renamed GSocket*Stream to GUnix*Stream and made
3575 it unix-only, since its not really only for sockets
3576 and it only works on unix (but is highly useful there).
3578 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3584 * gbufferedinputstream.c:
3585 * gbufferedinputstream.h:
3586 * gbufferedoutputstream.c:
3587 * gbufferedoutputstream.h:
3591 * gdatainputstream.c:
3592 * gdatainputstream.h:
3593 * gdataoutputstream.c:
3594 * gdataoutputstream.h:
3595 * gdirectorymonitor.c:
3596 * gdirectorymonitor.h:
3603 * gfileenumerator.c:
3604 * gfileenumerator.h:
3609 * gfileinputstream.c:
3610 * gfileinputstream.h:
3613 * gfilenamecompleter.c:
3614 * gfilenamecompleter.h:
3615 * gfileoutputstream.c:
3616 * gfileoutputstream.h:
3617 * gfilterinputstream.c:
3618 * gfilterinputstream.h:
3619 * gfilteroutputstream.c:
3620 * gfilteroutputstream.h:
3633 * glocalfileoutputstream.c:
3634 * gmemoryinputstream.c:
3635 * gmemoryinputstream.h:
3636 * gmemoryoutputstream.c:
3637 * gmemoryoutputstream.h:
3638 * gmountoperation.c:
3639 * gmountoperation.h:
3642 * gpollfilemonitor.c:
3645 * gsimpleasyncresult.c:
3646 * gsimpleasyncresult.h:
3647 * gsocketinputstream.c:
3648 * gsocketinputstream.h:
3649 * gsocketoutputstream.c:
3650 * gsocketoutputstream.h:
3657 * gunixvolumemonitor.c:
3666 Bumps documentation to 93% symbol coverage, touching most
3667 of the public files. Fixes broken function documentation prototypes.
3668 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3669 gtk-doc headers in private files.
3671 2007-11-27 Jürg Billeter <j@bitron.ch>
3673 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3674 (g_buffered_input_stream_read_byte):
3675 * gbufferedinputstream.h:
3676 New functions for efficient access to buffer and simple single byte
3679 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3680 (g_data_input_stream_read_until):
3681 * gdatainputstream.h:
3682 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3683 read_until with multiple stop chars.
3685 2007-11-27 Alexander Larsson <alexl@redhat.com>
3689 * inotify/Makefile.am:
3690 Use the user-specified giomoduledir
3692 2007-11-27 Alexander Larsson <alexl@redhat.com>
3696 Add catch-all gio.h header
3697 Don't install gdummyfile.h
3699 2007-11-26 Alexander Larsson <alexl@redhat.com>
3701 * Makefile.am (gioinclude_HEADERS):
3702 Remove trailing whitespace
3704 2007-11-26 Alexander Larsson <alexl@redhat.com>
3706 Merge gio-standalone into glib
3708 2007-11-25 Christian Kellner <gicmo@gnome.org>
3710 * gio/goutputstream.c:
3711 Fix small mistake in the docs.
3713 2007-11-21 Christian Persch <chpe@gnome.org>
3715 * gio/glocalfile.c: (g_local_file_trash):
3716 Convert filenames to UTF-8 for GError.
3717 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3718 as per xdg base dir spec.
3720 2007-11-21 Christian Persch <chpe@gnome.org>
3722 * gio/gdesktopappinfo.c:
3723 Use that g_key_file_to_data cannot fail.
3725 Use stock defines for the key file group and key names.
3728 2007-11-21 Alexander Larsson <alexl@redhat.com>
3731 (copy_stream_with_progress):
3732 Make sure we do a final progress callback with
3733 the full total size.
3735 2007-11-21 Alexander Larsson <alexl@redhat.com>
3738 Export g_file_copy_attributes
3739 Remove padding as its not needed for interfaces
3741 2007-11-20 Alexander Larsson <alexl@redhat.com>
3746 Add G_IO_ERROR_WOULD_MERGE for
3747 copy/move dir on dir with overwrite.
3749 2007-11-20 Alexander Larsson <alexl@redhat.com>
3752 * gio/glocalfileinfo.c:
3753 Add COPY_NAME (this is an optional
3754 non-modified utf8 version of the name) that
3757 2007-11-20 Alexander Larsson <alexl@redhat.com>
3759 * gio/glocalfileenumerator.c:
3760 Report errors as GIOError, not GFileError
3762 2007-11-16 Alexander Larsson <alexl@redhat.com>
3764 * gio/glocalfileoutputstream.c:
3765 * gio/gwin32appinfo.c:
3766 Fix typos in strings.
3767 Patch from Luca Ferretti <elle.uca@libero.it>
3769 2007-11-15 Alexander Larsson <alexl@redhat.com>
3772 Post release version bump
3774 === gio-standalone 0.1.2 ===
3776 2007-11-15 Alexander Larsson <alexl@redhat.com>
3778 * docs/reference/gio/Makefile.am:
3779 Fix up distcheck by removing weird
3785 2007-11-14 Alexander Larsson <alexl@redhat.com>
3787 * gio/gdesktopappinfo.c:
3788 * gio/glocaldirectorymonitor.c:
3790 * gio/glocalfileinfo.c:
3791 * gio/inotify/inotify-sub.c:
3792 * programs/gio-cat.c:
3793 * programs/gio-copy.c:
3794 * programs/gio-info.c:
3795 * programs/gio-ls.c:
3796 * programs/gio-monitor-dir.c:
3797 * programs/gio-monitor-file.c:
3798 * programs/gio-mount.c:
3799 * programs/gio-move.c:
3800 * programs/gio-rm.c:
3801 * programs/gio-save.c:
3802 * programs/gio-trash.c:
3803 Leak fixes from Kjartan Maraas
3805 2007-11-14 Alexander Larsson <alexl@redhat.com>
3807 * gio/fam/fam-helper.c:
3809 * gio/glocalfileinfo.c:
3813 * gio/inotify/inotify-diag.c:
3814 * gio/inotify/inotify-kernel.c:
3815 Various code cleanups from Kjartan Maraas
3817 2007-11-14 Alexander Larsson <alexl@redhat.com>
3819 * gio/gioscheduler.c:
3821 Set up threadpool so that we cache 2 unused
3822 idle threads for at 15 secs. This means we
3823 will reuse thread-local data (like dbus connections)
3826 2007-11-14 Alexander Larsson <alexl@redhat.com>
3828 * gio/fam/fam-helper.c:
3829 * gio/fam/gfamdirectorymonitor.c:
3830 * gio/fam/gfamfilemonitor.c:
3832 * gio/gcontenttype.c:
3833 * gio/gdatainputstream.c:
3834 * gio/gdataoutputstream.c:
3838 * gio/gfileattribute.h:
3839 * gio/gfileenumerator.c:
3841 * gio/ginputstream.c:
3844 * gio/glocalfileinfo.c:
3845 * gio/goutputstream.c:
3846 * gio/gpollfilemonitor.c:
3847 * gio/gsimpleasyncresult.c:
3848 * gio/gunixmounts.c:
3849 * gio/gunixmounts.h:
3850 * gio/inotify/ginotifydirectorymonitor.c:
3851 * gio/inotify/ginotifyfilemonitor.c:
3852 * gio/inotify/inotify-diag.c:
3853 * gio/inotify/inotify-kernel.c:
3854 * gio/inotify/inotify-path.c:
3856 * gio/test-streams.c:
3857 * programs/gio-info.c:
3858 * programs/gio-monitor-dir.c:
3859 * programs/gio-monitor-file.c:
3860 Various code cleanups from Kjartan Maraas
3862 2007-11-13 Alexander Larsson <alexl@redhat.com>
3865 Handle the uri-scheme calls for dummy files
3867 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3869 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3870 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3871 to avoid clash with the C++ keyword.
3873 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3875 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3876 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3878 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3880 * gio/glocaldirectorymonitor.c:
3881 * gio/glocalfilemonitor.c:
3882 * gio/gunionvolumemonitor.c:
3883 Don't use g_once_init_*() for initializations that could fail and
3884 could leave the initialization variable set to 0 but use GOnce.
3885 This prevents a deadlock on the second call when trying to create
3886 a monitor and no monitor type is available. Thanks to Sven Herzberg
3889 2007-11-11 Sven Herzberg <sven@imendio.com>
3891 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3892 #ifdef (make it work on MacOS X again)
3894 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3896 Fixes Changelog for last two commits (sorry guys).
3898 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3900 * gio/gbufferedinputstream.c:
3901 * gio/gdatainputstream.c:
3903 * gio/gfileoutputstream.c:
3904 * gio/gfilterinputstream.c:
3905 * gio/glocalfileinputstream.c:
3908 More consistency fixes in g*stream.c files.
3909 Significant clean of gfile's documentation, filling in of
3910 asynchronous operations documentation.
3912 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3914 * gio/gasyncresult.c:
3915 * gio/gbufferedinputstream.c:
3916 * gio/gbufferedoutputstream.c:
3917 * gio/gcancellable.c:
3918 * gio/gcontenttype.c:
3919 * gio/gdatainputstream.c:
3920 * gio/gdataoutputstream.c:
3921 * gio/gdesktopappinfo.c:
3924 * gio/gfileattribute.c:
3925 * gio/gio/gfileenumerator.c:
3927 * gio/gfileinputstream.c:
3928 * gio/gfilemonitor.c:
3929 * gio/gfileoutputstream.c:
3930 * gio/ginputstream.c:
3932 * gio/gioscheduler.c:
3933 * gio/gloadableicon.c:
3934 * gio/glocalfileoutputstream.c:
3935 * gio/gmemoryoutputstream.c:
3936 * gio/gmountoperation.c:
3937 * gio/goutputstream.c:
3939 * gio/gsimpleasyncresult.c:
3940 * gio/gunionvolumemonitor.c:
3941 * gio/gunixmounts.c:
3942 * gio/gunixvolume.c:
3946 * gio/gvolumemonitor.c:
3947 Updated documentation stubs, working towards consistency and
3950 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3952 * gio/gmemoryoutputstream.c:
3953 * gio/gmemoryoutputstream.h:
3954 Change g_memory_output_stream_set_free_on_close() to
3955 g_memory_output_stream_set_free_data() as this makes more sense and
3956 is more consistent with GMemoryInputStream.
3958 2007-11-07 Alexander Larsson <alexl@redhat.com>
3965 Change how we find the default vfs so that
3966 we can handle a gvfs failing to init
3968 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3970 * gio/gbufferedoutputstream.c:
3971 * gio/gdatainputstream.c:
3972 * gio/gdataoutputstream.c:
3973 * gio/gfileinputstream.c:
3974 * gio/gfileoutputstream.c:
3975 * gio/gfilterinputstream.c:
3976 * gio/gfilteroutputstream.c:
3977 * gio/ginputstream.c:
3978 * gio/gmemoryinputstream.c:
3979 * gio/gmemoryoutputstream.c:
3980 * gio/goutputstream.c:
3981 * gio/gsimpleasyncresult.c:
3982 * gio/gsocketinputstream.c:
3983 * gio/gsocketoutputstream.c:
3984 Add guards to the remaining public functions, add a TODO for
3985 an unimplemented function and remove some useless guards.
3987 2007-11-07 Alexander Larsson <alexl@redhat.com>
3990 Autoconf checks for the various types of
3991 getpwuid_r and getgrgid_r
3993 * gio/glocalfileinfo.c:
3994 Use the autoconf checks from above
3996 2007-11-07 Alexander Larsson <alexl@redhat.com>
3999 (g_local_file_query_filesystem_info):
4000 Some fixes for the statvfs case
4002 2007-11-07 Alexander Larsson <alexl@redhat.com>
4005 (g_local_file_query_filesystem_info):
4006 Pick the "best" of statfs / statvfs for the system
4007 if both are availible.
4009 2007-11-07 Alexander Larsson <alexl@redhat.com>
4011 Solaris fixes from Halton.Huo@Sun.COM:
4018 * gio/glocalfileinfo.c:
4019 Fix for solaris definition of getpwuid_r
4021 * gio/test-streams.c:
4022 Use G_GNUC_PRETTY_FUNCTION
4024 2007-11-07 Alexander Larsson <alexl@redhat.com>
4026 * gio/gdesktopappinfo.c:
4027 (update_default_list):
4028 Remove double semicolon.
4029 Patch from Jens Granseuer
4031 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4033 * docs/reference/gio/gio-sections.txt:
4034 * gio/gbufferedinputstream.c:
4035 * gio/gbufferedinputstream.h:
4036 * gio/gdatainputstream.c:
4037 * gio/gfileenumerator.c:
4038 * gio/gioscheduler.c:
4039 * gio/gunionvolumemonitor.c:
4041 * programs/gio-save.c:
4042 Fix typo: availible -> available. Unfortuntely this breaks API
4043 and ABI as g_buffered_input_stream_get_available() was renamed.
4045 * gio/gunixmounts.c:
4046 * gio/gbufferedinputstream.c:
4047 Add guards for public functions.
4049 2007-11-06 Ross Burton <ross@openedhand.com>
4051 * docs/reference/gio/Makefile.am:
4052 Fix invalid += usage which automake 1.10 doesn't like.
4054 2007-11-06 Alexander Larsson <alexl@redhat.com>
4057 (g_app_launch_context_class_init):
4060 Patch from Ross Burton
4062 2007-11-06 Alexander Larsson <alexl@redhat.com>
4065 Post release version bump
4067 === gio-standalone 0.1.1 ===
4069 2007-11-06 Alexander Larsson <alexl@redhat.com>
4072 Bump version to 0.1.1
4074 * gio/gsimpleasyncresult.c:
4075 (g_simple_async_result_set_from_error):
4076 Remove bogus g_return_if_fail
4078 2007-11-06 Alexander Larsson <alexl@redhat.com>
4081 The name is gio-standalone
4084 Add top src/builddir to includedir
4086 2007-11-06 Alexander Larsson <alexl@redhat.com>
4088 * docs/reference/gio/gio-sections.txt:
4090 * gio/gbufferedinputstream.c:
4091 * gio/gbufferedoutputstream.c:
4092 * gio/gcancellable.c:
4093 * gio/gdatainputstream.h:
4094 * gio/gdataoutputstream.c:
4095 * gio/gdataoutputstream.h:
4096 * gio/gdirectorymonitor.c:
4098 * gio/gfileattribute.c:
4099 * gio/gfileattribute.h:
4100 * gio/gfileenumerator.c:
4101 * gio/gfileenumerator.h:
4104 * gio/gfileinputstream.h:
4105 * gio/gfilemonitor.c:
4106 * gio/gfileoutputstream.h:
4107 * gio/glocalfilemonitor.h:
4108 * gio/glocalfileoutputstream.h:
4109 * gio/gmemoryinputstream.c:
4110 * gio/gmemoryoutputstream.c:
4111 * gio/gmountoperation.c:
4112 * gio/goutputstream.c:
4113 * gio/goutputstream.h:
4115 * gio/gsimpleasyncresult.c:
4116 * gio/gunixmounts.c:
4117 * gio/gunixmounts.h:
4119 * gio/inotify/inotify-helper.c:
4120 Fix gtk-doc warnings
4122 Patch from Ross Burton
4124 2007-11-06 Alexander Larsson <alexl@redhat.com>
4126 * gio/gfilenamecompleter.c:
4127 (g_filename_completer_get_completions):
4130 * gio/gunixvolume.c:
4131 Remove unused function
4133 Patches from Ross Burton
4135 2007-11-06 Alexander Larsson <alexl@redhat.com>
4140 Padding not needed for interfaces
4142 2007-11-06 Alexander Larsson <alexl@redhat.com>
4144 * gio/gfilemonitor.c:
4148 Make giotypes.h an internal file
4151 * gio/gbufferedinputstream.h:
4152 * gio/gbufferedoutputstream.h:
4153 * gio/gcancellable.h:
4154 * gio/gdatainputstream.h:
4155 * gio/gdataoutputstream.h:
4156 * gio/gdirectorymonitor.c:
4157 * gio/gdirectorymonitor.h:
4162 * gio/gfileattribute.h:
4163 * gio/gfileenumerator.h:
4168 * gio/gfilemonitor.c:
4169 * gio/gfilemonitor.h:
4170 * gio/gfilenamecompleter.c:
4171 * gio/gfilenamecompleter.h:
4172 * gio/gfilterinputstream.h:
4173 * gio/gfilteroutputstream.h:
4174 * gio/ginputstream.h:
4175 * gio/gmemoryinputstream.h:
4176 * gio/gmemoryoutputstream.h:
4177 * gio/gmountoperation.c:
4178 * gio/gmountoperation.h:
4179 * gio/gnativevolumemonitor.c:
4180 * gio/goutputstream.h:
4183 * gio/gsimpleasyncresult.c:
4184 * gio/gsimpleasyncresult.h:
4185 * gio/gsocketinputstream.h:
4186 * gio/gsocketoutputstream.h:
4187 * gio/gthemedicon.c:
4188 * gio/gthemedicon.h:
4192 * gio/gvolumemonitor.c:
4193 * gio/gvolumemonitor.h:
4194 Add padding in classes where it seems useful
4195 Don't include giotypes.h from public headers
4196 Move in Class definitions into c file where possible
4201 2007-11-06 Alexander Larsson <alexl@redhat.com>
4203 * docs/reference/gio/gio-docs.xml:
4204 Better structure for API docs
4206 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4209 * gio/gloadableicon.c:
4210 * gio/gsimpleasyncresult.c:
4211 * gio/gthemedicon.c:
4212 Add some more guards to public functions. Only files missing are now
4215 2007-11-06 Alexander Larsson <alexl@redhat.com>
4217 * docs/reference/gio/gio-docs.xml:
4218 Remove old files, add missing ones
4220 2007-11-06 Alexander Larsson <alexl@redhat.com>
4222 * docs/reference/gio/gio-sections.txt:
4225 Hide implementation classes
4227 * gio/gdriveprivate.h:
4228 * gio/gvolumeprivate.h:
4229 Remove non-existing function declarations
4231 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4234 Fix compilation warnings and add guards to the new functions.
4236 * gio/gasyncresult.c:
4238 Add guards to the public functions.
4241 Implement get_path().
4243 2007-11-06 Alexander Larsson <alexl@redhat.com>
4245 * gio/gfilenamecompleter.c:
4246 Make g_filename_completer_get_completions
4247 return char ** instead of GList for
4250 * docs/reference/gio/gio-docs.xml:
4251 * docs/reference/gio/gio-sections.txt:
4253 * gio/gasyncresult.c:
4254 * gio/gbufferedinputstream.c:
4255 * gio/gbufferedoutputstream.c:
4256 * gio/gcancellable.c:
4257 * gio/gcontenttype.c:
4258 * gio/gdatainputstream.c:
4259 * gio/gdataoutputstream.c:
4260 * gio/gdesktopappinfo.c:
4261 * gio/gdirectorymonitor.c:
4265 * gio/gfileattribute.c:
4266 * gio/gfileenumerator.c:
4269 * gio/gfileinputstream.c:
4270 * gio/gfilemonitor.c:
4271 * gio/gfilenamecompleter.c:
4272 * gio/gfilenamecompleter.h:
4273 * gio/gfileoutputstream.c:
4274 * gio/gfilterinputstream.c:
4276 * gio/ginputstream.c:
4278 * gio/gioscheduler.c:
4279 * gio/gloadableicon.c:
4280 * gio/glocaldirectorymonitor.c:
4282 * gio/glocalfileinputstream.c:
4283 * gio/glocalfilemonitor.c:
4284 * gio/glocalfileoutputstream.c:
4286 * gio/gmemoryinputstream.c:
4287 * gio/gmemoryoutputstream.c:
4288 * gio/gmountoperation.c:
4289 * gio/goutputstream.c:
4290 * gio/gpollfilemonitor.c:
4292 * gio/gsimpleasyncresult.c:
4293 * gio/gsocketinputstream.c:
4294 * gio/gsocketoutputstream.c:
4295 * gio/gthemedicon.c:
4296 * gio/gunionvolumemonitor.c:
4298 * gio/gunixmounts.c:
4299 * gio/gunixvolume.c:
4300 * gio/gunixvolumemonitor.c:
4304 * gio/gvolumemonitor.c:
4305 * gio/gwin32appinfo.c:
4306 Add (mostly stub) doc strings to public functions.
4307 Patch from Andrew Walton (awalton@gmail.com)
4309 2007-11-06 Alexander Larsson <alexl@redhat.com>
4311 * gio/gappinfo.[ch]:
4312 Added GAppLaunchContext object and pass that to launch.
4313 This allows simple implementation of both
4314 launch-on-screen and startup notification via a gtk+
4315 subclass of GAppLaunchContext
4317 * gio/gdesktopappinfo.c:
4318 Implement GAppLaunchContext API
4320 * gio/gwin32appinfo.c:
4323 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4325 * gio/gmountoperation.c:
4326 Add some guards to GMountOperation's public functions.
4328 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4332 * gio/gcancellable.c:
4333 * gio/gdirectorymonitor.c:
4335 * gio/gfileenumerator.c:
4336 * gio/gfilemonitor.c:,
4337 * gio/gfilenamecompleter.c:
4340 * gio/gioscheduler.c:
4344 * gio/gvolumemonitor.c:
4345 Add even more guards to various public functions.
4347 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4350 Add guards to the public functions of GAppInfo.
4352 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4354 * gio/gcontenttype.c:
4355 Add some more guards for public functions.
4357 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4359 * gio/fam/fam-module.c:
4360 * gio/fam/gfamdirectorymonitor.c:
4361 * gio/fam/gfamdirectorymonitor.h:
4362 * gio/fam/gfamfilemonitor.c:
4363 * gio/fam/gfamfilemonitor.h:
4364 * gio/inotify/ginotifydirectorymonitor.c:
4365 * gio/inotify/ginotifydirectorymonitor.h:
4366 * gio/inotify/ginotifyfilemonitor.c:
4367 * gio/inotify/ginotifyfilemonitor.h:
4368 Add proper copyright information and remove an unused variable
4369 in the GInotifyFileMonitor constructor.
4371 * gio/gcancellable.c:
4372 Add a guard for a public function and an assertion to prevent
4373 an undefined program state.
4375 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4377 * gio/gfileattribute.c:
4378 Don't run into an assertion if the given attribute value is NULL
4379 in g_file_attribute_value_get_*() but instead return a fallback
4380 value that makes sense in most situations. Passing them a attribute
4381 value with the wrong type will still run into an assertion.
4383 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4385 * gio/gfileattribute.c:
4387 Add even more guards to the public functions. Also fix the refcounting
4388 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4389 let g_file_info_list_attributes() filter the attributes by namespace
4390 instead of simply ignoring the namespace parameter.
4392 2007-11-03 Sven Herzberg <sven@imendio.com>
4394 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4395 (This makes gio work on MacOS X again)
4397 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4400 Build the gio subdirectory before the docs. Otherwise the build will
4403 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4404 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4405 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4406 Add guards to the public functions.
4408 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4410 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4411 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4412 to prevent a compiler warning.
4414 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4415 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4416 return something in the non-void function find_topdir_for().
4418 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4425 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4427 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4428 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4429 * gwin32appinfo.c (g_win32_app_info_launch):
4430 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4431 envp_for_startup_id, g_desktop_app_info_launch,
4432 g_desktop_app_info_launch_uris):
4434 Give an opaque 'startup_id' string instead of 'envp'.
4435 Support empty file lists for launching new windows.
4436 Fix infinite recursion bug when launching URIs.
4438 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4441 Add guard to the new g_file_get_uri_scheme() function.
4443 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4446 Convert a g_return_val_if_fail() to setting the GError instead as
4447 otherwise applications have to verify the parameter before otherwise
4448 and the parameter might come directly from the user.
4450 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4452 * gio/inotify/ginotify*.[ch]:
4453 Add missing copyright information.
4455 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4458 Add guards in the beginning of public functions to check for valid
4459 parameters and fix a bug in copy_stream_with_progress() that could've
4460 caused writing less bytes than reading.
4461 * gio/glocalfileinfo.c:
4462 Check for a NULL parameter and set the GError accordingly then.
4463 * gio/goutputstream.c:
4464 Fix the same bug as in gfile.c that could've caused writing less bytes
4465 than reading in g_output_stream_real_splice().
4467 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4470 Use the correct gvolumeprivate.h naming
4472 2007-11-01 Christian Kellner <gicmo@gnome.org>
4475 Remove leftover "$(daemon_sources)" entry.
4477 2007-11-01 Christian Kellner <gicmo@gnome.org>
4482 Add copyright information to source files.
4484 2007-11-01 Alexander Larsson <alexl@redhat.com>
4488 Add g_file_get_uri_scheme
4490 2007-11-01 Alexander Larsson <alexl@redhat.com>
4493 * gio/gdesktopappinfo.c:
4494 * gio/gwin32appinfo.c:
4495 Add g_app_info_get_default_for_uri_scheme.
4497 2007-11-01 Alexander Larsson <alexl@redhat.com>
4500 Correct filename for gdriveprivate.h
4502 2007-10-31 Alexander Larsson <alexl@redhat.com>
4505 Rename id:value to id:file
4508 * gio/glocalfileinfo.c:
4511 2007-10-31 Alexander Larsson <alexl@redhat.com>
4513 * gio/gunixvolume.c:
4515 Remove g_volume_get_platform_id, as thats not
4516 needed with the simpler union volume monitor
4518 2007-10-31 Alexander Larsson <alexl@redhat.com>
4521 * gio/guniondrive.[ch]: Removed.
4522 * gio/gunionvolume.[ch]: Removed.
4523 Remove GUnionDrive/Volume
4525 * gio/gunionvolumemonitor.c:
4526 Simplify union volume monitor, now we
4527 only have one native volume monitor and
4528 we use the actual volumes/drives from the
4529 child monitors instead of wrapping them
4531 * gio/gnativevolumemonitor.[ch]:
4532 Base class for native volume monitors.
4533 Includes priority and get_volume_for_mountpoint
4536 Add g_file_find_enclosing_volume
4539 Remove volume name fs attribute
4540 Add readonly fs attribute
4543 Implement readonly attribute
4544 remove volume name attribute
4545 Implement find_enclosing volume
4547 * gio/gunixmounts.c:
4548 Add a volume for "/".
4550 * gio/gunixvolume.[ch]:
4551 Set better name for /
4553 * gio/gunixvolumemonitor.[ch]:
4554 Derive from GNativeVolumeMonitor
4555 Implement get_volume_for_mountpoint
4558 GVolume typedef moved to gfile.h
4560 * gio/gvolumeprivate.h:
4561 Add g_volume_get_for_mount_path
4563 2007-10-31 Alexander Larsson <alexl@redhat.com>
4565 * gio/gunixmounts.[ch]:
4566 Add cache info to unix mount listers
4567 Make getmntent use threadsafe
4568 Add is_system_internal attribute for GUnixMount
4570 * gio/gunixvolume.c:
4571 (g_unix_volume_new):
4572 Use is_system_internal instead of own code
4574 * gio/glocaldirectorymonitor.c:
4575 * gio/gunixvolumemonitor.c:
4576 Update to new gunixmounts API
4581 2007-10-30 Alexander Larsson <alexl@redhat.com>
4584 Add volume name fsinfo attribute
4587 Read volume name info
4589 * gio/gunionvolumemonitor.c:
4590 Fix infinite loops when finalizing a union volume monitor
4592 2007-10-30 Alexander Larsson <alexl@redhat.com>
4594 * gio/goutputstream.[ch]:
4595 Add splice() with default implementation
4597 * gio/gsocketoutputstream.c:
4598 (g_socket_output_stream_write):
4599 Return error on cancellation correctly.
4601 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4603 * gio/glocalfile.c (g_local_file_trash):
4604 Do not leak a string.
4606 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4608 * gio/gfile.c (g_file_load_contents):
4609 Unref the stream after closing it.
4611 2007-10-25 Alexander Larsson <alexl@redhat.com>
4613 * gio/gioscheduler.h:
4616 2007-10-25 Alexander Larsson <alexl@redhat.com>
4620 Add g_file_has_uri_scheme and implement for local files
4622 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4624 * gio/gdesktopappinfo.c: do not leak a string.
4626 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4628 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4629 (g_local_directory_monitor_new):
4630 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4631 (g_local_file_monitor_new):
4632 Only look for the monitor type that should be used the first time
4633 and use g_qsort_with_data() instead of our own bubble sort
4636 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4639 * gio/fam/Makefile.am:
4640 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4641 * gio/fam/fam-helper.h:
4642 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4643 * gio/fam/gfamdirectorymonitor.c:
4644 * gio/fam/gfamdirectorymonitor.h:
4645 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4646 * gio/fam/gfamfilemonitor.h:
4647 * gio/glocaldirectorymonitor.c:
4648 * gio/glocaldirectorymonitor.h:
4649 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4650 * gio/glocalfilemonitor.h:
4651 * gio/inotify/Makefile.am:
4652 * gio/inotify/ginotifydirectorymonitor.c:
4653 * gio/inotify/ginotifydirectorymonitor.h:
4654 * gio/inotify/ginotifyfilemonitor.c:
4655 * gio/inotify/ginotifyfilemonitor.h:
4656 Implement the FAM and Inotify monitors as
4657 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4658 their own GIO module. GLocal(Directory|File)Monitor will use the
4659 monitor with the highest rank that is supported on that machine.
4661 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4664 Change GIO module dir to $(libdir)/gio/modules and change
4665 the log domain from GVFS to GIO. Also only export symbols starting
4666 with g_ in the resulting library.
4667 * gio/test-streams.c: (main):
4668 Set log handler for the GIO log domain.
4670 2007-10-22 Alexander Larsson <alexl@redhat.com>
4672 * gio/gfilenamecompleter.[ch]:
4673 Add g_filename_completer_set_dirs_only
4675 2007-10-22 Alexander Larsson <alexl@redhat.com>
4678 * gio/gurifuncs.[ch]:
4679 Add some simple URI helpers
4681 * gio/gfilenamecompleter.[ch]:
4682 Added object for filename (parse name actually) completion
4685 Handle ~ in parse names
4687 2007-10-17 Alexander Larsson <alexl@redhat.com>
4690 * gio/glocalfileinfo.c:
4691 Add and implement id:value attribute
4693 2007-10-17 Alexander Larsson <alexl@redhat.com>
4696 * gio/guniondrive.c:
4698 Add and implement g_drive_has_volumes
4700 2007-10-17 Alexander Larsson <alexl@redhat.com>
4703 * gio/glocalfileinfo.[ch]:
4704 Add unix:is_mountpoint and implement for local files
4706 2007-10-16 Alexander Larsson <alexl@redhat.com>
4708 * gio/gunionvolumemonitor.c:
4709 (g_union_volume_monitor_init):
4710 Fix up the unix type getting so that it works with gcc
4712 2007-10-12 Alexander Larsson <alexl@redhat.com>
4715 * gio/glocalfileinfo.c:
4716 Add thumbnail:failed to file info
4718 2007-10-12 Richard Hult <richard@imendio.com>
4720 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4721 optimizing away the get_type call (happens with some gcc versions,
4722 like the one shipped with OS X 10.4).
4724 2007-10-12 Alexander Larsson <alexl@redhat.com>
4726 * gio/glocalfileinfo.c:
4727 (_g_local_file_info_set_attribute):
4728 Fix build if not HAVE_XATTR
4729 Patch from Milosz Derezynski <internalerror@gmail.com>
4731 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4733 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4734 around for review, otherwise I would have asked you before
4737 2007-10-11 Alexander Larsson <alexl@redhat.com>
4740 Add thumbnail:path attribute
4742 * gio/glocalfileinfo.c:
4743 Implement thumbnail:path for local files
4745 2007-10-11 Alexander Larsson <alexl@redhat.com>
4747 * gio/glocalfileinfo.c:
4748 (_g_local_file_info_get):
4749 Avoid duplicate icon names
4751 2007-10-11 Alexander Larsson <alexl@redhat.com>
4753 * gio/gthemedicon.[ch]:
4754 Change g_themed_icon_get_names return type to const
4756 2007-10-10 Alexander Larsson <alexl@redhat.com>
4758 * gio/glocalfileinfo.c:
4759 Don't reference freed memory
4761 2007-10-10 Alexander Larsson <alexl@redhat.com>
4763 * gio/gfileattribute.c:
4766 * gio/glocalfileinfo.c:
4769 2007-10-10 Alexander Larsson <alexl@redhat.com>
4772 Check for NULL icons
4774 * gio/gfileattribute.c:
4775 Don't dup when getting objects (same as for string attributes)
4777 * gio/gicon.c (g_icon_equal):
4778 Safely handle NULLs in equal
4780 2007-10-10 Alexander Larsson <alexl@redhat.com>
4783 Fix c++ compilation issues
4784 Patch from Milosz Derezynski <internalerror@gmail.com>
4786 2007-10-10 Alexander Larsson <alexl@redhat.com>
4788 * programs/gio-monitor-dir.c:
4789 Don't crash if dir monitor not supported.
4791 2007-10-09 Alexander Larsson <alexl@redhat.com>
4794 Add missing G_END_DECLS
4796 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4798 * gio/gfile.c: (g_file_set_display_name),
4799 (g_file_query_settable_attributes),
4800 (g_file_query_writable_namespaces):
4801 Return NULL not FALSE on errors as the return type is a pointer.
4803 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4805 * gio/glocalfile.c: (g_local_file_monitor_file):
4806 Don't call monitor_file on the default interface vtable (which
4807 is NULL) but simply return NULL. The caller, GFile, will create a
4808 polling monitor if NULL is returned.
4810 2007-10-09 Alexander Larsson <alexl@redhat.com>
4814 * gio-unix-2.0.pc.in:
4815 Add gio-unix-2.0.pc if OS_UNIX
4818 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4820 2007-10-09 Alexander Larsson <alexl@redhat.com>
4822 * gio/gunixmounts.[ch]:
4823 Make unix mount monitoring API sane.
4824 Now its just a object with mounts_changed
4825 and mountpoints_changed signals.
4827 * gio/glocaldirectorymonitor.c:
4828 * gio/gunixvolumemonitor.c:
4829 Use new mount monitor api
4831 2007-10-09 Alexander Larsson <alexl@redhat.com>
4833 * gio/gunixmounts.[ch]:
4834 Move guess type into one call for mounts and one for mountpoints
4837 * gio/gunixvolume.c:
4840 2007-10-09 Alexander Larsson <alexl@redhat.com>
4842 * gio/gunixmounts.[ch]:
4843 Remove _ prefix in preparation to make this semi-public
4844 Hide implementation of structs
4846 * gio/glocaldirectorymonitor.c:
4848 * gio/gunixvolume.c:
4849 * gio/gunixvolumemonitor.c:
4850 Update for above API changes
4852 2007-10-08 Alexander Larsson <alexl@redhat.com>
4855 Better polling fallback. This also handles the case where we have
4856 a monitor_file implementation, but it fails.
4858 2007-10-08 Alexander Larsson <alexl@redhat.com>
4862 * gio/gunixmounts.c:
4863 * programs/gio-monitor-dir.c:
4864 * programs/gio-monitor-file.c:
4865 Added cancellable to file monitoring calls.
4866 These are really sync calls and need this.
4868 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4870 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4871 (g_local_vfs_class_init):
4872 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4873 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4875 2007-10-05 Alexander Larsson <alexl@redhat.com>
4877 * gio/gdirectorymonitorprivate.h:
4878 * gio/gfilemonitorprivate.h:
4879 * gio/gdirectorymonitor.h:
4880 * gio/gfilemonitor.h:
4881 Remove *private.h and move to the public API, so that
4882 we can do implementations outside gio (such as in gvfs)
4884 * gio/gdirectorymonitor.c:
4885 * gio/gfilemonitor.c:
4886 * gio/glocaldirectorymonitor.c:
4887 * gio/gpollfilemonitor.c:
4888 * gio/inotify/inotify-helper.c:
4889 * gio/fam/fam-helper.c:
4890 Update to the new header names
4892 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4894 * gio/gdirectorymonitor.c:
4895 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4898 2007-10-04 Alexander Larsson <alexl@redhat.com>
4900 * gio/glocalfileinfo.c (get_access_rights):
4901 Set CAN_TRASH when we can move the file.
4902 We should really also check for a parent trash dir.
4904 2007-10-04 Alexander Larsson <alexl@redhat.com>
4906 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4907 Add can_trash access attribute
4909 2007-10-04 Alexander Larsson <alexl@redhat.com>
4912 (g_local_file_trash):
4913 Create info file first. This is per-spec and allows
4914 us to actually trash directories.
4916 2007-10-02 Alexander Larsson <alexl@redhat.com>
4918 * gio/gdesktopappinfo.c:
4919 Implement the new mime support code.
4920 Always set app as handling mimetype when being set as default for it
4922 2007-10-01 Alexander Larsson <alexl@redhat.com>
4924 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4925 Fix up check for xattrs:
4927 2007-10-01 Alexander Larsson <alexl@redhat.com>
4930 (g_app_info_set_as_default_for_extension):
4931 (g_app_info_add_supports_type):
4932 (g_app_info_can_remove_supports_type):
4933 (g_app_info_remove_supports_type):
4934 Make these fail nicely if not implemented
4936 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4938 * gio/glocalfileoutputstream.c:
4939 * gio/glocalfileoutputstream.h:
4944 * programs/gio-save.c:
4945 Add a GFileCreateFlags argument to operations that can create
4948 2007-10-01 Alexander Larsson <alexl@redhat.com>
4950 * gio/gappinfo.[ch]:
4951 * gio/gdesktopappinfo.c:
4952 Add more (stubbed out) mime API needed for nautilus
4954 2007-10-01 Alexander Larsson <alexl@redhat.com>
4957 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4958 Add g_app_info_set_as_default_for_extension.
4960 * gio/gdesktopappinfo.c:
4961 Dummy for g_app_info_set_as_default_for_extension
4962 Support flags in g_app_info_create_from_commandline
4964 * gio/gwin32appinfo.c:
4966 Update for API changes
4968 * gio/gthemedicon.c:
4969 Properly NULL-terminate list of icon names
4971 2007-09-28 Alexander Larsson <alexl@redhat.com>
4973 * gio/gloadableicon.h:
4974 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4976 2007-09-28 Alexander Larsson <alexl@redhat.com>
4979 Install headers in $includedir/gio-standalone/
4981 * gio-2.0.pc.in: Added.
4982 * gio-standalone.pc.in: Removed.
4985 Renamed pkg-config file to match glib (for future move)
4986 Update to the new include dir
4989 Add more TODO comments
4991 2007-09-28 Alexander Larsson <alexl@redhat.com>
4993 * gio/gdesktopappinfo.[ch]:
4994 Expose new_from_filename
4995 Add getter for is_hidden and handle it better
4997 2007-09-28 Alexander Larsson <alexl@redhat.com>
4999 * gio/gfileinfo.[ch]:
5000 Rename g_file_size_format_for_display to
5001 g_format_file_size_for_display.
5002 Now it doesn't have the g_file prefix, so we
5003 can later move it to glib.
5005 2007-09-28 Alexander Larsson <alexl@redhat.com>
5007 * gio/gappinfo.[ch]:
5008 Add g_app_info_get_id and g_app_info_get_executable.
5009 Make all getters non-reffing
5010 Make g_app_info_launch take GFile arguments.
5011 Add must_support_uris argument to g_app_info_get_default_for_type.
5013 * gio/gwin32appinfo.c:
5014 Update to GAppInfo api changes
5016 * gio/gdesktopappinfo.c:
5017 Update to GAppInfo api changes
5018 Implement supports_xdg_startup_notify
5020 * gio/gfileicon.c (g_file_icon_get_file):
5021 Make getter non-reffing.
5026 2007-09-27 Alexander Larsson <alexl@redhat.com>
5028 * gio/gfileinfo.[ch]:
5029 Add g_file_size_format_for_display helper
5031 2007-09-27 Alexander Larsson <alexl@redhat.com>
5033 * gio/glocalfileinfo.c:
5034 Set UNIX_GID from gid, not from uid
5036 2007-09-27 Alexander Larsson <alexl@redhat.com>
5039 Add g_file_set_attributes_async
5041 2007-09-27 Alexander Larsson <alexl@redhat.com>
5043 * gio/glocalfile.c (g_local_file_set_display_name):
5044 Fix set_display_name to actually rename to the right place.
5045 Use lstat to look for existing files so we don't overwrite
5048 2007-09-26 Alexander Larsson <alexl@redhat.com>
5051 Add g_file_set_display_name_async()
5053 2007-09-26 Alexander Larsson <alexl@redhat.com>
5056 Add load_partial_contents async calls
5059 Make internal function static
5061 2007-09-26 Alexander Larsson <alexl@redhat.com>
5063 * gio/glocalfileinfo.c:
5064 Correctly detect broken symlinks
5066 2007-09-26 Alexander Larsson <alexl@redhat.com>
5068 * gio/gcancellable.c (g_cancellable_cancel):
5069 Allow cancel on NULL cancellable
5071 2007-09-25 Alexander Larsson <alexl@redhat.com>
5073 * gio/gsimpleasyncresult.c:
5074 Don't allocate g_error manually.
5075 Fixes g_slice/g_new mixup crash
5077 2007-09-25 Alexander Larsson <alexl@redhat.com>
5079 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5080 Actually set active_backend.
5081 This means the monitor will be cancelled correctly.
5083 2007-09-25 Alexander Larsson <alexl@redhat.com>
5085 * gio/gdirectorymonitor.c:
5086 Set timeout to NULL when destroying
5088 2007-09-25 Alexander Larsson <alexl@redhat.com>
5091 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5092 that is a better description of the error.
5094 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5096 * gio/gvfs.c: (g_vfs_get_local):
5097 Make the local vfs variable static. The same instance should
5100 2007-09-24 Alexander Larsson <alexl@redhat.com>
5102 * gio/glocalfileinfo.c:
5103 Pass in actual length read into sniffer, not the length
5106 2007-09-21 Alexander Larsson <alexl@redhat.com>
5108 * gio/gfileenumerator.c:
5111 * gio/gfileinputstream.c:
5112 * gio/gfileoutputstream.c:
5113 * gio/ginputstream.c:
5114 * gio/goutputstream.c:
5115 Don't crash if async callbacks are NULL
5117 2007-09-20 Alexander Larsson <alexl@redhat.com>
5120 Add async enumerate_children method and default
5123 2007-09-20 Alexander Larsson <alexl@redhat.com>
5126 Add g_file_contains_file & g_file_get_relative_path, since they
5127 were needed for nautilus.
5128 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5133 Implement new methods
5135 2007-09-17 Alexander Larsson <alexl@redhat.com>
5138 * gio/gfileinputstream.[ch]:
5139 * gio/gfileoutputstream.[ch]:
5141 * gio/glocalfileenumerator.[ch]:
5142 * gio/glocalfileinfo.[ch]:
5143 * gio/glocalfileinputstream.c:
5144 * gio/glocalfileoutputstream.c:
5145 * gio/gpollfilemonitor.c:
5146 * programs/gio-copy.c:
5147 * programs/gio-info.c:
5148 * programs/gio-move.c:
5149 Rename get_file_info to query_info() to make it clearer
5150 that these are not simple getters, but do i/o.
5152 2007-09-17 Alexander Larsson <alexl@redhat.com>
5154 * gio/gdatainputstream.[ch]:
5155 * gio/test-streams.c:
5156 Use _read_XXX instead of _get_XXX for the i/o calls
5159 2007-09-17 Alexander Larsson <alexl@redhat.com>
5162 Added needed stuff to TODO comment
5164 2007-09-17 Alexander Larsson <alexl@redhat.com>
5166 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5167 Don't error out removing the backup copy if it doesn't
5170 2007-09-14 Alexander Larsson <alexl@redhat.com>
5172 * programs/Makefile.am:
5173 * programs/gvfs-*.c:
5175 Renamed apps from gvfs-xxx to gio-xxx.
5177 2007-09-14 Alexander Larsson <alexl@redhat.com>
5180 * gio/gfileoutputstream.[ch]:
5181 * gio/glocalfileoutputstream.c:
5182 * programs/gvfs-save.c:
5183 g_file_output_stream_get_etag doesn't do i/o, so remove
5184 cancellation and error.
5186 2007-09-14 Alexander Larsson <alexl@redhat.com>
5189 Add new_etag output to replace_contents functions
5191 2007-09-14 Alexander Larsson <alexl@redhat.com>
5193 * gio/gfileoutputstream.[ch]:
5194 Add async get_file_info and default implementation
5196 2007-09-14 Alexander Larsson <alexl@redhat.com>
5198 * gio/gfileinputstream.c:
5199 Implement fallback wrapper for async get_file_info
5201 2007-09-14 Alexander Larsson <alexl@redhat.com>
5204 Add etag out argument to load_contents
5209 2007-09-14 Alexander Larsson <alexl@redhat.com>
5211 * gio/gcontenttype.c (looks_like_text):
5212 Whitespace like tab, cr and lf do not make the
5215 2007-09-14 Alexander Larsson <alexl@redhat.com>
5217 * gio/gfileinputstream.[ch]:
5218 Add async get_file_info.
5220 2007-09-13 Alexander Larsson <alexl@redhat.com>
5222 * gio/goutputstream.c (g_output_stream_write_all):
5223 Allow NULL for bytes_written
5225 2007-09-13 Alexander Larsson <alexl@redhat.com>
5227 * gio/gmemoryinputstream.[ch]:
5228 Add accessors for data
5230 2007-09-13 Alexander Larsson <alexl@redhat.com>
5232 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5233 Don't crash if length is NULL