1 2008-12-01 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.19.2 ===
5 2008-12-01 Matthias Clasen <mclasen@redhat.com>
7 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
8 behaviour change, and update the docs instead, to avoid breaking
11 2008-12-01 Matthias Clasen <mclasen@redhat.com>
13 * === Released 2.19.1 ===
15 2008-12-01 Alexander Larsson <alexl@redhat.com>
19 * gunionvolumemonitor.c:
21 Add and document g_mount_is_shadowed plus calls
22 to set/unset a mount as shadowed
24 2008-11-28 Matthias Clasen <mclasen@redhat.com>
26 * gio/tests/g-icon.c: Comment out two failing tests
28 2008-11-28 Matthias Clasen <mclasen@redhat.com>
30 Bug 555486 – No way to recover command line from GAppInfo
33 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
34 by Hans Petter Jansson.
36 * gdesktopappinfo.c: And implement it here.
38 2008-11-28 Christian Dywan <christian@imendio.com>
40 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
42 2008-11-28 Matthias Clasen <mclasen@redhat.com>
44 Bug 559633 – gtk_image_new_from_gicon does not always work for
47 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
48 extensions on icon names. Proposed by Axel von Bertoldi.
50 2008-11-28 Matthias Clasen <mclasen@redhat.com>
52 Bug 548163 – Nautilus displays wrong error message for too long file
55 * glocalfile.c (g_local_file_set_display_name): Correctly set
56 error conditions if the new name is e.g. too long. Reported
57 by Leonardo Ferreira Fontenelle.
59 2008-11-28 Matthias Clasen <mclasen@redhat.com>
61 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
64 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
65 documented and include the line end in the returned string.
66 Pointed out by Paul Pogonyshev.
68 * tests/data-input-stream.c: Fix the read_line test to test the
71 2008-11-28 Matthias Clasen <mclasen@redhat.com>
73 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
74 files that have been created by g_app_info_create_from_commandline.
76 2008-11-28 Matthias Clasen <mclasen@redhat.com>
78 Bug 541715 – win32 : patch for warnings and signature problems in
81 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
84 2008-11-28 Matthias Clasen <mclasen@redhat.com>
86 Bug 562393 – g_buffered_input_stream_read_byte broken if data
89 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
90 handling of buffered content. Patch by Philip Withnall
92 * tests/buffered-input-stream.c: Add a testcase for this bug.
93 * tests/Makefile.am: And build it
95 2008-11-28 Matthias Clasen <mclasen@redhat.com>
97 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
100 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
101 '/' away. Spotted by Dan Williams.
103 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
105 Bug 561375 – Leaks mountpoint description
107 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
110 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
112 Bug 561352 – Leak of icon description
114 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
117 2008-11-14 Matthias Clasen <mclasen@redhat.com>
119 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
121 2008-11-12 Tor Lillqvist <tml@novell.com>
123 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
125 * win32/gwinhttpvfs.h: Move the set of function pointers to
126 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
127 pointer to that in the GWinHttpVfsClass.
129 * win32/gwinhttpvfs.c: Move the lookup of functions from
130 winhttp.dll into a function of its own, that stores the pointers
131 in a separate GWinHttpDllFuncs variable. Add two bookeeping
132 booleans lookup_done and funcs_found.
134 Don't call g_io_extension_point_implement() to register the
135 winhttp extension unless winhttp.dll has been successfully loaded
136 and the required functions found in it.
138 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
139 winhttp.dll correspondingly.
141 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
143 reviewed by: Alexander Larsson <alexl@redhat.com>
145 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
146 clearer about the behavior when there's no more content to read.
148 2008-10-27 Federico Mena Quintero <federico@novell.com>
150 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
152 2008-10-27 Tor Lillqvist <tml@novell.com>
154 Bug 557592 - Missing include in gwinhttpfile.c
156 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
159 2008-10-24 Matthias Clasen <mclasen@redhat.com>
161 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
163 * fam/fam-helper.c: Fix a memory leak and formatting issues.
164 Reported by Daniel Marjamäki
166 2008-10-23 Matthias Clasen <mclasen@redhat.com>
168 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
170 2008-10-23 Alexander Larsson <alexl@redhat.com>
172 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
175 (_g_local_file_info_get):
176 Don't return the fallback icon (text-x-generic) for all files.
177 This is causing problems with theme icon lookup and custom mime
178 icons, as the generic fallback overrides custom mime icons in
181 This is a slight change as applications might not get an icon wher
182 they previously did. But there is no guarantee to get on neither before
183 or after this change, so it should not break applications. Changes
184 to nautilus and gtk+ will be done to manually use the generic fallback
185 icon if no icon is found, but this is only required for rare cases.
187 2008-10-21 Alexander Larsson <alexl@redhat.com>
190 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
192 2008-10-21 Alexander Larsson <alexl@redhat.com>
194 Bug 555740 - gicon serialization
195 Based on patch from David Zeuthen
199 Add g_icon_to_string() and g_icon_new_for_string().
205 Implement icon serialization for built-in icon types
209 Added GIcon serialization test
211 2008-10-16 Matthias Clasen <mclasen@redhat.com>
213 * === Released 2.19.0 ===
215 2008-10-16 Matthias Clasen <mclasen@redhat.com>
217 Bug 556422 – g_file_enumerator_next_file: unclear whether return
218 value needs to be freed
220 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
221 the return value docs. Pointed out by Armin Burgmeier
223 2008-10-14 Matthias Clasen <mclasen@redhat.com>
225 Bug 556334 – Warning when building without selinux support
227 * glocalfileinfo.c: Avoid compiler warnings when selinux is
228 disabled. Patch by Pascal Terjan
230 2008-10-14 Matthias Clasen <mclasen@redhat.com>
232 Bug 556335 – make check fails in abicheck.sh
234 * gio.symbols: Add g_file_attribute_info_list_get_type.
235 Pointed out by Pascal Terjan.
237 2008-10-13 Alexander Larsson <alexl@redhat.com>
240 When adding an application as handling a mime type (but
241 not as the default), copy the full list of desktop ids handling
242 that type in before adding the new one on the end of the list.
243 This means we're not accidentally changing the default by overriding
244 the info from the later directories in the search path.
246 Also, fixes small leak of removed_entries.
248 2008-10-12 David Zeuthen <davidz@redhat.com>
251 * gunionvolumemonitor.c:
253 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
255 2008-10-10 Alexander Larsson <alexl@redhat.com>
257 * gfileattribute.c (escape_byte_string):
258 Upper half of byte is >> 4, not >> 8.
259 Found by Kjartan Maraas via sparse
261 2008-10-10 Matthias Clasen <mclasen@redhat.com>
263 Bug 555711 – Wrong fallback order of mimetype icons
265 * gcontenttype.c: Don't prefer generic icons over
266 default mimetype icons.
268 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
269 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
271 Patch by Krysztof Kosiński
273 2008-10-10 Matthias Clasen <mclasen@redhat.com>
275 Bug 555121 – Improved build-time handling of gio module-dir
277 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
278 * Makefile.am: Create the module dir.
280 2008-10-10 Matthias Clasen <mclasen@redhat.com>
282 * gio/glocalfileinfo.c:
283 * gio/tests/live-g-file.c:
284 * gio/gsimpleasyncresult.c: Fix gcc warnings.
286 2008-10-09 Alexander Larsson <alexl@redhat.com>
288 * gunixinputstream.c (g_unix_input_stream_read):
289 Actually return -1 in case of cancelled, not old res value.
291 2008-10-06 Colin Walters <walters@verbum.org>
293 Bug 554745 - GFileAttributeInfoList should be boxed
295 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
296 for convenience of bindings.
297 * gio/gfileattribute.h: Prototype it.
299 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
301 Bug 554970 – segfault when update-desktop-database is not available
304 * gdesktopappinfo.c (run_update_command): Have the error set before
307 2008-10-01 David Zeuthen <davidz@redhat.com>
309 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
310 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
311 instead of the gio URI (such as sftp://foo/file.avi) when using
312 g_app_info_launch() and friends. With a sufficiently recent gvfs,
313 apps using gio+gvfs will map the FUSE file:// URI back to the gio
314 URI (and thus bypass the fuse daemon) thanks the patch from bug
315 #530654. Since Nautilus is an user of g_app_info_launch() it
316 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
317 when launced via the file manager. Win. Fixes bug #528670.
319 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
320 mapping to the description of GAppInfo.
322 2008-09-30 Tor Lillqvist <tml@novell.com>
324 * tests/Makefile.am: Build desktop-app-info only on Unix.
326 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
327 g_critical(). Pass a large enough result buffer to
328 GetVolumePathNameW(). Just use MAX_PATH.
330 2008-09-29 David Zeuthen <davidz@redhat.com>
332 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
334 2008-09-26 Dan Winship <danw@gnome.org>
336 * tests/data-input-stream.c:
337 * tests/data-output-stream.c:
338 * tests/live-g-file.c:
339 * tests/memory-input-stream.c:
340 * tests/memory-output-stream.c: Use g_assert_error() and
343 2008-09-26 Matthias Clasen <mclasen@redhat.com>
345 Bug 545350 – GAppInfo deletion
346 Bug 545351 – Reset associations for content type
349 * gappinfo.[hc]: New functions g_app_info_can_delete,
350 g_app_info_delete and g_app_info_reset_type_associations.
353 * gwin32appinfo.c: Implementations of these.
356 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
358 2008-09-26 Dan Winship <danw@gnome.org>
360 Bug 505361 – gunixinputstream.c assumes poll() available
361 Bug 509446 – portable blocking gio cancellation
363 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
364 GPollFD for a cancellable (which is slightly more complicated on
367 * gunixinputstream.c (g_unix_input_stream_read):
368 * gunixoutputstream.c (g_unix_output_stream_write): Use
369 g_cancellable_make_pollfd() and g_poll() rather than using poll()
372 * tests/unix-streams.c: test of GUnixInputStream,
373 GUnixOutputStream, and GCancellable.
375 2008-09-26 Dan Winship <danw@gnome.org>
377 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
378 cast to stop a gcc warning
380 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
383 2008-09-25 Dan Winship <danw@gnome.org>
385 Bug 553426 - cancellable clarifications
387 * gcancellable.c (g_cancellable_class_init): Add a note to the
388 "cancelled" signal docs warning about thread-safety issues
389 (g_cancellable_cancel): Note that cancelling an asynchronous
390 operation takes effect asynchronously, not immediately.
392 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
394 * gioenums.h: Add new GFileCopyFlag, to leave target file with
395 default perms, instead of setting the source file perms, in a copy
398 * gfile.c (g_file_copy_attributes)
399 (build_attribute_list_for_copy)
400 (should_copy): Not copy "unix::mode" attribute if we have received
401 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
403 2008-09-20 Matthias Clasen <mclasen@redhat.com>
405 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
407 2008-09-17 Matthias Clasen <mclasen@redhat.com>
409 * === Released 2.18.1 ===
411 2008-09-16 Michael Natterer <mitch@imendio.com>
413 * gcontenttype.c (g_content_type_guess): can't assign the return
414 value of g_strdupv() to an array. Fill the array manually with
415 const strings instead (it is never freed anyway). Fixes the
416 build. Also fixed indentation.
418 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
420 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
421 Fix trivial typo to unbreak the build (there was a colon
422 instead of a semicolon at the end of a statement).
424 2008-09-15 Matthias Clasen <mclasen@redhat.com>
426 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
429 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
432 2008-09-15 Matthias Clasen <mclasen@redhat.com>
434 Bug 551681 – g_content_type_guess() too naive with filenames
436 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
437 at the end of the filename, and declare it a directory.
438 Patch by Bastien Nocera
440 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
442 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
445 * gdesktopappinfo.c: add a note in the docs clarifying what the
446 "filename" parameter really is.
448 2008-09-12 Tor Lillqvist <tml@novell.com>
450 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
451 FormatMessage() etc here. Call g_win32_error_message() instead
452 which already does all that. Besides, the code was broken as it
453 called the default "A" version of FormatMessage() but still
454 thought it produced a wide string.
456 2008-09-12 Michael Natterer <mitch@imendio.com>
458 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
459 in the documentation.
461 2008-09-08 Christian Neumair <cneumair@gnome.org>
463 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
464 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
465 Use non-blocking pipe for mount helper I/O. Fixes #550647.
467 2008-09-06 Matthias Clasen <mclasen@redhat.com>
469 Bug 551149 – xdgmime mem leak
471 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
472 a memory leak. Patch by Christian Persch
474 2008-09-04 Tor Lillqvist <tml@novell.com>
476 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
479 2008-09-02 Matthias Clasen <mclasen@redhat.com>
481 * === Released 2.18.0 ===
483 2008-09-02 Michael Natterer <mitch@imendio.com>
485 * *.h: big header formatting cleanup: indentation, vtable
486 formatting, consistent spacing in (* vfunc), trailing whitespace
487 removal. Formatting should be pretty consistent in all GIO headers
490 2008-09-02 Matthias Clasen <mclasen@redhat.com>
492 * gmount.h: Document guess_content_type sync vfunc.
494 2008-09-02 Michael Natterer <mitch@imendio.com>
496 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
497 fix parent_class member to be GFilterOutputStreamClass (not
498 GOutputStreamClass). Drop three pointers of padding, which is
499 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
500 so the class struct size stays the same.
502 2008-09-02 Matthias Clasen <mclasen@redhat.com>
504 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
506 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
507 nonexisting return values. Pointed out by Cosimo Cecchi.
509 2008-08-23 Tor Lillqvist <tml@novell.com>
511 Bug 548988 - g_file_replace fails on Windows when the target file
514 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
515 Windows, close the file before potentially renaming it (in case we
516 have been writing to a file with a temporary name).
518 (g_local_file_output_stream_close, handle_overwrite_open): Use
519 GLocalFileStat instead of plain struct stat, for passing to
520 _g_local_file_info_create_etag(). Thus also use _fstati64()
521 instead of plain fstat() on Windows.
523 2008-08-18 Matthias Clasen <mclasen@redhat.com>
525 * === Released 2.17.7 ===
527 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
529 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
532 2008-08-13 Tor Lillqvist <tml@novell.com>
534 * win32/gwinhttpvfs.c
535 * win32/gwinhttpvfs.h
536 * win32/gwinhttpfile.c
537 * win32/gwinhttpfileinputstream.c
538 * win32/gwinhttpfileoutputstream.c: Refactor some common code
539 snippets into helper functions. Check HTTP response status
540 codes. Implement g_winhttp_file_query_info(), looking at
541 Content-Length, Content-Type and Last-Modified.
543 * win32/winhttp.h: Add some symbolic constants that are not
544 publicly documented. Just a handful, so it should be OK to use
545 information from the Windows SDK's headers.
547 2008-08-13 Tor Lillqvist <tml@novell.com>
549 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
552 * win32/gwin32directorymonitor.c
553 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
555 2008-08-13 Matthias Clasen <mclasen@redhat.com>
558 * goutputstream.c: Add intro docs.
560 2008-08-13 Tor Lillqvist <tml@novell.com>
562 * win32/gwinhttpfileoutputstream.c
563 (g_winhttp_file_output_stream_write): Don't write the
564 Content-Length header ourselves, WinHttpSendRequest() takes care
565 of that when the dwTotalLength parameter is non-zero. Increment
566 offset by the number of actual bytes sent, although I wonder if
567 such a scenario is possible where less than requested would be
568 sent and accepted by the server without errors.
570 2008-08-13 Tor Lillqvist <tml@novell.com>
572 * win32/gwinhttpvfs.c
573 * win32/gwinhttpvfs.h
574 * win32/gwinhttpfile.c
575 * win32/gwinhttpfile.h
576 * win32/gwinhttpfileinputstream.c
577 * win32/gwinhttpfileinputstream.h
578 * win32/gwinhttpfileoutputstream.c
579 * win32/gwinhttpfileoutputstream.h: New files implementing
580 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
581 Windows. The implementation uses the WinHttp API. Both reading and
582 writing are supported, i.e. GET and PUT requests. When writing,
583 each write call is done using a separate PUT request with a
584 Content-Range header. Requests for file URIs and plain pathnames
585 are forwarded to GLocalVfs.
587 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
588 WINE. Used as there is no <winhttp.h> bundled with mingw, and
589 requiring people to download the Windows SDK just for this one
590 header is not reasonable.
592 * win32/Makefile.am: Add above files.
594 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
595 the plumbing for the above.
597 2008-08-11 Sven Neumann <sven@gimp.org>
599 * gfilenamecompleter.c
600 * glocaldirectorymonitor.c
602 * gunionvolumemonitor.c
606 * gunixvolumemonitor.c
609 * gwin32volumemonitor.c: use canonical signal names.
611 2008-08-11 Tor Lillqvist <tml@novell.com>
613 * Makefile.am: Put a list of the platform-dependent .la files in
614 the subdirectories in the platform_deps Make variable, and make
615 libgio-2.0.la depend on that, so that it gets relinked if one of
616 the dependent libraries has changed.
618 2008-08-11 Tor Lillqvist <tml@novell.com>
620 * Makefile.am (platform_libadd): Remove -lwininet which had been
621 added by mistake. We will probably eventually be using WinHTTP,
622 not the older WinInet anyway. (Actually I am working on it.)
624 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
626 Bug 547080 – g_file_copy leaks expected errors
628 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
629 before trying the next fallback routine.
631 2008-08-09 Loïc Minier <lool@dooz.org>
633 Bug 535124 – umask 002 not being applied for new directories, new
634 files get the correct umask
636 * gfile.c (g_file_make_directory)
637 (g_file_make_directory_with_parents): Document ownership and
638 permissions of newly created directories as being the default
641 2008-08-08 Loïc Minier <lool@dooz.org>
643 Bug 535124 – umask 002 not being applied for new directories, new
644 files get the correct umask
646 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
649 2008-08-08 Tor Lillqvist <tml@novell.com>
651 * gwin32mount.c: Remove unused code. Whitespace cleanup.
653 * gwin32volumemonitor.c (get_connected_drives): Put questionable
654 code that didn't actually do anything inside #if 0, and add a
655 comment wondering what the code was supposed to do. This also gets
656 rid of a leftover debugging printout.
658 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
660 * gfileicon.c (g_file_icon_get_property)
661 (g_file_icon_set_property): New functions.
662 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
664 (g_file_icon_new): Use the property (bug #546132).
666 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
668 * gthemedicon.c (g_themed_icon_get_property): Also handle
669 `PROP_USE_DEFAULT_FALLBACKS'.
670 (g_themed_icon_class_init): Make
671 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
673 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
675 Bug 546371 – Improve docs re g_file_monitor
677 * gfilemonitor.c: Mention g_file_monitor() in the docs.
679 2008-08-04 Matthias Clasen <mclasen@redhat.com>
681 * === Released 2.17.6 ===
683 2008-08-04 Matthias Clasen <mclasen@redhat.com>
685 * === Released 2.17.5 ===
687 2008-08-04 Matthias Clasen <mclasen@redhat.com>
689 Bug 546017 – Don't copy attributes when copying a symlink
691 * gfile.c (g_file_copy_attributes): Specify
692 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
693 g_file_set_attributes_from_info. Patch by Christian Kellner
695 2008-08-04 Matthias Clasen <mclasen@redhat.com>
697 * gemblemedicon.[hc]:
699 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
700 a bit more extensible. Work by Clemens Buss.
702 * gioenums.h: Add GEmblemOrigin.
705 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
707 Bug 546079 – leak in xdgmime
709 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
711 2008-08-03 Tor Lillqvist <tml@novell.com>
713 * win32/gwin32directorymonitor.h
714 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
717 2008-08-03 Tor Lillqvist <tml@novell.com>
719 * win32/gwin32directorymonitor.c
720 (g_win32_directory_monitor_callback): Make prototype match
721 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
722 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
725 (g_win32_directory_monitor_constructor):
726 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
727 names in the GLib API on Windows, so convert to UTF-16 and open
730 2008-08-03 Tor Lillqvist <tml@novell.com>
732 Bug 541036 - Gnumeric crashes when trying to open Desktop or
733 user's folder under Windows
735 * win32/gwin32directorymonitor.c
736 (g_win32_directory_monitor_constructor): Ignore error from
737 CreateFile() when opening directory. Instead of asserting, just
738 store INVALID_HANDLE_VALUE then in
739 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
740 ReadDirectoryChangesW().
741 (g_win32_directory_monitor_cancel): Don't attempt to close
742 directory handle if it is INVALID_HANDLE_VALUE.
744 2008-08-01 Matthias Clasen <mclasen@redhat.com>
746 * gdesktopappinfo.c: Remove debug spew
748 2008-08-01 Hans Breuer <hans@breuer.org>
750 * makefile.msc : add gemblembedicon
752 2008-07-30 Matthias Clasen <mclasen@redhat.com>
754 Bug 545457 – gdmsetup crashed with SIGSEGV in
755 g_unix_mount_guess_should_display()
757 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
758 crash if no mount is found.
760 2008-07-28 Matthias Clasen <mclasen@redhat.com>
762 Bug 545203 – gfile.c: argument is different type.
764 * gfile.c (open_read_async_thread): Pass a GError **
765 to g_file_set_error_literal.
766 Reported by Kazuki Iwamoto
768 2008-07-28 Matthias Clasen <mclasen@redhat.com>
770 Bug 545157 – wrong/no list of "open with" applications for .cc and
773 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
774 Collect all ancestors, not just direct parents. Pointed
775 out by Bastien Nocera
777 2008-07-28 Matthias Clasen <mclasen@redhat.com>
779 * Makefile.am: Install gemblemedicon.h
781 2008-07-28 Matthias Clasen <mclasen@redhat.com>
783 * gemblemedicon.[hc]: Add a GIcon implementation that can
784 add an emblem to another icon.
791 * gfileicon.c: Small documentation additions.
793 2008-07-28 Tor Lillqvist <tml@novell.com>
795 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
798 2008-07-27 Tor Lillqvist <tml@novell.com>
800 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
802 2008-07-24 David Zeuthen <davidz@redhat.com>
806 Also export a g_mount_guess_content_type_sync() function.
808 2008-07-23 Matthias Clasen <mclasen@redhat.com>
810 529694 – SELinux context setting support
812 * gfileinfo.c: Support setting selinux attributes.
813 Patch by Tomas Bzatek
815 2008-07-22 Priit Laes <plaes@plaes.org>
817 Bug 544140 - fam-helper 64-bit issue?
819 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
821 2008-07-21 Matthias Clasen <mclasen@redhat.com>
823 * === Released 2.17.4 ===
825 2008-07-20 Matthias Clasen <mclasen@redhat.com>
827 * gvolumemonitor.[hc]:
832 * gmount.c: Documentation fixes
834 2008-07-19 Matthias Clasen <mclasen@redhat.com>
836 543504 – crash in Epiphany Web Browser: Opening local file
847 * gvolume.c: Register types thread-safely.
848 Patch by Christian Persch
850 2008-07-18 Matthias Clasen <mclasen@redhat.com>
852 * gcontenttype.c: Remove debug spew
854 2008-07-18 Matthias Clasen <mclasen@redhat.com>
856 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
859 * fen/fen-kernel.c: Remove a warning that was causing
860 crashes. Reported by Lin Ma.
862 2008-07-18 Matthias Clasen <mclasen@redhat.com>
864 Bug 543040 – async reading on dummy file will crash on
867 * gfile.c (open_read_async_thread): Cope with read_fn being
868 NULL. Reported by Lin Ma.
870 2008-07-18 Matthias Clasen <mclasen@redhat.com>
873 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
875 2008-07-16 Matthias Clasen <mclasen@redhat.com>
879 * giomodule.c: Rename a chapter id to avoid filename conflict.
881 2008-07-16 Matthias Clasen <mclasen@redhat.com>
883 Bug 540616 – mem leak in filechooser button
885 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
886 the mount entry. Reported by Chrisitan Persch
888 2008-07-16 Matthias Clasen <mclasen@redhat.com>
890 * gfile.c: Small documentation fixes.
892 2008-07-15 Matthias Clasen <mclasen@redhat.com>
894 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
896 2008-07-08 Matthias Clasen <mclasen@redhat.com>
901 * gmount.c: Documentation improvements.
903 2008-07-08 Matthias Clasen <mclasen@redhat.com>
906 * gmount.[hc]: Add g_mount_guess_content_type().
908 2008-07-06 David Zeuthen <davidz@redhat.com>
911 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
912 is needed for easily handling adoption of foreign volumes by
913 out-of-process volume monitors (#541793)
915 2008-07-06 David Zeuthen <davidz@redhat.com>
917 * gvolumemonitor.[ch]:
918 * gunionvolumemonitor.c: Export the eject-button signal on the
919 volume monitor class (#541794).
921 2008-07-06 Matthias Clasen <mclasen@redhat.com>
923 * gappinfo.c: More doc tweaks
925 2008-07-05 Matthias Clasen <mclasen@redhat.com>
927 * gappinfo.c: Clarify some docs
929 2008-07-03 Matthias Clasen <mclasen@redhat.com>
931 * gdesktopappinfo.c: Fix a stupid mistake.
933 2008-07-02 Matthias Clasen <mclasen@redhat.com>
935 * === Released 2.17.3 ===
937 2008-07-02 Matthias Clasen <mclasen@redhat.com>
939 * gfilemonitor.c: Fix the build.
941 2008-07-02 Matthias Clasen <mclasen@redhat.com>
943 Bug 536160 – Add g_file_monitor()
946 * gfile.[hc]: Add g_file_monitor which can return either
947 a file or a directory monitor. Proposed by Behdad Esfahbod
949 2008-07-02 Matthias Clasen <mclasen@redhat.com>
951 536733 – gio build failure on Irix
953 * glocalfile.c: Use a configure check for structfs.f_bavail.
955 2008-07-02 Matthias Clasen <mclasen@redhat.com>
957 Bug 534639 – add g_desktop_app_info_new_from_keyfile
960 * gdesktopappinfo.[hc]: Add a function to create a
961 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
963 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
965 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
967 2008-07-01 Matthias Clasen <mclasen@redhat.com>
969 * gunixmounts.c: Fix a doc typo.
971 2008-07-01 Cody Russell <bratsche@gnome.org>
973 * gio/gcontenttype.c:
974 * gio/gwin32appinfo.c:
975 * gio/gwin32volumemonitor.c:
976 * gio/gwin32mount.c: Fixed some include problems.
978 2008-07-01 Cody Russell <bratsche@gnome.org>
982 Moved all relevant typedefs into these files.
985 Updated wrt added files.
987 Split types into separate file for easier maintainership. (#538564)
989 2008-06-30 Matthias Clasen <mclasen@redhat.com>
991 Bug 540331 – g_file_append_to () documentation: can return NULL
993 * gfile.c (g_file_append_to): Clarify docs.
996 2008-06-30 Matthias Clasen <mclasen@redhat.com>
998 Bug 539090 – g_content_type_from_mime_type() should unalias
1000 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1001 Patch by Markus Bergman
1003 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1005 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1006 g_atomic_pointer_get
1008 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1009 on ppc and alpha. Reported by Mart Raudsepp
1011 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1013 * tests/Makefile.am:
1014 * tests/memory-output-stream.c: Add some tests for
1015 GMemoryOutputStream.
1017 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1019 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1022 * gmemoryoutputstream.c (array_resize): Handle truncation to
1023 zero correctly. Reported by Akira Tagoh
1025 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1027 * gmemoryoutputstream.c: Trivial doc fixes
1029 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1031 Bug 540802 – g_list_prepend doesn't concat lists
1033 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1034 one list to another. Pointed out by Jan Arne Petersen
1036 2008-06-28 Michael Natterer <mitch@imendio.com>
1038 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1040 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1042 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1043 to avoid problems with partial icon themes.
1045 2008-06-17 Hans Breuer <hans@breuer.org>
1047 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1048 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1049 access again on win32, see bug #538127
1050 * giomodule.c : ensure GWin32VolumeMonitor is registered
1051 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1052 * Makefile.am makefile.msc : updated
1054 2008-06-16 Hans Breuer <hans@breuer.org>
1056 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1057 and initialization in one step avoids c99ism
1059 2008-06-16 Christian Persch <chpe@gnome.org>
1062 * gio/gbufferedinputstream.c
1063 * gio/gcancellable.c
1064 * gio/gdatainputstream.c
1065 * gio/gdesktopappinfo.c
1067 * gio/gfileenumerator.c
1068 * gio/gfileinputstream.c
1069 * gio/gfileoutputstream.c
1070 * gio/ginputstream.c
1071 * gio/glocaldirectorymonitor.c
1073 * gio/glocalfileenumerator.c
1074 * gio/glocalfileinfo.c
1075 * gio/glocalfilemonitor.c
1076 * gio/glocalfileoutputstream.c
1077 * gio/gmemoryinputstream.c
1078 * gio/gmemoryoutputstream.c
1079 * gio/goutputstream.c
1080 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1083 2008-06-16 Tor Lillqvist <tml@novell.com>
1085 Bug 538362 - Get Win32 icons back in the file chooser
1087 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1088 corresponding to a file extension in the Registry. Patch by Hans
1090 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1092 2008-06-16 Tor Lillqvist <tml@novell.com>
1094 Patches by Hans Breuer:
1096 * glocalfile.c (is_xp_or_later): Handle compiling against older
1097 SDK headers with missing VerifyVersionInfo(). Conditioned on
1098 _MSC_VER, but should probably use some better test.
1099 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1100 uninitialised statfs_result variable on Win32.
1102 2008-06-16 Michael Natterer <mitch@imendio.com>
1104 * *.c: chain up unconditionally in finalize() and dispose(). Also
1105 don't dereference these function pointers when calling them since
1106 that has no meaning at all.
1108 2008-06-16 Ross Burton <ross@burtonini.com>
1110 * gfileenumerator.c:
1111 Remove check for dispose implementation as it annoys Emmanuele.
1113 2008-06-16 Ross Burton <ross@burtonini.com>
1115 Bug 536252 – GFileEnumerator should allow access to the containing
1118 * gfileenumerator.c:
1119 * gfileenumerator.h:
1121 Add g_file_enumerator_get_container() and a container writeable
1122 construct-only property. Also shuffle around typedefs to make it
1125 * glocalfileenumerator.c:
1126 * glocalfileenumerator.h:
1128 Instead of a string filename take a GFile in the constructor and
1129 use it to set the container property.
1132 Update with new API.
1134 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1136 * gfile.c: Make includes more uniform
1138 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1140 * tests/live-g-file.c (sample_struct):
1141 Use less fancy unicode filenames, so the test doesn't fail
1142 on Mac OS X (#531476).
1144 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1146 * === Released 2.17.2 ===
1148 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1150 * === Released 2.17.1 ===
1152 2008-06-11 A. Walton <awalton@gnome.org>
1154 * tests/g-file.c (test_g_file_new_null):
1155 Fix broken test case.
1157 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1159 * pltcheck.sh: We use g_clear_error now.
1161 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1163 * glocalfile.c (g_local_file_enumerate_children): Revert
1164 an unintended change.
1166 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1168 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1170 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1172 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1175 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1176 as icon for the desktop directory, also make user-home and
1177 user-desktop the preferred icons.
1179 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1182 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1183 to add a name to the front of the list.
1185 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1187 Bug 537392 – Additional colon in xattr name
1189 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1190 too. Reported by Alessandro Morandi
1192 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1194 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1197 * glocalfile.c (get_fs_type): Add afs and autofs.
1198 Patch by Danny Baumann.
1200 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1202 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1204 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1205 is no parent. (Owen Taylor, patch by Christian Neumair)
1207 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1209 * gfile.c (g_file_replace_contents): do not leak the output stream.
1211 2008-06-10 Michael Natterer <mitch@imendio.com>
1213 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1214 uninitialized memory as array index.
1216 2008-06-10 Tor Lillqvist <tml@novell.com>
1218 * gcontenttype.c (g_content_type_can_be_executable)
1219 (g_content_type_get_icon) [Win32]: Add TODO comments.
1221 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1223 * xdgmime/Makefile.am: Fix the build
1225 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1227 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1228 in the shared mime database, if available.
1230 * xdgmime/*: Sync with upstream. This brings support for
1231 glob weights, generic icons, and changes the cache format to
1234 2008-05-28 Michael Natterer <mitch@imendio.com>
1236 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1237 the global CPPFLAGS now.
1239 * tests/data-input-stream.c
1240 * tests/data-output-stream.c
1241 * tests/g-file-info.c
1243 * tests/live-g-file.c
1244 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1246 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1248 * === Released 2.17.0 ===
1250 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1251 doesn't complain about leftover files.
1253 2008-05-27 simon.zheng <simon.zheng@sun.com>
1255 * glocalfile.c: (g_local_file_query_filesystem_info):
1256 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1258 2008-05-26 Michael Natterer <mitch@imendio.com>
1260 * gmemoryoutputstream.h: declare
1261 g_memory_output_stream_get_data_size().
1263 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1265 * tests/*: Make tests work
1267 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1269 * gio.symbols: Add g_memory_output_stream_get_data_size.
1271 2008-05-25 Ross Burton <ross@burtonini.com>
1274 Fix typo in error message (#534764).
1276 2008-05-25 Ross Burton <ross@burtonini.com>
1279 Fix circular dependency loop for gioenumtypes.h (#534759).
1281 2008-05-19 Hans Breuer <hans@breuer.org>
1283 * Makefile.am : EXTRA_DIST += makefile.msc
1285 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1288 * gcontenttype.c: (g_content_type_from_mime_type):
1289 New function to create a content type from a mime type. (#527175,
1292 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1294 Bug 532965 – Should not return filesystem::free for certain file systems
1296 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1297 free space for ncpfs.
1299 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1301 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1303 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1304 st_dev might be zero.
1306 2008-05-16 Tor Lillqvist <tml@novell.com>
1308 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1309 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1311 2008-05-13 Bastien Nocera <hadess@hadess.net>
1313 * gfile.c (has_valid_scheme): A URI scheme must start with a
1314 letter, even if later more characters are allowed (#532852)
1316 2008-05-05 Michael Natterer <mitch@imendio.com>
1318 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1319 code from being checked in that breaks the build of applications
1320 which use G_DISABLE_SINGLE_INCLUDES.
1322 * makegioalias.pl: make the alias file include "glib.h" instead of
1325 * gio.symbols: whitespace change to force regeneration of the
1326 alias file after above script change.
1328 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1330 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1332 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1334 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1336 2008-04-28 David Zeuthen <davidz@redhat.com>
1338 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1339 displaying mounts in a subdirectory not accessible to the
1342 2008-04-22 Michael Natterer <mitch@imendio.com>
1344 * Makefile.am: fix library versioning (it was 0.0.0).
1346 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1348 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1349 Default disable all loggings.
1350 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1351 (port_fetch_event_cb): Fixed two macro nits.
1353 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1355 * xdgmime/xdgmime.c: Rework the timestamp checking code
1356 to protect against duplicate directories in XDG_DATA_DIRS.
1357 Fixes fd.o bug 12513, reported by Joe Shaw.
1359 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1361 Partically revert the last commit after realizing that
1362 xdg_mime_media_type_equal doesn't have to init at all.
1364 * xdgmime/xdgmime.h:
1365 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1367 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1369 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1371 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1372 reported by Joe Shaw and Federico Mena Quintero.
1374 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1375 (xdg_mime_media_type_equal): Turn into a wrapper around the
1378 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1379 functions throughout.
1381 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1383 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1384 tolerate an empty TryExec= line without failing; nautilus used
1385 to create launchers with these in previous versions. Fixes #528433
1387 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1389 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1390 after name. Fixes #527132.
1392 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1394 * gfile.c: (g_file_replace):
1397 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1399 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1401 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1402 by Christian Kellner.
1404 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1406 * gunixmounts.c: (g_unix_mount_guess_should_display):
1407 Don't list the user directory as a mount, fix potential issue
1408 when other users have a similar naming and don't special case the
1409 gvfs mounts there since that's not required (#525866)
1411 2008-03-31 Alexander Larsson <alexl@redhat.com>
1413 * glocalfile.c (get_parent):
1416 2008-03-31 A. Walton <awalton@svn.gnome.org>
1418 * gfile.c (g_file_query_file_type):
1419 Always return a GFileType enum value (#520715).
1421 2008-03-31 Alexander Larsson <alexl@redhat.com>
1423 * glocalfileenumerator.c:
1424 Read readdir() info in chunks (of 1000) and sort
1425 the chunks by inode before stat:ing.
1426 This is a 20% performance increase in testing
1427 gvfs-ls on /usr/bin with cold cache.
1429 2008-03-31 Alexander Larsson <alexl@redhat.com>
1431 * gmemoryoutputstream.c:
1432 Clarify docs for g_memory_output_stream_get_size.
1433 Add g_memory_output_stream_get_data_size.
1435 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1439 * gfile.h: Add g_file_query_file_type convenience function
1440 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1442 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1444 * gfileenumerator.c:
1445 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1447 2008-03-28 A. Walton <awalton@svn.gnome.org>
1449 * giomodule.c (_g_io_modules_ensure_loaded):
1450 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1453 2008-03-28 Alexander Larsson <alexl@redhat.com>
1456 (copy_stream_with_progress):
1459 2008-03-28 Alexander Larsson <alexl@redhat.com>
1462 (copy_stream_with_progress):
1463 (file_copy_fallback):
1464 Fallback to g_file_query_info for source size
1465 if g_file_input_stream_query_info fails. (#524579)
1467 2008-03-28 Alexander Larsson <alexl@redhat.com>
1469 * glocalfile.c (g_local_file_move):
1470 Reuse old string instead of adding new one.
1472 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1474 * fen/*.[hc]: still copyright issue. I hate copyright.
1476 2008-03-27 Alexander Larsson <alexl@redhat.com>
1478 * glocalfile.c (g_local_file_move):
1479 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1480 file over directory. This is according to the docs and what the move via
1481 copy+remove fallback does.
1483 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1485 * fen/*.[hc]: Updated copyright.
1487 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1489 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1491 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1493 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1494 not emit attribute changed events when optimizing changed events.
1495 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1498 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1500 * gmountoperation.[hc]: Small documentation additions
1502 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1504 * gunixmounts.c: (guess_mount_type):
1505 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1507 2008-03-19 Alexander Larsson <alexl@redhat.com>
1510 (copy_stream_with_progress):
1511 Bump block side for copy to 64k to minimize
1512 overhead for low latency links. (#523015)
1514 2008-03-16 Tor Lillqvist <tml@novell.com>
1516 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1517 depend on gio.def on Windows.
1519 2008-03-12 David Zeuthen <davidz@redhat.com>
1523 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1525 2008-03-14 Alexander Larsson <alexl@redhat.com>
1529 Avoid redudant tests (#521851)
1530 Patch from Josselin Mouette
1532 2008-03-14 Alexander Larsson <alexl@redhat.com>
1535 (g_file_monitor_is_cancelled):
1536 Fix C89 issue (#521672)
1537 Patch from Jens Granseuer
1539 2008-03-14 Alexander Larsson <alexl@redhat.com>
1541 * fam/fam-helper.[ch]:
1543 Shut down fam (including removing fam GSource) when
1544 module is unloaded (#521513)
1545 Patch from Joe Marcus Clarke
1547 2008-03-14 Alexander Larsson <alexl@redhat.com>
1550 (_g_io_modules_ensure_loaded):
1553 2008-03-14 Alexander Larsson <alexl@redhat.com>
1556 (g_local_file_query_filesystem_info):
1557 Use right define name for f_fstypename member check
1559 2008-03-14 Alexander Larsson <alexl@redhat.com>
1562 * fen/Makefile.am: Added.
1563 * fen/fen-data.[ch]: Added.
1564 * fen/fen-dump.[ch]: Added.
1565 * fen/fen-helper.[ch]: Added.
1566 * fen/fen-kernel.[ch]: Added.
1567 * fen/fen-missing.[ch]: Added.
1568 * fen/fen-node.[ch]: Added.
1569 * fen/fen-sub.[ch]: Added.
1570 * fen/gfendirectorymonitor.[ch]: Added.
1571 * fen/gfenfilemonitor.[ch]: Added.
1573 Added Solaris FEN file notification backend.
1574 Patch from Lin Ma <Lin.Ma@Sun.COM>
1576 2008-03-13 Tor Lillqvist <tml@novell.com>
1578 * Makefile.am: Actually use the gio.def file when linking the
1579 library on Windows. Produce .lib library for Microsoft's toolchain
1580 when possible. Install the .lib and .def file like for the other
1583 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1585 * tests/live-g-file.c:
1586 Include live-g-file in standard set of tests, making a temporary
1587 directory in source structure.
1589 Clean target directory before the tests (write mode only)
1591 2008-03-12 Tor Lillqvist <tml@novell.com>
1593 Bug 517419 - gio win32 directory monitor
1594 Implementation by Vlad Grecescu.
1597 * win32/gwin32directorymonitor.h
1598 * win32/gwin32directorymonitor.c: New files.
1600 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1602 * Makefile.am: Add the win32 subdirectory.
1604 2008-03-12 Tor Lillqvist <tml@novell.com>
1606 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1607 normal struct stat on Unix but struct _stati64 on Windows to have
1608 access to 64-bit file size information. Use that instead of struct
1609 stat in the functions declared here in this private header.
1611 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1612 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1613 warnings about unused functions and variables. Don't set
1614 meaningless attributes like inode numbers on Windows.
1616 2008-03-12 Benjamin Otte <otte@gnome.org>
1619 trim whitespace so gtk-doc groks the function name
1621 2008-03-12 Tor Lillqvist <tml@novell.com>
1623 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1624 returning FALSE, on Win32.
1626 2008-03-11 Alexander Larsson <alexl@redhat.com>
1629 * glocalfileinfo.[ch]:
1630 Correctly implement can_trash by actually
1631 looking for a trash dir, not just assuming
1634 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1636 * === Released 2.16.1 ===
1638 2008-03-11 Alexander Larsson <alexl@redhat.com>
1641 Fix crashes in new constructor and properties code
1643 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1645 * gfile.c: Minor spelling correction in documentation:
1646 existance -> existence.
1648 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1650 * === Released 2.16.0 ===
1652 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1654 * gio.symbols: Remove g_file_contains_file here, too.
1656 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1658 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1659 Samuel Cormier-Iijima)
1661 2008-03-08 Tor Lillqvist <tml@novell.com>
1663 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1666 2008-03-07 Alexander Larsson <alexl@redhat.com>
1669 (g_local_file_query_filesystem_info):
1670 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1671 Patch from Jasper Lievisse Adriaanse
1673 2008-03-06 Tor Lillqvist <tml@novell.com>
1675 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1676 comments for the *_USEC attributes.
1678 2008-03-06 Alexander Larsson <alexl@redhat.com>
1680 * gfile.c (g_file_query_exists):
1681 Add g_return_val_if_fail check (#520700)
1683 2008-03-06 Alexander Larsson <alexl@redhat.com>
1685 * gdesktopappinfo.c:
1688 * gunionvolumemonitor.c:
1691 * tests/live-g-file.c:
1692 * xdgmime/xdgmimecache.c:
1693 Fix sparse warnings (#519489)
1695 2008-03-05 Alexander Larsson <alexl@redhat.com>
1698 Make cancellation threadsafe (i.e.
1699 guarantee its only done once, and always
1702 * glocaldirectorymonitor.c:
1703 Make sure we the monitor lives while the
1704 mounts_changed callback is being called (#520484)
1706 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1708 * gbufferedinputstream.c: Fix typo in parameter
1711 2008-03-04 Alexander Larsson <alexl@redhat.com>
1714 Remove deprecated symbols we kept for one release.
1716 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1719 * goutputstream.c: Tiny documentation corrections.
1721 2008-03-03 Alexander Larsson <alexl@redhat.com>
1723 * gunionvolumemonitor.c:
1725 Fix the adopt_orphan_mount vfunc to take a
1726 volume_monitor reference in an ABI compat way.
1727 This change is not API compat, but the added
1728 arg is not used in the only user of this vfunc, so
1729 all we get is a harmless warning in gvfs (#520169)
1731 2008-03-01 Benjamin Otte <otte@gnome.org>
1734 clarify docs for g_file_delete().
1736 2008-02-29 Alexander Larsson <alexl@redhat.com>
1740 Make sure empty files get text/plain type (#518720)
1742 2008-02-27 Alexander Larsson <alexl@redhat.com>
1748 (g_unix_volume_mount):
1749 Add missing GMountMountFlags argument
1751 2008-02-26 Alexander Larsson <alexl@redhat.com>
1754 (g_local_file_delete):
1755 Handle filesystems (like ntfs-3g) that return EEXIST instead
1756 of ENOTEMPTY (#518816)
1758 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1760 * === Released 2.15.6 ===
1762 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1764 * gfile.c (g_file_find_enclosing_mount):
1765 * ginputstream.c (g_input_stream_set_pending):
1766 * glocalfile.c (g_local_file_find_enclosing_mount):
1767 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1768 * goutputstream.c (g_output_stream_set_pending):
1770 Fixup translator comments (#518578).
1772 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1774 * gfile.c (g_file_find_enclosing_mount):
1776 * glocalfile.c (g_local_file_find_enclosing_mount):
1779 Fix a few typos in translator comments and documentation.
1781 2008-02-25 Alexander Larsson <alexl@redhat.com>
1788 Add translator comments (#518578)
1790 2008-02-25 Alexander Larsson <alexl@redhat.com>
1793 Reintroduce g_file_contains_file, keep around for one
1794 unstable release cycle to avoid crashing to many apps.
1795 Make sure to delete after release.
1797 2008-02-25 Alexander Larsson <alexl@redhat.com>
1800 Remove deprecated g_file_contains_file.
1802 2008-02-25 Alexander Larsson <alexl@redhat.com>
1805 Emit actual change signals in an idle handler.
1806 This avoids reentrance and locking problems in
1807 the file notification backends.
1809 2008-02-25 Alexander Larsson <alexl@redhat.com>
1812 (g_unix_mount_guess_should_display):
1813 Remove type guessing, instead just display
1814 mounts in /media and in ~/.
1816 2008-02-25 Alexander Larsson <alexl@redhat.com>
1819 Make new strings reuse old ones.
1821 2008-02-25 Alexander Larsson <alexl@redhat.com>
1824 Implement trashing and filesystem::readonly for win32 (#517235)
1825 Patch from Yevgen Muntyan
1827 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1829 * gfileinfo.h: Documentation fixes.
1831 2008-02-22 Alexander Larsson <alexl@redhat.com>
1833 * gcontenttype.c (g_content_type_get_icon):
1834 Look at old-style gnome mime icon names too, as many
1835 have not moved to the new style.
1837 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1839 * *.c: Correct the @include in for section docs.
1841 2008-02-21 David Zeuthen <davidz@redhat.com>
1843 * glocalfileinfo.c: (_g_local_file_info_get):
1845 (g_content_type_get_icon): Implement this function by
1846 moving bits from glocalfileinfo.c
1847 (g_content_type_get_description): Unalias before getting
1848 description (#517687)
1850 * gfile.c: (g_file_class_init),
1851 (g_file_query_filesystem_info_async),
1852 (g_file_query_filesystem_info_finish),
1853 (query_filesystem_info_data_free),
1854 (query_filesystem_info_async_thread),
1855 (g_file_real_query_filesystem_info_async),
1856 (g_file_real_query_filesystem_info_finish):
1857 * gfile.h: Implement async version of
1858 g_file_query_filesystem_info()
1860 * gfileinfo.h: Add new attributes for filesystem::use-preview
1862 * gio.symbols: Update
1864 * gthemedicon.c: (g_themed_icon_append_name):
1865 * gthemedicon.h: Add new new convenience function.
1867 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1868 (get_mounts), (get_volumes), (get_connected_drives),
1869 (get_volume_for_uuid), (get_mount_for_uuid),
1870 (g_union_volume_monitor_init), (populate_union_monitor),
1871 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1872 (g_volume_monitor_adopt_orphan_mount):
1874 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1875 monitor implementations to call into the main volume monitor. Also
1876 separate object initialization and volume monitor initialization
1877 such that non-native volume monitors can properly adopt their
1880 2008-02-21 Alexander Larsson <alexl@redhat.com>
1885 2008-02-21 Alexander Larsson <alexl@redhat.com>
1888 Add more documentation about how GFiles work (from #517086)
1890 2008-02-21 Alexander Larsson <alexl@redhat.com>
1894 Add new g_file_has_prefix that does the same as g_file_contains_file.
1895 Deprecate g_file_contains_file and add a macro that converts
1896 it to g_file_has_prefix.
1897 The reason for this change is that the contains_file() name seems to
1898 imply that this does more work than what it does, but its really only
1899 a name match (from #517086)
1904 Update to match the above change.
1906 2008-02-20 Benjamin Otte <otte@gnome.org>
1908 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1909 (g_file_eject_mountable):
1910 even more cases of not returning in error path
1912 2008-02-20 Benjamin Otte <otte@gnome.org>
1914 * gfile.c: (g_file_mount_mountable):
1915 return from function in error path.
1917 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1920 Remove trailing coma in GMountMountFlags struct
1922 2008-02-18 Alexander Larsson <alexl@redhat.com>
1926 * glocalfileoutputstream.c:
1927 Use g_unlink/g_rename instead of unlink/rename;
1928 do not pass raw filenames to g_set_error. (#517239)
1929 Patch from Yevgen Muntyan.
1931 2008-02-18 Alexander Larsson <alexl@redhat.com>
1934 * glocalfileoutputstream.c:
1935 Open files with O_BINARY on windows. (#517140)
1937 2008-02-14 Alexander Larsson <alexl@redhat.com>
1939 * glocalfileoutputstream.c:
1940 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1942 2008-02-14 Alexander Larsson <alexl@redhat.com>
1945 Copy permissions with file on copy (#514084)
1946 This is what cp does and makes sure e.g. the
1947 exec permissions are kept.
1948 Its kinda weird in that it keeps the permission bits
1949 the same while the uid and gid are different. However
1950 the new uid is the user so its not a security issue,
1951 and I've heard no complaints about cp on this issue.
1953 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1955 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1957 2008-02-13 Alexander Larsson <alexl@redhat.com>
1959 * inotify/inotify-path.c:
1960 Define IN_ONLYDIR if not in header (#515346)
1962 2008-02-12 Alexander Larsson <alexl@redhat.com>
1964 * tests/live-g-file.c:
1967 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1969 * === Released 2.15.5 ===
1971 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1973 * gio.symbols: Add g_mount_mount_flags_get_type.
1975 2008-02-11 Alexander Larsson <alexl@redhat.com>
1978 (g_file_info_set_attribute_mask):
1979 (g_file_attribute_matcher_matches_id):
1980 Correctly handle NULL GAttributeMatcher meaning
1981 matches nothing. (Fixes #513492)
1983 2008-02-11 Alexander Larsson <alexl@redhat.com>
1988 Added GMountMountFlags enum and added a flags
1989 argument to all mount calls.
1991 This is an API/ABI change for future extensibility,
1992 as I think we will need at least an
1993 inhibit-autorun flag (the panel needs this).
1994 There are no flags defined yet though.
1996 2008-02-11 Alexander Larsson <alexl@redhat.com>
1999 Added new standard::description attribute.
2000 Requested by Vincent, and useful for both
2003 2008-02-11 Alexander Larsson <alexl@redhat.com>
2005 * gdesktopappinfo.c:
2008 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2010 * *.c: Documentation additions
2012 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2014 * gappinfo.h: Formatting cleanup
2015 * gappinfo.c: Fix up docs.
2017 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2019 * gunixmounts.c: Consistently use getmntent_r() and fall
2020 back to getmntent(). (#515492)
2022 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2024 * gbufferedinputstream.c:
2026 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2028 * tests/data-input-stream.c:
2029 * tests/data-output-stream.c: Portability fixes.
2031 2008-02-08 Alexander Larsson <alexl@redhat.com>
2036 Add g_volume_should_automount.
2039 2008-02-07 Tor Lillqvist <tml@novell.com>
2041 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2042 Win32, too Unix-specific.
2044 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2046 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2047 a local plt if the compiler doesn't support what we want. Bug #514702
2049 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2051 reviewed by: <delete if not using a buddy>
2054 * gunixinputstream.c:
2055 * gunixoutputstream.c:
2057 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2059 * tests/Makefile.am:
2060 * tests/live-g-file.c:
2061 * tests/live-g-file.txt:
2062 New GIO testing module working over real data
2064 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2066 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2067 Fallback to rename() if link() is not available
2068 (when no support on target filesystem)
2070 2008-02-06 Michael Natterer <mitch@imendio.com>
2072 * gfileinfo.c (g_file_info_get_icon): replace
2073 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2075 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2077 * gfile.c (g_file_create):
2078 Documentation update of error codes
2080 2008-02-06 Alexander Larsson <alexl@redhat.com>
2082 * gdesktopappinfo.c:
2083 Update to use both mimeapps.list and
2084 defaults.list as discussed on xdg list.
2086 2008-02-06 Benjamin Otte <otte@gnome.org>
2089 * gfilenamecompleter.c:
2090 Fix some typos in the documentation.
2092 2008-02-06 Alexander Larsson <alexl@redhat.com>
2094 * glocalfile.c (g_local_file_trash):
2095 Don't succeed with trash if newly created
2096 trash dir has the wrong owner. (#514696)
2098 2008-02-05 Alexander Larsson <alexl@redhat.com>
2100 * glocalfile.c (g_local_file_move):
2101 Don't spew warnings when destination is not
2104 2008-02-03 Hans Breuer <hans@breuer.org>
2106 * makefile.msc : update
2108 2008-02-01 Michael Natterer <mitch@imendio.com>
2110 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2111 return value of xdg_mime_list_mime_parents() to a variable of the
2114 2008-02-01 Alexander Larsson <alexl@redhat.com>
2116 * gappinfo.c (g_app_info_launch_uris):
2117 Actually call the launch_uris method, not
2120 2008-02-01 Alexander Larsson <alexl@redhat.com>
2122 * gdesktopappinfo.c (g_desktop_app_info_equal):
2123 Ensure appinfos with no id but same pointer value
2126 2008-02-01 Alexander Larsson <alexl@redhat.com>
2128 * gappinfo.c (g_app_info_launch_default_for_uri):
2131 2008-02-01 Alexander Larsson <alexl@redhat.com>
2135 Add g_app_info_launch_default_for_uri utility
2138 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2140 * gdesktopappinfo.c:
2141 Doc fix for g_app_info_get_default_for_uri_scheme ()
2144 2008-01-30 Alexander Larsson <alexl@redhat.com>
2147 Add doc comment about uris vs GFiles to
2150 * gdesktopappinfo.c:
2151 Ensure uris passed to g_app_info_launch_uris()
2152 are not roundtriped through GFile (as that
2153 may be slightly destructive for e.g. mailto: links)
2155 2008-01-30 Alexander Larsson <alexl@redhat.com>
2157 * tests/data-input-stream.c:
2158 * tests/data-output-stream.c:
2159 C89 fixes from Jens Granseuer (#512849)
2161 2008-01-30 Alexander Larsson <alexl@redhat.com>
2164 Fix gamin/fam difference build issue. (#509419)
2166 2008-01-29 Alexander Larsson <alexl@redhat.com>
2169 * gdesktopappinfo.c:
2170 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2172 2008-01-29 Alexander Larsson <alexl@redhat.com>
2174 * gdesktopappinfo.c:
2175 * gdesktopappinfo.h:
2176 giomodule-priv.h include moved to .c file.
2178 2008-01-29 Alexander Larsson <alexl@redhat.com>
2180 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2181 Remove unused prio/name fields.
2183 2008-01-29 Alexander Larsson <alexl@redhat.com>
2185 * gcontenttype.c (looks_like_text):
2186 Don't treat whitespace as control chars.
2188 2008-01-29 Alexander Larsson <alexl@redhat.com>
2190 * gdesktopappinfo.c:
2191 Lazily create the desktop files for appinfos created
2192 by g_app_info_create_from_commandline() when needed
2193 for mime associations. This allows run-time use
2194 of GAppInfo object without creating unnecessary
2197 2008-01-29 Alexander Larsson <alexl@redhat.com>
2200 Added new symbols to gio.symbols
2202 2008-01-29 Alexander Larsson <alexl@redhat.com>
2205 Add g_file_query_default_handler utility to easily look up
2206 the GAppInfo that handles a file.
2208 * gdesktopappinfo.[ch]:
2210 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2213 Remove unused function
2215 2008-01-29 Alexander Larsson <alexl@redhat.com>
2217 * gfileenumerator.c:
2218 Mention need to free returned value in
2219 g_file_enumerator_next_files_finish docs.
2220 Fix leak if g_file_enumerator_next_files_finish()
2223 2008-01-29 Alexander Larsson <alexl@redhat.com>
2226 (_g_unix_content_type_get_parents):
2227 Use list_parents, not get_parents from xdgmime, because
2228 the later doesn't use the cache.
2230 * xdgmime/xdgmimecache.c:
2231 (_xdg_mime_cache_list_mime_parents):
2232 Don't list the same type as parent multiple times.
2234 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2236 * === Released 2.15.4 ===
2238 2008-01-28 Alexander Larsson <alexl@redhat.com>
2241 Register local vfs with prio 0.
2244 Remove old name and prio class members
2246 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2248 * tests/g-file.c: Disable some tests that are failing in
2249 the absence of a http backend.
2251 2008-01-28 Alexander Larsson <alexl@redhat.com>
2255 Add registration hooks for extension points.
2256 Register the gio extension points.
2258 * fam/gfamdirectorymonitor.c:
2259 * fam/gfamfilemonitor.c:
2260 * glocaldirectorymonitor.[ch]:
2261 * glocalfilemonitor.[ch]:
2262 * gnativevolumemonitor.h:
2263 * gunionvolumemonitor.c:
2264 * gunixvolumemonitor.c:
2267 * inotify/ginotifydirectorymonitor.c:
2268 * inotify/ginotifyfilemonitor.c:
2269 Use the extension points registration instead
2270 of g_type_children().
2272 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2275 * gvolume.[hc]: Document new API.
2277 * gfile.c (g_file_copy_async): Fix docs
2279 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2281 * gbufferedinputstream.c:
2283 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2286 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2288 * glocalfile.c: Avoid trivial differences in translatable strings.
2290 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2292 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2293 build with gcc 3.4 (#509419)
2295 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2297 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2298 (#509994, Murray Cumming)
2300 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2302 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2303 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2304 this allows big jobs to be executed in chunks, instead of blocking
2305 the main loop for a long time.
2307 * gsimpleasyncresult.c:
2308 * giofile.c: Adapt callers.
2310 2008-01-25 Alexander Larsson <alexl@redhat.com>
2312 * gdesktopappinfo.c:
2313 Implement changes discussed on xdg list.
2314 Now we can add supported mimetypes by just using defaults.list
2315 We can also remove associations in defaults.list.
2317 2008-01-25 Alexander Larsson <alexl@redhat.com>
2319 * gdesktopappinfo.c:
2320 Don't make local copy of desktop file
2321 for mimetype changes if the file already
2322 supports the new mimetype.
2324 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2328 * gbufferedinputstream.c:
2329 * glocalfile.c: String improvements. (#511966,
2330 Theppitak Karoonboonyanan)
2332 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2334 * gioscheduler.h: Expand docs a bit.
2336 2008-01-24 Alexander Larsson <alexl@redhat.com>
2339 Add g_drive_get_identifier and
2340 g_drive_enumerate_identifiers
2343 Add g_volume_get_identifier and
2344 g_volume_enumerate_identifiers
2350 Implement identifiers for unix backend
2352 2008-01-24 Alexander Larsson <alexl@redhat.com>
2357 Add g_file_copy_async() (#511580)
2358 Based on patch from Carlos Garcia Campos
2360 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2362 * gioscheduler.c: Some documentation additions.
2364 2008-01-22 Alexander Larsson <alexl@redhat.com>
2366 * gdesktopappinfo.c:
2367 (g_desktop_app_info_new):
2368 Don't leak basename.
2370 2008-01-22 Alexander Larsson <alexl@redhat.com>
2372 * gdesktopappinfo.c:
2373 (g_desktop_app_info_new_from_filename):
2376 2008-01-22 Alexander Larsson <alexl@redhat.com>
2378 * glocalfileinfo.c (get_thumbnail_attributes):
2381 2008-01-22 Alexander Larsson <alexl@redhat.com>
2384 (canonicalize_filename):
2385 Canonicalize paths that start with more than
2389 (compare_two_files):
2390 (test_g_file_new_for_path):
2393 2008-01-22 Alexander Larsson <alexl@redhat.com>
2396 Allow UTF-8 in file:// parse names.
2398 * tests/Makefile.am:
2399 * tests/data-input-stream.c:
2400 * tests/data-output-stream.c:
2401 * tests/g-file-info.c:
2403 Added a bunch of tests from Tomas Bzatek
2405 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2407 * === Released 2.15.3 ===
2409 2008-01-21 Alexander Larsson <alexl@redhat.com>
2411 * gfileinputstream.[ch]:
2412 * gfileoutputstream.[ch]:
2414 Remove duplicated GSeekable functions. (#509990)
2415 Just use the g_seekable_xxx() calls instead.
2417 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2420 * gvolumemanager.c: Whitespace cleanups.
2422 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2423 Use the right mode when creating the file.
2425 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2427 * gfileenumerator.c:
2428 * gfileinputstream.c:
2430 * goutputstream.c: Documentation: Fixed minor typos
2431 and added more mentions of specific _finish() functions.
2433 2008-01-21 Alexander Larsson <alexl@redhat.com>
2435 * inotify/Makefile.am:
2436 * inotify/inotify-helper.c:
2437 * inotify/inotify-kernel.c:
2438 * inotify/inotify-path.c:
2439 * inotify/local_inotify.h: Removed.
2440 * inotify/local_inotify_syscalls.h: Removed.
2441 Removed the included copies of the inotify
2442 headers. We now only use the <sys/inotify.h>
2443 header which exists on modern systems.
2444 This fixes problems on ARM and SH5 (#510448)
2445 but is also generally much cleaner and future
2446 safe. For instance, if other OSes add support
2447 for inotify it should "just work".
2449 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2451 * inotify/*.c: Coding style fixes.
2452 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2453 for the 1/4 Hz timer.
2455 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2458 * gfilemonitor.[hc]:
2459 * gmemoryinputstream.c:
2460 * gmemoryoutputstream.c:
2461 * gmountoperation.c:
2462 * gthemedicon.c: Documentation updates
2464 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2466 * gfile.c: documentation: Fixed more minor
2469 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2471 * gmount.c: (g_mount_remount): documentation:
2472 Mention g_mount_remount_finish() instead of
2473 g_mount_unmount_finish().
2475 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2479 * gfile.c: Fixed some minor typos in the
2482 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2484 * gio/gvolumemonitor.c:
2485 (g_volume_monitor_get_connected_drives):
2486 (g_volume_monitor_get_volumes):
2487 (g_volume_monitor_get_mounts): Documentation:
2488 Clarify the ownership of the regurn GLists.
2490 2008-01-17 Alexander Larsson <alexl@redhat.com>
2493 Add the async find_enclosing_mount version
2494 to the header file too.
2496 2008-01-17 Alexander Larsson <alexl@redhat.com>
2499 Add async version of find_enclosing_mount
2500 with default implementation.
2502 2008-01-17 Alexander Larsson <alexl@redhat.com>
2507 Allow calls to implementation of copy and write
2508 even if the type of the file implementations is
2509 different. This can be used to implement native
2510 upload and download calls in a vfs.
2513 (g_local_file_move):
2514 Protect against the case where move is called
2515 with one file not being local.
2517 Make sure we call the progress callback once
2518 in the native move operation so that the caller
2519 knows how many bytes were copied.
2521 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2524 * gdatainputstream.c:
2526 * gfileoutputstream.c:
2531 * gunixmounts.c: Corrected some typos in the documentation:
2532 occured -> occurred.
2533 its -> it's (where appropriate).
2535 2008-01-16 Alexander Larsson <alexl@redhat.com>
2539 Add g_file_query_exists (#508771)
2541 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2546 * gvolume.c: For async functions that have no non-async
2547 version, document that the GAsyncReadyCallback may be NULL.
2550 2008-01-15 Alexander Larsson <alexl@redhat.com>
2552 * gmemoryinputstream.c:
2553 * gmemoryoutputstream.c:
2554 Don't do pointer arithmetic on void * (#508602)
2555 Patch from Kazuki IWAMOTO
2557 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2559 * === Released 2.15.2 ===
2561 2008-01-14 Alexander Larsson <alexl@redhat.com>
2563 * gfile.c (g_file_monitor_file):
2564 Don't set error here, since we fallback to polling monitor.
2566 2008-01-14 Alexander Larsson <alexl@redhat.com>
2569 (g_file_monitor_directory):
2570 (g_file_monitor_file):
2571 Add GError to file monitor calls
2573 * glocaldirectorymonitor.c:
2574 * glocaldirectorymonitor.h:
2576 * glocalfilemonitor.c:
2577 * glocalfilemonitor.h:
2579 Update for above change
2581 2008-01-14 Alexander Larsson <alexl@redhat.com>
2585 Handle root correctly in g_file_get_relative_path (#508719)
2587 2008-01-14 Alexander Larsson <alexl@redhat.com>
2590 Clean up docs and example for GAsyncResult (#508074)
2592 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2594 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2595 and correct some spelling mistakes. Bug #508108.
2597 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2599 * glocalfileinfo.c: Add a comment.
2601 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2603 * gfileinfo.c: GFileInfo description: Mention
2604 how to actually set attributes in a GFile and how to discover
2605 which attributes are settable. Bug #508378.
2607 2008-01-10 A. Walton <awalton@svn.gnome.org>
2609 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2610 (g_app_info_get_default_for_type):
2611 Check for NULL content types.
2613 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2615 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2617 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2619 * gfile.c: *_async() functions: Several small corrections
2620 to the documentation, mostly correcting copy/paste errors
2621 and improving some sentences.
2623 2008-01-09 Dan Winship <danw@gnome.org>
2625 * glocalfile.c (get_unique_filename): x86_64 fix
2627 2008-01-09 Alexander Larsson <alexl@redhat.com>
2632 Add g_unix_mount_guess_should_display and use
2633 for unix volume monitor backend.
2634 This means we more or less show what the
2635 gnome-vfs backend did.
2636 Based on patch from Padraig O'Briain
2638 2008-01-09 Alexander Larsson <alexl@redhat.com>
2642 Add g_themed_icon_new_with_default_fallbacks
2645 Use default fallbacks for icons
2647 2008-01-09 Alexander Larsson <alexl@redhat.com>
2650 * gmountoperation.[ch]:
2651 Change the API a bit so that unhandled methods
2652 get reported via the reply, rather than by
2653 the signal emission return value. This is because
2654 some handlers can't know this immediately without
2655 doing I/O, and this is an async operation that
2658 2008-01-09 Alexander Larsson <alexl@redhat.com>
2661 * fam/gfamdirectorymonitor.c:
2662 * fam/gfamfilemonitor.c:
2663 Fix double free crash (#508224)
2664 Patch from Joe Marcus Clarke
2666 008-01-07 Matthias Clasen <mclasen@redhat.com>
2668 * === Released 2.15.1 ===
2670 2008-01-07 Alexander Larsson <alexl@redhat.com>
2672 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2673 Fix warning (#507835)
2675 2008-01-07 Alexander Larsson <alexl@redhat.com>
2678 Pass --internal to glib-genmarshal
2681 * gmountoperation.c:
2683 Use better types for signal arguments (#507822)
2685 2008-01-07 Alexander Larsson <alexl@redhat.com>
2688 Build test subdir after .
2689 Remove gdirectorymonitor.[ch]
2691 * gdirectorymonitor.[ch]:
2695 Remove GDirectoryMonitor and make
2696 GFileMonitor the baseclass for both file and
2697 directory monitors. Lift the more generic
2698 rate limiting code from GDirectoryMonitor
2702 * fam/gfamdirectorymonitor.[ch]:
2703 * inotify/ginotifydirectorymonitor.[ch]:
2704 * inotify/inotify-helper.c:
2705 * glocaldirectorymonitor.[ch]:
2708 Update for the removed GDirectoryMonitor.
2710 * gmemoryoutputstream.c:
2711 Remove ununsed variable
2713 2008-01-07 Alexander Larsson <alexl@redhat.com>
2715 * gmemoryinputstream.c:
2716 Translate error strings
2719 * gmemoryoutputstream.[ch]:
2720 New implementation that avoids using GByteArray
2721 in implementation and API. (#506377)
2723 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2725 * tests/*: Add a test for memory input streams.
2727 * Makefile.am: Add tests to SUBDIRS.
2729 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2731 * glocalfilemonitor.c:
2732 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2735 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2737 * gdesktopappinfo.c: Fix a docs typo.
2739 * gfileattribute.c: Add information about extended attributes
2740 to the documentation. (#505058)
2742 2008-01-04 Alexander Larsson <alexl@redhat.com>
2745 * gmountoperation.c:
2746 Use the right type (uint) for the ask_password signal.
2748 2008-01-04 Alexander Larsson <alexl@redhat.com>
2753 Add g_app_info_supports_files()
2754 Remove desktop arg from g_app_info_should_show().
2756 * gdesktopappinfo.[ch]:
2757 Implement g_app_info_supports_files() and new should_show()
2758 Add g_desktop_app_info_set_desktop_env() to set the desktop
2759 for should_show(). (This will be set by gtk+ later)
2761 2008-01-04 Alexander Larsson <alexl@redhat.com>
2764 * gmemoryinputstream.[ch]:
2765 Improve API so that you can use multiple chunks
2766 of memory and custom destroy functions. (#506374)
2768 2008-01-03 Alexander Larsson <alexl@redhat.com>
2771 Handle NULL attribute matchers safely, as we return this
2772 for empty attribute matcher strings.
2774 2008-01-03 Alexander Larsson <alexl@redhat.com>
2776 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2777 Add /usr/local to list of internal mountpoints
2779 2008-01-03 Alexander Larsson <alexl@redhat.com>
2782 Check for HAVE_LCHOWN (#505887)
2784 2008-01-03 Alexander Larsson <alexl@redhat.com>
2788 Add define for selinux context attribute.
2789 Fix missing : -> :: namespace separator change
2790 Fix missing _ -> - name change for xattr-sys.
2793 2008-01-03 Alexander Larsson <alexl@redhat.com>
2796 Link to libglib and libgobject directly (#504879)
2797 Patch from Sebastien Bacher
2799 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2801 * gfile.c: Expanded the g_file_new_for_commandline_arg
2802 description a bit, based on the code and the docs of the
2803 other g_file_new_for_* functions.
2805 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2807 * gfilemonitor.h: Fixed typo in docs.
2809 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2811 Updates to GIO documentation. (#506395, Mikael Hermansson)
2813 * gcontenttype.c: Describe memory management for return value of
2814 g_content_types_get_registered(). Missing piece from #505815.
2815 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2816 GVolume, GDrive, GMounts, which hopefully gives the user less
2817 confusions when using this API. Following explainations from
2818 Alexander Larsson on gtk-devel-list.
2820 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2822 * gfileinfo.c: Expand the long description.
2824 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2827 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2828 fix builds with --disable-visibility. (#500273, Christian Persch)
2830 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2832 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2833 in the list of returned app infos.
2835 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2837 * gappinfo.c: Fix a cross-reference
2839 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2841 * gfileinputstream.c:
2842 * gfileoutputstream.c:
2846 * gdesktopappinfo.c:
2848 * gfileinfo.c: Documentation updates.
2850 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2852 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2855 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2857 * gcontenttype.c (g_content_types_get_registered): Don't return
2858 freed memory (#505815, Mikael Hermansson)
2860 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2862 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2863 used to detect statbuf->st_blocks. (#505042)
2865 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2867 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2868 environment handling. (#504829, Cosimo Cecchi)
2870 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2872 * gappinfo.c: Doc improvements
2874 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2877 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2879 * === Released 2.15.0 ===
2881 2007-12-20 Hans Breuer <hans@breuer.org>
2883 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2884 with symbols gwin32appinfo.obj, added gmount.obj
2885 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2887 2007-12-20 Alexander Larsson <alexl@redhat.com>
2893 * gfilenamecompleter.c:
2896 * gpollfilemonitor.c:
2897 File attribute renames:
2899 fs:: -> filesystem::
2900 id::fs -> id::filesystem
2902 2007-12-20 Alexander Larsson <alexl@redhat.com>
2911 Add GMountUnmountFlags to all unmount and
2913 Add g_mount_remount() call.
2915 2007-12-20 Alexander Larsson <alexl@redhat.com>
2917 * gvfs.c (get_default_vfs):
2918 Fix unused variable warning
2920 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2922 * pltcheck.sh: Update
2924 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2926 * gunionvolumemonitor.c:
2927 * gunixmount.c: Remove C99 comments
2929 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2931 * gio.symbols: Add some missing symbols
2933 2007-12-19 Alexander Larsson <alexl@redhat.com>
2936 Make g_io_modules_load_all_in_directory not unuse
2937 loaded modules so that users of it can do stuff
2939 Init internal "module" types.
2940 Initialize static prio and name for types so that
2941 we don't have to load modules to get it.
2943 * gnativevolumemonitor.h:
2945 Move is_supported to parent class so that
2946 non-native monitors can avoid being initialized
2947 too. (For instance GDaemonVolumeMonitor if we're
2948 not using GDaemonVfs.)
2950 * glocaldirectorymonitor.[ch]:
2951 * glocalfilemonitor.[ch]:
2952 * gunionvolumemonitor.c:
2953 * gunixvolumemonitor.c:
2955 Find plugins using the static prio+name to
2956 avoid unnecessarily loading the modules.
2958 2007-12-19 Alexander Larsson <alexl@redhat.com>
2963 2007-12-19 Alexander Larsson <alexl@redhat.com>
2965 * gunionvolumemonitor.c:
2966 Store the native type as GType, not class so that
2967 we can unload it. But still avoid unnecessarily
2970 2007-12-19 David Zeuthen <davidz@redhat.com>
2972 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2973 add signals 'disconnected' and 'eject-button' on GDrive. Add
2974 signal 'removed' on GVolume and 'unmounted' on GMount.
2976 * gdrive.c: (g_drive_base_init):
2978 * gfile.c: (g_file_mount_mountable),
2979 (g_file_mount_enclosing_volume):
2982 * gmount.c: (g_mount_base_init):
2984 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2985 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2986 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2990 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2992 * *.c: Fix up includes in the section docs.
2994 2007-12-17 Alexander Larsson <alexl@redhat.com>
2996 * gnativevolumemonitor.h:
2997 * gunionvolumemonitor.c:
2998 * gunixvolumemonitor.c:
2999 Add is_supported() to GNativeVolumeMonitorClass so
3000 that we can avoid having to create an object to see
3001 if the backend is supported at runtime.
3002 Also add name member and an env var to pick a specific
3003 volume monitor backend.
3007 Add cancellable to _g_mount_get_for_mount_path()
3009 * glocaldirectorymonitor.c:
3010 * glocalfilemonitor.c:
3011 Avoid loading and unloading modules while sorting.
3013 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3016 * gunixmounts.[hc]: Namespace waste reduction, move some
3017 g_get_unix_mount functions to the g_unix_mount namespace.
3020 * gunixvolumemonitor.c:
3022 * glocaldirectorymonitor.c: Update all callers.
3024 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3026 2007-12-17 Alexander Larsson <alexl@redhat.com>
3029 Add doc comments about what GFile operations are
3030 guaranteed to not block.
3032 2007-12-17 Alexander Larsson <alexl@redhat.com>
3035 Add missing #ifdef fixing OSX build.
3036 (#503334, patch from Richard Hult)
3038 2007-12-14 David Zeuthen <davidz@redhat.com>
3042 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3043 (g_mount_eject), (g_mount_eject_finish):
3045 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3046 (get_volume_for_uuid), (get_mount_for_uuid),
3047 (g_union_volume_monitor_class_init),
3048 (get_default_native_type_with_exclude), (get_default_native_type),
3049 (get_native_type), (update_native_type),
3050 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3051 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3052 (g_unix_mount_can_eject), (eject_unmount_cb),
3053 (eject_unmount_read_error), (eject_unmount_do),
3054 (g_unix_mount_unmount), (g_unix_mount_eject),
3055 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3056 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3057 (g_unix_mount_point_guess_can_eject):
3059 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3060 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3061 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3062 (g_unix_volume_mount), (g_unix_volume_eject),
3063 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3064 * gunixvolumemonitor.c: (get_volume_for_uuid),
3065 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3067 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3068 (g_volume_eject), (g_volume_eject_finish):
3070 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3071 (g_volume_monitor_get_mount_for_uuid):
3074 Provide eject() on both GMount and GVolume and utility functions
3075 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3076 ejected. Introduce the concept of UUID's and wire it into GVolume
3077 and GMount and provide API on GVolumeMonitor to find such
3078 instances. Also handle the case where an external
3079 GNativeVolumeMonitor fails to initialize. Lock around the
3080 _g_get_mount_for_mount_path() function such that volume monitor
3081 implementations won't have to do locking themselves.
3083 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3085 * gdesktopappinfo.c:
3091 * gvolume.h: Documentation updates
3093 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3096 * gfile.h: Doc updates
3098 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3101 * gdesktopappinfo.c: Use hash table iterators.
3103 2007-12-14 Alexander Larsson <alexl@redhat.com>
3106 * gfileattribute.[ch]:
3107 * gfileattribute-priv.h:
3108 Move GFileAttributeValue to a private header, as
3112 Make set_attribute take a type + a pointer instead
3113 of a GFileAttributeValue.
3116 Fix up for above changes.
3117 Add g_file_info_get_attribute_data to get
3118 all info in one call, g_file_info_get_attribute_status
3119 to get the status and g_file_info_get_attribute_as_string.
3123 * glocalfileinfo.[ch]:
3127 Make _guess_type static.
3129 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3132 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3133 made mkenums and friends use temporary files to avoid leaving
3134 empty generated files on failure (#503470).
3136 2007-12-14 Alexander Larsson <alexl@redhat.com>
3138 * gmountoperation.h:
3141 2007-12-14 Alexander Larsson <alexl@redhat.com>
3145 * gfileattribute.[ch]:
3148 * glocalfileoutputstream.c:
3149 * gmountoperation.[ch]:
3150 * goutputstream.[ch]:
3151 Clean up all flags enums to not have _FLAGS in them
3152 Make the names of some of the enums better.
3157 2007-12-14 Michael Natterer <mitch@imendio.com>
3159 * gio.symbols: fix g_io_scheduler symbol names.
3161 2007-12-14 Alexander Larsson <alexl@redhat.com>
3167 * gbufferedinputstream.h:
3168 * gbufferedoutputstream.h:
3171 * gdatainputstream.h:
3172 * gdataoutputstream.h:
3173 * gdesktopappinfo.h:
3174 * gdirectorymonitor.h:
3178 * gfileenumerator.h:
3181 * gfileinputstream.h:
3183 * gfilenamecompleter.h:
3184 * gfileoutputstream.h:
3185 * gfilterinputstream.h:
3186 * gfilteroutputstream.h:
3194 * gmemoryinputstream.h:
3195 * gmemoryoutputstream.h:
3197 * gmountoperation.h:
3200 * gsimpleasyncresult.h:
3202 * gunixinputstream.h:
3204 * gunixoutputstream.h:
3208 * inotify/Makefile.am:
3209 Only allow including <gio/gio.h> from apps
3211 2007-12-14 Alexander Larsson <alexl@redhat.com>
3213 * gioscheduler.[ch]:
3214 * gsimpleasyncresult.c:
3215 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3216 Split out the send_to_mainloop call into two versions instead
3217 of having the block argument.
3219 2007-12-13 Alexander Larsson <alexl@redhat.com>
3221 * gcancellable.[ch]:
3223 * gbufferedinputstream.c:
3224 * gfileenumerator.c:
3225 * gfileinputstream.c:
3226 * gfileoutputstream.c:
3230 g_push/pop_current_cancellable ->
3231 g_cancellable_push/pop_current
3233 2007-12-13 Alexander Larsson <alexl@redhat.com>
3237 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3239 2007-12-13 Alexander Larsson <alexl@redhat.com>
3241 * gmountoperation.h:
3242 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3244 2007-12-12 Alexander Larsson <alexl@redhat.com>
3247 Fix race condition when freeing proxy in
3248 g_io_job_send_to_mainloop().
3250 2007-12-12 Alexander Larsson <alexl@redhat.com>
3256 Make attribute namespace separator "::" instead of ":".
3257 Use - instead of _ as separator in attribute names.
3259 2007-12-12 Alexander Larsson <alexl@redhat.com>
3261 * gbufferedinputstream.h:
3262 * gbufferedoutputstream.h:
3263 * gdatainputstream.h:
3264 * gdataoutputstream.h:
3265 * gdirectorymonitor.h:
3266 * gfileenumerator.h:
3267 * gfileinputstream.h:
3269 * gfileoutputstream.h:
3270 * gfilterinputstream.h:
3271 * gfilteroutputstream.h:
3273 * glocalfileinputstream.h:
3274 * glocalfileoutputstream.h:
3275 * gmemoryinputstream.h:
3276 * gmemoryoutputstream.h:
3277 * gnativevolumemonitor.h:
3279 * gunixinputstream.h:
3280 * gunixoutputstream.h:
3283 s/parent/parent_instance/ in GObjects
3285 2007-12-12 Alexander Larsson <alexl@redhat.com>
3290 No need for padding for interfaces
3292 2007-12-12 Alexander Larsson <alexl@redhat.com>
3296 * gbufferedinputstream.c:
3297 * gbufferedoutputstream.c:
3300 * gdatainputstream.[ch]:
3301 * gdesktopappinfo.c:
3302 * gdirectorymonitor.c:
3304 * gfileattribute.[ch]:
3307 * gfileinputstream.h:
3308 * gfilemonitor.[ch]:
3309 * gfileoutputstream.[ch]:
3310 * gfilterinputstream.h:
3311 * gfilteroutputstream.h:
3314 * gloadableicon.[ch]:
3315 * gmemoryinputstream.c:
3316 * gmountoperation.c:
3318 Fix up a bunch of details in the docs.
3323 2007-12-11 David Zeuthen <davidz@redhat.com>
3325 Rework how volumes, drives and volume monitoring is
3326 done. Previosly the model was
3328 GDrive <1-1> GVolume
3330 where a GDrive instance represented a mount point and a GVolume
3331 instance represented a mounted file system. This patch changes it
3334 GDrive <1-N> GVolume <1-1> GMount
3336 where GMount now serves the purpose of the old GVolume and the new
3337 GVolume serves the purpose of the old GDrive. In addition the new
3338 GDrive interface is used to represent a collection of GVolume
3339 instances (typically partitions) and also contains utility to query
3340 the state of the physical drive the GDrive object represents (such
3341 as checking for media, polling the drive, ejecting the media etc.).
3343 Also implement mounting and unmounting in the Unix volume monitor
3344 backend. A subquent patch will introduce GDrive support for ejection
3348 * gdrive.c: (g_drive_is_media_check_automatic),
3349 (g_drive_is_media_removable), (g_drive_has_media),
3350 (g_drive_can_poll_for_media), (g_drive_eject),
3351 (g_drive_eject_finish), (g_drive_poll_for_media),
3352 (g_drive_poll_for_media_finish):
3354 * gfile.c: (g_file_find_enclosing_mount):
3357 * glocaldirectorymonitor.c:
3358 (g_local_directory_monitor_constructor), (mounts_changed):
3359 * glocalfile.c: (get_mount_info),
3360 (g_local_file_find_enclosing_mount),
3361 (g_local_file_file_iface_init):
3362 * gnativevolumemonitor.h:
3363 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3364 (get_connected_drives), (g_union_volume_monitor_class_init),
3365 (child_volume_added), (child_volume_removed),
3366 (child_volume_changed), (child_mount_added), (child_mount_removed),
3367 (child_mount_pre_unmount), (child_mount_changed),
3368 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3369 (g_union_volume_monitor_remove_monitor),
3370 (_g_mount_get_for_mount_path):
3371 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3372 (guess_system_internal), (_g_get_unix_mounts),
3373 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3374 (g_unix_mount_free), (g_unix_mount_compare),
3375 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3376 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3377 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3378 (type_to_icon), (g_unix_mount_guess_name),
3379 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3380 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3381 (_resolve_symlink), (_resolve_dev_root):
3383 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3384 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3385 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3386 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3387 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3388 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3389 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3390 (g_unix_volume_volume_iface_init):
3392 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3393 (get_mounts), (get_volumes), (get_connected_drives),
3394 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3395 (mountpoints_changed), (mounts_changed),
3396 (g_unix_volume_monitor_init),
3397 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3398 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3399 * gunixvolumemonitor.h:
3400 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3401 (g_volume_mount), (g_volume_mount_finish):
3403 * gvolumemonitor.c: (g_volume_monitor_class_init),
3404 (g_volume_monitor_get_connected_drives),
3405 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3408 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3410 * gmountoperation.h (GPasswordFlags): Close the gap
3412 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3414 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3416 * gdesktopappinfo.[hc]: Remove _-prefixes
3418 2007-12-10 Tor Lillqvist <tml@novell.com>
3420 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3423 2007-12-10 Alexander Larsson <alexl@redhat.com>
3425 * gfile.c (g_file_set_display_name):
3426 Don't hardcode '/' (#502727)
3428 2007-12-09 Hans Breuer <hans@breuer.org>
3430 * makefile.msc : follow lib naming convention
3431 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3432 for user and group name, tested with ../tests/gio-ls
3434 2007-12-09 A. Walton <awalton@svn.gnome.org>
3436 * gdesktopappinfo.c:
3442 * gfileenumerator.c:
3447 * gmemoryinputstream.c:
3448 * gmemoryoutputstream.c:
3450 * gsimpleasyncresult.c:
3451 More documentation cleanup and filling in missing information, bringing
3452 GIO to 99% symbol coverage.
3454 2007-12-08 Hans Breuer <hans@breuer.org>
3456 [gio compiles and links on win32, not sure how much already works]
3457 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3458 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3459 base on win32 API; prefer g_lstat() over lstat(); instead of
3460 localtime_r() use an all GLib implementation on win32;
3461 get_mount_info() still needs a win32 specifc implementation
3462 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3463 win32_get_file_user_info to get owner/group info without uid/gid
3464 * glocalfileinputstream.c : include <io.h> on win32
3465 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3466 definition, use g_win32_ftruncate() for G_OS_WIN32
3467 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3468 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3469 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3470 * makefile.msc : updated
3472 2007-12-07 Alexander Larsson <alexl@redhat.com>
3474 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3475 Avoid warning spew if error == NULL
3477 2007-12-07 Alexander Larsson <alexl@redhat.com>
3480 Update docs wrt etags
3482 2007-12-06 Alexander Larsson <alexl@redhat.com>
3485 Include sys/types.h for dev_t (#501919)
3487 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3491 Make abicheck and pltcheck pass.
3493 2007-12-05 Alexander Larsson <alexl@redhat.com>
3496 * giomodule-priv.h: Added.
3497 * glocaldirectorymonitor.c:
3498 * glocalfilemonitor.c:
3499 * gunionvolumemonitor.c:
3501 Actually add the declaration of _g_io_modules_ensure_loaded
3503 2007-12-05 Alexander Larsson <alexl@redhat.com>
3505 * gdatainputstream.c:
3510 * glocaldirectorymonitor.c:
3511 * glocalfilemonitor.c:
3512 * gunionvolumemonitor.c:
3514 Make g_io_modules_ensure_loaded a private function and
3515 don't pass in the dirname. This means we can do magic
3516 directory finding in the win32 version.
3517 Export the actual load-modules-in-directory code so that
3518 gvfs can reuse that.
3520 2007-12-05 Alexander Larsson <alexl@redhat.com>
3522 * gbufferedinputstream.c:
3523 * gbufferedoutputstream.c:
3526 * gfileenumerator.[ch]:
3527 * gfileinputstream.c:
3528 * gfileoutputstream.[ch]:
3529 * gfilterinputstream.c:
3530 * gfilteroutputstream.c:
3531 * ginputstream.[ch]:
3533 * glocalfileenumerator.c:
3534 * glocalfileinputstream.c:
3535 * glocalfileoutputstream.c:
3536 * gmemoryinputstream.c:
3537 * gmemoryoutputstream.c:
3538 * goutputstream.[ch]:
3541 * gunixinputstream.c:
3542 * gunixoutputstream.c:
3543 Rename all struct members named:
3544 read, write, close, truncate, or mount
3545 to foo_fn, as these are reserved names
3546 and could be defined as macros in libc.
3549 2007-12-04 Alexander Larsson <alexl@redhat.com>
3552 (g_output_stream_close):
3553 Only call flush if non-null.
3555 2007-11-30 Dan Winship <danw@gnome.org>
3557 * ginputstream.c (g_input_stream_set_pending): Make this take a
3558 GError and return a gboolean, and do the "outstanding operation"
3559 check (and the "stream is already closed" check) itself.
3560 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3562 * goutputstream.c (g_output_stream_set_pending)
3563 (g_output_stream_clear_pending): Likewise
3565 * gbufferedinputstream.c:
3566 * gfileinputstream.c:
3567 * gfileoutputstream.c: Update for that
3569 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3570 Like g_simple_async_report_error_in_idle, but takes a GError
3571 rather than building one.
3573 2007-11-30 Dan Winship <danw@gnome.org>
3575 * goutputstream.c: Don't cheat and unset the "pending" flag around
3576 inner calls. Instead, call the class method directly rather than
3577 the wrapper function that checks "pending"
3579 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3581 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3583 2007-12-03 Hans Breuer <hans@breuer.org>
3585 [start of port to win32/msvc]
3586 * gcancellable.c : HAVE_UNIST_H and _pipe()
3587 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3588 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3589 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3591 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3592 * glocalvfs.c : use HAVE_PWD_H
3593 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3594 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3595 * Makefile.am : added to EXTRA_DIST
3597 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3599 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3602 2007-12-03 Alexander Larsson <alexl@redhat.com>
3605 Handle OSX style xattrs API (#500506)
3607 2007-12-03 Alexander Larsson <alexl@redhat.com>
3611 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3613 2007-12-02 A. Walton <awalton@svn.gnome.org>
3617 Documentation accuracy fixes.
3619 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3621 * gioenumtypes.c.template: Fix typo.
3623 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3625 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3627 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3629 * gdirectorymonitor.c:
3630 * gfilemonitor.c: Add properties
3632 * gbufferedoutputstream.c: Don't mark buffer-size property
3635 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3637 * gbufferedoutputstream.c: Add auto-grow property.
3639 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3641 * *.c: Unify the capitalization of section headings.
3643 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3645 * gmountoperation.c: Add properties
3647 * gdatainputstream.c: Turn byte-order and newline-type into
3650 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3652 * gioenumtypes.[hc].template: Templates for enum registration
3654 * Makefile.am: Generate gioenumtypes.[hc]
3656 * gio.h: Include gioenumtypes.h
3658 * gfile.h: Add some explicit nicks.
3660 * gio.symbols: Add new symbols
3662 * pltcheck.sh: Adjust
3664 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3666 * *.c: Explain etags and link to the explanation
3668 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3670 * *.c: Explain I/O priority.
3672 * *.c: More coding style fixes.
3674 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3676 * gasyncresult.c: Add another paragraph to the intro,
3677 adjust coding style of example.
3679 2007-11-29 A. Walton <awalton@svn.gnome.org>
3682 Fixes unknown meaning in GAppLaunchContext docs.
3684 Clarify asynchronous ops.
3686 Fix entity tag docs.
3689 Provides missing gtk-doc section, fixes API docs slighly.
3690 * gsimpleasyncresult.c:
3691 Fill in missing info in docs.
3692 * gunixinputstream.c:
3693 * gunixoutputstream.c:
3694 Be more expressive in short description.
3696 Remove gtk-doc stubs for non-public API.
3698 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3700 * *.c: Coding style fixups
3702 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3704 * inotify/inotify-helper.c: Don't export the lock from libgio.
3706 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3709 * abicheck.sh: Fix copy-and-paste leftovers
3711 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3713 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3715 2007-11-28 Alexander Larsson <alexl@redhat.com>
3719 Removed unnecessary file
3721 * gdesktopappinfo.[ch]:
3724 * glocaldirectorymonitor.[ch]:
3726 * glocalfileenumerator.[ch]:
3727 * glocalfileinputstream.[ch]:
3728 * glocalfilemonitor.[ch]:
3729 * glocalfileoutputstream.[ch]:
3731 * gnativevolumemonitor.c:
3732 * gpollfilemonitor.[ch]:
3733 * gunionvolumemonitor.[ch]:
3736 * gunixvolumemonitor.[ch]:
3739 * inotify/ginotifydirectorymonitor.[ch]:
3740 * inotify/ginotifyfilemonitor.[ch]:
3741 * inotify/inotify-helper.c:
3742 Append _ to all internal functions
3746 Export symbols needed for modules
3748 2007-11-28 Alexander Larsson <alexl@redhat.com>
3751 * abicheck.sh: Added.
3752 * makegioalias.pl: Added.
3753 * pltcheck.sh: Added.
3754 * gio.symbols: Added.
3757 Initial work on adding symbol handling.
3760 Correct ifdef guard name
3763 * inotify/Makefile.am:
3764 * xdgmime/Makefile.am:
3765 Include toplevel Makefile.decl
3767 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3769 * gcontenttype.c: Move doc comments to the unix section.
3771 * *.[hc]: More trivial doc corrections.
3773 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3775 * gpollfilemonitor.c:
3779 * gdesktopappinfo.c:
3784 * gdatainputstream.c:
3785 * gdatainputstream.h:
3786 * gdataoutputstream.c:
3787 * gdataoutputstream.h:
3788 * gfileinfo.h: Doc cleanups
3790 2007-11-28 Andre Klapper <a9016009@gmx.de>
3792 * gdesktopappinfo.c: Fix a typo.
3794 2007-11-27 Andre Klapper <a9016009@gmx.de>
3796 * glocalfileoutputstream.c: Fix a typo.
3798 2007-11-27 Alexander Larsson <alexl@redhat.com>
3801 Don't include removed headers
3803 2007-11-27 Alexander Larsson <alexl@redhat.com>
3806 * gsocketinputstream.[ch]: Removed.
3807 * gsocketoutputstream.[ch]: Removed.
3808 * gunixinputstream.[ch]: Added.
3809 * gunixoutputstream.[ch]: Added.
3810 Renamed GSocket*Stream to GUnix*Stream and made
3811 it unix-only, since its not really only for sockets
3812 and it only works on unix (but is highly useful there).
3814 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3820 * gbufferedinputstream.c:
3821 * gbufferedinputstream.h:
3822 * gbufferedoutputstream.c:
3823 * gbufferedoutputstream.h:
3827 * gdatainputstream.c:
3828 * gdatainputstream.h:
3829 * gdataoutputstream.c:
3830 * gdataoutputstream.h:
3831 * gdirectorymonitor.c:
3832 * gdirectorymonitor.h:
3839 * gfileenumerator.c:
3840 * gfileenumerator.h:
3845 * gfileinputstream.c:
3846 * gfileinputstream.h:
3849 * gfilenamecompleter.c:
3850 * gfilenamecompleter.h:
3851 * gfileoutputstream.c:
3852 * gfileoutputstream.h:
3853 * gfilterinputstream.c:
3854 * gfilterinputstream.h:
3855 * gfilteroutputstream.c:
3856 * gfilteroutputstream.h:
3869 * glocalfileoutputstream.c:
3870 * gmemoryinputstream.c:
3871 * gmemoryinputstream.h:
3872 * gmemoryoutputstream.c:
3873 * gmemoryoutputstream.h:
3874 * gmountoperation.c:
3875 * gmountoperation.h:
3878 * gpollfilemonitor.c:
3881 * gsimpleasyncresult.c:
3882 * gsimpleasyncresult.h:
3883 * gsocketinputstream.c:
3884 * gsocketinputstream.h:
3885 * gsocketoutputstream.c:
3886 * gsocketoutputstream.h:
3893 * gunixvolumemonitor.c:
3902 Bumps documentation to 93% symbol coverage, touching most
3903 of the public files. Fixes broken function documentation prototypes.
3904 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3905 gtk-doc headers in private files.
3907 2007-11-27 Jürg Billeter <j@bitron.ch>
3909 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3910 (g_buffered_input_stream_read_byte):
3911 * gbufferedinputstream.h:
3912 New functions for efficient access to buffer and simple single byte
3915 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3916 (g_data_input_stream_read_until):
3917 * gdatainputstream.h:
3918 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3919 read_until with multiple stop chars.
3921 2007-11-27 Alexander Larsson <alexl@redhat.com>
3925 * inotify/Makefile.am:
3926 Use the user-specified giomoduledir
3928 2007-11-27 Alexander Larsson <alexl@redhat.com>
3932 Add catch-all gio.h header
3933 Don't install gdummyfile.h
3935 2007-11-26 Alexander Larsson <alexl@redhat.com>
3937 * Makefile.am (gioinclude_HEADERS):
3938 Remove trailing whitespace
3940 2007-11-26 Alexander Larsson <alexl@redhat.com>
3942 Merge gio-standalone into glib
3944 2007-11-25 Christian Kellner <gicmo@gnome.org>
3946 * gio/goutputstream.c:
3947 Fix small mistake in the docs.
3949 2007-11-21 Christian Persch <chpe@gnome.org>
3951 * gio/glocalfile.c: (g_local_file_trash):
3952 Convert filenames to UTF-8 for GError.
3953 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3954 as per xdg base dir spec.
3956 2007-11-21 Christian Persch <chpe@gnome.org>
3958 * gio/gdesktopappinfo.c:
3959 Use that g_key_file_to_data cannot fail.
3961 Use stock defines for the key file group and key names.
3964 2007-11-21 Alexander Larsson <alexl@redhat.com>
3967 (copy_stream_with_progress):
3968 Make sure we do a final progress callback with
3969 the full total size.
3971 2007-11-21 Alexander Larsson <alexl@redhat.com>
3974 Export g_file_copy_attributes
3975 Remove padding as its not needed for interfaces
3977 2007-11-20 Alexander Larsson <alexl@redhat.com>
3982 Add G_IO_ERROR_WOULD_MERGE for
3983 copy/move dir on dir with overwrite.
3985 2007-11-20 Alexander Larsson <alexl@redhat.com>
3988 * gio/glocalfileinfo.c:
3989 Add COPY_NAME (this is an optional
3990 non-modified utf8 version of the name) that
3993 2007-11-20 Alexander Larsson <alexl@redhat.com>
3995 * gio/glocalfileenumerator.c:
3996 Report errors as GIOError, not GFileError
3998 2007-11-16 Alexander Larsson <alexl@redhat.com>
4000 * gio/glocalfileoutputstream.c:
4001 * gio/gwin32appinfo.c:
4002 Fix typos in strings.
4003 Patch from Luca Ferretti <elle.uca@libero.it>
4005 2007-11-15 Alexander Larsson <alexl@redhat.com>
4008 Post release version bump
4010 === gio-standalone 0.1.2 ===
4012 2007-11-15 Alexander Larsson <alexl@redhat.com>
4014 * docs/reference/gio/Makefile.am:
4015 Fix up distcheck by removing weird
4021 2007-11-14 Alexander Larsson <alexl@redhat.com>
4023 * gio/gdesktopappinfo.c:
4024 * gio/glocaldirectorymonitor.c:
4026 * gio/glocalfileinfo.c:
4027 * gio/inotify/inotify-sub.c:
4028 * programs/gio-cat.c:
4029 * programs/gio-copy.c:
4030 * programs/gio-info.c:
4031 * programs/gio-ls.c:
4032 * programs/gio-monitor-dir.c:
4033 * programs/gio-monitor-file.c:
4034 * programs/gio-mount.c:
4035 * programs/gio-move.c:
4036 * programs/gio-rm.c:
4037 * programs/gio-save.c:
4038 * programs/gio-trash.c:
4039 Leak fixes from Kjartan Maraas
4041 2007-11-14 Alexander Larsson <alexl@redhat.com>
4043 * gio/fam/fam-helper.c:
4045 * gio/glocalfileinfo.c:
4049 * gio/inotify/inotify-diag.c:
4050 * gio/inotify/inotify-kernel.c:
4051 Various code cleanups from Kjartan Maraas
4053 2007-11-14 Alexander Larsson <alexl@redhat.com>
4055 * gio/gioscheduler.c:
4057 Set up threadpool so that we cache 2 unused
4058 idle threads for at 15 secs. This means we
4059 will reuse thread-local data (like dbus connections)
4062 2007-11-14 Alexander Larsson <alexl@redhat.com>
4064 * gio/fam/fam-helper.c:
4065 * gio/fam/gfamdirectorymonitor.c:
4066 * gio/fam/gfamfilemonitor.c:
4068 * gio/gcontenttype.c:
4069 * gio/gdatainputstream.c:
4070 * gio/gdataoutputstream.c:
4074 * gio/gfileattribute.h:
4075 * gio/gfileenumerator.c:
4077 * gio/ginputstream.c:
4080 * gio/glocalfileinfo.c:
4081 * gio/goutputstream.c:
4082 * gio/gpollfilemonitor.c:
4083 * gio/gsimpleasyncresult.c:
4084 * gio/gunixmounts.c:
4085 * gio/gunixmounts.h:
4086 * gio/inotify/ginotifydirectorymonitor.c:
4087 * gio/inotify/ginotifyfilemonitor.c:
4088 * gio/inotify/inotify-diag.c:
4089 * gio/inotify/inotify-kernel.c:
4090 * gio/inotify/inotify-path.c:
4092 * gio/test-streams.c:
4093 * programs/gio-info.c:
4094 * programs/gio-monitor-dir.c:
4095 * programs/gio-monitor-file.c:
4096 Various code cleanups from Kjartan Maraas
4098 2007-11-13 Alexander Larsson <alexl@redhat.com>
4101 Handle the uri-scheme calls for dummy files
4103 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4105 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4106 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4107 to avoid clash with the C++ keyword.
4109 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4111 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4112 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4114 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4116 * gio/glocaldirectorymonitor.c:
4117 * gio/glocalfilemonitor.c:
4118 * gio/gunionvolumemonitor.c:
4119 Don't use g_once_init_*() for initializations that could fail and
4120 could leave the initialization variable set to 0 but use GOnce.
4121 This prevents a deadlock on the second call when trying to create
4122 a monitor and no monitor type is available. Thanks to Sven Herzberg
4125 2007-11-11 Sven Herzberg <sven@imendio.com>
4127 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4128 #ifdef (make it work on MacOS X again)
4130 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4132 Fixes Changelog for last two commits (sorry guys).
4134 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4136 * gio/gbufferedinputstream.c:
4137 * gio/gdatainputstream.c:
4139 * gio/gfileoutputstream.c:
4140 * gio/gfilterinputstream.c:
4141 * gio/glocalfileinputstream.c:
4144 More consistency fixes in g*stream.c files.
4145 Significant clean of gfile's documentation, filling in of
4146 asynchronous operations documentation.
4148 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4150 * gio/gasyncresult.c:
4151 * gio/gbufferedinputstream.c:
4152 * gio/gbufferedoutputstream.c:
4153 * gio/gcancellable.c:
4154 * gio/gcontenttype.c:
4155 * gio/gdatainputstream.c:
4156 * gio/gdataoutputstream.c:
4157 * gio/gdesktopappinfo.c:
4160 * gio/gfileattribute.c:
4161 * gio/gio/gfileenumerator.c:
4163 * gio/gfileinputstream.c:
4164 * gio/gfilemonitor.c:
4165 * gio/gfileoutputstream.c:
4166 * gio/ginputstream.c:
4168 * gio/gioscheduler.c:
4169 * gio/gloadableicon.c:
4170 * gio/glocalfileoutputstream.c:
4171 * gio/gmemoryoutputstream.c:
4172 * gio/gmountoperation.c:
4173 * gio/goutputstream.c:
4175 * gio/gsimpleasyncresult.c:
4176 * gio/gunionvolumemonitor.c:
4177 * gio/gunixmounts.c:
4178 * gio/gunixvolume.c:
4182 * gio/gvolumemonitor.c:
4183 Updated documentation stubs, working towards consistency and
4186 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4188 * gio/gmemoryoutputstream.c:
4189 * gio/gmemoryoutputstream.h:
4190 Change g_memory_output_stream_set_free_on_close() to
4191 g_memory_output_stream_set_free_data() as this makes more sense and
4192 is more consistent with GMemoryInputStream.
4194 2007-11-07 Alexander Larsson <alexl@redhat.com>
4201 Change how we find the default vfs so that
4202 we can handle a gvfs failing to init
4204 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4206 * gio/gbufferedoutputstream.c:
4207 * gio/gdatainputstream.c:
4208 * gio/gdataoutputstream.c:
4209 * gio/gfileinputstream.c:
4210 * gio/gfileoutputstream.c:
4211 * gio/gfilterinputstream.c:
4212 * gio/gfilteroutputstream.c:
4213 * gio/ginputstream.c:
4214 * gio/gmemoryinputstream.c:
4215 * gio/gmemoryoutputstream.c:
4216 * gio/goutputstream.c:
4217 * gio/gsimpleasyncresult.c:
4218 * gio/gsocketinputstream.c:
4219 * gio/gsocketoutputstream.c:
4220 Add guards to the remaining public functions, add a TODO for
4221 an unimplemented function and remove some useless guards.
4223 2007-11-07 Alexander Larsson <alexl@redhat.com>
4226 Autoconf checks for the various types of
4227 getpwuid_r and getgrgid_r
4229 * gio/glocalfileinfo.c:
4230 Use the autoconf checks from above
4232 2007-11-07 Alexander Larsson <alexl@redhat.com>
4235 (g_local_file_query_filesystem_info):
4236 Some fixes for the statvfs case
4238 2007-11-07 Alexander Larsson <alexl@redhat.com>
4241 (g_local_file_query_filesystem_info):
4242 Pick the "best" of statfs / statvfs for the system
4243 if both are availible.
4245 2007-11-07 Alexander Larsson <alexl@redhat.com>
4247 Solaris fixes from Halton.Huo@Sun.COM:
4254 * gio/glocalfileinfo.c:
4255 Fix for solaris definition of getpwuid_r
4257 * gio/test-streams.c:
4258 Use G_GNUC_PRETTY_FUNCTION
4260 2007-11-07 Alexander Larsson <alexl@redhat.com>
4262 * gio/gdesktopappinfo.c:
4263 (update_default_list):
4264 Remove double semicolon.
4265 Patch from Jens Granseuer
4267 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4269 * docs/reference/gio/gio-sections.txt:
4270 * gio/gbufferedinputstream.c:
4271 * gio/gbufferedinputstream.h:
4272 * gio/gdatainputstream.c:
4273 * gio/gfileenumerator.c:
4274 * gio/gioscheduler.c:
4275 * gio/gunionvolumemonitor.c:
4277 * programs/gio-save.c:
4278 Fix typo: availible -> available. Unfortuntely this breaks API
4279 and ABI as g_buffered_input_stream_get_available() was renamed.
4281 * gio/gunixmounts.c:
4282 * gio/gbufferedinputstream.c:
4283 Add guards for public functions.
4285 2007-11-06 Ross Burton <ross@openedhand.com>
4287 * docs/reference/gio/Makefile.am:
4288 Fix invalid += usage which automake 1.10 doesn't like.
4290 2007-11-06 Alexander Larsson <alexl@redhat.com>
4293 (g_app_launch_context_class_init):
4296 Patch from Ross Burton
4298 2007-11-06 Alexander Larsson <alexl@redhat.com>
4301 Post release version bump
4303 === gio-standalone 0.1.1 ===
4305 2007-11-06 Alexander Larsson <alexl@redhat.com>
4308 Bump version to 0.1.1
4310 * gio/gsimpleasyncresult.c:
4311 (g_simple_async_result_set_from_error):
4312 Remove bogus g_return_if_fail
4314 2007-11-06 Alexander Larsson <alexl@redhat.com>
4317 The name is gio-standalone
4320 Add top src/builddir to includedir
4322 2007-11-06 Alexander Larsson <alexl@redhat.com>
4324 * docs/reference/gio/gio-sections.txt:
4326 * gio/gbufferedinputstream.c:
4327 * gio/gbufferedoutputstream.c:
4328 * gio/gcancellable.c:
4329 * gio/gdatainputstream.h:
4330 * gio/gdataoutputstream.c:
4331 * gio/gdataoutputstream.h:
4332 * gio/gdirectorymonitor.c:
4334 * gio/gfileattribute.c:
4335 * gio/gfileattribute.h:
4336 * gio/gfileenumerator.c:
4337 * gio/gfileenumerator.h:
4340 * gio/gfileinputstream.h:
4341 * gio/gfilemonitor.c:
4342 * gio/gfileoutputstream.h:
4343 * gio/glocalfilemonitor.h:
4344 * gio/glocalfileoutputstream.h:
4345 * gio/gmemoryinputstream.c:
4346 * gio/gmemoryoutputstream.c:
4347 * gio/gmountoperation.c:
4348 * gio/goutputstream.c:
4349 * gio/goutputstream.h:
4351 * gio/gsimpleasyncresult.c:
4352 * gio/gunixmounts.c:
4353 * gio/gunixmounts.h:
4355 * gio/inotify/inotify-helper.c:
4356 Fix gtk-doc warnings
4358 Patch from Ross Burton
4360 2007-11-06 Alexander Larsson <alexl@redhat.com>
4362 * gio/gfilenamecompleter.c:
4363 (g_filename_completer_get_completions):
4366 * gio/gunixvolume.c:
4367 Remove unused function
4369 Patches from Ross Burton
4371 2007-11-06 Alexander Larsson <alexl@redhat.com>
4376 Padding not needed for interfaces
4378 2007-11-06 Alexander Larsson <alexl@redhat.com>
4380 * gio/gfilemonitor.c:
4384 Make giotypes.h an internal file
4387 * gio/gbufferedinputstream.h:
4388 * gio/gbufferedoutputstream.h:
4389 * gio/gcancellable.h:
4390 * gio/gdatainputstream.h:
4391 * gio/gdataoutputstream.h:
4392 * gio/gdirectorymonitor.c:
4393 * gio/gdirectorymonitor.h:
4398 * gio/gfileattribute.h:
4399 * gio/gfileenumerator.h:
4404 * gio/gfilemonitor.c:
4405 * gio/gfilemonitor.h:
4406 * gio/gfilenamecompleter.c:
4407 * gio/gfilenamecompleter.h:
4408 * gio/gfilterinputstream.h:
4409 * gio/gfilteroutputstream.h:
4410 * gio/ginputstream.h:
4411 * gio/gmemoryinputstream.h:
4412 * gio/gmemoryoutputstream.h:
4413 * gio/gmountoperation.c:
4414 * gio/gmountoperation.h:
4415 * gio/gnativevolumemonitor.c:
4416 * gio/goutputstream.h:
4419 * gio/gsimpleasyncresult.c:
4420 * gio/gsimpleasyncresult.h:
4421 * gio/gsocketinputstream.h:
4422 * gio/gsocketoutputstream.h:
4423 * gio/gthemedicon.c:
4424 * gio/gthemedicon.h:
4428 * gio/gvolumemonitor.c:
4429 * gio/gvolumemonitor.h:
4430 Add padding in classes where it seems useful
4431 Don't include giotypes.h from public headers
4432 Move in Class definitions into c file where possible
4437 2007-11-06 Alexander Larsson <alexl@redhat.com>
4439 * docs/reference/gio/gio-docs.xml:
4440 Better structure for API docs
4442 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4445 * gio/gloadableicon.c:
4446 * gio/gsimpleasyncresult.c:
4447 * gio/gthemedicon.c:
4448 Add some more guards to public functions. Only files missing are now
4451 2007-11-06 Alexander Larsson <alexl@redhat.com>
4453 * docs/reference/gio/gio-docs.xml:
4454 Remove old files, add missing ones
4456 2007-11-06 Alexander Larsson <alexl@redhat.com>
4458 * docs/reference/gio/gio-sections.txt:
4461 Hide implementation classes
4463 * gio/gdriveprivate.h:
4464 * gio/gvolumeprivate.h:
4465 Remove non-existing function declarations
4467 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4470 Fix compilation warnings and add guards to the new functions.
4472 * gio/gasyncresult.c:
4474 Add guards to the public functions.
4477 Implement get_path().
4479 2007-11-06 Alexander Larsson <alexl@redhat.com>
4481 * gio/gfilenamecompleter.c:
4482 Make g_filename_completer_get_completions
4483 return char ** instead of GList for
4486 * docs/reference/gio/gio-docs.xml:
4487 * docs/reference/gio/gio-sections.txt:
4489 * gio/gasyncresult.c:
4490 * gio/gbufferedinputstream.c:
4491 * gio/gbufferedoutputstream.c:
4492 * gio/gcancellable.c:
4493 * gio/gcontenttype.c:
4494 * gio/gdatainputstream.c:
4495 * gio/gdataoutputstream.c:
4496 * gio/gdesktopappinfo.c:
4497 * gio/gdirectorymonitor.c:
4501 * gio/gfileattribute.c:
4502 * gio/gfileenumerator.c:
4505 * gio/gfileinputstream.c:
4506 * gio/gfilemonitor.c:
4507 * gio/gfilenamecompleter.c:
4508 * gio/gfilenamecompleter.h:
4509 * gio/gfileoutputstream.c:
4510 * gio/gfilterinputstream.c:
4512 * gio/ginputstream.c:
4514 * gio/gioscheduler.c:
4515 * gio/gloadableicon.c:
4516 * gio/glocaldirectorymonitor.c:
4518 * gio/glocalfileinputstream.c:
4519 * gio/glocalfilemonitor.c:
4520 * gio/glocalfileoutputstream.c:
4522 * gio/gmemoryinputstream.c:
4523 * gio/gmemoryoutputstream.c:
4524 * gio/gmountoperation.c:
4525 * gio/goutputstream.c:
4526 * gio/gpollfilemonitor.c:
4528 * gio/gsimpleasyncresult.c:
4529 * gio/gsocketinputstream.c:
4530 * gio/gsocketoutputstream.c:
4531 * gio/gthemedicon.c:
4532 * gio/gunionvolumemonitor.c:
4534 * gio/gunixmounts.c:
4535 * gio/gunixvolume.c:
4536 * gio/gunixvolumemonitor.c:
4540 * gio/gvolumemonitor.c:
4541 * gio/gwin32appinfo.c:
4542 Add (mostly stub) doc strings to public functions.
4543 Patch from Andrew Walton (awalton@gmail.com)
4545 2007-11-06 Alexander Larsson <alexl@redhat.com>
4547 * gio/gappinfo.[ch]:
4548 Added GAppLaunchContext object and pass that to launch.
4549 This allows simple implementation of both
4550 launch-on-screen and startup notification via a gtk+
4551 subclass of GAppLaunchContext
4553 * gio/gdesktopappinfo.c:
4554 Implement GAppLaunchContext API
4556 * gio/gwin32appinfo.c:
4559 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4561 * gio/gmountoperation.c:
4562 Add some guards to GMountOperation's public functions.
4564 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4568 * gio/gcancellable.c:
4569 * gio/gdirectorymonitor.c:
4571 * gio/gfileenumerator.c:
4572 * gio/gfilemonitor.c:,
4573 * gio/gfilenamecompleter.c:
4576 * gio/gioscheduler.c:
4580 * gio/gvolumemonitor.c:
4581 Add even more guards to various public functions.
4583 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4586 Add guards to the public functions of GAppInfo.
4588 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4590 * gio/gcontenttype.c:
4591 Add some more guards for public functions.
4593 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4595 * gio/fam/fam-module.c:
4596 * gio/fam/gfamdirectorymonitor.c:
4597 * gio/fam/gfamdirectorymonitor.h:
4598 * gio/fam/gfamfilemonitor.c:
4599 * gio/fam/gfamfilemonitor.h:
4600 * gio/inotify/ginotifydirectorymonitor.c:
4601 * gio/inotify/ginotifydirectorymonitor.h:
4602 * gio/inotify/ginotifyfilemonitor.c:
4603 * gio/inotify/ginotifyfilemonitor.h:
4604 Add proper copyright information and remove an unused variable
4605 in the GInotifyFileMonitor constructor.
4607 * gio/gcancellable.c:
4608 Add a guard for a public function and an assertion to prevent
4609 an undefined program state.
4611 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4613 * gio/gfileattribute.c:
4614 Don't run into an assertion if the given attribute value is NULL
4615 in g_file_attribute_value_get_*() but instead return a fallback
4616 value that makes sense in most situations. Passing them a attribute
4617 value with the wrong type will still run into an assertion.
4619 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4621 * gio/gfileattribute.c:
4623 Add even more guards to the public functions. Also fix the refcounting
4624 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4625 let g_file_info_list_attributes() filter the attributes by namespace
4626 instead of simply ignoring the namespace parameter.
4628 2007-11-03 Sven Herzberg <sven@imendio.com>
4630 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4631 (This makes gio work on MacOS X again)
4633 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4636 Build the gio subdirectory before the docs. Otherwise the build will
4639 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4640 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4641 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4642 Add guards to the public functions.
4644 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4646 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4647 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4648 to prevent a compiler warning.
4650 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4651 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4652 return something in the non-void function find_topdir_for().
4654 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4661 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4663 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4664 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4665 * gwin32appinfo.c (g_win32_app_info_launch):
4666 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4667 envp_for_startup_id, g_desktop_app_info_launch,
4668 g_desktop_app_info_launch_uris):
4670 Give an opaque 'startup_id' string instead of 'envp'.
4671 Support empty file lists for launching new windows.
4672 Fix infinite recursion bug when launching URIs.
4674 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4677 Add guard to the new g_file_get_uri_scheme() function.
4679 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4682 Convert a g_return_val_if_fail() to setting the GError instead as
4683 otherwise applications have to verify the parameter before otherwise
4684 and the parameter might come directly from the user.
4686 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4688 * gio/inotify/ginotify*.[ch]:
4689 Add missing copyright information.
4691 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4694 Add guards in the beginning of public functions to check for valid
4695 parameters and fix a bug in copy_stream_with_progress() that could've
4696 caused writing less bytes than reading.
4697 * gio/glocalfileinfo.c:
4698 Check for a NULL parameter and set the GError accordingly then.
4699 * gio/goutputstream.c:
4700 Fix the same bug as in gfile.c that could've caused writing less bytes
4701 than reading in g_output_stream_real_splice().
4703 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4706 Use the correct gvolumeprivate.h naming
4708 2007-11-01 Christian Kellner <gicmo@gnome.org>
4711 Remove leftover "$(daemon_sources)" entry.
4713 2007-11-01 Christian Kellner <gicmo@gnome.org>
4718 Add copyright information to source files.
4720 2007-11-01 Alexander Larsson <alexl@redhat.com>
4724 Add g_file_get_uri_scheme
4726 2007-11-01 Alexander Larsson <alexl@redhat.com>
4729 * gio/gdesktopappinfo.c:
4730 * gio/gwin32appinfo.c:
4731 Add g_app_info_get_default_for_uri_scheme.
4733 2007-11-01 Alexander Larsson <alexl@redhat.com>
4736 Correct filename for gdriveprivate.h
4738 2007-10-31 Alexander Larsson <alexl@redhat.com>
4741 Rename id:value to id:file
4744 * gio/glocalfileinfo.c:
4747 2007-10-31 Alexander Larsson <alexl@redhat.com>
4749 * gio/gunixvolume.c:
4751 Remove g_volume_get_platform_id, as thats not
4752 needed with the simpler union volume monitor
4754 2007-10-31 Alexander Larsson <alexl@redhat.com>
4757 * gio/guniondrive.[ch]: Removed.
4758 * gio/gunionvolume.[ch]: Removed.
4759 Remove GUnionDrive/Volume
4761 * gio/gunionvolumemonitor.c:
4762 Simplify union volume monitor, now we
4763 only have one native volume monitor and
4764 we use the actual volumes/drives from the
4765 child monitors instead of wrapping them
4767 * gio/gnativevolumemonitor.[ch]:
4768 Base class for native volume monitors.
4769 Includes priority and get_volume_for_mountpoint
4772 Add g_file_find_enclosing_volume
4775 Remove volume name fs attribute
4776 Add readonly fs attribute
4779 Implement readonly attribute
4780 remove volume name attribute
4781 Implement find_enclosing volume
4783 * gio/gunixmounts.c:
4784 Add a volume for "/".
4786 * gio/gunixvolume.[ch]:
4787 Set better name for /
4789 * gio/gunixvolumemonitor.[ch]:
4790 Derive from GNativeVolumeMonitor
4791 Implement get_volume_for_mountpoint
4794 GVolume typedef moved to gfile.h
4796 * gio/gvolumeprivate.h:
4797 Add g_volume_get_for_mount_path
4799 2007-10-31 Alexander Larsson <alexl@redhat.com>
4801 * gio/gunixmounts.[ch]:
4802 Add cache info to unix mount listers
4803 Make getmntent use threadsafe
4804 Add is_system_internal attribute for GUnixMount
4806 * gio/gunixvolume.c:
4807 (g_unix_volume_new):
4808 Use is_system_internal instead of own code
4810 * gio/glocaldirectorymonitor.c:
4811 * gio/gunixvolumemonitor.c:
4812 Update to new gunixmounts API
4817 2007-10-30 Alexander Larsson <alexl@redhat.com>
4820 Add volume name fsinfo attribute
4823 Read volume name info
4825 * gio/gunionvolumemonitor.c:
4826 Fix infinite loops when finalizing a union volume monitor
4828 2007-10-30 Alexander Larsson <alexl@redhat.com>
4830 * gio/goutputstream.[ch]:
4831 Add splice() with default implementation
4833 * gio/gsocketoutputstream.c:
4834 (g_socket_output_stream_write):
4835 Return error on cancellation correctly.
4837 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4839 * gio/glocalfile.c (g_local_file_trash):
4840 Do not leak a string.
4842 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4844 * gio/gfile.c (g_file_load_contents):
4845 Unref the stream after closing it.
4847 2007-10-25 Alexander Larsson <alexl@redhat.com>
4849 * gio/gioscheduler.h:
4852 2007-10-25 Alexander Larsson <alexl@redhat.com>
4856 Add g_file_has_uri_scheme and implement for local files
4858 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4860 * gio/gdesktopappinfo.c: do not leak a string.
4862 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4864 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4865 (g_local_directory_monitor_new):
4866 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4867 (g_local_file_monitor_new):
4868 Only look for the monitor type that should be used the first time
4869 and use g_qsort_with_data() instead of our own bubble sort
4872 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4875 * gio/fam/Makefile.am:
4876 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4877 * gio/fam/fam-helper.h:
4878 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4879 * gio/fam/gfamdirectorymonitor.c:
4880 * gio/fam/gfamdirectorymonitor.h:
4881 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4882 * gio/fam/gfamfilemonitor.h:
4883 * gio/glocaldirectorymonitor.c:
4884 * gio/glocaldirectorymonitor.h:
4885 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4886 * gio/glocalfilemonitor.h:
4887 * gio/inotify/Makefile.am:
4888 * gio/inotify/ginotifydirectorymonitor.c:
4889 * gio/inotify/ginotifydirectorymonitor.h:
4890 * gio/inotify/ginotifyfilemonitor.c:
4891 * gio/inotify/ginotifyfilemonitor.h:
4892 Implement the FAM and Inotify monitors as
4893 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4894 their own GIO module. GLocal(Directory|File)Monitor will use the
4895 monitor with the highest rank that is supported on that machine.
4897 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4900 Change GIO module dir to $(libdir)/gio/modules and change
4901 the log domain from GVFS to GIO. Also only export symbols starting
4902 with g_ in the resulting library.
4903 * gio/test-streams.c: (main):
4904 Set log handler for the GIO log domain.
4906 2007-10-22 Alexander Larsson <alexl@redhat.com>
4908 * gio/gfilenamecompleter.[ch]:
4909 Add g_filename_completer_set_dirs_only
4911 2007-10-22 Alexander Larsson <alexl@redhat.com>
4914 * gio/gurifuncs.[ch]:
4915 Add some simple URI helpers
4917 * gio/gfilenamecompleter.[ch]:
4918 Added object for filename (parse name actually) completion
4921 Handle ~ in parse names
4923 2007-10-17 Alexander Larsson <alexl@redhat.com>
4926 * gio/glocalfileinfo.c:
4927 Add and implement id:value attribute
4929 2007-10-17 Alexander Larsson <alexl@redhat.com>
4932 * gio/guniondrive.c:
4934 Add and implement g_drive_has_volumes
4936 2007-10-17 Alexander Larsson <alexl@redhat.com>
4939 * gio/glocalfileinfo.[ch]:
4940 Add unix:is_mountpoint and implement for local files
4942 2007-10-16 Alexander Larsson <alexl@redhat.com>
4944 * gio/gunionvolumemonitor.c:
4945 (g_union_volume_monitor_init):
4946 Fix up the unix type getting so that it works with gcc
4948 2007-10-12 Alexander Larsson <alexl@redhat.com>
4951 * gio/glocalfileinfo.c:
4952 Add thumbnail:failed to file info
4954 2007-10-12 Richard Hult <richard@imendio.com>
4956 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4957 optimizing away the get_type call (happens with some gcc versions,
4958 like the one shipped with OS X 10.4).
4960 2007-10-12 Alexander Larsson <alexl@redhat.com>
4962 * gio/glocalfileinfo.c:
4963 (_g_local_file_info_set_attribute):
4964 Fix build if not HAVE_XATTR
4965 Patch from Milosz Derezynski <internalerror@gmail.com>
4967 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4969 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4970 around for review, otherwise I would have asked you before
4973 2007-10-11 Alexander Larsson <alexl@redhat.com>
4976 Add thumbnail:path attribute
4978 * gio/glocalfileinfo.c:
4979 Implement thumbnail:path for local files
4981 2007-10-11 Alexander Larsson <alexl@redhat.com>
4983 * gio/glocalfileinfo.c:
4984 (_g_local_file_info_get):
4985 Avoid duplicate icon names
4987 2007-10-11 Alexander Larsson <alexl@redhat.com>
4989 * gio/gthemedicon.[ch]:
4990 Change g_themed_icon_get_names return type to const
4992 2007-10-10 Alexander Larsson <alexl@redhat.com>
4994 * gio/glocalfileinfo.c:
4995 Don't reference freed memory
4997 2007-10-10 Alexander Larsson <alexl@redhat.com>
4999 * gio/gfileattribute.c:
5002 * gio/glocalfileinfo.c:
5005 2007-10-10 Alexander Larsson <alexl@redhat.com>
5008 Check for NULL icons
5010 * gio/gfileattribute.c:
5011 Don't dup when getting objects (same as for string attributes)
5013 * gio/gicon.c (g_icon_equal):
5014 Safely handle NULLs in equal
5016 2007-10-10 Alexander Larsson <alexl@redhat.com>
5019 Fix c++ compilation issues
5020 Patch from Milosz Derezynski <internalerror@gmail.com>
5022 2007-10-10 Alexander Larsson <alexl@redhat.com>
5024 * programs/gio-monitor-dir.c:
5025 Don't crash if dir monitor not supported.
5027 2007-10-09 Alexander Larsson <alexl@redhat.com>
5030 Add missing G_END_DECLS
5032 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5034 * gio/gfile.c: (g_file_set_display_name),
5035 (g_file_query_settable_attributes),
5036 (g_file_query_writable_namespaces):
5037 Return NULL not FALSE on errors as the return type is a pointer.
5039 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5041 * gio/glocalfile.c: (g_local_file_monitor_file):
5042 Don't call monitor_file on the default interface vtable (which
5043 is NULL) but simply return NULL. The caller, GFile, will create a
5044 polling monitor if NULL is returned.
5046 2007-10-09 Alexander Larsson <alexl@redhat.com>
5050 * gio-unix-2.0.pc.in:
5051 Add gio-unix-2.0.pc if OS_UNIX
5054 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5056 2007-10-09 Alexander Larsson <alexl@redhat.com>
5058 * gio/gunixmounts.[ch]:
5059 Make unix mount monitoring API sane.
5060 Now its just a object with mounts_changed
5061 and mountpoints_changed signals.
5063 * gio/glocaldirectorymonitor.c:
5064 * gio/gunixvolumemonitor.c:
5065 Use new mount monitor api
5067 2007-10-09 Alexander Larsson <alexl@redhat.com>
5069 * gio/gunixmounts.[ch]:
5070 Move guess type into one call for mounts and one for mountpoints
5073 * gio/gunixvolume.c:
5076 2007-10-09 Alexander Larsson <alexl@redhat.com>
5078 * gio/gunixmounts.[ch]:
5079 Remove _ prefix in preparation to make this semi-public
5080 Hide implementation of structs
5082 * gio/glocaldirectorymonitor.c:
5084 * gio/gunixvolume.c:
5085 * gio/gunixvolumemonitor.c:
5086 Update for above API changes
5088 2007-10-08 Alexander Larsson <alexl@redhat.com>
5091 Better polling fallback. This also handles the case where we have
5092 a monitor_file implementation, but it fails.
5094 2007-10-08 Alexander Larsson <alexl@redhat.com>
5098 * gio/gunixmounts.c:
5099 * programs/gio-monitor-dir.c:
5100 * programs/gio-monitor-file.c:
5101 Added cancellable to file monitoring calls.
5102 These are really sync calls and need this.
5104 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5106 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5107 (g_local_vfs_class_init):
5108 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5109 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5111 2007-10-05 Alexander Larsson <alexl@redhat.com>
5113 * gio/gdirectorymonitorprivate.h:
5114 * gio/gfilemonitorprivate.h:
5115 * gio/gdirectorymonitor.h:
5116 * gio/gfilemonitor.h:
5117 Remove *private.h and move to the public API, so that
5118 we can do implementations outside gio (such as in gvfs)
5120 * gio/gdirectorymonitor.c:
5121 * gio/gfilemonitor.c:
5122 * gio/glocaldirectorymonitor.c:
5123 * gio/gpollfilemonitor.c:
5124 * gio/inotify/inotify-helper.c:
5125 * gio/fam/fam-helper.c:
5126 Update to the new header names
5128 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5130 * gio/gdirectorymonitor.c:
5131 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5134 2007-10-04 Alexander Larsson <alexl@redhat.com>
5136 * gio/glocalfileinfo.c (get_access_rights):
5137 Set CAN_TRASH when we can move the file.
5138 We should really also check for a parent trash dir.
5140 2007-10-04 Alexander Larsson <alexl@redhat.com>
5142 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5143 Add can_trash access attribute
5145 2007-10-04 Alexander Larsson <alexl@redhat.com>
5148 (g_local_file_trash):
5149 Create info file first. This is per-spec and allows
5150 us to actually trash directories.
5152 2007-10-02 Alexander Larsson <alexl@redhat.com>
5154 * gio/gdesktopappinfo.c:
5155 Implement the new mime support code.
5156 Always set app as handling mimetype when being set as default for it
5158 2007-10-01 Alexander Larsson <alexl@redhat.com>
5160 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5161 Fix up check for xattrs:
5163 2007-10-01 Alexander Larsson <alexl@redhat.com>
5166 (g_app_info_set_as_default_for_extension):
5167 (g_app_info_add_supports_type):
5168 (g_app_info_can_remove_supports_type):
5169 (g_app_info_remove_supports_type):
5170 Make these fail nicely if not implemented
5172 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5174 * gio/glocalfileoutputstream.c:
5175 * gio/glocalfileoutputstream.h:
5180 * programs/gio-save.c:
5181 Add a GFileCreateFlags argument to operations that can create
5184 2007-10-01 Alexander Larsson <alexl@redhat.com>
5186 * gio/gappinfo.[ch]:
5187 * gio/gdesktopappinfo.c:
5188 Add more (stubbed out) mime API needed for nautilus
5190 2007-10-01 Alexander Larsson <alexl@redhat.com>
5193 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5194 Add g_app_info_set_as_default_for_extension.
5196 * gio/gdesktopappinfo.c:
5197 Dummy for g_app_info_set_as_default_for_extension
5198 Support flags in g_app_info_create_from_commandline
5200 * gio/gwin32appinfo.c:
5202 Update for API changes
5204 * gio/gthemedicon.c:
5205 Properly NULL-terminate list of icon names
5207 2007-09-28 Alexander Larsson <alexl@redhat.com>
5209 * gio/gloadableicon.h:
5210 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5212 2007-09-28 Alexander Larsson <alexl@redhat.com>
5215 Install headers in $includedir/gio-standalone/
5217 * gio-2.0.pc.in: Added.
5218 * gio-standalone.pc.in: Removed.
5221 Renamed pkg-config file to match glib (for future move)
5222 Update to the new include dir
5225 Add more TODO comments
5227 2007-09-28 Alexander Larsson <alexl@redhat.com>
5229 * gio/gdesktopappinfo.[ch]:
5230 Expose new_from_filename
5231 Add getter for is_hidden and handle it better
5233 2007-09-28 Alexander Larsson <alexl@redhat.com>
5235 * gio/gfileinfo.[ch]:
5236 Rename g_file_size_format_for_display to
5237 g_format_file_size_for_display.
5238 Now it doesn't have the g_file prefix, so we
5239 can later move it to glib.
5241 2007-09-28 Alexander Larsson <alexl@redhat.com>
5243 * gio/gappinfo.[ch]:
5244 Add g_app_info_get_id and g_app_info_get_executable.
5245 Make all getters non-reffing
5246 Make g_app_info_launch take GFile arguments.
5247 Add must_support_uris argument to g_app_info_get_default_for_type.
5249 * gio/gwin32appinfo.c:
5250 Update to GAppInfo api changes
5252 * gio/gdesktopappinfo.c:
5253 Update to GAppInfo api changes
5254 Implement supports_xdg_startup_notify
5256 * gio/gfileicon.c (g_file_icon_get_file):
5257 Make getter non-reffing.
5262 2007-09-27 Alexander Larsson <alexl@redhat.com>
5264 * gio/gfileinfo.[ch]:
5265 Add g_file_size_format_for_display helper
5267 2007-09-27 Alexander Larsson <alexl@redhat.com>
5269 * gio/glocalfileinfo.c:
5270 Set UNIX_GID from gid, not from uid
5272 2007-09-27 Alexander Larsson <alexl@redhat.com>
5275 Add g_file_set_attributes_async
5277 2007-09-27 Alexander Larsson <alexl@redhat.com>
5279 * gio/glocalfile.c (g_local_file_set_display_name):
5280 Fix set_display_name to actually rename to the right place.
5281 Use lstat to look for existing files so we don't overwrite
5284 2007-09-26 Alexander Larsson <alexl@redhat.com>
5287 Add g_file_set_display_name_async()
5289 2007-09-26 Alexander Larsson <alexl@redhat.com>
5292 Add load_partial_contents async calls
5295 Make internal function static
5297 2007-09-26 Alexander Larsson <alexl@redhat.com>
5299 * gio/glocalfileinfo.c:
5300 Correctly detect broken symlinks
5302 2007-09-26 Alexander Larsson <alexl@redhat.com>
5304 * gio/gcancellable.c (g_cancellable_cancel):
5305 Allow cancel on NULL cancellable
5307 2007-09-25 Alexander Larsson <alexl@redhat.com>
5309 * gio/gsimpleasyncresult.c:
5310 Don't allocate g_error manually.
5311 Fixes g_slice/g_new mixup crash
5313 2007-09-25 Alexander Larsson <alexl@redhat.com>
5315 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5316 Actually set active_backend.
5317 This means the monitor will be cancelled correctly.
5319 2007-09-25 Alexander Larsson <alexl@redhat.com>
5321 * gio/gdirectorymonitor.c:
5322 Set timeout to NULL when destroying
5324 2007-09-25 Alexander Larsson <alexl@redhat.com>
5327 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5328 that is a better description of the error.
5330 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5332 * gio/gvfs.c: (g_vfs_get_local):
5333 Make the local vfs variable static. The same instance should
5336 2007-09-24 Alexander Larsson <alexl@redhat.com>
5338 * gio/glocalfileinfo.c:
5339 Pass in actual length read into sniffer, not the length
5342 2007-09-21 Alexander Larsson <alexl@redhat.com>
5344 * gio/gfileenumerator.c:
5347 * gio/gfileinputstream.c:
5348 * gio/gfileoutputstream.c:
5349 * gio/ginputstream.c:
5350 * gio/goutputstream.c:
5351 Don't crash if async callbacks are NULL
5353 2007-09-20 Alexander Larsson <alexl@redhat.com>
5356 Add async enumerate_children method and default
5359 2007-09-20 Alexander Larsson <alexl@redhat.com>
5362 Add g_file_contains_file & g_file_get_relative_path, since they
5363 were needed for nautilus.
5364 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5369 Implement new methods
5371 2007-09-17 Alexander Larsson <alexl@redhat.com>
5374 * gio/gfileinputstream.[ch]:
5375 * gio/gfileoutputstream.[ch]:
5377 * gio/glocalfileenumerator.[ch]:
5378 * gio/glocalfileinfo.[ch]:
5379 * gio/glocalfileinputstream.c:
5380 * gio/glocalfileoutputstream.c:
5381 * gio/gpollfilemonitor.c:
5382 * programs/gio-copy.c:
5383 * programs/gio-info.c:
5384 * programs/gio-move.c:
5385 Rename get_file_info to query_info() to make it clearer
5386 that these are not simple getters, but do i/o.
5388 2007-09-17 Alexander Larsson <alexl@redhat.com>
5390 * gio/gdatainputstream.[ch]:
5391 * gio/test-streams.c:
5392 Use _read_XXX instead of _get_XXX for the i/o calls
5395 2007-09-17 Alexander Larsson <alexl@redhat.com>
5398 Added needed stuff to TODO comment
5400 2007-09-17 Alexander Larsson <alexl@redhat.com>
5402 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5403 Don't error out removing the backup copy if it doesn't
5406 2007-09-14 Alexander Larsson <alexl@redhat.com>
5408 * programs/Makefile.am:
5409 * programs/gvfs-*.c:
5411 Renamed apps from gvfs-xxx to gio-xxx.
5413 2007-09-14 Alexander Larsson <alexl@redhat.com>
5416 * gio/gfileoutputstream.[ch]:
5417 * gio/glocalfileoutputstream.c:
5418 * programs/gvfs-save.c:
5419 g_file_output_stream_get_etag doesn't do i/o, so remove
5420 cancellation and error.
5422 2007-09-14 Alexander Larsson <alexl@redhat.com>
5425 Add new_etag output to replace_contents functions
5427 2007-09-14 Alexander Larsson <alexl@redhat.com>
5429 * gio/gfileoutputstream.[ch]:
5430 Add async get_file_info and default implementation
5432 2007-09-14 Alexander Larsson <alexl@redhat.com>
5434 * gio/gfileinputstream.c:
5435 Implement fallback wrapper for async get_file_info
5437 2007-09-14 Alexander Larsson <alexl@redhat.com>
5440 Add etag out argument to load_contents
5445 2007-09-14 Alexander Larsson <alexl@redhat.com>
5447 * gio/gcontenttype.c (looks_like_text):
5448 Whitespace like tab, cr and lf do not make the
5451 2007-09-14 Alexander Larsson <alexl@redhat.com>
5453 * gio/gfileinputstream.[ch]:
5454 Add async get_file_info.
5456 2007-09-13 Alexander Larsson <alexl@redhat.com>
5458 * gio/goutputstream.c (g_output_stream_write_all):
5459 Allow NULL for bytes_written
5461 2007-09-13 Alexander Larsson <alexl@redhat.com>
5463 * gio/gmemoryinputstream.[ch]:
5464 Add accessors for data
5466 2007-09-13 Alexander Larsson <alexl@redhat.com>
5468 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5469 Don't crash if length is NULL