1 2008-10-12 David Zeuthen <davidz@redhat.com>
4 * gunionvolumemonitor.c:
6 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
8 2008-10-10 Alexander Larsson <alexl@redhat.com>
10 * gfileattribute.c (escape_byte_string):
11 Upper half of byte is >> 4, not >> 8.
12 Found by Kjartan Maraas via sparse
14 2008-10-10 Matthias Clasen <mclasen@redhat.com>
16 Bug 555711 – Wrong fallback order of mimetype icons
18 * gcontenttype.c: Don't prefer generic icons over
19 default mimetype icons.
21 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
22 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
24 Patch by Krysztof Kosiński
26 2008-10-10 Matthias Clasen <mclasen@redhat.com>
28 Bug 555121 – Improved build-time handling of gio module-dir
30 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
31 * Makefile.am: Create the module dir.
33 2008-10-10 Matthias Clasen <mclasen@redhat.com>
35 * gio/glocalfileinfo.c:
36 * gio/tests/live-g-file.c:
37 * gio/gsimpleasyncresult.c: Fix gcc warnings.
39 2008-10-09 Alexander Larsson <alexl@redhat.com>
41 * gunixinputstream.c (g_unix_input_stream_read):
42 Actually return -1 in case of cancelled, not old res value.
44 2008-10-06 Colin Walters <walters@verbum.org>
46 Bug 554745 - GFileAttributeInfoList should be boxed
48 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
49 for convenience of bindings.
50 * gio/gfileattribute.h: Prototype it.
52 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
54 Bug 554970 – segfault when update-desktop-database is not available
57 * gdesktopappinfo.c (run_update_command): Have the error set before
60 2008-10-01 David Zeuthen <davidz@redhat.com>
62 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
63 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
64 instead of the gio URI (such as sftp://foo/file.avi) when using
65 g_app_info_launch() and friends. With a sufficiently recent gvfs,
66 apps using gio+gvfs will map the FUSE file:// URI back to the gio
67 URI (and thus bypass the fuse daemon) thanks the patch from bug
68 #530654. Since Nautilus is an user of g_app_info_launch() it
69 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
70 when launced via the file manager. Win. Fixes bug #528670.
72 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
73 mapping to the description of GAppInfo.
75 2008-09-30 Tor Lillqvist <tml@novell.com>
77 * tests/Makefile.am: Build desktop-app-info only on Unix.
79 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
80 g_critical(). Pass a large enough result buffer to
81 GetVolumePathNameW(). Just use MAX_PATH.
83 2008-09-29 David Zeuthen <davidz@redhat.com>
85 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
87 2008-09-26 Dan Winship <danw@gnome.org>
89 * tests/data-input-stream.c:
90 * tests/data-output-stream.c:
91 * tests/live-g-file.c:
92 * tests/memory-input-stream.c:
93 * tests/memory-output-stream.c: Use g_assert_error() and
96 2008-09-26 Matthias Clasen <mclasen@redhat.com>
98 Bug 545350 – GAppInfo deletion
99 Bug 545351 – Reset associations for content type
102 * gappinfo.[hc]: New functions g_app_info_can_delete,
103 g_app_info_delete and g_app_info_reset_type_associations.
106 * gwin32appinfo.c: Implementations of these.
109 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
111 2008-09-26 Dan Winship <danw@gnome.org>
113 Bug 505361 – gunixinputstream.c assumes poll() available
114 Bug 509446 – portable blocking gio cancellation
116 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
117 GPollFD for a cancellable (which is slightly more complicated on
120 * gunixinputstream.c (g_unix_input_stream_read):
121 * gunixoutputstream.c (g_unix_output_stream_write): Use
122 g_cancellable_make_pollfd() and g_poll() rather than using poll()
125 * tests/unix-streams.c: test of GUnixInputStream,
126 GUnixOutputStream, and GCancellable.
128 2008-09-26 Dan Winship <danw@gnome.org>
130 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
131 cast to stop a gcc warning
133 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
136 2008-09-25 Dan Winship <danw@gnome.org>
138 Bug 553426 - cancellable clarifications
140 * gcancellable.c (g_cancellable_class_init): Add a note to the
141 "cancelled" signal docs warning about thread-safety issues
142 (g_cancellable_cancel): Note that cancelling an asynchronous
143 operation takes effect asynchronously, not immediately.
145 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
147 * gioenums.h: Add new GFileCopyFlag, to leave target file with
148 default perms, instead of setting the source file perms, in a copy
151 * gfile.c (g_file_copy_attributes)
152 (build_attribute_list_for_copy)
153 (should_copy): Not copy "unix::mode" attribute if we have received
154 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
156 2008-09-20 Matthias Clasen <mclasen@redhat.com>
158 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
160 2008-09-17 Matthias Clasen <mclasen@redhat.com>
162 * === Released 2.18.1 ===
164 2008-09-16 Michael Natterer <mitch@imendio.com>
166 * gcontenttype.c (g_content_type_guess): can't assign the return
167 value of g_strdupv() to an array. Fill the array manually with
168 const strings instead (it is never freed anyway). Fixes the
169 build. Also fixed indentation.
171 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
173 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
174 Fix trivial typo to unbreak the build (there was a colon
175 instead of a semicolon at the end of a statement).
177 2008-09-15 Matthias Clasen <mclasen@redhat.com>
179 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
182 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
185 2008-09-15 Matthias Clasen <mclasen@redhat.com>
187 Bug 551681 – g_content_type_guess() too naive with filenames
189 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
190 at the end of the filename, and declare it a directory.
191 Patch by Bastien Nocera
193 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
195 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
198 * gdesktopappinfo.c: add a note in the docs clarifying what the
199 "filename" parameter really is.
201 2008-09-12 Tor Lillqvist <tml@novell.com>
203 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
204 FormatMessage() etc here. Call g_win32_error_message() instead
205 which already does all that. Besides, the code was broken as it
206 called the default "A" version of FormatMessage() but still
207 thought it produced a wide string.
209 2008-09-12 Michael Natterer <mitch@imendio.com>
211 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
212 in the documentation.
214 2008-09-08 Christian Neumair <cneumair@gnome.org>
216 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
217 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
218 Use non-blocking pipe for mount helper I/O. Fixes #550647.
220 2008-09-06 Matthias Clasen <mclasen@redhat.com>
222 Bug 551149 – xdgmime mem leak
224 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
225 a memory leak. Patch by Christian Persch
227 2008-09-04 Tor Lillqvist <tml@novell.com>
229 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
232 2008-09-02 Matthias Clasen <mclasen@redhat.com>
234 * === Released 2.18.0 ===
236 2008-09-02 Michael Natterer <mitch@imendio.com>
238 * *.h: big header formatting cleanup: indentation, vtable
239 formatting, consistent spacing in (* vfunc), trailing whitespace
240 removal. Formatting should be pretty consistent in all GIO headers
243 2008-09-02 Matthias Clasen <mclasen@redhat.com>
245 * gmount.h: Document guess_content_type sync vfunc.
247 2008-09-02 Michael Natterer <mitch@imendio.com>
249 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
250 fix parent_class member to be GFilterOutputStreamClass (not
251 GOutputStreamClass). Drop three pointers of padding, which is
252 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
253 so the class struct size stays the same.
255 2008-09-02 Matthias Clasen <mclasen@redhat.com>
257 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
259 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
260 nonexisting return values. Pointed out by Cosimo Cecchi.
262 2008-08-23 Tor Lillqvist <tml@novell.com>
264 Bug 548988 - g_file_replace fails on Windows when the target file
267 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
268 Windows, close the file before potentially renaming it (in case we
269 have been writing to a file with a temporary name).
271 (g_local_file_output_stream_close, handle_overwrite_open): Use
272 GLocalFileStat instead of plain struct stat, for passing to
273 _g_local_file_info_create_etag(). Thus also use _fstati64()
274 instead of plain fstat() on Windows.
276 2008-08-18 Matthias Clasen <mclasen@redhat.com>
278 * === Released 2.17.7 ===
280 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
282 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
285 2008-08-13 Tor Lillqvist <tml@novell.com>
287 * win32/gwinhttpvfs.c
288 * win32/gwinhttpvfs.h
289 * win32/gwinhttpfile.c
290 * win32/gwinhttpfileinputstream.c
291 * win32/gwinhttpfileoutputstream.c: Refactor some common code
292 snippets into helper functions. Check HTTP response status
293 codes. Implement g_winhttp_file_query_info(), looking at
294 Content-Length, Content-Type and Last-Modified.
296 * win32/winhttp.h: Add some symbolic constants that are not
297 publicly documented. Just a handful, so it should be OK to use
298 information from the Windows SDK's headers.
300 2008-08-13 Tor Lillqvist <tml@novell.com>
302 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
305 * win32/gwin32directorymonitor.c
306 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
308 2008-08-13 Matthias Clasen <mclasen@redhat.com>
311 * goutputstream.c: Add intro docs.
313 2008-08-13 Tor Lillqvist <tml@novell.com>
315 * win32/gwinhttpfileoutputstream.c
316 (g_winhttp_file_output_stream_write): Don't write the
317 Content-Length header ourselves, WinHttpSendRequest() takes care
318 of that when the dwTotalLength parameter is non-zero. Increment
319 offset by the number of actual bytes sent, although I wonder if
320 such a scenario is possible where less than requested would be
321 sent and accepted by the server without errors.
323 2008-08-13 Tor Lillqvist <tml@novell.com>
325 * win32/gwinhttpvfs.c
326 * win32/gwinhttpvfs.h
327 * win32/gwinhttpfile.c
328 * win32/gwinhttpfile.h
329 * win32/gwinhttpfileinputstream.c
330 * win32/gwinhttpfileinputstream.h
331 * win32/gwinhttpfileoutputstream.c
332 * win32/gwinhttpfileoutputstream.h: New files implementing
333 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
334 Windows. The implementation uses the WinHttp API. Both reading and
335 writing are supported, i.e. GET and PUT requests. When writing,
336 each write call is done using a separate PUT request with a
337 Content-Range header. Requests for file URIs and plain pathnames
338 are forwarded to GLocalVfs.
340 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
341 WINE. Used as there is no <winhttp.h> bundled with mingw, and
342 requiring people to download the Windows SDK just for this one
343 header is not reasonable.
345 * win32/Makefile.am: Add above files.
347 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
348 the plumbing for the above.
350 2008-08-11 Sven Neumann <sven@gimp.org>
352 * gfilenamecompleter.c
353 * glocaldirectorymonitor.c
355 * gunionvolumemonitor.c
359 * gunixvolumemonitor.c
362 * gwin32volumemonitor.c: use canonical signal names.
364 2008-08-11 Tor Lillqvist <tml@novell.com>
366 * Makefile.am: Put a list of the platform-dependent .la files in
367 the subdirectories in the platform_deps Make variable, and make
368 libgio-2.0.la depend on that, so that it gets relinked if one of
369 the dependent libraries has changed.
371 2008-08-11 Tor Lillqvist <tml@novell.com>
373 * Makefile.am (platform_libadd): Remove -lwininet which had been
374 added by mistake. We will probably eventually be using WinHTTP,
375 not the older WinInet anyway. (Actually I am working on it.)
377 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
379 Bug 547080 – g_file_copy leaks expected errors
381 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
382 before trying the next fallback routine.
384 2008-08-09 Loïc Minier <lool@dooz.org>
386 Bug 535124 – umask 002 not being applied for new directories, new
387 files get the correct umask
389 * gfile.c (g_file_make_directory)
390 (g_file_make_directory_with_parents): Document ownership and
391 permissions of newly created directories as being the default
394 2008-08-08 Loïc Minier <lool@dooz.org>
396 Bug 535124 – umask 002 not being applied for new directories, new
397 files get the correct umask
399 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
402 2008-08-08 Tor Lillqvist <tml@novell.com>
404 * gwin32mount.c: Remove unused code. Whitespace cleanup.
406 * gwin32volumemonitor.c (get_connected_drives): Put questionable
407 code that didn't actually do anything inside #if 0, and add a
408 comment wondering what the code was supposed to do. This also gets
409 rid of a leftover debugging printout.
411 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
413 * gfileicon.c (g_file_icon_get_property)
414 (g_file_icon_set_property): New functions.
415 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
417 (g_file_icon_new): Use the property (bug #546132).
419 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
421 * gthemedicon.c (g_themed_icon_get_property): Also handle
422 `PROP_USE_DEFAULT_FALLBACKS'.
423 (g_themed_icon_class_init): Make
424 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
426 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
428 Bug 546371 – Improve docs re g_file_monitor
430 * gfilemonitor.c: Mention g_file_monitor() in the docs.
432 2008-08-04 Matthias Clasen <mclasen@redhat.com>
434 * === Released 2.17.6 ===
436 2008-08-04 Matthias Clasen <mclasen@redhat.com>
438 * === Released 2.17.5 ===
440 2008-08-04 Matthias Clasen <mclasen@redhat.com>
442 Bug 546017 – Don't copy attributes when copying a symlink
444 * gfile.c (g_file_copy_attributes): Specify
445 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
446 g_file_set_attributes_from_info. Patch by Christian Kellner
448 2008-08-04 Matthias Clasen <mclasen@redhat.com>
450 * gemblemedicon.[hc]:
452 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
453 a bit more extensible. Work by Clemens Buss.
455 * gioenums.h: Add GEmblemOrigin.
458 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
460 Bug 546079 – leak in xdgmime
462 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
464 2008-08-03 Tor Lillqvist <tml@novell.com>
466 * win32/gwin32directorymonitor.h
467 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
470 2008-08-03 Tor Lillqvist <tml@novell.com>
472 * win32/gwin32directorymonitor.c
473 (g_win32_directory_monitor_callback): Make prototype match
474 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
475 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
478 (g_win32_directory_monitor_constructor):
479 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
480 names in the GLib API on Windows, so convert to UTF-16 and open
483 2008-08-03 Tor Lillqvist <tml@novell.com>
485 Bug 541036 - Gnumeric crashes when trying to open Desktop or
486 user's folder under Windows
488 * win32/gwin32directorymonitor.c
489 (g_win32_directory_monitor_constructor): Ignore error from
490 CreateFile() when opening directory. Instead of asserting, just
491 store INVALID_HANDLE_VALUE then in
492 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
493 ReadDirectoryChangesW().
494 (g_win32_directory_monitor_cancel): Don't attempt to close
495 directory handle if it is INVALID_HANDLE_VALUE.
497 2008-08-01 Matthias Clasen <mclasen@redhat.com>
499 * gdesktopappinfo.c: Remove debug spew
501 2008-08-01 Hans Breuer <hans@breuer.org>
503 * makefile.msc : add gemblembedicon
505 2008-07-30 Matthias Clasen <mclasen@redhat.com>
507 Bug 545457 – gdmsetup crashed with SIGSEGV in
508 g_unix_mount_guess_should_display()
510 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
511 crash if no mount is found.
513 2008-07-28 Matthias Clasen <mclasen@redhat.com>
515 Bug 545203 – gfile.c: argument is different type.
517 * gfile.c (open_read_async_thread): Pass a GError **
518 to g_file_set_error_literal.
519 Reported by Kazuki Iwamoto
521 2008-07-28 Matthias Clasen <mclasen@redhat.com>
523 Bug 545157 – wrong/no list of "open with" applications for .cc and
526 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
527 Collect all ancestors, not just direct parents. Pointed
528 out by Bastien Nocera
530 2008-07-28 Matthias Clasen <mclasen@redhat.com>
532 * Makefile.am: Install gemblemedicon.h
534 2008-07-28 Matthias Clasen <mclasen@redhat.com>
536 * gemblemedicon.[hc]: Add a GIcon implementation that can
537 add an emblem to another icon.
544 * gfileicon.c: Small documentation additions.
546 2008-07-28 Tor Lillqvist <tml@novell.com>
548 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
551 2008-07-27 Tor Lillqvist <tml@novell.com>
553 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
555 2008-07-24 David Zeuthen <davidz@redhat.com>
559 Also export a g_mount_guess_content_type_sync() function.
561 2008-07-23 Matthias Clasen <mclasen@redhat.com>
563 529694 – SELinux context setting support
565 * gfileinfo.c: Support setting selinux attributes.
566 Patch by Tomas Bzatek
568 2008-07-22 Priit Laes <plaes@plaes.org>
570 Bug 544140 - fam-helper 64-bit issue?
572 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
574 2008-07-21 Matthias Clasen <mclasen@redhat.com>
576 * === Released 2.17.4 ===
578 2008-07-20 Matthias Clasen <mclasen@redhat.com>
580 * gvolumemonitor.[hc]:
585 * gmount.c: Documentation fixes
587 2008-07-19 Matthias Clasen <mclasen@redhat.com>
589 543504 – crash in Epiphany Web Browser: Opening local file
600 * gvolume.c: Register types thread-safely.
601 Patch by Christian Persch
603 2008-07-18 Matthias Clasen <mclasen@redhat.com>
605 * gcontenttype.c: Remove debug spew
607 2008-07-18 Matthias Clasen <mclasen@redhat.com>
609 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
612 * fen/fen-kernel.c: Remove a warning that was causing
613 crashes. Reported by Lin Ma.
615 2008-07-18 Matthias Clasen <mclasen@redhat.com>
617 Bug 543040 – async reading on dummy file will crash on
620 * gfile.c (open_read_async_thread): Cope with read_fn being
621 NULL. Reported by Lin Ma.
623 2008-07-18 Matthias Clasen <mclasen@redhat.com>
626 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
628 2008-07-16 Matthias Clasen <mclasen@redhat.com>
632 * giomodule.c: Rename a chapter id to avoid filename conflict.
634 2008-07-16 Matthias Clasen <mclasen@redhat.com>
636 Bug 540616 – mem leak in filechooser button
638 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
639 the mount entry. Reported by Chrisitan Persch
641 2008-07-16 Matthias Clasen <mclasen@redhat.com>
643 * gfile.c: Small documentation fixes.
645 2008-07-15 Matthias Clasen <mclasen@redhat.com>
647 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
649 2008-07-08 Matthias Clasen <mclasen@redhat.com>
654 * gmount.c: Documentation improvements.
656 2008-07-08 Matthias Clasen <mclasen@redhat.com>
659 * gmount.[hc]: Add g_mount_guess_content_type().
661 2008-07-06 David Zeuthen <davidz@redhat.com>
664 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
665 is needed for easily handling adoption of foreign volumes by
666 out-of-process volume monitors (#541793)
668 2008-07-06 David Zeuthen <davidz@redhat.com>
670 * gvolumemonitor.[ch]:
671 * gunionvolumemonitor.c: Export the eject-button signal on the
672 volume monitor class (#541794).
674 2008-07-06 Matthias Clasen <mclasen@redhat.com>
676 * gappinfo.c: More doc tweaks
678 2008-07-05 Matthias Clasen <mclasen@redhat.com>
680 * gappinfo.c: Clarify some docs
682 2008-07-03 Matthias Clasen <mclasen@redhat.com>
684 * gdesktopappinfo.c: Fix a stupid mistake.
686 2008-07-02 Matthias Clasen <mclasen@redhat.com>
688 * === Released 2.17.3 ===
690 2008-07-02 Matthias Clasen <mclasen@redhat.com>
692 * gfilemonitor.c: Fix the build.
694 2008-07-02 Matthias Clasen <mclasen@redhat.com>
696 Bug 536160 – Add g_file_monitor()
699 * gfile.[hc]: Add g_file_monitor which can return either
700 a file or a directory monitor. Proposed by Behdad Esfahbod
702 2008-07-02 Matthias Clasen <mclasen@redhat.com>
704 536733 – gio build failure on Irix
706 * glocalfile.c: Use a configure check for structfs.f_bavail.
708 2008-07-02 Matthias Clasen <mclasen@redhat.com>
710 Bug 534639 – add g_desktop_app_info_new_from_keyfile
713 * gdesktopappinfo.[hc]: Add a function to create a
714 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
716 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
718 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
720 2008-07-01 Matthias Clasen <mclasen@redhat.com>
722 * gunixmounts.c: Fix a doc typo.
724 2008-07-01 Cody Russell <bratsche@gnome.org>
726 * gio/gcontenttype.c:
727 * gio/gwin32appinfo.c:
728 * gio/gwin32volumemonitor.c:
729 * gio/gwin32mount.c: Fixed some include problems.
731 2008-07-01 Cody Russell <bratsche@gnome.org>
735 Moved all relevant typedefs into these files.
738 Updated wrt added files.
740 Split types into separate file for easier maintainership. (#538564)
742 2008-06-30 Matthias Clasen <mclasen@redhat.com>
744 Bug 540331 – g_file_append_to () documentation: can return NULL
746 * gfile.c (g_file_append_to): Clarify docs.
749 2008-06-30 Matthias Clasen <mclasen@redhat.com>
751 Bug 539090 – g_content_type_from_mime_type() should unalias
753 * gcontentype.c (g_content_type_from_mime_type): Unalias.
754 Patch by Markus Bergman
756 2008-06-30 Matthias Clasen <mclasen@redhat.com>
758 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
761 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
762 on ppc and alpha. Reported by Mart Raudsepp
764 2008-06-29 Matthias Clasen <mclasen@redhat.com>
767 * tests/memory-output-stream.c: Add some tests for
770 2008-06-29 Matthias Clasen <mclasen@redhat.com>
772 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
775 * gmemoryoutputstream.c (array_resize): Handle truncation to
776 zero correctly. Reported by Akira Tagoh
778 2008-06-29 Matthias Clasen <mclasen@redhat.com>
780 * gmemoryoutputstream.c: Trivial doc fixes
782 2008-06-29 Matthias Clasen <mclasen@redhat.com>
784 Bug 540802 – g_list_prepend doesn't concat lists
786 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
787 one list to another. Pointed out by Jan Arne Petersen
789 2008-06-28 Michael Natterer <mitch@imendio.com>
791 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
793 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
795 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
796 to avoid problems with partial icon themes.
798 2008-06-17 Hans Breuer <hans@breuer.org>
800 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
801 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
802 access again on win32, see bug #538127
803 * giomodule.c : ensure GWin32VolumeMonitor is registered
804 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
805 * Makefile.am makefile.msc : updated
807 2008-06-16 Hans Breuer <hans@breuer.org>
809 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
810 and initialization in one step avoids c99ism
812 2008-06-16 Christian Persch <chpe@gnome.org>
815 * gio/gbufferedinputstream.c
817 * gio/gdatainputstream.c
818 * gio/gdesktopappinfo.c
820 * gio/gfileenumerator.c
821 * gio/gfileinputstream.c
822 * gio/gfileoutputstream.c
824 * gio/glocaldirectorymonitor.c
826 * gio/glocalfileenumerator.c
827 * gio/glocalfileinfo.c
828 * gio/glocalfilemonitor.c
829 * gio/glocalfileoutputstream.c
830 * gio/gmemoryinputstream.c
831 * gio/gmemoryoutputstream.c
832 * gio/goutputstream.c
833 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
836 2008-06-16 Tor Lillqvist <tml@novell.com>
838 Bug 538362 - Get Win32 icons back in the file chooser
840 * gcontenttype.c (g_content_type_get_icon): Look up the icon
841 corresponding to a file extension in the Registry. Patch by Hans
843 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
845 2008-06-16 Tor Lillqvist <tml@novell.com>
847 Patches by Hans Breuer:
849 * glocalfile.c (is_xp_or_later): Handle compiling against older
850 SDK headers with missing VerifyVersionInfo(). Conditioned on
851 _MSC_VER, but should probably use some better test.
852 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
853 uninitialised statfs_result variable on Win32.
855 2008-06-16 Michael Natterer <mitch@imendio.com>
857 * *.c: chain up unconditionally in finalize() and dispose(). Also
858 don't dereference these function pointers when calling them since
859 that has no meaning at all.
861 2008-06-16 Ross Burton <ross@burtonini.com>
864 Remove check for dispose implementation as it annoys Emmanuele.
866 2008-06-16 Ross Burton <ross@burtonini.com>
868 Bug 536252 – GFileEnumerator should allow access to the containing
874 Add g_file_enumerator_get_container() and a container writeable
875 construct-only property. Also shuffle around typedefs to make it
878 * glocalfileenumerator.c:
879 * glocalfileenumerator.h:
881 Instead of a string filename take a GFile in the constructor and
882 use it to set the container property.
887 2008-06-16 Matthias Clasen <mclasen@redhat.com>
889 * gfile.c: Make includes more uniform
891 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
893 * tests/live-g-file.c (sample_struct):
894 Use less fancy unicode filenames, so the test doesn't fail
895 on Mac OS X (#531476).
897 2008-06-12 Matthias Clasen <mclasen@redhat.com>
899 * === Released 2.17.2 ===
901 2008-06-12 Matthias Clasen <mclasen@redhat.com>
903 * === Released 2.17.1 ===
905 2008-06-11 A. Walton <awalton@gnome.org>
907 * tests/g-file.c (test_g_file_new_null):
908 Fix broken test case.
910 2008-06-11 Matthias Clasen <mclasen@redhat.com>
912 * pltcheck.sh: We use g_clear_error now.
914 2008-06-11 Matthias Clasen <mclasen@redhat.com>
916 * glocalfile.c (g_local_file_enumerate_children): Revert
917 an unintended change.
919 2008-06-11 Matthias Clasen <mclasen@redhat.com>
921 * gfile.c (g_file_replace_contents): Don't unref before the last use.
923 2008-06-10 Matthias Clasen <mclasen@redhat.com>
925 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
928 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
929 as icon for the desktop directory, also make user-home and
930 user-desktop the preferred icons.
932 2008-06-10 Matthias Clasen <mclasen@redhat.com>
935 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
936 to add a name to the front of the list.
938 2008-06-10 Matthias Clasen <mclasen@redhat.com>
940 Bug 537392 – Additional colon in xattr name
942 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
943 too. Reported by Alessandro Morandi
945 2008-06-10 Matthias Clasen <mclasen@redhat.com>
947 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
950 * glocalfile.c (get_fs_type): Add afs and autofs.
951 Patch by Danny Baumann.
953 2008-06-10 Matthias Clasen <mclasen@redhat.com>
955 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
957 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
958 is no parent. (Owen Taylor, patch by Christian Neumair)
960 2008-06-10 Paolo Borelli <pborelli@katamail.com>
962 * gfile.c (g_file_replace_contents): do not leak the output stream.
964 2008-06-10 Michael Natterer <mitch@imendio.com>
966 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
967 uninitialized memory as array index.
969 2008-06-10 Tor Lillqvist <tml@novell.com>
971 * gcontenttype.c (g_content_type_can_be_executable)
972 (g_content_type_get_icon) [Win32]: Add TODO comments.
974 2008-06-09 Matthias Clasen <mclasen@redhat.com>
976 * xdgmime/Makefile.am: Fix the build
978 2008-06-09 Matthias Clasen <mclasen@redhat.com>
980 * gcontenttype.c (g_content_type_get_icon): Use icons specified
981 in the shared mime database, if available.
983 * xdgmime/*: Sync with upstream. This brings support for
984 glob weights, generic icons, and changes the cache format to
987 2008-05-28 Michael Natterer <mitch@imendio.com>
989 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
990 the global CPPFLAGS now.
992 * tests/data-input-stream.c
993 * tests/data-output-stream.c
994 * tests/g-file-info.c
996 * tests/live-g-file.c
997 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
999 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1001 * === Released 2.17.0 ===
1003 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1004 doesn't complain about leftover files.
1006 2008-05-27 simon.zheng <simon.zheng@sun.com>
1008 * glocalfile.c: (g_local_file_query_filesystem_info):
1009 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1011 2008-05-26 Michael Natterer <mitch@imendio.com>
1013 * gmemoryoutputstream.h: declare
1014 g_memory_output_stream_get_data_size().
1016 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1018 * tests/*: Make tests work
1020 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1022 * gio.symbols: Add g_memory_output_stream_get_data_size.
1024 2008-05-25 Ross Burton <ross@burtonini.com>
1027 Fix typo in error message (#534764).
1029 2008-05-25 Ross Burton <ross@burtonini.com>
1032 Fix circular dependency loop for gioenumtypes.h (#534759).
1034 2008-05-19 Hans Breuer <hans@breuer.org>
1036 * Makefile.am : EXTRA_DIST += makefile.msc
1038 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1041 * gcontenttype.c: (g_content_type_from_mime_type):
1042 New function to create a content type from a mime type. (#527175,
1045 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1047 Bug 532965 – Should not return filesystem::free for certain file systems
1049 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1050 free space for ncpfs.
1052 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1054 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1056 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1057 st_dev might be zero.
1059 2008-05-16 Tor Lillqvist <tml@novell.com>
1061 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1062 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1064 2008-05-13 Bastien Nocera <hadess@hadess.net>
1066 * gfile.c (has_valid_scheme): A URI scheme must start with a
1067 letter, even if later more characters are allowed (#532852)
1069 2008-05-05 Michael Natterer <mitch@imendio.com>
1071 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1072 code from being checked in that breaks the build of applications
1073 which use G_DISABLE_SINGLE_INCLUDES.
1075 * makegioalias.pl: make the alias file include "glib.h" instead of
1078 * gio.symbols: whitespace change to force regeneration of the
1079 alias file after above script change.
1081 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1083 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1085 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1087 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1089 2008-04-28 David Zeuthen <davidz@redhat.com>
1091 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1092 displaying mounts in a subdirectory not accessible to the
1095 2008-04-22 Michael Natterer <mitch@imendio.com>
1097 * Makefile.am: fix library versioning (it was 0.0.0).
1099 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1101 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1102 Default disable all loggings.
1103 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1104 (port_fetch_event_cb): Fixed two macro nits.
1106 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1108 * xdgmime/xdgmime.c: Rework the timestamp checking code
1109 to protect against duplicate directories in XDG_DATA_DIRS.
1110 Fixes fd.o bug 12513, reported by Joe Shaw.
1112 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1114 Partically revert the last commit after realizing that
1115 xdg_mime_media_type_equal doesn't have to init at all.
1117 * xdgmime/xdgmime.h:
1118 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1120 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1122 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1124 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1125 reported by Joe Shaw and Federico Mena Quintero.
1127 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1128 (xdg_mime_media_type_equal): Turn into a wrapper around the
1131 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1132 functions throughout.
1134 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1136 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1137 tolerate an empty TryExec= line without failing; nautilus used
1138 to create launchers with these in previous versions. Fixes #528433
1140 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1142 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1143 after name. Fixes #527132.
1145 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1147 * gfile.c: (g_file_replace):
1150 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1152 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1154 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1155 by Christian Kellner.
1157 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1159 * gunixmounts.c: (g_unix_mount_guess_should_display):
1160 Don't list the user directory as a mount, fix potential issue
1161 when other users have a similar naming and don't special case the
1162 gvfs mounts there since that's not required (#525866)
1164 2008-03-31 Alexander Larsson <alexl@redhat.com>
1166 * glocalfile.c (get_parent):
1169 2008-03-31 A. Walton <awalton@svn.gnome.org>
1171 * gfile.c (g_file_query_file_type):
1172 Always return a GFileType enum value (#520715).
1174 2008-03-31 Alexander Larsson <alexl@redhat.com>
1176 * glocalfileenumerator.c:
1177 Read readdir() info in chunks (of 1000) and sort
1178 the chunks by inode before stat:ing.
1179 This is a 20% performance increase in testing
1180 gvfs-ls on /usr/bin with cold cache.
1182 2008-03-31 Alexander Larsson <alexl@redhat.com>
1184 * gmemoryoutputstream.c:
1185 Clarify docs for g_memory_output_stream_get_size.
1186 Add g_memory_output_stream_get_data_size.
1188 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1192 * gfile.h: Add g_file_query_file_type convenience function
1193 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1195 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1197 * gfileenumerator.c:
1198 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1200 2008-03-28 A. Walton <awalton@svn.gnome.org>
1202 * giomodule.c (_g_io_modules_ensure_loaded):
1203 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1206 2008-03-28 Alexander Larsson <alexl@redhat.com>
1209 (copy_stream_with_progress):
1212 2008-03-28 Alexander Larsson <alexl@redhat.com>
1215 (copy_stream_with_progress):
1216 (file_copy_fallback):
1217 Fallback to g_file_query_info for source size
1218 if g_file_input_stream_query_info fails. (#524579)
1220 2008-03-28 Alexander Larsson <alexl@redhat.com>
1222 * glocalfile.c (g_local_file_move):
1223 Reuse old string instead of adding new one.
1225 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1227 * fen/*.[hc]: still copyright issue. I hate copyright.
1229 2008-03-27 Alexander Larsson <alexl@redhat.com>
1231 * glocalfile.c (g_local_file_move):
1232 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1233 file over directory. This is according to the docs and what the move via
1234 copy+remove fallback does.
1236 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1238 * fen/*.[hc]: Updated copyright.
1240 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1242 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1244 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1246 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1247 not emit attribute changed events when optimizing changed events.
1248 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1251 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1253 * gmountoperation.[hc]: Small documentation additions
1255 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1257 * gunixmounts.c: (guess_mount_type):
1258 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1260 2008-03-19 Alexander Larsson <alexl@redhat.com>
1263 (copy_stream_with_progress):
1264 Bump block side for copy to 64k to minimize
1265 overhead for low latency links. (#523015)
1267 2008-03-16 Tor Lillqvist <tml@novell.com>
1269 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1270 depend on gio.def on Windows.
1272 2008-03-12 David Zeuthen <davidz@redhat.com>
1276 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1278 2008-03-14 Alexander Larsson <alexl@redhat.com>
1282 Avoid redudant tests (#521851)
1283 Patch from Josselin Mouette
1285 2008-03-14 Alexander Larsson <alexl@redhat.com>
1288 (g_file_monitor_is_cancelled):
1289 Fix C89 issue (#521672)
1290 Patch from Jens Granseuer
1292 2008-03-14 Alexander Larsson <alexl@redhat.com>
1294 * fam/fam-helper.[ch]:
1296 Shut down fam (including removing fam GSource) when
1297 module is unloaded (#521513)
1298 Patch from Joe Marcus Clarke
1300 2008-03-14 Alexander Larsson <alexl@redhat.com>
1303 (_g_io_modules_ensure_loaded):
1306 2008-03-14 Alexander Larsson <alexl@redhat.com>
1309 (g_local_file_query_filesystem_info):
1310 Use right define name for f_fstypename member check
1312 2008-03-14 Alexander Larsson <alexl@redhat.com>
1315 * fen/Makefile.am: Added.
1316 * fen/fen-data.[ch]: Added.
1317 * fen/fen-dump.[ch]: Added.
1318 * fen/fen-helper.[ch]: Added.
1319 * fen/fen-kernel.[ch]: Added.
1320 * fen/fen-missing.[ch]: Added.
1321 * fen/fen-node.[ch]: Added.
1322 * fen/fen-sub.[ch]: Added.
1323 * fen/gfendirectorymonitor.[ch]: Added.
1324 * fen/gfenfilemonitor.[ch]: Added.
1326 Added Solaris FEN file notification backend.
1327 Patch from Lin Ma <Lin.Ma@Sun.COM>
1329 2008-03-13 Tor Lillqvist <tml@novell.com>
1331 * Makefile.am: Actually use the gio.def file when linking the
1332 library on Windows. Produce .lib library for Microsoft's toolchain
1333 when possible. Install the .lib and .def file like for the other
1336 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1338 * tests/live-g-file.c:
1339 Include live-g-file in standard set of tests, making a temporary
1340 directory in source structure.
1342 Clean target directory before the tests (write mode only)
1344 2008-03-12 Tor Lillqvist <tml@novell.com>
1346 Bug 517419 - gio win32 directory monitor
1347 Implementation by Vlad Grecescu.
1350 * win32/gwin32directorymonitor.h
1351 * win32/gwin32directorymonitor.c: New files.
1353 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1355 * Makefile.am: Add the win32 subdirectory.
1357 2008-03-12 Tor Lillqvist <tml@novell.com>
1359 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1360 normal struct stat on Unix but struct _stati64 on Windows to have
1361 access to 64-bit file size information. Use that instead of struct
1362 stat in the functions declared here in this private header.
1364 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1365 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1366 warnings about unused functions and variables. Don't set
1367 meaningless attributes like inode numbers on Windows.
1369 2008-03-12 Benjamin Otte <otte@gnome.org>
1372 trim whitespace so gtk-doc groks the function name
1374 2008-03-12 Tor Lillqvist <tml@novell.com>
1376 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1377 returning FALSE, on Win32.
1379 2008-03-11 Alexander Larsson <alexl@redhat.com>
1382 * glocalfileinfo.[ch]:
1383 Correctly implement can_trash by actually
1384 looking for a trash dir, not just assuming
1387 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1389 * === Released 2.16.1 ===
1391 2008-03-11 Alexander Larsson <alexl@redhat.com>
1394 Fix crashes in new constructor and properties code
1396 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1398 * gfile.c: Minor spelling correction in documentation:
1399 existance -> existence.
1401 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1403 * === Released 2.16.0 ===
1405 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1407 * gio.symbols: Remove g_file_contains_file here, too.
1409 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1411 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1412 Samuel Cormier-Iijima)
1414 2008-03-08 Tor Lillqvist <tml@novell.com>
1416 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1419 2008-03-07 Alexander Larsson <alexl@redhat.com>
1422 (g_local_file_query_filesystem_info):
1423 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1424 Patch from Jasper Lievisse Adriaanse
1426 2008-03-06 Tor Lillqvist <tml@novell.com>
1428 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1429 comments for the *_USEC attributes.
1431 2008-03-06 Alexander Larsson <alexl@redhat.com>
1433 * gfile.c (g_file_query_exists):
1434 Add g_return_val_if_fail check (#520700)
1436 2008-03-06 Alexander Larsson <alexl@redhat.com>
1438 * gdesktopappinfo.c:
1441 * gunionvolumemonitor.c:
1444 * tests/live-g-file.c:
1445 * xdgmime/xdgmimecache.c:
1446 Fix sparse warnings (#519489)
1448 2008-03-05 Alexander Larsson <alexl@redhat.com>
1451 Make cancellation threadsafe (i.e.
1452 guarantee its only done once, and always
1455 * glocaldirectorymonitor.c:
1456 Make sure we the monitor lives while the
1457 mounts_changed callback is being called (#520484)
1459 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1461 * gbufferedinputstream.c: Fix typo in parameter
1464 2008-03-04 Alexander Larsson <alexl@redhat.com>
1467 Remove deprecated symbols we kept for one release.
1469 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1472 * goutputstream.c: Tiny documentation corrections.
1474 2008-03-03 Alexander Larsson <alexl@redhat.com>
1476 * gunionvolumemonitor.c:
1478 Fix the adopt_orphan_mount vfunc to take a
1479 volume_monitor reference in an ABI compat way.
1480 This change is not API compat, but the added
1481 arg is not used in the only user of this vfunc, so
1482 all we get is a harmless warning in gvfs (#520169)
1484 2008-03-01 Benjamin Otte <otte@gnome.org>
1487 clarify docs for g_file_delete().
1489 2008-02-29 Alexander Larsson <alexl@redhat.com>
1493 Make sure empty files get text/plain type (#518720)
1495 2008-02-27 Alexander Larsson <alexl@redhat.com>
1501 (g_unix_volume_mount):
1502 Add missing GMountMountFlags argument
1504 2008-02-26 Alexander Larsson <alexl@redhat.com>
1507 (g_local_file_delete):
1508 Handle filesystems (like ntfs-3g) that return EEXIST instead
1509 of ENOTEMPTY (#518816)
1511 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1513 * === Released 2.15.6 ===
1515 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1517 * gfile.c (g_file_find_enclosing_mount):
1518 * ginputstream.c (g_input_stream_set_pending):
1519 * glocalfile.c (g_local_file_find_enclosing_mount):
1520 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1521 * goutputstream.c (g_output_stream_set_pending):
1523 Fixup translator comments (#518578).
1525 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1527 * gfile.c (g_file_find_enclosing_mount):
1529 * glocalfile.c (g_local_file_find_enclosing_mount):
1532 Fix a few typos in translator comments and documentation.
1534 2008-02-25 Alexander Larsson <alexl@redhat.com>
1541 Add translator comments (#518578)
1543 2008-02-25 Alexander Larsson <alexl@redhat.com>
1546 Reintroduce g_file_contains_file, keep around for one
1547 unstable release cycle to avoid crashing to many apps.
1548 Make sure to delete after release.
1550 2008-02-25 Alexander Larsson <alexl@redhat.com>
1553 Remove deprecated g_file_contains_file.
1555 2008-02-25 Alexander Larsson <alexl@redhat.com>
1558 Emit actual change signals in an idle handler.
1559 This avoids reentrance and locking problems in
1560 the file notification backends.
1562 2008-02-25 Alexander Larsson <alexl@redhat.com>
1565 (g_unix_mount_guess_should_display):
1566 Remove type guessing, instead just display
1567 mounts in /media and in ~/.
1569 2008-02-25 Alexander Larsson <alexl@redhat.com>
1572 Make new strings reuse old ones.
1574 2008-02-25 Alexander Larsson <alexl@redhat.com>
1577 Implement trashing and filesystem::readonly for win32 (#517235)
1578 Patch from Yevgen Muntyan
1580 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1582 * gfileinfo.h: Documentation fixes.
1584 2008-02-22 Alexander Larsson <alexl@redhat.com>
1586 * gcontenttype.c (g_content_type_get_icon):
1587 Look at old-style gnome mime icon names too, as many
1588 have not moved to the new style.
1590 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1592 * *.c: Correct the @include in for section docs.
1594 2008-02-21 David Zeuthen <davidz@redhat.com>
1596 * glocalfileinfo.c: (_g_local_file_info_get):
1598 (g_content_type_get_icon): Implement this function by
1599 moving bits from glocalfileinfo.c
1600 (g_content_type_get_description): Unalias before getting
1601 description (#517687)
1603 * gfile.c: (g_file_class_init),
1604 (g_file_query_filesystem_info_async),
1605 (g_file_query_filesystem_info_finish),
1606 (query_filesystem_info_data_free),
1607 (query_filesystem_info_async_thread),
1608 (g_file_real_query_filesystem_info_async),
1609 (g_file_real_query_filesystem_info_finish):
1610 * gfile.h: Implement async version of
1611 g_file_query_filesystem_info()
1613 * gfileinfo.h: Add new attributes for filesystem::use-preview
1615 * gio.symbols: Update
1617 * gthemedicon.c: (g_themed_icon_append_name):
1618 * gthemedicon.h: Add new new convenience function.
1620 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1621 (get_mounts), (get_volumes), (get_connected_drives),
1622 (get_volume_for_uuid), (get_mount_for_uuid),
1623 (g_union_volume_monitor_init), (populate_union_monitor),
1624 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1625 (g_volume_monitor_adopt_orphan_mount):
1627 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1628 monitor implementations to call into the main volume monitor. Also
1629 separate object initialization and volume monitor initialization
1630 such that non-native volume monitors can properly adopt their
1633 2008-02-21 Alexander Larsson <alexl@redhat.com>
1638 2008-02-21 Alexander Larsson <alexl@redhat.com>
1641 Add more documentation about how GFiles work (from #517086)
1643 2008-02-21 Alexander Larsson <alexl@redhat.com>
1647 Add new g_file_has_prefix that does the same as g_file_contains_file.
1648 Deprecate g_file_contains_file and add a macro that converts
1649 it to g_file_has_prefix.
1650 The reason for this change is that the contains_file() name seems to
1651 imply that this does more work than what it does, but its really only
1652 a name match (from #517086)
1657 Update to match the above change.
1659 2008-02-20 Benjamin Otte <otte@gnome.org>
1661 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1662 (g_file_eject_mountable):
1663 even more cases of not returning in error path
1665 2008-02-20 Benjamin Otte <otte@gnome.org>
1667 * gfile.c: (g_file_mount_mountable):
1668 return from function in error path.
1670 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1673 Remove trailing coma in GMountMountFlags struct
1675 2008-02-18 Alexander Larsson <alexl@redhat.com>
1679 * glocalfileoutputstream.c:
1680 Use g_unlink/g_rename instead of unlink/rename;
1681 do not pass raw filenames to g_set_error. (#517239)
1682 Patch from Yevgen Muntyan.
1684 2008-02-18 Alexander Larsson <alexl@redhat.com>
1687 * glocalfileoutputstream.c:
1688 Open files with O_BINARY on windows. (#517140)
1690 2008-02-14 Alexander Larsson <alexl@redhat.com>
1692 * glocalfileoutputstream.c:
1693 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1695 2008-02-14 Alexander Larsson <alexl@redhat.com>
1698 Copy permissions with file on copy (#514084)
1699 This is what cp does and makes sure e.g. the
1700 exec permissions are kept.
1701 Its kinda weird in that it keeps the permission bits
1702 the same while the uid and gid are different. However
1703 the new uid is the user so its not a security issue,
1704 and I've heard no complaints about cp on this issue.
1706 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1708 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1710 2008-02-13 Alexander Larsson <alexl@redhat.com>
1712 * inotify/inotify-path.c:
1713 Define IN_ONLYDIR if not in header (#515346)
1715 2008-02-12 Alexander Larsson <alexl@redhat.com>
1717 * tests/live-g-file.c:
1720 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1722 * === Released 2.15.5 ===
1724 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1726 * gio.symbols: Add g_mount_mount_flags_get_type.
1728 2008-02-11 Alexander Larsson <alexl@redhat.com>
1731 (g_file_info_set_attribute_mask):
1732 (g_file_attribute_matcher_matches_id):
1733 Correctly handle NULL GAttributeMatcher meaning
1734 matches nothing. (Fixes #513492)
1736 2008-02-11 Alexander Larsson <alexl@redhat.com>
1741 Added GMountMountFlags enum and added a flags
1742 argument to all mount calls.
1744 This is an API/ABI change for future extensibility,
1745 as I think we will need at least an
1746 inhibit-autorun flag (the panel needs this).
1747 There are no flags defined yet though.
1749 2008-02-11 Alexander Larsson <alexl@redhat.com>
1752 Added new standard::description attribute.
1753 Requested by Vincent, and useful for both
1756 2008-02-11 Alexander Larsson <alexl@redhat.com>
1758 * gdesktopappinfo.c:
1761 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1763 * *.c: Documentation additions
1765 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1767 * gappinfo.h: Formatting cleanup
1768 * gappinfo.c: Fix up docs.
1770 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1772 * gunixmounts.c: Consistently use getmntent_r() and fall
1773 back to getmntent(). (#515492)
1775 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1777 * gbufferedinputstream.c:
1779 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1781 * tests/data-input-stream.c:
1782 * tests/data-output-stream.c: Portability fixes.
1784 2008-02-08 Alexander Larsson <alexl@redhat.com>
1789 Add g_volume_should_automount.
1792 2008-02-07 Tor Lillqvist <tml@novell.com>
1794 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1795 Win32, too Unix-specific.
1797 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1799 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1800 a local plt if the compiler doesn't support what we want. Bug #514702
1802 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1804 reviewed by: <delete if not using a buddy>
1807 * gunixinputstream.c:
1808 * gunixoutputstream.c:
1810 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1812 * tests/Makefile.am:
1813 * tests/live-g-file.c:
1814 * tests/live-g-file.txt:
1815 New GIO testing module working over real data
1817 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1819 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1820 Fallback to rename() if link() is not available
1821 (when no support on target filesystem)
1823 2008-02-06 Michael Natterer <mitch@imendio.com>
1825 * gfileinfo.c (g_file_info_get_icon): replace
1826 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1828 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1830 * gfile.c (g_file_create):
1831 Documentation update of error codes
1833 2008-02-06 Alexander Larsson <alexl@redhat.com>
1835 * gdesktopappinfo.c:
1836 Update to use both mimeapps.list and
1837 defaults.list as discussed on xdg list.
1839 2008-02-06 Benjamin Otte <otte@gnome.org>
1842 * gfilenamecompleter.c:
1843 Fix some typos in the documentation.
1845 2008-02-06 Alexander Larsson <alexl@redhat.com>
1847 * glocalfile.c (g_local_file_trash):
1848 Don't succeed with trash if newly created
1849 trash dir has the wrong owner. (#514696)
1851 2008-02-05 Alexander Larsson <alexl@redhat.com>
1853 * glocalfile.c (g_local_file_move):
1854 Don't spew warnings when destination is not
1857 2008-02-03 Hans Breuer <hans@breuer.org>
1859 * makefile.msc : update
1861 2008-02-01 Michael Natterer <mitch@imendio.com>
1863 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1864 return value of xdg_mime_list_mime_parents() to a variable of the
1867 2008-02-01 Alexander Larsson <alexl@redhat.com>
1869 * gappinfo.c (g_app_info_launch_uris):
1870 Actually call the launch_uris method, not
1873 2008-02-01 Alexander Larsson <alexl@redhat.com>
1875 * gdesktopappinfo.c (g_desktop_app_info_equal):
1876 Ensure appinfos with no id but same pointer value
1879 2008-02-01 Alexander Larsson <alexl@redhat.com>
1881 * gappinfo.c (g_app_info_launch_default_for_uri):
1884 2008-02-01 Alexander Larsson <alexl@redhat.com>
1888 Add g_app_info_launch_default_for_uri utility
1891 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1893 * gdesktopappinfo.c:
1894 Doc fix for g_app_info_get_default_for_uri_scheme ()
1897 2008-01-30 Alexander Larsson <alexl@redhat.com>
1900 Add doc comment about uris vs GFiles to
1903 * gdesktopappinfo.c:
1904 Ensure uris passed to g_app_info_launch_uris()
1905 are not roundtriped through GFile (as that
1906 may be slightly destructive for e.g. mailto: links)
1908 2008-01-30 Alexander Larsson <alexl@redhat.com>
1910 * tests/data-input-stream.c:
1911 * tests/data-output-stream.c:
1912 C89 fixes from Jens Granseuer (#512849)
1914 2008-01-30 Alexander Larsson <alexl@redhat.com>
1917 Fix gamin/fam difference build issue. (#509419)
1919 2008-01-29 Alexander Larsson <alexl@redhat.com>
1922 * gdesktopappinfo.c:
1923 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1925 2008-01-29 Alexander Larsson <alexl@redhat.com>
1927 * gdesktopappinfo.c:
1928 * gdesktopappinfo.h:
1929 giomodule-priv.h include moved to .c file.
1931 2008-01-29 Alexander Larsson <alexl@redhat.com>
1933 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1934 Remove unused prio/name fields.
1936 2008-01-29 Alexander Larsson <alexl@redhat.com>
1938 * gcontenttype.c (looks_like_text):
1939 Don't treat whitespace as control chars.
1941 2008-01-29 Alexander Larsson <alexl@redhat.com>
1943 * gdesktopappinfo.c:
1944 Lazily create the desktop files for appinfos created
1945 by g_app_info_create_from_commandline() when needed
1946 for mime associations. This allows run-time use
1947 of GAppInfo object without creating unnecessary
1950 2008-01-29 Alexander Larsson <alexl@redhat.com>
1953 Added new symbols to gio.symbols
1955 2008-01-29 Alexander Larsson <alexl@redhat.com>
1958 Add g_file_query_default_handler utility to easily look up
1959 the GAppInfo that handles a file.
1961 * gdesktopappinfo.[ch]:
1963 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1966 Remove unused function
1968 2008-01-29 Alexander Larsson <alexl@redhat.com>
1970 * gfileenumerator.c:
1971 Mention need to free returned value in
1972 g_file_enumerator_next_files_finish docs.
1973 Fix leak if g_file_enumerator_next_files_finish()
1976 2008-01-29 Alexander Larsson <alexl@redhat.com>
1979 (_g_unix_content_type_get_parents):
1980 Use list_parents, not get_parents from xdgmime, because
1981 the later doesn't use the cache.
1983 * xdgmime/xdgmimecache.c:
1984 (_xdg_mime_cache_list_mime_parents):
1985 Don't list the same type as parent multiple times.
1987 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1989 * === Released 2.15.4 ===
1991 2008-01-28 Alexander Larsson <alexl@redhat.com>
1994 Register local vfs with prio 0.
1997 Remove old name and prio class members
1999 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2001 * tests/g-file.c: Disable some tests that are failing in
2002 the absence of a http backend.
2004 2008-01-28 Alexander Larsson <alexl@redhat.com>
2008 Add registration hooks for extension points.
2009 Register the gio extension points.
2011 * fam/gfamdirectorymonitor.c:
2012 * fam/gfamfilemonitor.c:
2013 * glocaldirectorymonitor.[ch]:
2014 * glocalfilemonitor.[ch]:
2015 * gnativevolumemonitor.h:
2016 * gunionvolumemonitor.c:
2017 * gunixvolumemonitor.c:
2020 * inotify/ginotifydirectorymonitor.c:
2021 * inotify/ginotifyfilemonitor.c:
2022 Use the extension points registration instead
2023 of g_type_children().
2025 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2028 * gvolume.[hc]: Document new API.
2030 * gfile.c (g_file_copy_async): Fix docs
2032 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2034 * gbufferedinputstream.c:
2036 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2039 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2041 * glocalfile.c: Avoid trivial differences in translatable strings.
2043 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2045 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2046 build with gcc 3.4 (#509419)
2048 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2050 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2051 (#509994, Murray Cumming)
2053 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2055 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2056 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2057 this allows big jobs to be executed in chunks, instead of blocking
2058 the main loop for a long time.
2060 * gsimpleasyncresult.c:
2061 * giofile.c: Adapt callers.
2063 2008-01-25 Alexander Larsson <alexl@redhat.com>
2065 * gdesktopappinfo.c:
2066 Implement changes discussed on xdg list.
2067 Now we can add supported mimetypes by just using defaults.list
2068 We can also remove associations in defaults.list.
2070 2008-01-25 Alexander Larsson <alexl@redhat.com>
2072 * gdesktopappinfo.c:
2073 Don't make local copy of desktop file
2074 for mimetype changes if the file already
2075 supports the new mimetype.
2077 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2081 * gbufferedinputstream.c:
2082 * glocalfile.c: String improvements. (#511966,
2083 Theppitak Karoonboonyanan)
2085 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2087 * gioscheduler.h: Expand docs a bit.
2089 2008-01-24 Alexander Larsson <alexl@redhat.com>
2092 Add g_drive_get_identifier and
2093 g_drive_enumerate_identifiers
2096 Add g_volume_get_identifier and
2097 g_volume_enumerate_identifiers
2103 Implement identifiers for unix backend
2105 2008-01-24 Alexander Larsson <alexl@redhat.com>
2110 Add g_file_copy_async() (#511580)
2111 Based on patch from Carlos Garcia Campos
2113 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2115 * gioscheduler.c: Some documentation additions.
2117 2008-01-22 Alexander Larsson <alexl@redhat.com>
2119 * gdesktopappinfo.c:
2120 (g_desktop_app_info_new):
2121 Don't leak basename.
2123 2008-01-22 Alexander Larsson <alexl@redhat.com>
2125 * gdesktopappinfo.c:
2126 (g_desktop_app_info_new_from_filename):
2129 2008-01-22 Alexander Larsson <alexl@redhat.com>
2131 * glocalfileinfo.c (get_thumbnail_attributes):
2134 2008-01-22 Alexander Larsson <alexl@redhat.com>
2137 (canonicalize_filename):
2138 Canonicalize paths that start with more than
2142 (compare_two_files):
2143 (test_g_file_new_for_path):
2146 2008-01-22 Alexander Larsson <alexl@redhat.com>
2149 Allow UTF-8 in file:// parse names.
2151 * tests/Makefile.am:
2152 * tests/data-input-stream.c:
2153 * tests/data-output-stream.c:
2154 * tests/g-file-info.c:
2156 Added a bunch of tests from Tomas Bzatek
2158 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2160 * === Released 2.15.3 ===
2162 2008-01-21 Alexander Larsson <alexl@redhat.com>
2164 * gfileinputstream.[ch]:
2165 * gfileoutputstream.[ch]:
2167 Remove duplicated GSeekable functions. (#509990)
2168 Just use the g_seekable_xxx() calls instead.
2170 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2173 * gvolumemanager.c: Whitespace cleanups.
2175 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2176 Use the right mode when creating the file.
2178 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2180 * gfileenumerator.c:
2181 * gfileinputstream.c:
2183 * goutputstream.c: Documentation: Fixed minor typos
2184 and added more mentions of specific _finish() functions.
2186 2008-01-21 Alexander Larsson <alexl@redhat.com>
2188 * inotify/Makefile.am:
2189 * inotify/inotify-helper.c:
2190 * inotify/inotify-kernel.c:
2191 * inotify/inotify-path.c:
2192 * inotify/local_inotify.h: Removed.
2193 * inotify/local_inotify_syscalls.h: Removed.
2194 Removed the included copies of the inotify
2195 headers. We now only use the <sys/inotify.h>
2196 header which exists on modern systems.
2197 This fixes problems on ARM and SH5 (#510448)
2198 but is also generally much cleaner and future
2199 safe. For instance, if other OSes add support
2200 for inotify it should "just work".
2202 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2204 * inotify/*.c: Coding style fixes.
2205 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2206 for the 1/4 Hz timer.
2208 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2211 * gfilemonitor.[hc]:
2212 * gmemoryinputstream.c:
2213 * gmemoryoutputstream.c:
2214 * gmountoperation.c:
2215 * gthemedicon.c: Documentation updates
2217 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2219 * gfile.c: documentation: Fixed more minor
2222 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2224 * gmount.c: (g_mount_remount): documentation:
2225 Mention g_mount_remount_finish() instead of
2226 g_mount_unmount_finish().
2228 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2232 * gfile.c: Fixed some minor typos in the
2235 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2237 * gio/gvolumemonitor.c:
2238 (g_volume_monitor_get_connected_drives):
2239 (g_volume_monitor_get_volumes):
2240 (g_volume_monitor_get_mounts): Documentation:
2241 Clarify the ownership of the regurn GLists.
2243 2008-01-17 Alexander Larsson <alexl@redhat.com>
2246 Add the async find_enclosing_mount version
2247 to the header file too.
2249 2008-01-17 Alexander Larsson <alexl@redhat.com>
2252 Add async version of find_enclosing_mount
2253 with default implementation.
2255 2008-01-17 Alexander Larsson <alexl@redhat.com>
2260 Allow calls to implementation of copy and write
2261 even if the type of the file implementations is
2262 different. This can be used to implement native
2263 upload and download calls in a vfs.
2266 (g_local_file_move):
2267 Protect against the case where move is called
2268 with one file not being local.
2270 Make sure we call the progress callback once
2271 in the native move operation so that the caller
2272 knows how many bytes were copied.
2274 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2277 * gdatainputstream.c:
2279 * gfileoutputstream.c:
2284 * gunixmounts.c: Corrected some typos in the documentation:
2285 occured -> occurred.
2286 its -> it's (where appropriate).
2288 2008-01-16 Alexander Larsson <alexl@redhat.com>
2292 Add g_file_query_exists (#508771)
2294 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2299 * gvolume.c: For async functions that have no non-async
2300 version, document that the GAsyncReadyCallback may be NULL.
2303 2008-01-15 Alexander Larsson <alexl@redhat.com>
2305 * gmemoryinputstream.c:
2306 * gmemoryoutputstream.c:
2307 Don't do pointer arithmetic on void * (#508602)
2308 Patch from Kazuki IWAMOTO
2310 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2312 * === Released 2.15.2 ===
2314 2008-01-14 Alexander Larsson <alexl@redhat.com>
2316 * gfile.c (g_file_monitor_file):
2317 Don't set error here, since we fallback to polling monitor.
2319 2008-01-14 Alexander Larsson <alexl@redhat.com>
2322 (g_file_monitor_directory):
2323 (g_file_monitor_file):
2324 Add GError to file monitor calls
2326 * glocaldirectorymonitor.c:
2327 * glocaldirectorymonitor.h:
2329 * glocalfilemonitor.c:
2330 * glocalfilemonitor.h:
2332 Update for above change
2334 2008-01-14 Alexander Larsson <alexl@redhat.com>
2338 Handle root correctly in g_file_get_relative_path (#508719)
2340 2008-01-14 Alexander Larsson <alexl@redhat.com>
2343 Clean up docs and example for GAsyncResult (#508074)
2345 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2347 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2348 and correct some spelling mistakes. Bug #508108.
2350 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2352 * glocalfileinfo.c: Add a comment.
2354 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2356 * gfileinfo.c: GFileInfo description: Mention
2357 how to actually set attributes in a GFile and how to discover
2358 which attributes are settable. Bug #508378.
2360 2008-01-10 A. Walton <awalton@svn.gnome.org>
2362 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2363 (g_app_info_get_default_for_type):
2364 Check for NULL content types.
2366 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2368 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2370 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2372 * gfile.c: *_async() functions: Several small corrections
2373 to the documentation, mostly correcting copy/paste errors
2374 and improving some sentences.
2376 2008-01-09 Dan Winship <danw@gnome.org>
2378 * glocalfile.c (get_unique_filename): x86_64 fix
2380 2008-01-09 Alexander Larsson <alexl@redhat.com>
2385 Add g_unix_mount_guess_should_display and use
2386 for unix volume monitor backend.
2387 This means we more or less show what the
2388 gnome-vfs backend did.
2389 Based on patch from Padraig O'Briain
2391 2008-01-09 Alexander Larsson <alexl@redhat.com>
2395 Add g_themed_icon_new_with_default_fallbacks
2398 Use default fallbacks for icons
2400 2008-01-09 Alexander Larsson <alexl@redhat.com>
2403 * gmountoperation.[ch]:
2404 Change the API a bit so that unhandled methods
2405 get reported via the reply, rather than by
2406 the signal emission return value. This is because
2407 some handlers can't know this immediately without
2408 doing I/O, and this is an async operation that
2411 2008-01-09 Alexander Larsson <alexl@redhat.com>
2414 * fam/gfamdirectorymonitor.c:
2415 * fam/gfamfilemonitor.c:
2416 Fix double free crash (#508224)
2417 Patch from Joe Marcus Clarke
2419 008-01-07 Matthias Clasen <mclasen@redhat.com>
2421 * === Released 2.15.1 ===
2423 2008-01-07 Alexander Larsson <alexl@redhat.com>
2425 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2426 Fix warning (#507835)
2428 2008-01-07 Alexander Larsson <alexl@redhat.com>
2431 Pass --internal to glib-genmarshal
2434 * gmountoperation.c:
2436 Use better types for signal arguments (#507822)
2438 2008-01-07 Alexander Larsson <alexl@redhat.com>
2441 Build test subdir after .
2442 Remove gdirectorymonitor.[ch]
2444 * gdirectorymonitor.[ch]:
2448 Remove GDirectoryMonitor and make
2449 GFileMonitor the baseclass for both file and
2450 directory monitors. Lift the more generic
2451 rate limiting code from GDirectoryMonitor
2455 * fam/gfamdirectorymonitor.[ch]:
2456 * inotify/ginotifydirectorymonitor.[ch]:
2457 * inotify/inotify-helper.c:
2458 * glocaldirectorymonitor.[ch]:
2461 Update for the removed GDirectoryMonitor.
2463 * gmemoryoutputstream.c:
2464 Remove ununsed variable
2466 2008-01-07 Alexander Larsson <alexl@redhat.com>
2468 * gmemoryinputstream.c:
2469 Translate error strings
2472 * gmemoryoutputstream.[ch]:
2473 New implementation that avoids using GByteArray
2474 in implementation and API. (#506377)
2476 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2478 * tests/*: Add a test for memory input streams.
2480 * Makefile.am: Add tests to SUBDIRS.
2482 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2484 * glocalfilemonitor.c:
2485 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2488 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2490 * gdesktopappinfo.c: Fix a docs typo.
2492 * gfileattribute.c: Add information about extended attributes
2493 to the documentation. (#505058)
2495 2008-01-04 Alexander Larsson <alexl@redhat.com>
2498 * gmountoperation.c:
2499 Use the right type (uint) for the ask_password signal.
2501 2008-01-04 Alexander Larsson <alexl@redhat.com>
2506 Add g_app_info_supports_files()
2507 Remove desktop arg from g_app_info_should_show().
2509 * gdesktopappinfo.[ch]:
2510 Implement g_app_info_supports_files() and new should_show()
2511 Add g_desktop_app_info_set_desktop_env() to set the desktop
2512 for should_show(). (This will be set by gtk+ later)
2514 2008-01-04 Alexander Larsson <alexl@redhat.com>
2517 * gmemoryinputstream.[ch]:
2518 Improve API so that you can use multiple chunks
2519 of memory and custom destroy functions. (#506374)
2521 2008-01-03 Alexander Larsson <alexl@redhat.com>
2524 Handle NULL attribute matchers safely, as we return this
2525 for empty attribute matcher strings.
2527 2008-01-03 Alexander Larsson <alexl@redhat.com>
2529 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2530 Add /usr/local to list of internal mountpoints
2532 2008-01-03 Alexander Larsson <alexl@redhat.com>
2535 Check for HAVE_LCHOWN (#505887)
2537 2008-01-03 Alexander Larsson <alexl@redhat.com>
2541 Add define for selinux context attribute.
2542 Fix missing : -> :: namespace separator change
2543 Fix missing _ -> - name change for xattr-sys.
2546 2008-01-03 Alexander Larsson <alexl@redhat.com>
2549 Link to libglib and libgobject directly (#504879)
2550 Patch from Sebastien Bacher
2552 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2554 * gfile.c: Expanded the g_file_new_for_commandline_arg
2555 description a bit, based on the code and the docs of the
2556 other g_file_new_for_* functions.
2558 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2560 * gfilemonitor.h: Fixed typo in docs.
2562 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2564 Updates to GIO documentation. (#506395, Mikael Hermansson)
2566 * gcontenttype.c: Describe memory management for return value of
2567 g_content_types_get_registered(). Missing piece from #505815.
2568 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2569 GVolume, GDrive, GMounts, which hopefully gives the user less
2570 confusions when using this API. Following explainations from
2571 Alexander Larsson on gtk-devel-list.
2573 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2575 * gfileinfo.c: Expand the long description.
2577 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2580 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2581 fix builds with --disable-visibility. (#500273, Christian Persch)
2583 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2585 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2586 in the list of returned app infos.
2588 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2590 * gappinfo.c: Fix a cross-reference
2592 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2594 * gfileinputstream.c:
2595 * gfileoutputstream.c:
2599 * gdesktopappinfo.c:
2601 * gfileinfo.c: Documentation updates.
2603 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2605 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2608 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2610 * gcontenttype.c (g_content_types_get_registered): Don't return
2611 freed memory (#505815, Mikael Hermansson)
2613 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2615 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2616 used to detect statbuf->st_blocks. (#505042)
2618 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2620 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2621 environment handling. (#504829, Cosimo Cecchi)
2623 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2625 * gappinfo.c: Doc improvements
2627 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2630 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2632 * === Released 2.15.0 ===
2634 2007-12-20 Hans Breuer <hans@breuer.org>
2636 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2637 with symbols gwin32appinfo.obj, added gmount.obj
2638 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2640 2007-12-20 Alexander Larsson <alexl@redhat.com>
2646 * gfilenamecompleter.c:
2649 * gpollfilemonitor.c:
2650 File attribute renames:
2652 fs:: -> filesystem::
2653 id::fs -> id::filesystem
2655 2007-12-20 Alexander Larsson <alexl@redhat.com>
2664 Add GMountUnmountFlags to all unmount and
2666 Add g_mount_remount() call.
2668 2007-12-20 Alexander Larsson <alexl@redhat.com>
2670 * gvfs.c (get_default_vfs):
2671 Fix unused variable warning
2673 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2675 * pltcheck.sh: Update
2677 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2679 * gunionvolumemonitor.c:
2680 * gunixmount.c: Remove C99 comments
2682 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2684 * gio.symbols: Add some missing symbols
2686 2007-12-19 Alexander Larsson <alexl@redhat.com>
2689 Make g_io_modules_load_all_in_directory not unuse
2690 loaded modules so that users of it can do stuff
2692 Init internal "module" types.
2693 Initialize static prio and name for types so that
2694 we don't have to load modules to get it.
2696 * gnativevolumemonitor.h:
2698 Move is_supported to parent class so that
2699 non-native monitors can avoid being initialized
2700 too. (For instance GDaemonVolumeMonitor if we're
2701 not using GDaemonVfs.)
2703 * glocaldirectorymonitor.[ch]:
2704 * glocalfilemonitor.[ch]:
2705 * gunionvolumemonitor.c:
2706 * gunixvolumemonitor.c:
2708 Find plugins using the static prio+name to
2709 avoid unnecessarily loading the modules.
2711 2007-12-19 Alexander Larsson <alexl@redhat.com>
2716 2007-12-19 Alexander Larsson <alexl@redhat.com>
2718 * gunionvolumemonitor.c:
2719 Store the native type as GType, not class so that
2720 we can unload it. But still avoid unnecessarily
2723 2007-12-19 David Zeuthen <davidz@redhat.com>
2725 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2726 add signals 'disconnected' and 'eject-button' on GDrive. Add
2727 signal 'removed' on GVolume and 'unmounted' on GMount.
2729 * gdrive.c: (g_drive_base_init):
2731 * gfile.c: (g_file_mount_mountable),
2732 (g_file_mount_enclosing_volume):
2735 * gmount.c: (g_mount_base_init):
2737 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2738 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2739 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2743 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2745 * *.c: Fix up includes in the section docs.
2747 2007-12-17 Alexander Larsson <alexl@redhat.com>
2749 * gnativevolumemonitor.h:
2750 * gunionvolumemonitor.c:
2751 * gunixvolumemonitor.c:
2752 Add is_supported() to GNativeVolumeMonitorClass so
2753 that we can avoid having to create an object to see
2754 if the backend is supported at runtime.
2755 Also add name member and an env var to pick a specific
2756 volume monitor backend.
2760 Add cancellable to _g_mount_get_for_mount_path()
2762 * glocaldirectorymonitor.c:
2763 * glocalfilemonitor.c:
2764 Avoid loading and unloading modules while sorting.
2766 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2769 * gunixmounts.[hc]: Namespace waste reduction, move some
2770 g_get_unix_mount functions to the g_unix_mount namespace.
2773 * gunixvolumemonitor.c:
2775 * glocaldirectorymonitor.c: Update all callers.
2777 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2779 2007-12-17 Alexander Larsson <alexl@redhat.com>
2782 Add doc comments about what GFile operations are
2783 guaranteed to not block.
2785 2007-12-17 Alexander Larsson <alexl@redhat.com>
2788 Add missing #ifdef fixing OSX build.
2789 (#503334, patch from Richard Hult)
2791 2007-12-14 David Zeuthen <davidz@redhat.com>
2795 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2796 (g_mount_eject), (g_mount_eject_finish):
2798 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2799 (get_volume_for_uuid), (get_mount_for_uuid),
2800 (g_union_volume_monitor_class_init),
2801 (get_default_native_type_with_exclude), (get_default_native_type),
2802 (get_native_type), (update_native_type),
2803 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2804 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2805 (g_unix_mount_can_eject), (eject_unmount_cb),
2806 (eject_unmount_read_error), (eject_unmount_do),
2807 (g_unix_mount_unmount), (g_unix_mount_eject),
2808 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2809 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2810 (g_unix_mount_point_guess_can_eject):
2812 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2813 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2814 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2815 (g_unix_volume_mount), (g_unix_volume_eject),
2816 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2817 * gunixvolumemonitor.c: (get_volume_for_uuid),
2818 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2820 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2821 (g_volume_eject), (g_volume_eject_finish):
2823 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2824 (g_volume_monitor_get_mount_for_uuid):
2827 Provide eject() on both GMount and GVolume and utility functions
2828 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2829 ejected. Introduce the concept of UUID's and wire it into GVolume
2830 and GMount and provide API on GVolumeMonitor to find such
2831 instances. Also handle the case where an external
2832 GNativeVolumeMonitor fails to initialize. Lock around the
2833 _g_get_mount_for_mount_path() function such that volume monitor
2834 implementations won't have to do locking themselves.
2836 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2838 * gdesktopappinfo.c:
2844 * gvolume.h: Documentation updates
2846 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2849 * gfile.h: Doc updates
2851 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2854 * gdesktopappinfo.c: Use hash table iterators.
2856 2007-12-14 Alexander Larsson <alexl@redhat.com>
2859 * gfileattribute.[ch]:
2860 * gfileattribute-priv.h:
2861 Move GFileAttributeValue to a private header, as
2865 Make set_attribute take a type + a pointer instead
2866 of a GFileAttributeValue.
2869 Fix up for above changes.
2870 Add g_file_info_get_attribute_data to get
2871 all info in one call, g_file_info_get_attribute_status
2872 to get the status and g_file_info_get_attribute_as_string.
2876 * glocalfileinfo.[ch]:
2880 Make _guess_type static.
2882 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2885 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2886 made mkenums and friends use temporary files to avoid leaving
2887 empty generated files on failure (#503470).
2889 2007-12-14 Alexander Larsson <alexl@redhat.com>
2891 * gmountoperation.h:
2894 2007-12-14 Alexander Larsson <alexl@redhat.com>
2898 * gfileattribute.[ch]:
2901 * glocalfileoutputstream.c:
2902 * gmountoperation.[ch]:
2903 * goutputstream.[ch]:
2904 Clean up all flags enums to not have _FLAGS in them
2905 Make the names of some of the enums better.
2910 2007-12-14 Michael Natterer <mitch@imendio.com>
2912 * gio.symbols: fix g_io_scheduler symbol names.
2914 2007-12-14 Alexander Larsson <alexl@redhat.com>
2920 * gbufferedinputstream.h:
2921 * gbufferedoutputstream.h:
2924 * gdatainputstream.h:
2925 * gdataoutputstream.h:
2926 * gdesktopappinfo.h:
2927 * gdirectorymonitor.h:
2931 * gfileenumerator.h:
2934 * gfileinputstream.h:
2936 * gfilenamecompleter.h:
2937 * gfileoutputstream.h:
2938 * gfilterinputstream.h:
2939 * gfilteroutputstream.h:
2947 * gmemoryinputstream.h:
2948 * gmemoryoutputstream.h:
2950 * gmountoperation.h:
2953 * gsimpleasyncresult.h:
2955 * gunixinputstream.h:
2957 * gunixoutputstream.h:
2961 * inotify/Makefile.am:
2962 Only allow including <gio/gio.h> from apps
2964 2007-12-14 Alexander Larsson <alexl@redhat.com>
2966 * gioscheduler.[ch]:
2967 * gsimpleasyncresult.c:
2968 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2969 Split out the send_to_mainloop call into two versions instead
2970 of having the block argument.
2972 2007-12-13 Alexander Larsson <alexl@redhat.com>
2974 * gcancellable.[ch]:
2976 * gbufferedinputstream.c:
2977 * gfileenumerator.c:
2978 * gfileinputstream.c:
2979 * gfileoutputstream.c:
2983 g_push/pop_current_cancellable ->
2984 g_cancellable_push/pop_current
2986 2007-12-13 Alexander Larsson <alexl@redhat.com>
2990 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2992 2007-12-13 Alexander Larsson <alexl@redhat.com>
2994 * gmountoperation.h:
2995 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2997 2007-12-12 Alexander Larsson <alexl@redhat.com>
3000 Fix race condition when freeing proxy in
3001 g_io_job_send_to_mainloop().
3003 2007-12-12 Alexander Larsson <alexl@redhat.com>
3009 Make attribute namespace separator "::" instead of ":".
3010 Use - instead of _ as separator in attribute names.
3012 2007-12-12 Alexander Larsson <alexl@redhat.com>
3014 * gbufferedinputstream.h:
3015 * gbufferedoutputstream.h:
3016 * gdatainputstream.h:
3017 * gdataoutputstream.h:
3018 * gdirectorymonitor.h:
3019 * gfileenumerator.h:
3020 * gfileinputstream.h:
3022 * gfileoutputstream.h:
3023 * gfilterinputstream.h:
3024 * gfilteroutputstream.h:
3026 * glocalfileinputstream.h:
3027 * glocalfileoutputstream.h:
3028 * gmemoryinputstream.h:
3029 * gmemoryoutputstream.h:
3030 * gnativevolumemonitor.h:
3032 * gunixinputstream.h:
3033 * gunixoutputstream.h:
3036 s/parent/parent_instance/ in GObjects
3038 2007-12-12 Alexander Larsson <alexl@redhat.com>
3043 No need for padding for interfaces
3045 2007-12-12 Alexander Larsson <alexl@redhat.com>
3049 * gbufferedinputstream.c:
3050 * gbufferedoutputstream.c:
3053 * gdatainputstream.[ch]:
3054 * gdesktopappinfo.c:
3055 * gdirectorymonitor.c:
3057 * gfileattribute.[ch]:
3060 * gfileinputstream.h:
3061 * gfilemonitor.[ch]:
3062 * gfileoutputstream.[ch]:
3063 * gfilterinputstream.h:
3064 * gfilteroutputstream.h:
3067 * gloadableicon.[ch]:
3068 * gmemoryinputstream.c:
3069 * gmountoperation.c:
3071 Fix up a bunch of details in the docs.
3076 2007-12-11 David Zeuthen <davidz@redhat.com>
3078 Rework how volumes, drives and volume monitoring is
3079 done. Previosly the model was
3081 GDrive <1-1> GVolume
3083 where a GDrive instance represented a mount point and a GVolume
3084 instance represented a mounted file system. This patch changes it
3087 GDrive <1-N> GVolume <1-1> GMount
3089 where GMount now serves the purpose of the old GVolume and the new
3090 GVolume serves the purpose of the old GDrive. In addition the new
3091 GDrive interface is used to represent a collection of GVolume
3092 instances (typically partitions) and also contains utility to query
3093 the state of the physical drive the GDrive object represents (such
3094 as checking for media, polling the drive, ejecting the media etc.).
3096 Also implement mounting and unmounting in the Unix volume monitor
3097 backend. A subquent patch will introduce GDrive support for ejection
3101 * gdrive.c: (g_drive_is_media_check_automatic),
3102 (g_drive_is_media_removable), (g_drive_has_media),
3103 (g_drive_can_poll_for_media), (g_drive_eject),
3104 (g_drive_eject_finish), (g_drive_poll_for_media),
3105 (g_drive_poll_for_media_finish):
3107 * gfile.c: (g_file_find_enclosing_mount):
3110 * glocaldirectorymonitor.c:
3111 (g_local_directory_monitor_constructor), (mounts_changed):
3112 * glocalfile.c: (get_mount_info),
3113 (g_local_file_find_enclosing_mount),
3114 (g_local_file_file_iface_init):
3115 * gnativevolumemonitor.h:
3116 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3117 (get_connected_drives), (g_union_volume_monitor_class_init),
3118 (child_volume_added), (child_volume_removed),
3119 (child_volume_changed), (child_mount_added), (child_mount_removed),
3120 (child_mount_pre_unmount), (child_mount_changed),
3121 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3122 (g_union_volume_monitor_remove_monitor),
3123 (_g_mount_get_for_mount_path):
3124 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3125 (guess_system_internal), (_g_get_unix_mounts),
3126 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3127 (g_unix_mount_free), (g_unix_mount_compare),
3128 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3129 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3130 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3131 (type_to_icon), (g_unix_mount_guess_name),
3132 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3133 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3134 (_resolve_symlink), (_resolve_dev_root):
3136 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3137 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3138 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3139 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3140 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3141 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3142 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3143 (g_unix_volume_volume_iface_init):
3145 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3146 (get_mounts), (get_volumes), (get_connected_drives),
3147 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3148 (mountpoints_changed), (mounts_changed),
3149 (g_unix_volume_monitor_init),
3150 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3151 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3152 * gunixvolumemonitor.h:
3153 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3154 (g_volume_mount), (g_volume_mount_finish):
3156 * gvolumemonitor.c: (g_volume_monitor_class_init),
3157 (g_volume_monitor_get_connected_drives),
3158 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3161 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3163 * gmountoperation.h (GPasswordFlags): Close the gap
3165 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3167 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3169 * gdesktopappinfo.[hc]: Remove _-prefixes
3171 2007-12-10 Tor Lillqvist <tml@novell.com>
3173 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3176 2007-12-10 Alexander Larsson <alexl@redhat.com>
3178 * gfile.c (g_file_set_display_name):
3179 Don't hardcode '/' (#502727)
3181 2007-12-09 Hans Breuer <hans@breuer.org>
3183 * makefile.msc : follow lib naming convention
3184 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3185 for user and group name, tested with ../tests/gio-ls
3187 2007-12-09 A. Walton <awalton@svn.gnome.org>
3189 * gdesktopappinfo.c:
3195 * gfileenumerator.c:
3200 * gmemoryinputstream.c:
3201 * gmemoryoutputstream.c:
3203 * gsimpleasyncresult.c:
3204 More documentation cleanup and filling in missing information, bringing
3205 GIO to 99% symbol coverage.
3207 2007-12-08 Hans Breuer <hans@breuer.org>
3209 [gio compiles and links on win32, not sure how much already works]
3210 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3211 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3212 base on win32 API; prefer g_lstat() over lstat(); instead of
3213 localtime_r() use an all GLib implementation on win32;
3214 get_mount_info() still needs a win32 specifc implementation
3215 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3216 win32_get_file_user_info to get owner/group info without uid/gid
3217 * glocalfileinputstream.c : include <io.h> on win32
3218 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3219 definition, use g_win32_ftruncate() for G_OS_WIN32
3220 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3221 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3222 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3223 * makefile.msc : updated
3225 2007-12-07 Alexander Larsson <alexl@redhat.com>
3227 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3228 Avoid warning spew if error == NULL
3230 2007-12-07 Alexander Larsson <alexl@redhat.com>
3233 Update docs wrt etags
3235 2007-12-06 Alexander Larsson <alexl@redhat.com>
3238 Include sys/types.h for dev_t (#501919)
3240 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3244 Make abicheck and pltcheck pass.
3246 2007-12-05 Alexander Larsson <alexl@redhat.com>
3249 * giomodule-priv.h: Added.
3250 * glocaldirectorymonitor.c:
3251 * glocalfilemonitor.c:
3252 * gunionvolumemonitor.c:
3254 Actually add the declaration of _g_io_modules_ensure_loaded
3256 2007-12-05 Alexander Larsson <alexl@redhat.com>
3258 * gdatainputstream.c:
3263 * glocaldirectorymonitor.c:
3264 * glocalfilemonitor.c:
3265 * gunionvolumemonitor.c:
3267 Make g_io_modules_ensure_loaded a private function and
3268 don't pass in the dirname. This means we can do magic
3269 directory finding in the win32 version.
3270 Export the actual load-modules-in-directory code so that
3271 gvfs can reuse that.
3273 2007-12-05 Alexander Larsson <alexl@redhat.com>
3275 * gbufferedinputstream.c:
3276 * gbufferedoutputstream.c:
3279 * gfileenumerator.[ch]:
3280 * gfileinputstream.c:
3281 * gfileoutputstream.[ch]:
3282 * gfilterinputstream.c:
3283 * gfilteroutputstream.c:
3284 * ginputstream.[ch]:
3286 * glocalfileenumerator.c:
3287 * glocalfileinputstream.c:
3288 * glocalfileoutputstream.c:
3289 * gmemoryinputstream.c:
3290 * gmemoryoutputstream.c:
3291 * goutputstream.[ch]:
3294 * gunixinputstream.c:
3295 * gunixoutputstream.c:
3296 Rename all struct members named:
3297 read, write, close, truncate, or mount
3298 to foo_fn, as these are reserved names
3299 and could be defined as macros in libc.
3302 2007-12-04 Alexander Larsson <alexl@redhat.com>
3305 (g_output_stream_close):
3306 Only call flush if non-null.
3308 2007-11-30 Dan Winship <danw@gnome.org>
3310 * ginputstream.c (g_input_stream_set_pending): Make this take a
3311 GError and return a gboolean, and do the "outstanding operation"
3312 check (and the "stream is already closed" check) itself.
3313 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3315 * goutputstream.c (g_output_stream_set_pending)
3316 (g_output_stream_clear_pending): Likewise
3318 * gbufferedinputstream.c:
3319 * gfileinputstream.c:
3320 * gfileoutputstream.c: Update for that
3322 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3323 Like g_simple_async_report_error_in_idle, but takes a GError
3324 rather than building one.
3326 2007-11-30 Dan Winship <danw@gnome.org>
3328 * goutputstream.c: Don't cheat and unset the "pending" flag around
3329 inner calls. Instead, call the class method directly rather than
3330 the wrapper function that checks "pending"
3332 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3334 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3336 2007-12-03 Hans Breuer <hans@breuer.org>
3338 [start of port to win32/msvc]
3339 * gcancellable.c : HAVE_UNIST_H and _pipe()
3340 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3341 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3342 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3344 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3345 * glocalvfs.c : use HAVE_PWD_H
3346 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3347 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3348 * Makefile.am : added to EXTRA_DIST
3350 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3352 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3355 2007-12-03 Alexander Larsson <alexl@redhat.com>
3358 Handle OSX style xattrs API (#500506)
3360 2007-12-03 Alexander Larsson <alexl@redhat.com>
3364 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3366 2007-12-02 A. Walton <awalton@svn.gnome.org>
3370 Documentation accuracy fixes.
3372 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3374 * gioenumtypes.c.template: Fix typo.
3376 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3378 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3380 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3382 * gdirectorymonitor.c:
3383 * gfilemonitor.c: Add properties
3385 * gbufferedoutputstream.c: Don't mark buffer-size property
3388 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3390 * gbufferedoutputstream.c: Add auto-grow property.
3392 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3394 * *.c: Unify the capitalization of section headings.
3396 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3398 * gmountoperation.c: Add properties
3400 * gdatainputstream.c: Turn byte-order and newline-type into
3403 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3405 * gioenumtypes.[hc].template: Templates for enum registration
3407 * Makefile.am: Generate gioenumtypes.[hc]
3409 * gio.h: Include gioenumtypes.h
3411 * gfile.h: Add some explicit nicks.
3413 * gio.symbols: Add new symbols
3415 * pltcheck.sh: Adjust
3417 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3419 * *.c: Explain etags and link to the explanation
3421 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3423 * *.c: Explain I/O priority.
3425 * *.c: More coding style fixes.
3427 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3429 * gasyncresult.c: Add another paragraph to the intro,
3430 adjust coding style of example.
3432 2007-11-29 A. Walton <awalton@svn.gnome.org>
3435 Fixes unknown meaning in GAppLaunchContext docs.
3437 Clarify asynchronous ops.
3439 Fix entity tag docs.
3442 Provides missing gtk-doc section, fixes API docs slighly.
3443 * gsimpleasyncresult.c:
3444 Fill in missing info in docs.
3445 * gunixinputstream.c:
3446 * gunixoutputstream.c:
3447 Be more expressive in short description.
3449 Remove gtk-doc stubs for non-public API.
3451 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3453 * *.c: Coding style fixups
3455 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3457 * inotify/inotify-helper.c: Don't export the lock from libgio.
3459 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3462 * abicheck.sh: Fix copy-and-paste leftovers
3464 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3466 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3468 2007-11-28 Alexander Larsson <alexl@redhat.com>
3472 Removed unnecessary file
3474 * gdesktopappinfo.[ch]:
3477 * glocaldirectorymonitor.[ch]:
3479 * glocalfileenumerator.[ch]:
3480 * glocalfileinputstream.[ch]:
3481 * glocalfilemonitor.[ch]:
3482 * glocalfileoutputstream.[ch]:
3484 * gnativevolumemonitor.c:
3485 * gpollfilemonitor.[ch]:
3486 * gunionvolumemonitor.[ch]:
3489 * gunixvolumemonitor.[ch]:
3492 * inotify/ginotifydirectorymonitor.[ch]:
3493 * inotify/ginotifyfilemonitor.[ch]:
3494 * inotify/inotify-helper.c:
3495 Append _ to all internal functions
3499 Export symbols needed for modules
3501 2007-11-28 Alexander Larsson <alexl@redhat.com>
3504 * abicheck.sh: Added.
3505 * makegioalias.pl: Added.
3506 * pltcheck.sh: Added.
3507 * gio.symbols: Added.
3510 Initial work on adding symbol handling.
3513 Correct ifdef guard name
3516 * inotify/Makefile.am:
3517 * xdgmime/Makefile.am:
3518 Include toplevel Makefile.decl
3520 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3522 * gcontenttype.c: Move doc comments to the unix section.
3524 * *.[hc]: More trivial doc corrections.
3526 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3528 * gpollfilemonitor.c:
3532 * gdesktopappinfo.c:
3537 * gdatainputstream.c:
3538 * gdatainputstream.h:
3539 * gdataoutputstream.c:
3540 * gdataoutputstream.h:
3541 * gfileinfo.h: Doc cleanups
3543 2007-11-28 Andre Klapper <a9016009@gmx.de>
3545 * gdesktopappinfo.c: Fix a typo.
3547 2007-11-27 Andre Klapper <a9016009@gmx.de>
3549 * glocalfileoutputstream.c: Fix a typo.
3551 2007-11-27 Alexander Larsson <alexl@redhat.com>
3554 Don't include removed headers
3556 2007-11-27 Alexander Larsson <alexl@redhat.com>
3559 * gsocketinputstream.[ch]: Removed.
3560 * gsocketoutputstream.[ch]: Removed.
3561 * gunixinputstream.[ch]: Added.
3562 * gunixoutputstream.[ch]: Added.
3563 Renamed GSocket*Stream to GUnix*Stream and made
3564 it unix-only, since its not really only for sockets
3565 and it only works on unix (but is highly useful there).
3567 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3573 * gbufferedinputstream.c:
3574 * gbufferedinputstream.h:
3575 * gbufferedoutputstream.c:
3576 * gbufferedoutputstream.h:
3580 * gdatainputstream.c:
3581 * gdatainputstream.h:
3582 * gdataoutputstream.c:
3583 * gdataoutputstream.h:
3584 * gdirectorymonitor.c:
3585 * gdirectorymonitor.h:
3592 * gfileenumerator.c:
3593 * gfileenumerator.h:
3598 * gfileinputstream.c:
3599 * gfileinputstream.h:
3602 * gfilenamecompleter.c:
3603 * gfilenamecompleter.h:
3604 * gfileoutputstream.c:
3605 * gfileoutputstream.h:
3606 * gfilterinputstream.c:
3607 * gfilterinputstream.h:
3608 * gfilteroutputstream.c:
3609 * gfilteroutputstream.h:
3622 * glocalfileoutputstream.c:
3623 * gmemoryinputstream.c:
3624 * gmemoryinputstream.h:
3625 * gmemoryoutputstream.c:
3626 * gmemoryoutputstream.h:
3627 * gmountoperation.c:
3628 * gmountoperation.h:
3631 * gpollfilemonitor.c:
3634 * gsimpleasyncresult.c:
3635 * gsimpleasyncresult.h:
3636 * gsocketinputstream.c:
3637 * gsocketinputstream.h:
3638 * gsocketoutputstream.c:
3639 * gsocketoutputstream.h:
3646 * gunixvolumemonitor.c:
3655 Bumps documentation to 93% symbol coverage, touching most
3656 of the public files. Fixes broken function documentation prototypes.
3657 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3658 gtk-doc headers in private files.
3660 2007-11-27 Jürg Billeter <j@bitron.ch>
3662 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3663 (g_buffered_input_stream_read_byte):
3664 * gbufferedinputstream.h:
3665 New functions for efficient access to buffer and simple single byte
3668 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3669 (g_data_input_stream_read_until):
3670 * gdatainputstream.h:
3671 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3672 read_until with multiple stop chars.
3674 2007-11-27 Alexander Larsson <alexl@redhat.com>
3678 * inotify/Makefile.am:
3679 Use the user-specified giomoduledir
3681 2007-11-27 Alexander Larsson <alexl@redhat.com>
3685 Add catch-all gio.h header
3686 Don't install gdummyfile.h
3688 2007-11-26 Alexander Larsson <alexl@redhat.com>
3690 * Makefile.am (gioinclude_HEADERS):
3691 Remove trailing whitespace
3693 2007-11-26 Alexander Larsson <alexl@redhat.com>
3695 Merge gio-standalone into glib
3697 2007-11-25 Christian Kellner <gicmo@gnome.org>
3699 * gio/goutputstream.c:
3700 Fix small mistake in the docs.
3702 2007-11-21 Christian Persch <chpe@gnome.org>
3704 * gio/glocalfile.c: (g_local_file_trash):
3705 Convert filenames to UTF-8 for GError.
3706 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3707 as per xdg base dir spec.
3709 2007-11-21 Christian Persch <chpe@gnome.org>
3711 * gio/gdesktopappinfo.c:
3712 Use that g_key_file_to_data cannot fail.
3714 Use stock defines for the key file group and key names.
3717 2007-11-21 Alexander Larsson <alexl@redhat.com>
3720 (copy_stream_with_progress):
3721 Make sure we do a final progress callback with
3722 the full total size.
3724 2007-11-21 Alexander Larsson <alexl@redhat.com>
3727 Export g_file_copy_attributes
3728 Remove padding as its not needed for interfaces
3730 2007-11-20 Alexander Larsson <alexl@redhat.com>
3735 Add G_IO_ERROR_WOULD_MERGE for
3736 copy/move dir on dir with overwrite.
3738 2007-11-20 Alexander Larsson <alexl@redhat.com>
3741 * gio/glocalfileinfo.c:
3742 Add COPY_NAME (this is an optional
3743 non-modified utf8 version of the name) that
3746 2007-11-20 Alexander Larsson <alexl@redhat.com>
3748 * gio/glocalfileenumerator.c:
3749 Report errors as GIOError, not GFileError
3751 2007-11-16 Alexander Larsson <alexl@redhat.com>
3753 * gio/glocalfileoutputstream.c:
3754 * gio/gwin32appinfo.c:
3755 Fix typos in strings.
3756 Patch from Luca Ferretti <elle.uca@libero.it>
3758 2007-11-15 Alexander Larsson <alexl@redhat.com>
3761 Post release version bump
3763 === gio-standalone 0.1.2 ===
3765 2007-11-15 Alexander Larsson <alexl@redhat.com>
3767 * docs/reference/gio/Makefile.am:
3768 Fix up distcheck by removing weird
3774 2007-11-14 Alexander Larsson <alexl@redhat.com>
3776 * gio/gdesktopappinfo.c:
3777 * gio/glocaldirectorymonitor.c:
3779 * gio/glocalfileinfo.c:
3780 * gio/inotify/inotify-sub.c:
3781 * programs/gio-cat.c:
3782 * programs/gio-copy.c:
3783 * programs/gio-info.c:
3784 * programs/gio-ls.c:
3785 * programs/gio-monitor-dir.c:
3786 * programs/gio-monitor-file.c:
3787 * programs/gio-mount.c:
3788 * programs/gio-move.c:
3789 * programs/gio-rm.c:
3790 * programs/gio-save.c:
3791 * programs/gio-trash.c:
3792 Leak fixes from Kjartan Maraas
3794 2007-11-14 Alexander Larsson <alexl@redhat.com>
3796 * gio/fam/fam-helper.c:
3798 * gio/glocalfileinfo.c:
3802 * gio/inotify/inotify-diag.c:
3803 * gio/inotify/inotify-kernel.c:
3804 Various code cleanups from Kjartan Maraas
3806 2007-11-14 Alexander Larsson <alexl@redhat.com>
3808 * gio/gioscheduler.c:
3810 Set up threadpool so that we cache 2 unused
3811 idle threads for at 15 secs. This means we
3812 will reuse thread-local data (like dbus connections)
3815 2007-11-14 Alexander Larsson <alexl@redhat.com>
3817 * gio/fam/fam-helper.c:
3818 * gio/fam/gfamdirectorymonitor.c:
3819 * gio/fam/gfamfilemonitor.c:
3821 * gio/gcontenttype.c:
3822 * gio/gdatainputstream.c:
3823 * gio/gdataoutputstream.c:
3827 * gio/gfileattribute.h:
3828 * gio/gfileenumerator.c:
3830 * gio/ginputstream.c:
3833 * gio/glocalfileinfo.c:
3834 * gio/goutputstream.c:
3835 * gio/gpollfilemonitor.c:
3836 * gio/gsimpleasyncresult.c:
3837 * gio/gunixmounts.c:
3838 * gio/gunixmounts.h:
3839 * gio/inotify/ginotifydirectorymonitor.c:
3840 * gio/inotify/ginotifyfilemonitor.c:
3841 * gio/inotify/inotify-diag.c:
3842 * gio/inotify/inotify-kernel.c:
3843 * gio/inotify/inotify-path.c:
3845 * gio/test-streams.c:
3846 * programs/gio-info.c:
3847 * programs/gio-monitor-dir.c:
3848 * programs/gio-monitor-file.c:
3849 Various code cleanups from Kjartan Maraas
3851 2007-11-13 Alexander Larsson <alexl@redhat.com>
3854 Handle the uri-scheme calls for dummy files
3856 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3858 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3859 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3860 to avoid clash with the C++ keyword.
3862 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3864 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3865 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3867 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3869 * gio/glocaldirectorymonitor.c:
3870 * gio/glocalfilemonitor.c:
3871 * gio/gunionvolumemonitor.c:
3872 Don't use g_once_init_*() for initializations that could fail and
3873 could leave the initialization variable set to 0 but use GOnce.
3874 This prevents a deadlock on the second call when trying to create
3875 a monitor and no monitor type is available. Thanks to Sven Herzberg
3878 2007-11-11 Sven Herzberg <sven@imendio.com>
3880 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3881 #ifdef (make it work on MacOS X again)
3883 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3885 Fixes Changelog for last two commits (sorry guys).
3887 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3889 * gio/gbufferedinputstream.c:
3890 * gio/gdatainputstream.c:
3892 * gio/gfileoutputstream.c:
3893 * gio/gfilterinputstream.c:
3894 * gio/glocalfileinputstream.c:
3897 More consistency fixes in g*stream.c files.
3898 Significant clean of gfile's documentation, filling in of
3899 asynchronous operations documentation.
3901 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3903 * gio/gasyncresult.c:
3904 * gio/gbufferedinputstream.c:
3905 * gio/gbufferedoutputstream.c:
3906 * gio/gcancellable.c:
3907 * gio/gcontenttype.c:
3908 * gio/gdatainputstream.c:
3909 * gio/gdataoutputstream.c:
3910 * gio/gdesktopappinfo.c:
3913 * gio/gfileattribute.c:
3914 * gio/gio/gfileenumerator.c:
3916 * gio/gfileinputstream.c:
3917 * gio/gfilemonitor.c:
3918 * gio/gfileoutputstream.c:
3919 * gio/ginputstream.c:
3921 * gio/gioscheduler.c:
3922 * gio/gloadableicon.c:
3923 * gio/glocalfileoutputstream.c:
3924 * gio/gmemoryoutputstream.c:
3925 * gio/gmountoperation.c:
3926 * gio/goutputstream.c:
3928 * gio/gsimpleasyncresult.c:
3929 * gio/gunionvolumemonitor.c:
3930 * gio/gunixmounts.c:
3931 * gio/gunixvolume.c:
3935 * gio/gvolumemonitor.c:
3936 Updated documentation stubs, working towards consistency and
3939 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3941 * gio/gmemoryoutputstream.c:
3942 * gio/gmemoryoutputstream.h:
3943 Change g_memory_output_stream_set_free_on_close() to
3944 g_memory_output_stream_set_free_data() as this makes more sense and
3945 is more consistent with GMemoryInputStream.
3947 2007-11-07 Alexander Larsson <alexl@redhat.com>
3954 Change how we find the default vfs so that
3955 we can handle a gvfs failing to init
3957 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3959 * gio/gbufferedoutputstream.c:
3960 * gio/gdatainputstream.c:
3961 * gio/gdataoutputstream.c:
3962 * gio/gfileinputstream.c:
3963 * gio/gfileoutputstream.c:
3964 * gio/gfilterinputstream.c:
3965 * gio/gfilteroutputstream.c:
3966 * gio/ginputstream.c:
3967 * gio/gmemoryinputstream.c:
3968 * gio/gmemoryoutputstream.c:
3969 * gio/goutputstream.c:
3970 * gio/gsimpleasyncresult.c:
3971 * gio/gsocketinputstream.c:
3972 * gio/gsocketoutputstream.c:
3973 Add guards to the remaining public functions, add a TODO for
3974 an unimplemented function and remove some useless guards.
3976 2007-11-07 Alexander Larsson <alexl@redhat.com>
3979 Autoconf checks for the various types of
3980 getpwuid_r and getgrgid_r
3982 * gio/glocalfileinfo.c:
3983 Use the autoconf checks from above
3985 2007-11-07 Alexander Larsson <alexl@redhat.com>
3988 (g_local_file_query_filesystem_info):
3989 Some fixes for the statvfs case
3991 2007-11-07 Alexander Larsson <alexl@redhat.com>
3994 (g_local_file_query_filesystem_info):
3995 Pick the "best" of statfs / statvfs for the system
3996 if both are availible.
3998 2007-11-07 Alexander Larsson <alexl@redhat.com>
4000 Solaris fixes from Halton.Huo@Sun.COM:
4007 * gio/glocalfileinfo.c:
4008 Fix for solaris definition of getpwuid_r
4010 * gio/test-streams.c:
4011 Use G_GNUC_PRETTY_FUNCTION
4013 2007-11-07 Alexander Larsson <alexl@redhat.com>
4015 * gio/gdesktopappinfo.c:
4016 (update_default_list):
4017 Remove double semicolon.
4018 Patch from Jens Granseuer
4020 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4022 * docs/reference/gio/gio-sections.txt:
4023 * gio/gbufferedinputstream.c:
4024 * gio/gbufferedinputstream.h:
4025 * gio/gdatainputstream.c:
4026 * gio/gfileenumerator.c:
4027 * gio/gioscheduler.c:
4028 * gio/gunionvolumemonitor.c:
4030 * programs/gio-save.c:
4031 Fix typo: availible -> available. Unfortuntely this breaks API
4032 and ABI as g_buffered_input_stream_get_available() was renamed.
4034 * gio/gunixmounts.c:
4035 * gio/gbufferedinputstream.c:
4036 Add guards for public functions.
4038 2007-11-06 Ross Burton <ross@openedhand.com>
4040 * docs/reference/gio/Makefile.am:
4041 Fix invalid += usage which automake 1.10 doesn't like.
4043 2007-11-06 Alexander Larsson <alexl@redhat.com>
4046 (g_app_launch_context_class_init):
4049 Patch from Ross Burton
4051 2007-11-06 Alexander Larsson <alexl@redhat.com>
4054 Post release version bump
4056 === gio-standalone 0.1.1 ===
4058 2007-11-06 Alexander Larsson <alexl@redhat.com>
4061 Bump version to 0.1.1
4063 * gio/gsimpleasyncresult.c:
4064 (g_simple_async_result_set_from_error):
4065 Remove bogus g_return_if_fail
4067 2007-11-06 Alexander Larsson <alexl@redhat.com>
4070 The name is gio-standalone
4073 Add top src/builddir to includedir
4075 2007-11-06 Alexander Larsson <alexl@redhat.com>
4077 * docs/reference/gio/gio-sections.txt:
4079 * gio/gbufferedinputstream.c:
4080 * gio/gbufferedoutputstream.c:
4081 * gio/gcancellable.c:
4082 * gio/gdatainputstream.h:
4083 * gio/gdataoutputstream.c:
4084 * gio/gdataoutputstream.h:
4085 * gio/gdirectorymonitor.c:
4087 * gio/gfileattribute.c:
4088 * gio/gfileattribute.h:
4089 * gio/gfileenumerator.c:
4090 * gio/gfileenumerator.h:
4093 * gio/gfileinputstream.h:
4094 * gio/gfilemonitor.c:
4095 * gio/gfileoutputstream.h:
4096 * gio/glocalfilemonitor.h:
4097 * gio/glocalfileoutputstream.h:
4098 * gio/gmemoryinputstream.c:
4099 * gio/gmemoryoutputstream.c:
4100 * gio/gmountoperation.c:
4101 * gio/goutputstream.c:
4102 * gio/goutputstream.h:
4104 * gio/gsimpleasyncresult.c:
4105 * gio/gunixmounts.c:
4106 * gio/gunixmounts.h:
4108 * gio/inotify/inotify-helper.c:
4109 Fix gtk-doc warnings
4111 Patch from Ross Burton
4113 2007-11-06 Alexander Larsson <alexl@redhat.com>
4115 * gio/gfilenamecompleter.c:
4116 (g_filename_completer_get_completions):
4119 * gio/gunixvolume.c:
4120 Remove unused function
4122 Patches from Ross Burton
4124 2007-11-06 Alexander Larsson <alexl@redhat.com>
4129 Padding not needed for interfaces
4131 2007-11-06 Alexander Larsson <alexl@redhat.com>
4133 * gio/gfilemonitor.c:
4137 Make giotypes.h an internal file
4140 * gio/gbufferedinputstream.h:
4141 * gio/gbufferedoutputstream.h:
4142 * gio/gcancellable.h:
4143 * gio/gdatainputstream.h:
4144 * gio/gdataoutputstream.h:
4145 * gio/gdirectorymonitor.c:
4146 * gio/gdirectorymonitor.h:
4151 * gio/gfileattribute.h:
4152 * gio/gfileenumerator.h:
4157 * gio/gfilemonitor.c:
4158 * gio/gfilemonitor.h:
4159 * gio/gfilenamecompleter.c:
4160 * gio/gfilenamecompleter.h:
4161 * gio/gfilterinputstream.h:
4162 * gio/gfilteroutputstream.h:
4163 * gio/ginputstream.h:
4164 * gio/gmemoryinputstream.h:
4165 * gio/gmemoryoutputstream.h:
4166 * gio/gmountoperation.c:
4167 * gio/gmountoperation.h:
4168 * gio/gnativevolumemonitor.c:
4169 * gio/goutputstream.h:
4172 * gio/gsimpleasyncresult.c:
4173 * gio/gsimpleasyncresult.h:
4174 * gio/gsocketinputstream.h:
4175 * gio/gsocketoutputstream.h:
4176 * gio/gthemedicon.c:
4177 * gio/gthemedicon.h:
4181 * gio/gvolumemonitor.c:
4182 * gio/gvolumemonitor.h:
4183 Add padding in classes where it seems useful
4184 Don't include giotypes.h from public headers
4185 Move in Class definitions into c file where possible
4190 2007-11-06 Alexander Larsson <alexl@redhat.com>
4192 * docs/reference/gio/gio-docs.xml:
4193 Better structure for API docs
4195 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4198 * gio/gloadableicon.c:
4199 * gio/gsimpleasyncresult.c:
4200 * gio/gthemedicon.c:
4201 Add some more guards to public functions. Only files missing are now
4204 2007-11-06 Alexander Larsson <alexl@redhat.com>
4206 * docs/reference/gio/gio-docs.xml:
4207 Remove old files, add missing ones
4209 2007-11-06 Alexander Larsson <alexl@redhat.com>
4211 * docs/reference/gio/gio-sections.txt:
4214 Hide implementation classes
4216 * gio/gdriveprivate.h:
4217 * gio/gvolumeprivate.h:
4218 Remove non-existing function declarations
4220 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4223 Fix compilation warnings and add guards to the new functions.
4225 * gio/gasyncresult.c:
4227 Add guards to the public functions.
4230 Implement get_path().
4232 2007-11-06 Alexander Larsson <alexl@redhat.com>
4234 * gio/gfilenamecompleter.c:
4235 Make g_filename_completer_get_completions
4236 return char ** instead of GList for
4239 * docs/reference/gio/gio-docs.xml:
4240 * docs/reference/gio/gio-sections.txt:
4242 * gio/gasyncresult.c:
4243 * gio/gbufferedinputstream.c:
4244 * gio/gbufferedoutputstream.c:
4245 * gio/gcancellable.c:
4246 * gio/gcontenttype.c:
4247 * gio/gdatainputstream.c:
4248 * gio/gdataoutputstream.c:
4249 * gio/gdesktopappinfo.c:
4250 * gio/gdirectorymonitor.c:
4254 * gio/gfileattribute.c:
4255 * gio/gfileenumerator.c:
4258 * gio/gfileinputstream.c:
4259 * gio/gfilemonitor.c:
4260 * gio/gfilenamecompleter.c:
4261 * gio/gfilenamecompleter.h:
4262 * gio/gfileoutputstream.c:
4263 * gio/gfilterinputstream.c:
4265 * gio/ginputstream.c:
4267 * gio/gioscheduler.c:
4268 * gio/gloadableicon.c:
4269 * gio/glocaldirectorymonitor.c:
4271 * gio/glocalfileinputstream.c:
4272 * gio/glocalfilemonitor.c:
4273 * gio/glocalfileoutputstream.c:
4275 * gio/gmemoryinputstream.c:
4276 * gio/gmemoryoutputstream.c:
4277 * gio/gmountoperation.c:
4278 * gio/goutputstream.c:
4279 * gio/gpollfilemonitor.c:
4281 * gio/gsimpleasyncresult.c:
4282 * gio/gsocketinputstream.c:
4283 * gio/gsocketoutputstream.c:
4284 * gio/gthemedicon.c:
4285 * gio/gunionvolumemonitor.c:
4287 * gio/gunixmounts.c:
4288 * gio/gunixvolume.c:
4289 * gio/gunixvolumemonitor.c:
4293 * gio/gvolumemonitor.c:
4294 * gio/gwin32appinfo.c:
4295 Add (mostly stub) doc strings to public functions.
4296 Patch from Andrew Walton (awalton@gmail.com)
4298 2007-11-06 Alexander Larsson <alexl@redhat.com>
4300 * gio/gappinfo.[ch]:
4301 Added GAppLaunchContext object and pass that to launch.
4302 This allows simple implementation of both
4303 launch-on-screen and startup notification via a gtk+
4304 subclass of GAppLaunchContext
4306 * gio/gdesktopappinfo.c:
4307 Implement GAppLaunchContext API
4309 * gio/gwin32appinfo.c:
4312 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4314 * gio/gmountoperation.c:
4315 Add some guards to GMountOperation's public functions.
4317 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4321 * gio/gcancellable.c:
4322 * gio/gdirectorymonitor.c:
4324 * gio/gfileenumerator.c:
4325 * gio/gfilemonitor.c:,
4326 * gio/gfilenamecompleter.c:
4329 * gio/gioscheduler.c:
4333 * gio/gvolumemonitor.c:
4334 Add even more guards to various public functions.
4336 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4339 Add guards to the public functions of GAppInfo.
4341 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4343 * gio/gcontenttype.c:
4344 Add some more guards for public functions.
4346 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4348 * gio/fam/fam-module.c:
4349 * gio/fam/gfamdirectorymonitor.c:
4350 * gio/fam/gfamdirectorymonitor.h:
4351 * gio/fam/gfamfilemonitor.c:
4352 * gio/fam/gfamfilemonitor.h:
4353 * gio/inotify/ginotifydirectorymonitor.c:
4354 * gio/inotify/ginotifydirectorymonitor.h:
4355 * gio/inotify/ginotifyfilemonitor.c:
4356 * gio/inotify/ginotifyfilemonitor.h:
4357 Add proper copyright information and remove an unused variable
4358 in the GInotifyFileMonitor constructor.
4360 * gio/gcancellable.c:
4361 Add a guard for a public function and an assertion to prevent
4362 an undefined program state.
4364 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4366 * gio/gfileattribute.c:
4367 Don't run into an assertion if the given attribute value is NULL
4368 in g_file_attribute_value_get_*() but instead return a fallback
4369 value that makes sense in most situations. Passing them a attribute
4370 value with the wrong type will still run into an assertion.
4372 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4374 * gio/gfileattribute.c:
4376 Add even more guards to the public functions. Also fix the refcounting
4377 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4378 let g_file_info_list_attributes() filter the attributes by namespace
4379 instead of simply ignoring the namespace parameter.
4381 2007-11-03 Sven Herzberg <sven@imendio.com>
4383 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4384 (This makes gio work on MacOS X again)
4386 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4389 Build the gio subdirectory before the docs. Otherwise the build will
4392 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4393 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4394 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4395 Add guards to the public functions.
4397 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4399 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4400 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4401 to prevent a compiler warning.
4403 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4404 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4405 return something in the non-void function find_topdir_for().
4407 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4414 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4416 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4417 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4418 * gwin32appinfo.c (g_win32_app_info_launch):
4419 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4420 envp_for_startup_id, g_desktop_app_info_launch,
4421 g_desktop_app_info_launch_uris):
4423 Give an opaque 'startup_id' string instead of 'envp'.
4424 Support empty file lists for launching new windows.
4425 Fix infinite recursion bug when launching URIs.
4427 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4430 Add guard to the new g_file_get_uri_scheme() function.
4432 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4435 Convert a g_return_val_if_fail() to setting the GError instead as
4436 otherwise applications have to verify the parameter before otherwise
4437 and the parameter might come directly from the user.
4439 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4441 * gio/inotify/ginotify*.[ch]:
4442 Add missing copyright information.
4444 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4447 Add guards in the beginning of public functions to check for valid
4448 parameters and fix a bug in copy_stream_with_progress() that could've
4449 caused writing less bytes than reading.
4450 * gio/glocalfileinfo.c:
4451 Check for a NULL parameter and set the GError accordingly then.
4452 * gio/goutputstream.c:
4453 Fix the same bug as in gfile.c that could've caused writing less bytes
4454 than reading in g_output_stream_real_splice().
4456 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4459 Use the correct gvolumeprivate.h naming
4461 2007-11-01 Christian Kellner <gicmo@gnome.org>
4464 Remove leftover "$(daemon_sources)" entry.
4466 2007-11-01 Christian Kellner <gicmo@gnome.org>
4471 Add copyright information to source files.
4473 2007-11-01 Alexander Larsson <alexl@redhat.com>
4477 Add g_file_get_uri_scheme
4479 2007-11-01 Alexander Larsson <alexl@redhat.com>
4482 * gio/gdesktopappinfo.c:
4483 * gio/gwin32appinfo.c:
4484 Add g_app_info_get_default_for_uri_scheme.
4486 2007-11-01 Alexander Larsson <alexl@redhat.com>
4489 Correct filename for gdriveprivate.h
4491 2007-10-31 Alexander Larsson <alexl@redhat.com>
4494 Rename id:value to id:file
4497 * gio/glocalfileinfo.c:
4500 2007-10-31 Alexander Larsson <alexl@redhat.com>
4502 * gio/gunixvolume.c:
4504 Remove g_volume_get_platform_id, as thats not
4505 needed with the simpler union volume monitor
4507 2007-10-31 Alexander Larsson <alexl@redhat.com>
4510 * gio/guniondrive.[ch]: Removed.
4511 * gio/gunionvolume.[ch]: Removed.
4512 Remove GUnionDrive/Volume
4514 * gio/gunionvolumemonitor.c:
4515 Simplify union volume monitor, now we
4516 only have one native volume monitor and
4517 we use the actual volumes/drives from the
4518 child monitors instead of wrapping them
4520 * gio/gnativevolumemonitor.[ch]:
4521 Base class for native volume monitors.
4522 Includes priority and get_volume_for_mountpoint
4525 Add g_file_find_enclosing_volume
4528 Remove volume name fs attribute
4529 Add readonly fs attribute
4532 Implement readonly attribute
4533 remove volume name attribute
4534 Implement find_enclosing volume
4536 * gio/gunixmounts.c:
4537 Add a volume for "/".
4539 * gio/gunixvolume.[ch]:
4540 Set better name for /
4542 * gio/gunixvolumemonitor.[ch]:
4543 Derive from GNativeVolumeMonitor
4544 Implement get_volume_for_mountpoint
4547 GVolume typedef moved to gfile.h
4549 * gio/gvolumeprivate.h:
4550 Add g_volume_get_for_mount_path
4552 2007-10-31 Alexander Larsson <alexl@redhat.com>
4554 * gio/gunixmounts.[ch]:
4555 Add cache info to unix mount listers
4556 Make getmntent use threadsafe
4557 Add is_system_internal attribute for GUnixMount
4559 * gio/gunixvolume.c:
4560 (g_unix_volume_new):
4561 Use is_system_internal instead of own code
4563 * gio/glocaldirectorymonitor.c:
4564 * gio/gunixvolumemonitor.c:
4565 Update to new gunixmounts API
4570 2007-10-30 Alexander Larsson <alexl@redhat.com>
4573 Add volume name fsinfo attribute
4576 Read volume name info
4578 * gio/gunionvolumemonitor.c:
4579 Fix infinite loops when finalizing a union volume monitor
4581 2007-10-30 Alexander Larsson <alexl@redhat.com>
4583 * gio/goutputstream.[ch]:
4584 Add splice() with default implementation
4586 * gio/gsocketoutputstream.c:
4587 (g_socket_output_stream_write):
4588 Return error on cancellation correctly.
4590 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4592 * gio/glocalfile.c (g_local_file_trash):
4593 Do not leak a string.
4595 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4597 * gio/gfile.c (g_file_load_contents):
4598 Unref the stream after closing it.
4600 2007-10-25 Alexander Larsson <alexl@redhat.com>
4602 * gio/gioscheduler.h:
4605 2007-10-25 Alexander Larsson <alexl@redhat.com>
4609 Add g_file_has_uri_scheme and implement for local files
4611 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4613 * gio/gdesktopappinfo.c: do not leak a string.
4615 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4617 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4618 (g_local_directory_monitor_new):
4619 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4620 (g_local_file_monitor_new):
4621 Only look for the monitor type that should be used the first time
4622 and use g_qsort_with_data() instead of our own bubble sort
4625 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4628 * gio/fam/Makefile.am:
4629 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4630 * gio/fam/fam-helper.h:
4631 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4632 * gio/fam/gfamdirectorymonitor.c:
4633 * gio/fam/gfamdirectorymonitor.h:
4634 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4635 * gio/fam/gfamfilemonitor.h:
4636 * gio/glocaldirectorymonitor.c:
4637 * gio/glocaldirectorymonitor.h:
4638 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4639 * gio/glocalfilemonitor.h:
4640 * gio/inotify/Makefile.am:
4641 * gio/inotify/ginotifydirectorymonitor.c:
4642 * gio/inotify/ginotifydirectorymonitor.h:
4643 * gio/inotify/ginotifyfilemonitor.c:
4644 * gio/inotify/ginotifyfilemonitor.h:
4645 Implement the FAM and Inotify monitors as
4646 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4647 their own GIO module. GLocal(Directory|File)Monitor will use the
4648 monitor with the highest rank that is supported on that machine.
4650 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4653 Change GIO module dir to $(libdir)/gio/modules and change
4654 the log domain from GVFS to GIO. Also only export symbols starting
4655 with g_ in the resulting library.
4656 * gio/test-streams.c: (main):
4657 Set log handler for the GIO log domain.
4659 2007-10-22 Alexander Larsson <alexl@redhat.com>
4661 * gio/gfilenamecompleter.[ch]:
4662 Add g_filename_completer_set_dirs_only
4664 2007-10-22 Alexander Larsson <alexl@redhat.com>
4667 * gio/gurifuncs.[ch]:
4668 Add some simple URI helpers
4670 * gio/gfilenamecompleter.[ch]:
4671 Added object for filename (parse name actually) completion
4674 Handle ~ in parse names
4676 2007-10-17 Alexander Larsson <alexl@redhat.com>
4679 * gio/glocalfileinfo.c:
4680 Add and implement id:value attribute
4682 2007-10-17 Alexander Larsson <alexl@redhat.com>
4685 * gio/guniondrive.c:
4687 Add and implement g_drive_has_volumes
4689 2007-10-17 Alexander Larsson <alexl@redhat.com>
4692 * gio/glocalfileinfo.[ch]:
4693 Add unix:is_mountpoint and implement for local files
4695 2007-10-16 Alexander Larsson <alexl@redhat.com>
4697 * gio/gunionvolumemonitor.c:
4698 (g_union_volume_monitor_init):
4699 Fix up the unix type getting so that it works with gcc
4701 2007-10-12 Alexander Larsson <alexl@redhat.com>
4704 * gio/glocalfileinfo.c:
4705 Add thumbnail:failed to file info
4707 2007-10-12 Richard Hult <richard@imendio.com>
4709 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4710 optimizing away the get_type call (happens with some gcc versions,
4711 like the one shipped with OS X 10.4).
4713 2007-10-12 Alexander Larsson <alexl@redhat.com>
4715 * gio/glocalfileinfo.c:
4716 (_g_local_file_info_set_attribute):
4717 Fix build if not HAVE_XATTR
4718 Patch from Milosz Derezynski <internalerror@gmail.com>
4720 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4722 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4723 around for review, otherwise I would have asked you before
4726 2007-10-11 Alexander Larsson <alexl@redhat.com>
4729 Add thumbnail:path attribute
4731 * gio/glocalfileinfo.c:
4732 Implement thumbnail:path for local files
4734 2007-10-11 Alexander Larsson <alexl@redhat.com>
4736 * gio/glocalfileinfo.c:
4737 (_g_local_file_info_get):
4738 Avoid duplicate icon names
4740 2007-10-11 Alexander Larsson <alexl@redhat.com>
4742 * gio/gthemedicon.[ch]:
4743 Change g_themed_icon_get_names return type to const
4745 2007-10-10 Alexander Larsson <alexl@redhat.com>
4747 * gio/glocalfileinfo.c:
4748 Don't reference freed memory
4750 2007-10-10 Alexander Larsson <alexl@redhat.com>
4752 * gio/gfileattribute.c:
4755 * gio/glocalfileinfo.c:
4758 2007-10-10 Alexander Larsson <alexl@redhat.com>
4761 Check for NULL icons
4763 * gio/gfileattribute.c:
4764 Don't dup when getting objects (same as for string attributes)
4766 * gio/gicon.c (g_icon_equal):
4767 Safely handle NULLs in equal
4769 2007-10-10 Alexander Larsson <alexl@redhat.com>
4772 Fix c++ compilation issues
4773 Patch from Milosz Derezynski <internalerror@gmail.com>
4775 2007-10-10 Alexander Larsson <alexl@redhat.com>
4777 * programs/gio-monitor-dir.c:
4778 Don't crash if dir monitor not supported.
4780 2007-10-09 Alexander Larsson <alexl@redhat.com>
4783 Add missing G_END_DECLS
4785 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4787 * gio/gfile.c: (g_file_set_display_name),
4788 (g_file_query_settable_attributes),
4789 (g_file_query_writable_namespaces):
4790 Return NULL not FALSE on errors as the return type is a pointer.
4792 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4794 * gio/glocalfile.c: (g_local_file_monitor_file):
4795 Don't call monitor_file on the default interface vtable (which
4796 is NULL) but simply return NULL. The caller, GFile, will create a
4797 polling monitor if NULL is returned.
4799 2007-10-09 Alexander Larsson <alexl@redhat.com>
4803 * gio-unix-2.0.pc.in:
4804 Add gio-unix-2.0.pc if OS_UNIX
4807 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4809 2007-10-09 Alexander Larsson <alexl@redhat.com>
4811 * gio/gunixmounts.[ch]:
4812 Make unix mount monitoring API sane.
4813 Now its just a object with mounts_changed
4814 and mountpoints_changed signals.
4816 * gio/glocaldirectorymonitor.c:
4817 * gio/gunixvolumemonitor.c:
4818 Use new mount monitor api
4820 2007-10-09 Alexander Larsson <alexl@redhat.com>
4822 * gio/gunixmounts.[ch]:
4823 Move guess type into one call for mounts and one for mountpoints
4826 * gio/gunixvolume.c:
4829 2007-10-09 Alexander Larsson <alexl@redhat.com>
4831 * gio/gunixmounts.[ch]:
4832 Remove _ prefix in preparation to make this semi-public
4833 Hide implementation of structs
4835 * gio/glocaldirectorymonitor.c:
4837 * gio/gunixvolume.c:
4838 * gio/gunixvolumemonitor.c:
4839 Update for above API changes
4841 2007-10-08 Alexander Larsson <alexl@redhat.com>
4844 Better polling fallback. This also handles the case where we have
4845 a monitor_file implementation, but it fails.
4847 2007-10-08 Alexander Larsson <alexl@redhat.com>
4851 * gio/gunixmounts.c:
4852 * programs/gio-monitor-dir.c:
4853 * programs/gio-monitor-file.c:
4854 Added cancellable to file monitoring calls.
4855 These are really sync calls and need this.
4857 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4859 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4860 (g_local_vfs_class_init):
4861 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4862 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4864 2007-10-05 Alexander Larsson <alexl@redhat.com>
4866 * gio/gdirectorymonitorprivate.h:
4867 * gio/gfilemonitorprivate.h:
4868 * gio/gdirectorymonitor.h:
4869 * gio/gfilemonitor.h:
4870 Remove *private.h and move to the public API, so that
4871 we can do implementations outside gio (such as in gvfs)
4873 * gio/gdirectorymonitor.c:
4874 * gio/gfilemonitor.c:
4875 * gio/glocaldirectorymonitor.c:
4876 * gio/gpollfilemonitor.c:
4877 * gio/inotify/inotify-helper.c:
4878 * gio/fam/fam-helper.c:
4879 Update to the new header names
4881 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4883 * gio/gdirectorymonitor.c:
4884 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4887 2007-10-04 Alexander Larsson <alexl@redhat.com>
4889 * gio/glocalfileinfo.c (get_access_rights):
4890 Set CAN_TRASH when we can move the file.
4891 We should really also check for a parent trash dir.
4893 2007-10-04 Alexander Larsson <alexl@redhat.com>
4895 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4896 Add can_trash access attribute
4898 2007-10-04 Alexander Larsson <alexl@redhat.com>
4901 (g_local_file_trash):
4902 Create info file first. This is per-spec and allows
4903 us to actually trash directories.
4905 2007-10-02 Alexander Larsson <alexl@redhat.com>
4907 * gio/gdesktopappinfo.c:
4908 Implement the new mime support code.
4909 Always set app as handling mimetype when being set as default for it
4911 2007-10-01 Alexander Larsson <alexl@redhat.com>
4913 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4914 Fix up check for xattrs:
4916 2007-10-01 Alexander Larsson <alexl@redhat.com>
4919 (g_app_info_set_as_default_for_extension):
4920 (g_app_info_add_supports_type):
4921 (g_app_info_can_remove_supports_type):
4922 (g_app_info_remove_supports_type):
4923 Make these fail nicely if not implemented
4925 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4927 * gio/glocalfileoutputstream.c:
4928 * gio/glocalfileoutputstream.h:
4933 * programs/gio-save.c:
4934 Add a GFileCreateFlags argument to operations that can create
4937 2007-10-01 Alexander Larsson <alexl@redhat.com>
4939 * gio/gappinfo.[ch]:
4940 * gio/gdesktopappinfo.c:
4941 Add more (stubbed out) mime API needed for nautilus
4943 2007-10-01 Alexander Larsson <alexl@redhat.com>
4946 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4947 Add g_app_info_set_as_default_for_extension.
4949 * gio/gdesktopappinfo.c:
4950 Dummy for g_app_info_set_as_default_for_extension
4951 Support flags in g_app_info_create_from_commandline
4953 * gio/gwin32appinfo.c:
4955 Update for API changes
4957 * gio/gthemedicon.c:
4958 Properly NULL-terminate list of icon names
4960 2007-09-28 Alexander Larsson <alexl@redhat.com>
4962 * gio/gloadableicon.h:
4963 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4965 2007-09-28 Alexander Larsson <alexl@redhat.com>
4968 Install headers in $includedir/gio-standalone/
4970 * gio-2.0.pc.in: Added.
4971 * gio-standalone.pc.in: Removed.
4974 Renamed pkg-config file to match glib (for future move)
4975 Update to the new include dir
4978 Add more TODO comments
4980 2007-09-28 Alexander Larsson <alexl@redhat.com>
4982 * gio/gdesktopappinfo.[ch]:
4983 Expose new_from_filename
4984 Add getter for is_hidden and handle it better
4986 2007-09-28 Alexander Larsson <alexl@redhat.com>
4988 * gio/gfileinfo.[ch]:
4989 Rename g_file_size_format_for_display to
4990 g_format_file_size_for_display.
4991 Now it doesn't have the g_file prefix, so we
4992 can later move it to glib.
4994 2007-09-28 Alexander Larsson <alexl@redhat.com>
4996 * gio/gappinfo.[ch]:
4997 Add g_app_info_get_id and g_app_info_get_executable.
4998 Make all getters non-reffing
4999 Make g_app_info_launch take GFile arguments.
5000 Add must_support_uris argument to g_app_info_get_default_for_type.
5002 * gio/gwin32appinfo.c:
5003 Update to GAppInfo api changes
5005 * gio/gdesktopappinfo.c:
5006 Update to GAppInfo api changes
5007 Implement supports_xdg_startup_notify
5009 * gio/gfileicon.c (g_file_icon_get_file):
5010 Make getter non-reffing.
5015 2007-09-27 Alexander Larsson <alexl@redhat.com>
5017 * gio/gfileinfo.[ch]:
5018 Add g_file_size_format_for_display helper
5020 2007-09-27 Alexander Larsson <alexl@redhat.com>
5022 * gio/glocalfileinfo.c:
5023 Set UNIX_GID from gid, not from uid
5025 2007-09-27 Alexander Larsson <alexl@redhat.com>
5028 Add g_file_set_attributes_async
5030 2007-09-27 Alexander Larsson <alexl@redhat.com>
5032 * gio/glocalfile.c (g_local_file_set_display_name):
5033 Fix set_display_name to actually rename to the right place.
5034 Use lstat to look for existing files so we don't overwrite
5037 2007-09-26 Alexander Larsson <alexl@redhat.com>
5040 Add g_file_set_display_name_async()
5042 2007-09-26 Alexander Larsson <alexl@redhat.com>
5045 Add load_partial_contents async calls
5048 Make internal function static
5050 2007-09-26 Alexander Larsson <alexl@redhat.com>
5052 * gio/glocalfileinfo.c:
5053 Correctly detect broken symlinks
5055 2007-09-26 Alexander Larsson <alexl@redhat.com>
5057 * gio/gcancellable.c (g_cancellable_cancel):
5058 Allow cancel on NULL cancellable
5060 2007-09-25 Alexander Larsson <alexl@redhat.com>
5062 * gio/gsimpleasyncresult.c:
5063 Don't allocate g_error manually.
5064 Fixes g_slice/g_new mixup crash
5066 2007-09-25 Alexander Larsson <alexl@redhat.com>
5068 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5069 Actually set active_backend.
5070 This means the monitor will be cancelled correctly.
5072 2007-09-25 Alexander Larsson <alexl@redhat.com>
5074 * gio/gdirectorymonitor.c:
5075 Set timeout to NULL when destroying
5077 2007-09-25 Alexander Larsson <alexl@redhat.com>
5080 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5081 that is a better description of the error.
5083 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5085 * gio/gvfs.c: (g_vfs_get_local):
5086 Make the local vfs variable static. The same instance should
5089 2007-09-24 Alexander Larsson <alexl@redhat.com>
5091 * gio/glocalfileinfo.c:
5092 Pass in actual length read into sniffer, not the length
5095 2007-09-21 Alexander Larsson <alexl@redhat.com>
5097 * gio/gfileenumerator.c:
5100 * gio/gfileinputstream.c:
5101 * gio/gfileoutputstream.c:
5102 * gio/ginputstream.c:
5103 * gio/goutputstream.c:
5104 Don't crash if async callbacks are NULL
5106 2007-09-20 Alexander Larsson <alexl@redhat.com>
5109 Add async enumerate_children method and default
5112 2007-09-20 Alexander Larsson <alexl@redhat.com>
5115 Add g_file_contains_file & g_file_get_relative_path, since they
5116 were needed for nautilus.
5117 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5122 Implement new methods
5124 2007-09-17 Alexander Larsson <alexl@redhat.com>
5127 * gio/gfileinputstream.[ch]:
5128 * gio/gfileoutputstream.[ch]:
5130 * gio/glocalfileenumerator.[ch]:
5131 * gio/glocalfileinfo.[ch]:
5132 * gio/glocalfileinputstream.c:
5133 * gio/glocalfileoutputstream.c:
5134 * gio/gpollfilemonitor.c:
5135 * programs/gio-copy.c:
5136 * programs/gio-info.c:
5137 * programs/gio-move.c:
5138 Rename get_file_info to query_info() to make it clearer
5139 that these are not simple getters, but do i/o.
5141 2007-09-17 Alexander Larsson <alexl@redhat.com>
5143 * gio/gdatainputstream.[ch]:
5144 * gio/test-streams.c:
5145 Use _read_XXX instead of _get_XXX for the i/o calls
5148 2007-09-17 Alexander Larsson <alexl@redhat.com>
5151 Added needed stuff to TODO comment
5153 2007-09-17 Alexander Larsson <alexl@redhat.com>
5155 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5156 Don't error out removing the backup copy if it doesn't
5159 2007-09-14 Alexander Larsson <alexl@redhat.com>
5161 * programs/Makefile.am:
5162 * programs/gvfs-*.c:
5164 Renamed apps from gvfs-xxx to gio-xxx.
5166 2007-09-14 Alexander Larsson <alexl@redhat.com>
5169 * gio/gfileoutputstream.[ch]:
5170 * gio/glocalfileoutputstream.c:
5171 * programs/gvfs-save.c:
5172 g_file_output_stream_get_etag doesn't do i/o, so remove
5173 cancellation and error.
5175 2007-09-14 Alexander Larsson <alexl@redhat.com>
5178 Add new_etag output to replace_contents functions
5180 2007-09-14 Alexander Larsson <alexl@redhat.com>
5182 * gio/gfileoutputstream.[ch]:
5183 Add async get_file_info and default implementation
5185 2007-09-14 Alexander Larsson <alexl@redhat.com>
5187 * gio/gfileinputstream.c:
5188 Implement fallback wrapper for async get_file_info
5190 2007-09-14 Alexander Larsson <alexl@redhat.com>
5193 Add etag out argument to load_contents
5198 2007-09-14 Alexander Larsson <alexl@redhat.com>
5200 * gio/gcontenttype.c (looks_like_text):
5201 Whitespace like tab, cr and lf do not make the
5204 2007-09-14 Alexander Larsson <alexl@redhat.com>
5206 * gio/gfileinputstream.[ch]:
5207 Add async get_file_info.
5209 2007-09-13 Alexander Larsson <alexl@redhat.com>
5211 * gio/goutputstream.c (g_output_stream_write_all):
5212 Allow NULL for bytes_written
5214 2007-09-13 Alexander Larsson <alexl@redhat.com>
5216 * gio/gmemoryinputstream.[ch]:
5217 Add accessors for data
5219 2007-09-13 Alexander Larsson <alexl@redhat.com>
5221 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5222 Don't crash if length is NULL