1 2009-01-20 Ryan Lortie <desrt@desrt.ca>
3 Bug 568394 – dropping the last reference to a stream filter closes the
6 * gfilterinputstream.h:
7 * gfilterinputstream.c: add "close-base-stream" property and only
8 close the base stream if it is true. issue async close callbacks from
10 * gfilteroutputstream.h:
11 * gfilteroutputstream.c: add a "close-base-stream" property and only
12 close the base stream if it is true. issue async close callbacks from
13 correct source object.
14 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
15 before closing the base stream. fix invalid source tag comparison in
16 close_async (was comparing to flush_async).
17 * ../docs/reference/gio/gio-sections.txt:
19 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
20 * tests/filter-streams.c: new test cases
21 * tests/Makefile.am: add new test
22 * tests/.gitignore: add new test
24 2009-01-19 Matthias Clasen <mclasen@redhat.com>
26 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
28 2009-01-19 Matthias Clasen <mclasen@redhat.com>
30 * === Released 2.19.5 ===
32 2009-01-19 Matthias Clasen <mclasen@redhat.com>
34 * gappinfo.h: Document get_commandline vfunc
36 2009-01-19 Matthias Clasen <mclasen@redhat.com>
38 * gunixmounts.c: Some stylistic fixes.
40 2009-01-08 Matthias Clasen <mclasen@redhat.com>
42 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
43 functions in non-UTF8 locale
45 * xdgmime/xdgmimecache.c:
46 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
48 2009-01-08 Matthias Clasen <mclasen@redhat.com>
50 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
52 2009-01-07 Matthias Clasen <mclasen@redhat.com>
54 Bug 566770 – error code 0 for Too many open files is useless
56 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
57 Requested by Olivier Sessink.
59 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
61 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
62 G_IO_ERROR_TOO_MANY_OPEN_FILES.
64 2009-01-05 Matthias Clasen <mclasen@redhat.com>
66 * === Released 2.19.4 ===
68 2009-01-05 Dan Winship <danw@gnome.org>
70 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
71 "const char **" to avoid a warning.
73 * gemblem.c (g_emblem_from_tokens):
74 * gemblemedicon.c (g_emblemed_icon_from_tokens):
75 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
78 2009-01-05 Matthias Clasen <mclasen@redhat.com>
80 Bug 566064 – Add NOATIME flag to query_info_flags
82 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
83 sniffing for mime types. Based on a patch by A. Walton
85 2009-01-05 Ryan Lortie <desrt@desrt.ca>
87 * tests/.gitignore: improve
88 * tests/Makefile.am: add new simple-async-result test
89 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
91 2009-01-05 Ryan Lortie <desrt@desrt.ca>
94 * ../docs/reference/gio/gio-sections.txt:
95 * gsimpleasyncresult.h:
96 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
97 Implementation by Dan Winship. Closes #566170.
99 2008-12-31 Matthias Clasen <mclasen@redhat.com>
103 * gunixinputstream.c:
104 * gunixoutputstream.c: Add a note about being UNIX-specific.
106 2008-12-15 Matthias Clasen <mclasen@redhat.com>
108 * === Released 2.19.3 ===
110 2008-12-12 Dan Winship <danw@gnome.org>
112 * pltcheck.sh: make this work on x86_64
114 2008-12-12 Ryan Lortie <desrt@desrt.ca>
116 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
119 2008-12-12 Ryan Lortie <desrt@desrt.ca>
121 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
122 multiple mount entries match the requested path
124 2008-12-10 Alexander Larsson <alexl@redhat.com>
126 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
127 g_simple_async_result_run_in_thread
129 * gsimpleasyncresult.c:
130 Make g_simple_async_result_run_in_thread check cancellation before
131 calling out to the user in the callback. This means we guarantee
132 reporting cancels of async operations from the main threads, which
133 is probably more in line with what users expect.
135 Note that there are still no such guarantees for cancelling sync
136 operations or cancelling async operation from outside the main
137 thread. Furthermore, the exact behaviour of async implementations
138 not using run_in_thread may differ.
140 2008-12-09 Alexander Larsson <alexl@redhat.com>
142 Bug 515777 - incorrect date&time on copy
145 (g_local_file_class_init):
146 Copy mtime by default
149 Change docs about G_FILE_COPY_ALL_METADATA to not mention
152 2008-12-08 Matthias Clasen <mclasen@redhat.com>
154 Bug 558298 – Hide ecryptfs mounts
156 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
157 so that the desktop does not show both the mount and the target
158 directory. Patch by Martin Pitt
160 2008-12-08 Matthias Clasen <mclasen@redhat.com>
162 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
166 * gunixinputstream.[hc]:
167 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
168 including getters and setters. Patch by Maciej Piechotka
170 2008-12-07 Matthias Clasen <mclasen@redhat.com>
172 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
174 * tests/live-g-file.c: Support compilers that don't understand
175 ISO C varargs macros. Patch by Eric Lamarque
177 2008-12-07 Matthias Clasen <mclasen@redhat.com>
179 Bug 526320 – should not list mounts that the user doesn't have
182 gunixmounts.c: Use g_access() to check accessibility of local devices.
185 2008-12-01 Matthias Clasen <mclasen@redhat.com>
187 * === Released 2.19.2 ===
189 2008-12-01 Matthias Clasen <mclasen@redhat.com>
191 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
192 behaviour change, and update the docs instead, to avoid breaking
195 2008-12-01 Matthias Clasen <mclasen@redhat.com>
197 * === Released 2.19.1 ===
199 2008-12-01 Alexander Larsson <alexl@redhat.com>
203 * gunionvolumemonitor.c:
205 Add and document g_mount_is_shadowed plus calls
206 to set/unset a mount as shadowed
208 2008-11-28 Matthias Clasen <mclasen@redhat.com>
210 * gio/tests/g-icon.c: Comment out two failing tests
212 2008-11-28 Matthias Clasen <mclasen@redhat.com>
214 Bug 555486 – No way to recover command line from GAppInfo
217 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
218 by Hans Petter Jansson.
220 * gdesktopappinfo.c: And implement it here.
222 2008-11-28 Christian Dywan <christian@imendio.com>
224 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
226 2008-11-28 Matthias Clasen <mclasen@redhat.com>
228 Bug 559633 – gtk_image_new_from_gicon does not always work for
231 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
232 extensions on icon names. Proposed by Axel von Bertoldi.
234 2008-11-28 Matthias Clasen <mclasen@redhat.com>
236 Bug 548163 – Nautilus displays wrong error message for too long file
239 * glocalfile.c (g_local_file_set_display_name): Correctly set
240 error conditions if the new name is e.g. too long. Reported
241 by Leonardo Ferreira Fontenelle.
243 2008-11-28 Matthias Clasen <mclasen@redhat.com>
245 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
248 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
249 documented and include the line end in the returned string.
250 Pointed out by Paul Pogonyshev.
252 * tests/data-input-stream.c: Fix the read_line test to test the
253 documented behaviour.
255 2008-11-28 Matthias Clasen <mclasen@redhat.com>
257 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
258 files that have been created by g_app_info_create_from_commandline.
260 2008-11-28 Matthias Clasen <mclasen@redhat.com>
262 Bug 541715 – win32 : patch for warnings and signature problems in
265 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
268 2008-11-28 Matthias Clasen <mclasen@redhat.com>
270 Bug 562393 – g_buffered_input_stream_read_byte broken if data
273 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
274 handling of buffered content. Patch by Philip Withnall
276 * tests/buffered-input-stream.c: Add a testcase for this bug.
277 * tests/Makefile.am: And build it
279 2008-11-28 Matthias Clasen <mclasen@redhat.com>
281 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
284 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
285 '/' away. Spotted by Dan Williams.
287 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
289 Bug 561375 – Leaks mountpoint description
291 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
294 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
296 Bug 561352 – Leak of icon description
298 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
301 2008-11-14 Matthias Clasen <mclasen@redhat.com>
303 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
305 2008-11-12 Tor Lillqvist <tml@novell.com>
307 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
309 * win32/gwinhttpvfs.h: Move the set of function pointers to
310 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
311 pointer to that in the GWinHttpVfsClass.
313 * win32/gwinhttpvfs.c: Move the lookup of functions from
314 winhttp.dll into a function of its own, that stores the pointers
315 in a separate GWinHttpDllFuncs variable. Add two bookeeping
316 booleans lookup_done and funcs_found.
318 Don't call g_io_extension_point_implement() to register the
319 winhttp extension unless winhttp.dll has been successfully loaded
320 and the required functions found in it.
322 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
323 winhttp.dll correspondingly.
325 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
327 reviewed by: Alexander Larsson <alexl@redhat.com>
329 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
330 clearer about the behavior when there's no more content to read.
332 2008-10-27 Federico Mena Quintero <federico@novell.com>
334 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
336 2008-10-27 Tor Lillqvist <tml@novell.com>
338 Bug 557592 - Missing include in gwinhttpfile.c
340 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
343 2008-10-24 Matthias Clasen <mclasen@redhat.com>
345 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
347 * fam/fam-helper.c: Fix a memory leak and formatting issues.
348 Reported by Daniel Marjamäki
350 2008-10-23 Matthias Clasen <mclasen@redhat.com>
352 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
354 2008-10-23 Alexander Larsson <alexl@redhat.com>
356 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
359 (_g_local_file_info_get):
360 Don't return the fallback icon (text-x-generic) for all files.
361 This is causing problems with theme icon lookup and custom mime
362 icons, as the generic fallback overrides custom mime icons in
365 This is a slight change as applications might not get an icon wher
366 they previously did. But there is no guarantee to get on neither before
367 or after this change, so it should not break applications. Changes
368 to nautilus and gtk+ will be done to manually use the generic fallback
369 icon if no icon is found, but this is only required for rare cases.
371 2008-10-21 Alexander Larsson <alexl@redhat.com>
374 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
376 2008-10-21 Alexander Larsson <alexl@redhat.com>
378 Bug 555740 - gicon serialization
379 Based on patch from David Zeuthen
383 Add g_icon_to_string() and g_icon_new_for_string().
389 Implement icon serialization for built-in icon types
393 Added GIcon serialization test
395 2008-10-16 Matthias Clasen <mclasen@redhat.com>
397 * === Released 2.19.0 ===
399 2008-10-16 Matthias Clasen <mclasen@redhat.com>
401 Bug 556422 – g_file_enumerator_next_file: unclear whether return
402 value needs to be freed
404 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
405 the return value docs. Pointed out by Armin Burgmeier
407 2008-10-14 Matthias Clasen <mclasen@redhat.com>
409 Bug 556334 – Warning when building without selinux support
411 * glocalfileinfo.c: Avoid compiler warnings when selinux is
412 disabled. Patch by Pascal Terjan
414 2008-10-14 Matthias Clasen <mclasen@redhat.com>
416 Bug 556335 – make check fails in abicheck.sh
418 * gio.symbols: Add g_file_attribute_info_list_get_type.
419 Pointed out by Pascal Terjan.
421 2008-10-13 Alexander Larsson <alexl@redhat.com>
424 When adding an application as handling a mime type (but
425 not as the default), copy the full list of desktop ids handling
426 that type in before adding the new one on the end of the list.
427 This means we're not accidentally changing the default by overriding
428 the info from the later directories in the search path.
430 Also, fixes small leak of removed_entries.
432 2008-10-12 David Zeuthen <davidz@redhat.com>
435 * gunionvolumemonitor.c:
437 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
439 2008-10-10 Alexander Larsson <alexl@redhat.com>
441 * gfileattribute.c (escape_byte_string):
442 Upper half of byte is >> 4, not >> 8.
443 Found by Kjartan Maraas via sparse
445 2008-10-10 Matthias Clasen <mclasen@redhat.com>
447 Bug 555711 – Wrong fallback order of mimetype icons
449 * gcontenttype.c: Don't prefer generic icons over
450 default mimetype icons.
452 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
453 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
455 Patch by Krysztof Kosiński
457 2008-10-10 Matthias Clasen <mclasen@redhat.com>
459 Bug 555121 – Improved build-time handling of gio module-dir
461 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
462 * Makefile.am: Create the module dir.
464 2008-10-10 Matthias Clasen <mclasen@redhat.com>
466 * gio/glocalfileinfo.c:
467 * gio/tests/live-g-file.c:
468 * gio/gsimpleasyncresult.c: Fix gcc warnings.
470 2008-10-09 Alexander Larsson <alexl@redhat.com>
472 * gunixinputstream.c (g_unix_input_stream_read):
473 Actually return -1 in case of cancelled, not old res value.
475 2008-10-06 Colin Walters <walters@verbum.org>
477 Bug 554745 - GFileAttributeInfoList should be boxed
479 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
480 for convenience of bindings.
481 * gio/gfileattribute.h: Prototype it.
483 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
485 Bug 554970 – segfault when update-desktop-database is not available
488 * gdesktopappinfo.c (run_update_command): Have the error set before
491 2008-10-01 David Zeuthen <davidz@redhat.com>
493 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
494 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
495 instead of the gio URI (such as sftp://foo/file.avi) when using
496 g_app_info_launch() and friends. With a sufficiently recent gvfs,
497 apps using gio+gvfs will map the FUSE file:// URI back to the gio
498 URI (and thus bypass the fuse daemon) thanks the patch from bug
499 #530654. Since Nautilus is an user of g_app_info_launch() it
500 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
501 when launced via the file manager. Win. Fixes bug #528670.
503 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
504 mapping to the description of GAppInfo.
506 2008-09-30 Tor Lillqvist <tml@novell.com>
508 * tests/Makefile.am: Build desktop-app-info only on Unix.
510 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
511 g_critical(). Pass a large enough result buffer to
512 GetVolumePathNameW(). Just use MAX_PATH.
514 2008-09-29 David Zeuthen <davidz@redhat.com>
516 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
518 2008-09-26 Dan Winship <danw@gnome.org>
520 * tests/data-input-stream.c:
521 * tests/data-output-stream.c:
522 * tests/live-g-file.c:
523 * tests/memory-input-stream.c:
524 * tests/memory-output-stream.c: Use g_assert_error() and
527 2008-09-26 Matthias Clasen <mclasen@redhat.com>
529 Bug 545350 – GAppInfo deletion
530 Bug 545351 – Reset associations for content type
533 * gappinfo.[hc]: New functions g_app_info_can_delete,
534 g_app_info_delete and g_app_info_reset_type_associations.
537 * gwin32appinfo.c: Implementations of these.
540 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
542 2008-09-26 Dan Winship <danw@gnome.org>
544 Bug 505361 – gunixinputstream.c assumes poll() available
545 Bug 509446 – portable blocking gio cancellation
547 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
548 GPollFD for a cancellable (which is slightly more complicated on
551 * gunixinputstream.c (g_unix_input_stream_read):
552 * gunixoutputstream.c (g_unix_output_stream_write): Use
553 g_cancellable_make_pollfd() and g_poll() rather than using poll()
556 * tests/unix-streams.c: test of GUnixInputStream,
557 GUnixOutputStream, and GCancellable.
559 2008-09-26 Dan Winship <danw@gnome.org>
561 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
562 cast to stop a gcc warning
564 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
567 2008-09-25 Dan Winship <danw@gnome.org>
569 Bug 553426 - cancellable clarifications
571 * gcancellable.c (g_cancellable_class_init): Add a note to the
572 "cancelled" signal docs warning about thread-safety issues
573 (g_cancellable_cancel): Note that cancelling an asynchronous
574 operation takes effect asynchronously, not immediately.
576 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
578 * gioenums.h: Add new GFileCopyFlag, to leave target file with
579 default perms, instead of setting the source file perms, in a copy
582 * gfile.c (g_file_copy_attributes)
583 (build_attribute_list_for_copy)
584 (should_copy): Not copy "unix::mode" attribute if we have received
585 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
587 2008-09-20 Matthias Clasen <mclasen@redhat.com>
589 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
591 2008-09-17 Matthias Clasen <mclasen@redhat.com>
593 * === Released 2.18.1 ===
595 2008-09-16 Michael Natterer <mitch@imendio.com>
597 * gcontenttype.c (g_content_type_guess): can't assign the return
598 value of g_strdupv() to an array. Fill the array manually with
599 const strings instead (it is never freed anyway). Fixes the
600 build. Also fixed indentation.
602 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
604 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
605 Fix trivial typo to unbreak the build (there was a colon
606 instead of a semicolon at the end of a statement).
608 2008-09-15 Matthias Clasen <mclasen@redhat.com>
610 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
613 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
616 2008-09-15 Matthias Clasen <mclasen@redhat.com>
618 Bug 551681 – g_content_type_guess() too naive with filenames
620 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
621 at the end of the filename, and declare it a directory.
622 Patch by Bastien Nocera
624 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
626 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
629 * gdesktopappinfo.c: add a note in the docs clarifying what the
630 "filename" parameter really is.
632 2008-09-12 Tor Lillqvist <tml@novell.com>
634 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
635 FormatMessage() etc here. Call g_win32_error_message() instead
636 which already does all that. Besides, the code was broken as it
637 called the default "A" version of FormatMessage() but still
638 thought it produced a wide string.
640 2008-09-12 Michael Natterer <mitch@imendio.com>
642 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
643 in the documentation.
645 2008-09-08 Christian Neumair <cneumair@gnome.org>
647 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
648 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
649 Use non-blocking pipe for mount helper I/O. Fixes #550647.
651 2008-09-06 Matthias Clasen <mclasen@redhat.com>
653 Bug 551149 – xdgmime mem leak
655 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
656 a memory leak. Patch by Christian Persch
658 2008-09-04 Tor Lillqvist <tml@novell.com>
660 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
663 2008-09-02 Matthias Clasen <mclasen@redhat.com>
665 * === Released 2.18.0 ===
667 2008-09-02 Michael Natterer <mitch@imendio.com>
669 * *.h: big header formatting cleanup: indentation, vtable
670 formatting, consistent spacing in (* vfunc), trailing whitespace
671 removal. Formatting should be pretty consistent in all GIO headers
674 2008-09-02 Matthias Clasen <mclasen@redhat.com>
676 * gmount.h: Document guess_content_type sync vfunc.
678 2008-09-02 Michael Natterer <mitch@imendio.com>
680 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
681 fix parent_class member to be GFilterOutputStreamClass (not
682 GOutputStreamClass). Drop three pointers of padding, which is
683 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
684 so the class struct size stays the same.
686 2008-09-02 Matthias Clasen <mclasen@redhat.com>
688 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
690 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
691 nonexisting return values. Pointed out by Cosimo Cecchi.
693 2008-08-23 Tor Lillqvist <tml@novell.com>
695 Bug 548988 - g_file_replace fails on Windows when the target file
698 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
699 Windows, close the file before potentially renaming it (in case we
700 have been writing to a file with a temporary name).
702 (g_local_file_output_stream_close, handle_overwrite_open): Use
703 GLocalFileStat instead of plain struct stat, for passing to
704 _g_local_file_info_create_etag(). Thus also use _fstati64()
705 instead of plain fstat() on Windows.
707 2008-08-18 Matthias Clasen <mclasen@redhat.com>
709 * === Released 2.17.7 ===
711 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
713 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
716 2008-08-13 Tor Lillqvist <tml@novell.com>
718 * win32/gwinhttpvfs.c
719 * win32/gwinhttpvfs.h
720 * win32/gwinhttpfile.c
721 * win32/gwinhttpfileinputstream.c
722 * win32/gwinhttpfileoutputstream.c: Refactor some common code
723 snippets into helper functions. Check HTTP response status
724 codes. Implement g_winhttp_file_query_info(), looking at
725 Content-Length, Content-Type and Last-Modified.
727 * win32/winhttp.h: Add some symbolic constants that are not
728 publicly documented. Just a handful, so it should be OK to use
729 information from the Windows SDK's headers.
731 2008-08-13 Tor Lillqvist <tml@novell.com>
733 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
736 * win32/gwin32directorymonitor.c
737 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
739 2008-08-13 Matthias Clasen <mclasen@redhat.com>
742 * goutputstream.c: Add intro docs.
744 2008-08-13 Tor Lillqvist <tml@novell.com>
746 * win32/gwinhttpfileoutputstream.c
747 (g_winhttp_file_output_stream_write): Don't write the
748 Content-Length header ourselves, WinHttpSendRequest() takes care
749 of that when the dwTotalLength parameter is non-zero. Increment
750 offset by the number of actual bytes sent, although I wonder if
751 such a scenario is possible where less than requested would be
752 sent and accepted by the server without errors.
754 2008-08-13 Tor Lillqvist <tml@novell.com>
756 * win32/gwinhttpvfs.c
757 * win32/gwinhttpvfs.h
758 * win32/gwinhttpfile.c
759 * win32/gwinhttpfile.h
760 * win32/gwinhttpfileinputstream.c
761 * win32/gwinhttpfileinputstream.h
762 * win32/gwinhttpfileoutputstream.c
763 * win32/gwinhttpfileoutputstream.h: New files implementing
764 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
765 Windows. The implementation uses the WinHttp API. Both reading and
766 writing are supported, i.e. GET and PUT requests. When writing,
767 each write call is done using a separate PUT request with a
768 Content-Range header. Requests for file URIs and plain pathnames
769 are forwarded to GLocalVfs.
771 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
772 WINE. Used as there is no <winhttp.h> bundled with mingw, and
773 requiring people to download the Windows SDK just for this one
774 header is not reasonable.
776 * win32/Makefile.am: Add above files.
778 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
779 the plumbing for the above.
781 2008-08-11 Sven Neumann <sven@gimp.org>
783 * gfilenamecompleter.c
784 * glocaldirectorymonitor.c
786 * gunionvolumemonitor.c
790 * gunixvolumemonitor.c
793 * gwin32volumemonitor.c: use canonical signal names.
795 2008-08-11 Tor Lillqvist <tml@novell.com>
797 * Makefile.am: Put a list of the platform-dependent .la files in
798 the subdirectories in the platform_deps Make variable, and make
799 libgio-2.0.la depend on that, so that it gets relinked if one of
800 the dependent libraries has changed.
802 2008-08-11 Tor Lillqvist <tml@novell.com>
804 * Makefile.am (platform_libadd): Remove -lwininet which had been
805 added by mistake. We will probably eventually be using WinHTTP,
806 not the older WinInet anyway. (Actually I am working on it.)
808 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
810 Bug 547080 – g_file_copy leaks expected errors
812 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
813 before trying the next fallback routine.
815 2008-08-09 Loïc Minier <lool@dooz.org>
817 Bug 535124 – umask 002 not being applied for new directories, new
818 files get the correct umask
820 * gfile.c (g_file_make_directory)
821 (g_file_make_directory_with_parents): Document ownership and
822 permissions of newly created directories as being the default
825 2008-08-08 Loïc Minier <lool@dooz.org>
827 Bug 535124 – umask 002 not being applied for new directories, new
828 files get the correct umask
830 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
833 2008-08-08 Tor Lillqvist <tml@novell.com>
835 * gwin32mount.c: Remove unused code. Whitespace cleanup.
837 * gwin32volumemonitor.c (get_connected_drives): Put questionable
838 code that didn't actually do anything inside #if 0, and add a
839 comment wondering what the code was supposed to do. This also gets
840 rid of a leftover debugging printout.
842 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
844 * gfileicon.c (g_file_icon_get_property)
845 (g_file_icon_set_property): New functions.
846 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
848 (g_file_icon_new): Use the property (bug #546132).
850 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
852 * gthemedicon.c (g_themed_icon_get_property): Also handle
853 `PROP_USE_DEFAULT_FALLBACKS'.
854 (g_themed_icon_class_init): Make
855 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
857 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
859 Bug 546371 – Improve docs re g_file_monitor
861 * gfilemonitor.c: Mention g_file_monitor() in the docs.
863 2008-08-04 Matthias Clasen <mclasen@redhat.com>
865 * === Released 2.17.6 ===
867 2008-08-04 Matthias Clasen <mclasen@redhat.com>
869 * === Released 2.17.5 ===
871 2008-08-04 Matthias Clasen <mclasen@redhat.com>
873 Bug 546017 – Don't copy attributes when copying a symlink
875 * gfile.c (g_file_copy_attributes): Specify
876 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
877 g_file_set_attributes_from_info. Patch by Christian Kellner
879 2008-08-04 Matthias Clasen <mclasen@redhat.com>
881 * gemblemedicon.[hc]:
883 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
884 a bit more extensible. Work by Clemens Buss.
886 * gioenums.h: Add GEmblemOrigin.
889 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
891 Bug 546079 – leak in xdgmime
893 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
895 2008-08-03 Tor Lillqvist <tml@novell.com>
897 * win32/gwin32directorymonitor.h
898 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
901 2008-08-03 Tor Lillqvist <tml@novell.com>
903 * win32/gwin32directorymonitor.c
904 (g_win32_directory_monitor_callback): Make prototype match
905 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
906 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
909 (g_win32_directory_monitor_constructor):
910 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
911 names in the GLib API on Windows, so convert to UTF-16 and open
914 2008-08-03 Tor Lillqvist <tml@novell.com>
916 Bug 541036 - Gnumeric crashes when trying to open Desktop or
917 user's folder under Windows
919 * win32/gwin32directorymonitor.c
920 (g_win32_directory_monitor_constructor): Ignore error from
921 CreateFile() when opening directory. Instead of asserting, just
922 store INVALID_HANDLE_VALUE then in
923 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
924 ReadDirectoryChangesW().
925 (g_win32_directory_monitor_cancel): Don't attempt to close
926 directory handle if it is INVALID_HANDLE_VALUE.
928 2008-08-01 Matthias Clasen <mclasen@redhat.com>
930 * gdesktopappinfo.c: Remove debug spew
932 2008-08-01 Hans Breuer <hans@breuer.org>
934 * makefile.msc : add gemblembedicon
936 2008-07-30 Matthias Clasen <mclasen@redhat.com>
938 Bug 545457 – gdmsetup crashed with SIGSEGV in
939 g_unix_mount_guess_should_display()
941 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
942 crash if no mount is found.
944 2008-07-28 Matthias Clasen <mclasen@redhat.com>
946 Bug 545203 – gfile.c: argument is different type.
948 * gfile.c (open_read_async_thread): Pass a GError **
949 to g_file_set_error_literal.
950 Reported by Kazuki Iwamoto
952 2008-07-28 Matthias Clasen <mclasen@redhat.com>
954 Bug 545157 – wrong/no list of "open with" applications for .cc and
957 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
958 Collect all ancestors, not just direct parents. Pointed
959 out by Bastien Nocera
961 2008-07-28 Matthias Clasen <mclasen@redhat.com>
963 * Makefile.am: Install gemblemedicon.h
965 2008-07-28 Matthias Clasen <mclasen@redhat.com>
967 * gemblemedicon.[hc]: Add a GIcon implementation that can
968 add an emblem to another icon.
975 * gfileicon.c: Small documentation additions.
977 2008-07-28 Tor Lillqvist <tml@novell.com>
979 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
982 2008-07-27 Tor Lillqvist <tml@novell.com>
984 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
986 2008-07-24 David Zeuthen <davidz@redhat.com>
990 Also export a g_mount_guess_content_type_sync() function.
992 2008-07-23 Matthias Clasen <mclasen@redhat.com>
994 529694 – SELinux context setting support
996 * gfileinfo.c: Support setting selinux attributes.
997 Patch by Tomas Bzatek
999 2008-07-22 Priit Laes <plaes@plaes.org>
1001 Bug 544140 - fam-helper 64-bit issue?
1003 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1005 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1007 * === Released 2.17.4 ===
1009 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1011 * gvolumemonitor.[hc]:
1012 * gmountoperation.c:
1016 * gmount.c: Documentation fixes
1018 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1020 543504 – crash in Epiphany Web Browser: Opening local file
1024 * gdesktopappinfo.c:
1031 * gvolume.c: Register types thread-safely.
1032 Patch by Christian Persch
1034 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1036 * gcontenttype.c: Remove debug spew
1038 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1040 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1043 * fen/fen-kernel.c: Remove a warning that was causing
1044 crashes. Reported by Lin Ma.
1046 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1048 Bug 543040 – async reading on dummy file will crash on
1051 * gfile.c (open_read_async_thread): Cope with read_fn being
1052 NULL. Reported by Lin Ma.
1054 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1057 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1059 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1062 * gdesktopappinfo.h:
1063 * giomodule.c: Rename a chapter id to avoid filename conflict.
1065 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1067 Bug 540616 – mem leak in filechooser button
1069 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1070 the mount entry. Reported by Chrisitan Persch
1072 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1074 * gfile.c: Small documentation fixes.
1076 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1078 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1080 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1085 * gmount.c: Documentation improvements.
1087 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1090 * gmount.[hc]: Add g_mount_guess_content_type().
1092 2008-07-06 David Zeuthen <davidz@redhat.com>
1095 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1096 is needed for easily handling adoption of foreign volumes by
1097 out-of-process volume monitors (#541793)
1099 2008-07-06 David Zeuthen <davidz@redhat.com>
1101 * gvolumemonitor.[ch]:
1102 * gunionvolumemonitor.c: Export the eject-button signal on the
1103 volume monitor class (#541794).
1105 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1107 * gappinfo.c: More doc tweaks
1109 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1111 * gappinfo.c: Clarify some docs
1113 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1115 * gdesktopappinfo.c: Fix a stupid mistake.
1117 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1119 * === Released 2.17.3 ===
1121 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1123 * gfilemonitor.c: Fix the build.
1125 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1127 Bug 536160 – Add g_file_monitor()
1130 * gfile.[hc]: Add g_file_monitor which can return either
1131 a file or a directory monitor. Proposed by Behdad Esfahbod
1133 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1135 536733 – gio build failure on Irix
1137 * glocalfile.c: Use a configure check for structfs.f_bavail.
1139 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1141 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1144 * gdesktopappinfo.[hc]: Add a function to create a
1145 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1147 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1149 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1151 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1153 * gunixmounts.c: Fix a doc typo.
1155 2008-07-01 Cody Russell <bratsche@gnome.org>
1157 * gio/gcontenttype.c:
1158 * gio/gwin32appinfo.c:
1159 * gio/gwin32volumemonitor.c:
1160 * gio/gwin32mount.c: Fixed some include problems.
1162 2008-07-01 Cody Russell <bratsche@gnome.org>
1166 Moved all relevant typedefs into these files.
1169 Updated wrt added files.
1171 Split types into separate file for easier maintainership. (#538564)
1173 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1175 Bug 540331 – g_file_append_to () documentation: can return NULL
1177 * gfile.c (g_file_append_to): Clarify docs.
1178 Patch by Jared Moore
1180 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1182 Bug 539090 – g_content_type_from_mime_type() should unalias
1184 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1185 Patch by Markus Bergman
1187 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1189 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1190 g_atomic_pointer_get
1192 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1193 on ppc and alpha. Reported by Mart Raudsepp
1195 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1197 * tests/Makefile.am:
1198 * tests/memory-output-stream.c: Add some tests for
1199 GMemoryOutputStream.
1201 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1203 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1206 * gmemoryoutputstream.c (array_resize): Handle truncation to
1207 zero correctly. Reported by Akira Tagoh
1209 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1211 * gmemoryoutputstream.c: Trivial doc fixes
1213 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1215 Bug 540802 – g_list_prepend doesn't concat lists
1217 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1218 one list to another. Pointed out by Jan Arne Petersen
1220 2008-06-28 Michael Natterer <mitch@imendio.com>
1222 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1224 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1226 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1227 to avoid problems with partial icon themes.
1229 2008-06-17 Hans Breuer <hans@breuer.org>
1231 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1232 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1233 access again on win32, see bug #538127
1234 * giomodule.c : ensure GWin32VolumeMonitor is registered
1235 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1236 * Makefile.am makefile.msc : updated
1238 2008-06-16 Hans Breuer <hans@breuer.org>
1240 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1241 and initialization in one step avoids c99ism
1243 2008-06-16 Christian Persch <chpe@gnome.org>
1246 * gio/gbufferedinputstream.c
1247 * gio/gcancellable.c
1248 * gio/gdatainputstream.c
1249 * gio/gdesktopappinfo.c
1251 * gio/gfileenumerator.c
1252 * gio/gfileinputstream.c
1253 * gio/gfileoutputstream.c
1254 * gio/ginputstream.c
1255 * gio/glocaldirectorymonitor.c
1257 * gio/glocalfileenumerator.c
1258 * gio/glocalfileinfo.c
1259 * gio/glocalfilemonitor.c
1260 * gio/glocalfileoutputstream.c
1261 * gio/gmemoryinputstream.c
1262 * gio/gmemoryoutputstream.c
1263 * gio/goutputstream.c
1264 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1267 2008-06-16 Tor Lillqvist <tml@novell.com>
1269 Bug 538362 - Get Win32 icons back in the file chooser
1271 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1272 corresponding to a file extension in the Registry. Patch by Hans
1274 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1276 2008-06-16 Tor Lillqvist <tml@novell.com>
1278 Patches by Hans Breuer:
1280 * glocalfile.c (is_xp_or_later): Handle compiling against older
1281 SDK headers with missing VerifyVersionInfo(). Conditioned on
1282 _MSC_VER, but should probably use some better test.
1283 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1284 uninitialised statfs_result variable on Win32.
1286 2008-06-16 Michael Natterer <mitch@imendio.com>
1288 * *.c: chain up unconditionally in finalize() and dispose(). Also
1289 don't dereference these function pointers when calling them since
1290 that has no meaning at all.
1292 2008-06-16 Ross Burton <ross@burtonini.com>
1294 * gfileenumerator.c:
1295 Remove check for dispose implementation as it annoys Emmanuele.
1297 2008-06-16 Ross Burton <ross@burtonini.com>
1299 Bug 536252 – GFileEnumerator should allow access to the containing
1302 * gfileenumerator.c:
1303 * gfileenumerator.h:
1305 Add g_file_enumerator_get_container() and a container writeable
1306 construct-only property. Also shuffle around typedefs to make it
1309 * glocalfileenumerator.c:
1310 * glocalfileenumerator.h:
1312 Instead of a string filename take a GFile in the constructor and
1313 use it to set the container property.
1316 Update with new API.
1318 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1320 * gfile.c: Make includes more uniform
1322 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1324 * tests/live-g-file.c (sample_struct):
1325 Use less fancy unicode filenames, so the test doesn't fail
1326 on Mac OS X (#531476).
1328 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1330 * === Released 2.17.2 ===
1332 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1334 * === Released 2.17.1 ===
1336 2008-06-11 A. Walton <awalton@gnome.org>
1338 * tests/g-file.c (test_g_file_new_null):
1339 Fix broken test case.
1341 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1343 * pltcheck.sh: We use g_clear_error now.
1345 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1347 * glocalfile.c (g_local_file_enumerate_children): Revert
1348 an unintended change.
1350 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1352 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1354 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1356 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1359 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1360 as icon for the desktop directory, also make user-home and
1361 user-desktop the preferred icons.
1363 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1366 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1367 to add a name to the front of the list.
1369 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1371 Bug 537392 – Additional colon in xattr name
1373 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1374 too. Reported by Alessandro Morandi
1376 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1378 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1381 * glocalfile.c (get_fs_type): Add afs and autofs.
1382 Patch by Danny Baumann.
1384 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1386 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1388 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1389 is no parent. (Owen Taylor, patch by Christian Neumair)
1391 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1393 * gfile.c (g_file_replace_contents): do not leak the output stream.
1395 2008-06-10 Michael Natterer <mitch@imendio.com>
1397 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1398 uninitialized memory as array index.
1400 2008-06-10 Tor Lillqvist <tml@novell.com>
1402 * gcontenttype.c (g_content_type_can_be_executable)
1403 (g_content_type_get_icon) [Win32]: Add TODO comments.
1405 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1407 * xdgmime/Makefile.am: Fix the build
1409 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1411 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1412 in the shared mime database, if available.
1414 * xdgmime/*: Sync with upstream. This brings support for
1415 glob weights, generic icons, and changes the cache format to
1418 2008-05-28 Michael Natterer <mitch@imendio.com>
1420 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1421 the global CPPFLAGS now.
1423 * tests/data-input-stream.c
1424 * tests/data-output-stream.c
1425 * tests/g-file-info.c
1427 * tests/live-g-file.c
1428 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1430 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1432 * === Released 2.17.0 ===
1434 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1435 doesn't complain about leftover files.
1437 2008-05-27 simon.zheng <simon.zheng@sun.com>
1439 * glocalfile.c: (g_local_file_query_filesystem_info):
1440 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1442 2008-05-26 Michael Natterer <mitch@imendio.com>
1444 * gmemoryoutputstream.h: declare
1445 g_memory_output_stream_get_data_size().
1447 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1449 * tests/*: Make tests work
1451 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1453 * gio.symbols: Add g_memory_output_stream_get_data_size.
1455 2008-05-25 Ross Burton <ross@burtonini.com>
1458 Fix typo in error message (#534764).
1460 2008-05-25 Ross Burton <ross@burtonini.com>
1463 Fix circular dependency loop for gioenumtypes.h (#534759).
1465 2008-05-19 Hans Breuer <hans@breuer.org>
1467 * Makefile.am : EXTRA_DIST += makefile.msc
1469 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1472 * gcontenttype.c: (g_content_type_from_mime_type):
1473 New function to create a content type from a mime type. (#527175,
1476 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1478 Bug 532965 – Should not return filesystem::free for certain file systems
1480 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1481 free space for ncpfs.
1483 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1485 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1487 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1488 st_dev might be zero.
1490 2008-05-16 Tor Lillqvist <tml@novell.com>
1492 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1493 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1495 2008-05-13 Bastien Nocera <hadess@hadess.net>
1497 * gfile.c (has_valid_scheme): A URI scheme must start with a
1498 letter, even if later more characters are allowed (#532852)
1500 2008-05-05 Michael Natterer <mitch@imendio.com>
1502 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1503 code from being checked in that breaks the build of applications
1504 which use G_DISABLE_SINGLE_INCLUDES.
1506 * makegioalias.pl: make the alias file include "glib.h" instead of
1509 * gio.symbols: whitespace change to force regeneration of the
1510 alias file after above script change.
1512 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1514 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1516 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1518 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1520 2008-04-28 David Zeuthen <davidz@redhat.com>
1522 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1523 displaying mounts in a subdirectory not accessible to the
1526 2008-04-22 Michael Natterer <mitch@imendio.com>
1528 * Makefile.am: fix library versioning (it was 0.0.0).
1530 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1532 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1533 Default disable all loggings.
1534 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1535 (port_fetch_event_cb): Fixed two macro nits.
1537 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1539 * xdgmime/xdgmime.c: Rework the timestamp checking code
1540 to protect against duplicate directories in XDG_DATA_DIRS.
1541 Fixes fd.o bug 12513, reported by Joe Shaw.
1543 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1545 Partically revert the last commit after realizing that
1546 xdg_mime_media_type_equal doesn't have to init at all.
1548 * xdgmime/xdgmime.h:
1549 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1551 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1553 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1555 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1556 reported by Joe Shaw and Federico Mena Quintero.
1558 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1559 (xdg_mime_media_type_equal): Turn into a wrapper around the
1562 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1563 functions throughout.
1565 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1567 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1568 tolerate an empty TryExec= line without failing; nautilus used
1569 to create launchers with these in previous versions. Fixes #528433
1571 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1573 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1574 after name. Fixes #527132.
1576 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1578 * gfile.c: (g_file_replace):
1581 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1583 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1585 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1586 by Christian Kellner.
1588 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1590 * gunixmounts.c: (g_unix_mount_guess_should_display):
1591 Don't list the user directory as a mount, fix potential issue
1592 when other users have a similar naming and don't special case the
1593 gvfs mounts there since that's not required (#525866)
1595 2008-03-31 Alexander Larsson <alexl@redhat.com>
1597 * glocalfile.c (get_parent):
1600 2008-03-31 A. Walton <awalton@svn.gnome.org>
1602 * gfile.c (g_file_query_file_type):
1603 Always return a GFileType enum value (#520715).
1605 2008-03-31 Alexander Larsson <alexl@redhat.com>
1607 * glocalfileenumerator.c:
1608 Read readdir() info in chunks (of 1000) and sort
1609 the chunks by inode before stat:ing.
1610 This is a 20% performance increase in testing
1611 gvfs-ls on /usr/bin with cold cache.
1613 2008-03-31 Alexander Larsson <alexl@redhat.com>
1615 * gmemoryoutputstream.c:
1616 Clarify docs for g_memory_output_stream_get_size.
1617 Add g_memory_output_stream_get_data_size.
1619 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1623 * gfile.h: Add g_file_query_file_type convenience function
1624 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1626 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1628 * gfileenumerator.c:
1629 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1631 2008-03-28 A. Walton <awalton@svn.gnome.org>
1633 * giomodule.c (_g_io_modules_ensure_loaded):
1634 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1637 2008-03-28 Alexander Larsson <alexl@redhat.com>
1640 (copy_stream_with_progress):
1643 2008-03-28 Alexander Larsson <alexl@redhat.com>
1646 (copy_stream_with_progress):
1647 (file_copy_fallback):
1648 Fallback to g_file_query_info for source size
1649 if g_file_input_stream_query_info fails. (#524579)
1651 2008-03-28 Alexander Larsson <alexl@redhat.com>
1653 * glocalfile.c (g_local_file_move):
1654 Reuse old string instead of adding new one.
1656 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1658 * fen/*.[hc]: still copyright issue. I hate copyright.
1660 2008-03-27 Alexander Larsson <alexl@redhat.com>
1662 * glocalfile.c (g_local_file_move):
1663 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1664 file over directory. This is according to the docs and what the move via
1665 copy+remove fallback does.
1667 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1669 * fen/*.[hc]: Updated copyright.
1671 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1673 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1675 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1677 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1678 not emit attribute changed events when optimizing changed events.
1679 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1682 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1684 * gmountoperation.[hc]: Small documentation additions
1686 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1688 * gunixmounts.c: (guess_mount_type):
1689 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1691 2008-03-19 Alexander Larsson <alexl@redhat.com>
1694 (copy_stream_with_progress):
1695 Bump block side for copy to 64k to minimize
1696 overhead for low latency links. (#523015)
1698 2008-03-16 Tor Lillqvist <tml@novell.com>
1700 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1701 depend on gio.def on Windows.
1703 2008-03-12 David Zeuthen <davidz@redhat.com>
1707 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1709 2008-03-14 Alexander Larsson <alexl@redhat.com>
1713 Avoid redudant tests (#521851)
1714 Patch from Josselin Mouette
1716 2008-03-14 Alexander Larsson <alexl@redhat.com>
1719 (g_file_monitor_is_cancelled):
1720 Fix C89 issue (#521672)
1721 Patch from Jens Granseuer
1723 2008-03-14 Alexander Larsson <alexl@redhat.com>
1725 * fam/fam-helper.[ch]:
1727 Shut down fam (including removing fam GSource) when
1728 module is unloaded (#521513)
1729 Patch from Joe Marcus Clarke
1731 2008-03-14 Alexander Larsson <alexl@redhat.com>
1734 (_g_io_modules_ensure_loaded):
1737 2008-03-14 Alexander Larsson <alexl@redhat.com>
1740 (g_local_file_query_filesystem_info):
1741 Use right define name for f_fstypename member check
1743 2008-03-14 Alexander Larsson <alexl@redhat.com>
1746 * fen/Makefile.am: Added.
1747 * fen/fen-data.[ch]: Added.
1748 * fen/fen-dump.[ch]: Added.
1749 * fen/fen-helper.[ch]: Added.
1750 * fen/fen-kernel.[ch]: Added.
1751 * fen/fen-missing.[ch]: Added.
1752 * fen/fen-node.[ch]: Added.
1753 * fen/fen-sub.[ch]: Added.
1754 * fen/gfendirectorymonitor.[ch]: Added.
1755 * fen/gfenfilemonitor.[ch]: Added.
1757 Added Solaris FEN file notification backend.
1758 Patch from Lin Ma <Lin.Ma@Sun.COM>
1760 2008-03-13 Tor Lillqvist <tml@novell.com>
1762 * Makefile.am: Actually use the gio.def file when linking the
1763 library on Windows. Produce .lib library for Microsoft's toolchain
1764 when possible. Install the .lib and .def file like for the other
1767 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1769 * tests/live-g-file.c:
1770 Include live-g-file in standard set of tests, making a temporary
1771 directory in source structure.
1773 Clean target directory before the tests (write mode only)
1775 2008-03-12 Tor Lillqvist <tml@novell.com>
1777 Bug 517419 - gio win32 directory monitor
1778 Implementation by Vlad Grecescu.
1781 * win32/gwin32directorymonitor.h
1782 * win32/gwin32directorymonitor.c: New files.
1784 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1786 * Makefile.am: Add the win32 subdirectory.
1788 2008-03-12 Tor Lillqvist <tml@novell.com>
1790 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1791 normal struct stat on Unix but struct _stati64 on Windows to have
1792 access to 64-bit file size information. Use that instead of struct
1793 stat in the functions declared here in this private header.
1795 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1796 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1797 warnings about unused functions and variables. Don't set
1798 meaningless attributes like inode numbers on Windows.
1800 2008-03-12 Benjamin Otte <otte@gnome.org>
1803 trim whitespace so gtk-doc groks the function name
1805 2008-03-12 Tor Lillqvist <tml@novell.com>
1807 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1808 returning FALSE, on Win32.
1810 2008-03-11 Alexander Larsson <alexl@redhat.com>
1813 * glocalfileinfo.[ch]:
1814 Correctly implement can_trash by actually
1815 looking for a trash dir, not just assuming
1818 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1820 * === Released 2.16.1 ===
1822 2008-03-11 Alexander Larsson <alexl@redhat.com>
1825 Fix crashes in new constructor and properties code
1827 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1829 * gfile.c: Minor spelling correction in documentation:
1830 existance -> existence.
1832 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1834 * === Released 2.16.0 ===
1836 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1838 * gio.symbols: Remove g_file_contains_file here, too.
1840 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1842 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1843 Samuel Cormier-Iijima)
1845 2008-03-08 Tor Lillqvist <tml@novell.com>
1847 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1850 2008-03-07 Alexander Larsson <alexl@redhat.com>
1853 (g_local_file_query_filesystem_info):
1854 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1855 Patch from Jasper Lievisse Adriaanse
1857 2008-03-06 Tor Lillqvist <tml@novell.com>
1859 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1860 comments for the *_USEC attributes.
1862 2008-03-06 Alexander Larsson <alexl@redhat.com>
1864 * gfile.c (g_file_query_exists):
1865 Add g_return_val_if_fail check (#520700)
1867 2008-03-06 Alexander Larsson <alexl@redhat.com>
1869 * gdesktopappinfo.c:
1872 * gunionvolumemonitor.c:
1875 * tests/live-g-file.c:
1876 * xdgmime/xdgmimecache.c:
1877 Fix sparse warnings (#519489)
1879 2008-03-05 Alexander Larsson <alexl@redhat.com>
1882 Make cancellation threadsafe (i.e.
1883 guarantee its only done once, and always
1886 * glocaldirectorymonitor.c:
1887 Make sure we the monitor lives while the
1888 mounts_changed callback is being called (#520484)
1890 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1892 * gbufferedinputstream.c: Fix typo in parameter
1895 2008-03-04 Alexander Larsson <alexl@redhat.com>
1898 Remove deprecated symbols we kept for one release.
1900 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1903 * goutputstream.c: Tiny documentation corrections.
1905 2008-03-03 Alexander Larsson <alexl@redhat.com>
1907 * gunionvolumemonitor.c:
1909 Fix the adopt_orphan_mount vfunc to take a
1910 volume_monitor reference in an ABI compat way.
1911 This change is not API compat, but the added
1912 arg is not used in the only user of this vfunc, so
1913 all we get is a harmless warning in gvfs (#520169)
1915 2008-03-01 Benjamin Otte <otte@gnome.org>
1918 clarify docs for g_file_delete().
1920 2008-02-29 Alexander Larsson <alexl@redhat.com>
1924 Make sure empty files get text/plain type (#518720)
1926 2008-02-27 Alexander Larsson <alexl@redhat.com>
1932 (g_unix_volume_mount):
1933 Add missing GMountMountFlags argument
1935 2008-02-26 Alexander Larsson <alexl@redhat.com>
1938 (g_local_file_delete):
1939 Handle filesystems (like ntfs-3g) that return EEXIST instead
1940 of ENOTEMPTY (#518816)
1942 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1944 * === Released 2.15.6 ===
1946 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1948 * gfile.c (g_file_find_enclosing_mount):
1949 * ginputstream.c (g_input_stream_set_pending):
1950 * glocalfile.c (g_local_file_find_enclosing_mount):
1951 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1952 * goutputstream.c (g_output_stream_set_pending):
1954 Fixup translator comments (#518578).
1956 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1958 * gfile.c (g_file_find_enclosing_mount):
1960 * glocalfile.c (g_local_file_find_enclosing_mount):
1963 Fix a few typos in translator comments and documentation.
1965 2008-02-25 Alexander Larsson <alexl@redhat.com>
1972 Add translator comments (#518578)
1974 2008-02-25 Alexander Larsson <alexl@redhat.com>
1977 Reintroduce g_file_contains_file, keep around for one
1978 unstable release cycle to avoid crashing to many apps.
1979 Make sure to delete after release.
1981 2008-02-25 Alexander Larsson <alexl@redhat.com>
1984 Remove deprecated g_file_contains_file.
1986 2008-02-25 Alexander Larsson <alexl@redhat.com>
1989 Emit actual change signals in an idle handler.
1990 This avoids reentrance and locking problems in
1991 the file notification backends.
1993 2008-02-25 Alexander Larsson <alexl@redhat.com>
1996 (g_unix_mount_guess_should_display):
1997 Remove type guessing, instead just display
1998 mounts in /media and in ~/.
2000 2008-02-25 Alexander Larsson <alexl@redhat.com>
2003 Make new strings reuse old ones.
2005 2008-02-25 Alexander Larsson <alexl@redhat.com>
2008 Implement trashing and filesystem::readonly for win32 (#517235)
2009 Patch from Yevgen Muntyan
2011 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2013 * gfileinfo.h: Documentation fixes.
2015 2008-02-22 Alexander Larsson <alexl@redhat.com>
2017 * gcontenttype.c (g_content_type_get_icon):
2018 Look at old-style gnome mime icon names too, as many
2019 have not moved to the new style.
2021 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2023 * *.c: Correct the @include in for section docs.
2025 2008-02-21 David Zeuthen <davidz@redhat.com>
2027 * glocalfileinfo.c: (_g_local_file_info_get):
2029 (g_content_type_get_icon): Implement this function by
2030 moving bits from glocalfileinfo.c
2031 (g_content_type_get_description): Unalias before getting
2032 description (#517687)
2034 * gfile.c: (g_file_class_init),
2035 (g_file_query_filesystem_info_async),
2036 (g_file_query_filesystem_info_finish),
2037 (query_filesystem_info_data_free),
2038 (query_filesystem_info_async_thread),
2039 (g_file_real_query_filesystem_info_async),
2040 (g_file_real_query_filesystem_info_finish):
2041 * gfile.h: Implement async version of
2042 g_file_query_filesystem_info()
2044 * gfileinfo.h: Add new attributes for filesystem::use-preview
2046 * gio.symbols: Update
2048 * gthemedicon.c: (g_themed_icon_append_name):
2049 * gthemedicon.h: Add new new convenience function.
2051 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2052 (get_mounts), (get_volumes), (get_connected_drives),
2053 (get_volume_for_uuid), (get_mount_for_uuid),
2054 (g_union_volume_monitor_init), (populate_union_monitor),
2055 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2056 (g_volume_monitor_adopt_orphan_mount):
2058 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2059 monitor implementations to call into the main volume monitor. Also
2060 separate object initialization and volume monitor initialization
2061 such that non-native volume monitors can properly adopt their
2064 2008-02-21 Alexander Larsson <alexl@redhat.com>
2069 2008-02-21 Alexander Larsson <alexl@redhat.com>
2072 Add more documentation about how GFiles work (from #517086)
2074 2008-02-21 Alexander Larsson <alexl@redhat.com>
2078 Add new g_file_has_prefix that does the same as g_file_contains_file.
2079 Deprecate g_file_contains_file and add a macro that converts
2080 it to g_file_has_prefix.
2081 The reason for this change is that the contains_file() name seems to
2082 imply that this does more work than what it does, but its really only
2083 a name match (from #517086)
2088 Update to match the above change.
2090 2008-02-20 Benjamin Otte <otte@gnome.org>
2092 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2093 (g_file_eject_mountable):
2094 even more cases of not returning in error path
2096 2008-02-20 Benjamin Otte <otte@gnome.org>
2098 * gfile.c: (g_file_mount_mountable):
2099 return from function in error path.
2101 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2104 Remove trailing coma in GMountMountFlags struct
2106 2008-02-18 Alexander Larsson <alexl@redhat.com>
2110 * glocalfileoutputstream.c:
2111 Use g_unlink/g_rename instead of unlink/rename;
2112 do not pass raw filenames to g_set_error. (#517239)
2113 Patch from Yevgen Muntyan.
2115 2008-02-18 Alexander Larsson <alexl@redhat.com>
2118 * glocalfileoutputstream.c:
2119 Open files with O_BINARY on windows. (#517140)
2121 2008-02-14 Alexander Larsson <alexl@redhat.com>
2123 * glocalfileoutputstream.c:
2124 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2126 2008-02-14 Alexander Larsson <alexl@redhat.com>
2129 Copy permissions with file on copy (#514084)
2130 This is what cp does and makes sure e.g. the
2131 exec permissions are kept.
2132 Its kinda weird in that it keeps the permission bits
2133 the same while the uid and gid are different. However
2134 the new uid is the user so its not a security issue,
2135 and I've heard no complaints about cp on this issue.
2137 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2139 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2141 2008-02-13 Alexander Larsson <alexl@redhat.com>
2143 * inotify/inotify-path.c:
2144 Define IN_ONLYDIR if not in header (#515346)
2146 2008-02-12 Alexander Larsson <alexl@redhat.com>
2148 * tests/live-g-file.c:
2151 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2153 * === Released 2.15.5 ===
2155 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2157 * gio.symbols: Add g_mount_mount_flags_get_type.
2159 2008-02-11 Alexander Larsson <alexl@redhat.com>
2162 (g_file_info_set_attribute_mask):
2163 (g_file_attribute_matcher_matches_id):
2164 Correctly handle NULL GAttributeMatcher meaning
2165 matches nothing. (Fixes #513492)
2167 2008-02-11 Alexander Larsson <alexl@redhat.com>
2172 Added GMountMountFlags enum and added a flags
2173 argument to all mount calls.
2175 This is an API/ABI change for future extensibility,
2176 as I think we will need at least an
2177 inhibit-autorun flag (the panel needs this).
2178 There are no flags defined yet though.
2180 2008-02-11 Alexander Larsson <alexl@redhat.com>
2183 Added new standard::description attribute.
2184 Requested by Vincent, and useful for both
2187 2008-02-11 Alexander Larsson <alexl@redhat.com>
2189 * gdesktopappinfo.c:
2192 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2194 * *.c: Documentation additions
2196 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2198 * gappinfo.h: Formatting cleanup
2199 * gappinfo.c: Fix up docs.
2201 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2203 * gunixmounts.c: Consistently use getmntent_r() and fall
2204 back to getmntent(). (#515492)
2206 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2208 * gbufferedinputstream.c:
2210 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2212 * tests/data-input-stream.c:
2213 * tests/data-output-stream.c: Portability fixes.
2215 2008-02-08 Alexander Larsson <alexl@redhat.com>
2220 Add g_volume_should_automount.
2223 2008-02-07 Tor Lillqvist <tml@novell.com>
2225 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2226 Win32, too Unix-specific.
2228 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2230 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2231 a local plt if the compiler doesn't support what we want. Bug #514702
2233 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2235 reviewed by: <delete if not using a buddy>
2238 * gunixinputstream.c:
2239 * gunixoutputstream.c:
2241 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2243 * tests/Makefile.am:
2244 * tests/live-g-file.c:
2245 * tests/live-g-file.txt:
2246 New GIO testing module working over real data
2248 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2250 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2251 Fallback to rename() if link() is not available
2252 (when no support on target filesystem)
2254 2008-02-06 Michael Natterer <mitch@imendio.com>
2256 * gfileinfo.c (g_file_info_get_icon): replace
2257 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2259 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2261 * gfile.c (g_file_create):
2262 Documentation update of error codes
2264 2008-02-06 Alexander Larsson <alexl@redhat.com>
2266 * gdesktopappinfo.c:
2267 Update to use both mimeapps.list and
2268 defaults.list as discussed on xdg list.
2270 2008-02-06 Benjamin Otte <otte@gnome.org>
2273 * gfilenamecompleter.c:
2274 Fix some typos in the documentation.
2276 2008-02-06 Alexander Larsson <alexl@redhat.com>
2278 * glocalfile.c (g_local_file_trash):
2279 Don't succeed with trash if newly created
2280 trash dir has the wrong owner. (#514696)
2282 2008-02-05 Alexander Larsson <alexl@redhat.com>
2284 * glocalfile.c (g_local_file_move):
2285 Don't spew warnings when destination is not
2288 2008-02-03 Hans Breuer <hans@breuer.org>
2290 * makefile.msc : update
2292 2008-02-01 Michael Natterer <mitch@imendio.com>
2294 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2295 return value of xdg_mime_list_mime_parents() to a variable of the
2298 2008-02-01 Alexander Larsson <alexl@redhat.com>
2300 * gappinfo.c (g_app_info_launch_uris):
2301 Actually call the launch_uris method, not
2304 2008-02-01 Alexander Larsson <alexl@redhat.com>
2306 * gdesktopappinfo.c (g_desktop_app_info_equal):
2307 Ensure appinfos with no id but same pointer value
2310 2008-02-01 Alexander Larsson <alexl@redhat.com>
2312 * gappinfo.c (g_app_info_launch_default_for_uri):
2315 2008-02-01 Alexander Larsson <alexl@redhat.com>
2319 Add g_app_info_launch_default_for_uri utility
2322 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2324 * gdesktopappinfo.c:
2325 Doc fix for g_app_info_get_default_for_uri_scheme ()
2328 2008-01-30 Alexander Larsson <alexl@redhat.com>
2331 Add doc comment about uris vs GFiles to
2334 * gdesktopappinfo.c:
2335 Ensure uris passed to g_app_info_launch_uris()
2336 are not roundtriped through GFile (as that
2337 may be slightly destructive for e.g. mailto: links)
2339 2008-01-30 Alexander Larsson <alexl@redhat.com>
2341 * tests/data-input-stream.c:
2342 * tests/data-output-stream.c:
2343 C89 fixes from Jens Granseuer (#512849)
2345 2008-01-30 Alexander Larsson <alexl@redhat.com>
2348 Fix gamin/fam difference build issue. (#509419)
2350 2008-01-29 Alexander Larsson <alexl@redhat.com>
2353 * gdesktopappinfo.c:
2354 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2356 2008-01-29 Alexander Larsson <alexl@redhat.com>
2358 * gdesktopappinfo.c:
2359 * gdesktopappinfo.h:
2360 giomodule-priv.h include moved to .c file.
2362 2008-01-29 Alexander Larsson <alexl@redhat.com>
2364 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2365 Remove unused prio/name fields.
2367 2008-01-29 Alexander Larsson <alexl@redhat.com>
2369 * gcontenttype.c (looks_like_text):
2370 Don't treat whitespace as control chars.
2372 2008-01-29 Alexander Larsson <alexl@redhat.com>
2374 * gdesktopappinfo.c:
2375 Lazily create the desktop files for appinfos created
2376 by g_app_info_create_from_commandline() when needed
2377 for mime associations. This allows run-time use
2378 of GAppInfo object without creating unnecessary
2381 2008-01-29 Alexander Larsson <alexl@redhat.com>
2384 Added new symbols to gio.symbols
2386 2008-01-29 Alexander Larsson <alexl@redhat.com>
2389 Add g_file_query_default_handler utility to easily look up
2390 the GAppInfo that handles a file.
2392 * gdesktopappinfo.[ch]:
2394 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2397 Remove unused function
2399 2008-01-29 Alexander Larsson <alexl@redhat.com>
2401 * gfileenumerator.c:
2402 Mention need to free returned value in
2403 g_file_enumerator_next_files_finish docs.
2404 Fix leak if g_file_enumerator_next_files_finish()
2407 2008-01-29 Alexander Larsson <alexl@redhat.com>
2410 (_g_unix_content_type_get_parents):
2411 Use list_parents, not get_parents from xdgmime, because
2412 the later doesn't use the cache.
2414 * xdgmime/xdgmimecache.c:
2415 (_xdg_mime_cache_list_mime_parents):
2416 Don't list the same type as parent multiple times.
2418 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2420 * === Released 2.15.4 ===
2422 2008-01-28 Alexander Larsson <alexl@redhat.com>
2425 Register local vfs with prio 0.
2428 Remove old name and prio class members
2430 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2432 * tests/g-file.c: Disable some tests that are failing in
2433 the absence of a http backend.
2435 2008-01-28 Alexander Larsson <alexl@redhat.com>
2439 Add registration hooks for extension points.
2440 Register the gio extension points.
2442 * fam/gfamdirectorymonitor.c:
2443 * fam/gfamfilemonitor.c:
2444 * glocaldirectorymonitor.[ch]:
2445 * glocalfilemonitor.[ch]:
2446 * gnativevolumemonitor.h:
2447 * gunionvolumemonitor.c:
2448 * gunixvolumemonitor.c:
2451 * inotify/ginotifydirectorymonitor.c:
2452 * inotify/ginotifyfilemonitor.c:
2453 Use the extension points registration instead
2454 of g_type_children().
2456 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2459 * gvolume.[hc]: Document new API.
2461 * gfile.c (g_file_copy_async): Fix docs
2463 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2465 * gbufferedinputstream.c:
2467 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2470 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2472 * glocalfile.c: Avoid trivial differences in translatable strings.
2474 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2476 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2477 build with gcc 3.4 (#509419)
2479 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2481 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2482 (#509994, Murray Cumming)
2484 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2486 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2487 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2488 this allows big jobs to be executed in chunks, instead of blocking
2489 the main loop for a long time.
2491 * gsimpleasyncresult.c:
2492 * giofile.c: Adapt callers.
2494 2008-01-25 Alexander Larsson <alexl@redhat.com>
2496 * gdesktopappinfo.c:
2497 Implement changes discussed on xdg list.
2498 Now we can add supported mimetypes by just using defaults.list
2499 We can also remove associations in defaults.list.
2501 2008-01-25 Alexander Larsson <alexl@redhat.com>
2503 * gdesktopappinfo.c:
2504 Don't make local copy of desktop file
2505 for mimetype changes if the file already
2506 supports the new mimetype.
2508 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2512 * gbufferedinputstream.c:
2513 * glocalfile.c: String improvements. (#511966,
2514 Theppitak Karoonboonyanan)
2516 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2518 * gioscheduler.h: Expand docs a bit.
2520 2008-01-24 Alexander Larsson <alexl@redhat.com>
2523 Add g_drive_get_identifier and
2524 g_drive_enumerate_identifiers
2527 Add g_volume_get_identifier and
2528 g_volume_enumerate_identifiers
2534 Implement identifiers for unix backend
2536 2008-01-24 Alexander Larsson <alexl@redhat.com>
2541 Add g_file_copy_async() (#511580)
2542 Based on patch from Carlos Garcia Campos
2544 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2546 * gioscheduler.c: Some documentation additions.
2548 2008-01-22 Alexander Larsson <alexl@redhat.com>
2550 * gdesktopappinfo.c:
2551 (g_desktop_app_info_new):
2552 Don't leak basename.
2554 2008-01-22 Alexander Larsson <alexl@redhat.com>
2556 * gdesktopappinfo.c:
2557 (g_desktop_app_info_new_from_filename):
2560 2008-01-22 Alexander Larsson <alexl@redhat.com>
2562 * glocalfileinfo.c (get_thumbnail_attributes):
2565 2008-01-22 Alexander Larsson <alexl@redhat.com>
2568 (canonicalize_filename):
2569 Canonicalize paths that start with more than
2573 (compare_two_files):
2574 (test_g_file_new_for_path):
2577 2008-01-22 Alexander Larsson <alexl@redhat.com>
2580 Allow UTF-8 in file:// parse names.
2582 * tests/Makefile.am:
2583 * tests/data-input-stream.c:
2584 * tests/data-output-stream.c:
2585 * tests/g-file-info.c:
2587 Added a bunch of tests from Tomas Bzatek
2589 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2591 * === Released 2.15.3 ===
2593 2008-01-21 Alexander Larsson <alexl@redhat.com>
2595 * gfileinputstream.[ch]:
2596 * gfileoutputstream.[ch]:
2598 Remove duplicated GSeekable functions. (#509990)
2599 Just use the g_seekable_xxx() calls instead.
2601 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2604 * gvolumemanager.c: Whitespace cleanups.
2606 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2607 Use the right mode when creating the file.
2609 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2611 * gfileenumerator.c:
2612 * gfileinputstream.c:
2614 * goutputstream.c: Documentation: Fixed minor typos
2615 and added more mentions of specific _finish() functions.
2617 2008-01-21 Alexander Larsson <alexl@redhat.com>
2619 * inotify/Makefile.am:
2620 * inotify/inotify-helper.c:
2621 * inotify/inotify-kernel.c:
2622 * inotify/inotify-path.c:
2623 * inotify/local_inotify.h: Removed.
2624 * inotify/local_inotify_syscalls.h: Removed.
2625 Removed the included copies of the inotify
2626 headers. We now only use the <sys/inotify.h>
2627 header which exists on modern systems.
2628 This fixes problems on ARM and SH5 (#510448)
2629 but is also generally much cleaner and future
2630 safe. For instance, if other OSes add support
2631 for inotify it should "just work".
2633 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2635 * inotify/*.c: Coding style fixes.
2636 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2637 for the 1/4 Hz timer.
2639 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2642 * gfilemonitor.[hc]:
2643 * gmemoryinputstream.c:
2644 * gmemoryoutputstream.c:
2645 * gmountoperation.c:
2646 * gthemedicon.c: Documentation updates
2648 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2650 * gfile.c: documentation: Fixed more minor
2653 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2655 * gmount.c: (g_mount_remount): documentation:
2656 Mention g_mount_remount_finish() instead of
2657 g_mount_unmount_finish().
2659 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2663 * gfile.c: Fixed some minor typos in the
2666 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2668 * gio/gvolumemonitor.c:
2669 (g_volume_monitor_get_connected_drives):
2670 (g_volume_monitor_get_volumes):
2671 (g_volume_monitor_get_mounts): Documentation:
2672 Clarify the ownership of the regurn GLists.
2674 2008-01-17 Alexander Larsson <alexl@redhat.com>
2677 Add the async find_enclosing_mount version
2678 to the header file too.
2680 2008-01-17 Alexander Larsson <alexl@redhat.com>
2683 Add async version of find_enclosing_mount
2684 with default implementation.
2686 2008-01-17 Alexander Larsson <alexl@redhat.com>
2691 Allow calls to implementation of copy and write
2692 even if the type of the file implementations is
2693 different. This can be used to implement native
2694 upload and download calls in a vfs.
2697 (g_local_file_move):
2698 Protect against the case where move is called
2699 with one file not being local.
2701 Make sure we call the progress callback once
2702 in the native move operation so that the caller
2703 knows how many bytes were copied.
2705 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2708 * gdatainputstream.c:
2710 * gfileoutputstream.c:
2715 * gunixmounts.c: Corrected some typos in the documentation:
2716 occured -> occurred.
2717 its -> it's (where appropriate).
2719 2008-01-16 Alexander Larsson <alexl@redhat.com>
2723 Add g_file_query_exists (#508771)
2725 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2730 * gvolume.c: For async functions that have no non-async
2731 version, document that the GAsyncReadyCallback may be NULL.
2734 2008-01-15 Alexander Larsson <alexl@redhat.com>
2736 * gmemoryinputstream.c:
2737 * gmemoryoutputstream.c:
2738 Don't do pointer arithmetic on void * (#508602)
2739 Patch from Kazuki IWAMOTO
2741 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2743 * === Released 2.15.2 ===
2745 2008-01-14 Alexander Larsson <alexl@redhat.com>
2747 * gfile.c (g_file_monitor_file):
2748 Don't set error here, since we fallback to polling monitor.
2750 2008-01-14 Alexander Larsson <alexl@redhat.com>
2753 (g_file_monitor_directory):
2754 (g_file_monitor_file):
2755 Add GError to file monitor calls
2757 * glocaldirectorymonitor.c:
2758 * glocaldirectorymonitor.h:
2760 * glocalfilemonitor.c:
2761 * glocalfilemonitor.h:
2763 Update for above change
2765 2008-01-14 Alexander Larsson <alexl@redhat.com>
2769 Handle root correctly in g_file_get_relative_path (#508719)
2771 2008-01-14 Alexander Larsson <alexl@redhat.com>
2774 Clean up docs and example for GAsyncResult (#508074)
2776 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2778 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2779 and correct some spelling mistakes. Bug #508108.
2781 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2783 * glocalfileinfo.c: Add a comment.
2785 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2787 * gfileinfo.c: GFileInfo description: Mention
2788 how to actually set attributes in a GFile and how to discover
2789 which attributes are settable. Bug #508378.
2791 2008-01-10 A. Walton <awalton@svn.gnome.org>
2793 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2794 (g_app_info_get_default_for_type):
2795 Check for NULL content types.
2797 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2799 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2801 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2803 * gfile.c: *_async() functions: Several small corrections
2804 to the documentation, mostly correcting copy/paste errors
2805 and improving some sentences.
2807 2008-01-09 Dan Winship <danw@gnome.org>
2809 * glocalfile.c (get_unique_filename): x86_64 fix
2811 2008-01-09 Alexander Larsson <alexl@redhat.com>
2816 Add g_unix_mount_guess_should_display and use
2817 for unix volume monitor backend.
2818 This means we more or less show what the
2819 gnome-vfs backend did.
2820 Based on patch from Padraig O'Briain
2822 2008-01-09 Alexander Larsson <alexl@redhat.com>
2826 Add g_themed_icon_new_with_default_fallbacks
2829 Use default fallbacks for icons
2831 2008-01-09 Alexander Larsson <alexl@redhat.com>
2834 * gmountoperation.[ch]:
2835 Change the API a bit so that unhandled methods
2836 get reported via the reply, rather than by
2837 the signal emission return value. This is because
2838 some handlers can't know this immediately without
2839 doing I/O, and this is an async operation that
2842 2008-01-09 Alexander Larsson <alexl@redhat.com>
2845 * fam/gfamdirectorymonitor.c:
2846 * fam/gfamfilemonitor.c:
2847 Fix double free crash (#508224)
2848 Patch from Joe Marcus Clarke
2850 008-01-07 Matthias Clasen <mclasen@redhat.com>
2852 * === Released 2.15.1 ===
2854 2008-01-07 Alexander Larsson <alexl@redhat.com>
2856 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2857 Fix warning (#507835)
2859 2008-01-07 Alexander Larsson <alexl@redhat.com>
2862 Pass --internal to glib-genmarshal
2865 * gmountoperation.c:
2867 Use better types for signal arguments (#507822)
2869 2008-01-07 Alexander Larsson <alexl@redhat.com>
2872 Build test subdir after .
2873 Remove gdirectorymonitor.[ch]
2875 * gdirectorymonitor.[ch]:
2879 Remove GDirectoryMonitor and make
2880 GFileMonitor the baseclass for both file and
2881 directory monitors. Lift the more generic
2882 rate limiting code from GDirectoryMonitor
2886 * fam/gfamdirectorymonitor.[ch]:
2887 * inotify/ginotifydirectorymonitor.[ch]:
2888 * inotify/inotify-helper.c:
2889 * glocaldirectorymonitor.[ch]:
2892 Update for the removed GDirectoryMonitor.
2894 * gmemoryoutputstream.c:
2895 Remove ununsed variable
2897 2008-01-07 Alexander Larsson <alexl@redhat.com>
2899 * gmemoryinputstream.c:
2900 Translate error strings
2903 * gmemoryoutputstream.[ch]:
2904 New implementation that avoids using GByteArray
2905 in implementation and API. (#506377)
2907 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2909 * tests/*: Add a test for memory input streams.
2911 * Makefile.am: Add tests to SUBDIRS.
2913 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2915 * glocalfilemonitor.c:
2916 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2919 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2921 * gdesktopappinfo.c: Fix a docs typo.
2923 * gfileattribute.c: Add information about extended attributes
2924 to the documentation. (#505058)
2926 2008-01-04 Alexander Larsson <alexl@redhat.com>
2929 * gmountoperation.c:
2930 Use the right type (uint) for the ask_password signal.
2932 2008-01-04 Alexander Larsson <alexl@redhat.com>
2937 Add g_app_info_supports_files()
2938 Remove desktop arg from g_app_info_should_show().
2940 * gdesktopappinfo.[ch]:
2941 Implement g_app_info_supports_files() and new should_show()
2942 Add g_desktop_app_info_set_desktop_env() to set the desktop
2943 for should_show(). (This will be set by gtk+ later)
2945 2008-01-04 Alexander Larsson <alexl@redhat.com>
2948 * gmemoryinputstream.[ch]:
2949 Improve API so that you can use multiple chunks
2950 of memory and custom destroy functions. (#506374)
2952 2008-01-03 Alexander Larsson <alexl@redhat.com>
2955 Handle NULL attribute matchers safely, as we return this
2956 for empty attribute matcher strings.
2958 2008-01-03 Alexander Larsson <alexl@redhat.com>
2960 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2961 Add /usr/local to list of internal mountpoints
2963 2008-01-03 Alexander Larsson <alexl@redhat.com>
2966 Check for HAVE_LCHOWN (#505887)
2968 2008-01-03 Alexander Larsson <alexl@redhat.com>
2972 Add define for selinux context attribute.
2973 Fix missing : -> :: namespace separator change
2974 Fix missing _ -> - name change for xattr-sys.
2977 2008-01-03 Alexander Larsson <alexl@redhat.com>
2980 Link to libglib and libgobject directly (#504879)
2981 Patch from Sebastien Bacher
2983 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2985 * gfile.c: Expanded the g_file_new_for_commandline_arg
2986 description a bit, based on the code and the docs of the
2987 other g_file_new_for_* functions.
2989 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2991 * gfilemonitor.h: Fixed typo in docs.
2993 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2995 Updates to GIO documentation. (#506395, Mikael Hermansson)
2997 * gcontenttype.c: Describe memory management for return value of
2998 g_content_types_get_registered(). Missing piece from #505815.
2999 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3000 GVolume, GDrive, GMounts, which hopefully gives the user less
3001 confusions when using this API. Following explainations from
3002 Alexander Larsson on gtk-devel-list.
3004 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3006 * gfileinfo.c: Expand the long description.
3008 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3011 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3012 fix builds with --disable-visibility. (#500273, Christian Persch)
3014 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3016 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3017 in the list of returned app infos.
3019 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3021 * gappinfo.c: Fix a cross-reference
3023 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3025 * gfileinputstream.c:
3026 * gfileoutputstream.c:
3030 * gdesktopappinfo.c:
3032 * gfileinfo.c: Documentation updates.
3034 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3036 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3039 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3041 * gcontenttype.c (g_content_types_get_registered): Don't return
3042 freed memory (#505815, Mikael Hermansson)
3044 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3046 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3047 used to detect statbuf->st_blocks. (#505042)
3049 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3051 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3052 environment handling. (#504829, Cosimo Cecchi)
3054 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3056 * gappinfo.c: Doc improvements
3058 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3061 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3063 * === Released 2.15.0 ===
3065 2007-12-20 Hans Breuer <hans@breuer.org>
3067 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3068 with symbols gwin32appinfo.obj, added gmount.obj
3069 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3071 2007-12-20 Alexander Larsson <alexl@redhat.com>
3077 * gfilenamecompleter.c:
3080 * gpollfilemonitor.c:
3081 File attribute renames:
3083 fs:: -> filesystem::
3084 id::fs -> id::filesystem
3086 2007-12-20 Alexander Larsson <alexl@redhat.com>
3095 Add GMountUnmountFlags to all unmount and
3097 Add g_mount_remount() call.
3099 2007-12-20 Alexander Larsson <alexl@redhat.com>
3101 * gvfs.c (get_default_vfs):
3102 Fix unused variable warning
3104 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3106 * pltcheck.sh: Update
3108 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3110 * gunionvolumemonitor.c:
3111 * gunixmount.c: Remove C99 comments
3113 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3115 * gio.symbols: Add some missing symbols
3117 2007-12-19 Alexander Larsson <alexl@redhat.com>
3120 Make g_io_modules_load_all_in_directory not unuse
3121 loaded modules so that users of it can do stuff
3123 Init internal "module" types.
3124 Initialize static prio and name for types so that
3125 we don't have to load modules to get it.
3127 * gnativevolumemonitor.h:
3129 Move is_supported to parent class so that
3130 non-native monitors can avoid being initialized
3131 too. (For instance GDaemonVolumeMonitor if we're
3132 not using GDaemonVfs.)
3134 * glocaldirectorymonitor.[ch]:
3135 * glocalfilemonitor.[ch]:
3136 * gunionvolumemonitor.c:
3137 * gunixvolumemonitor.c:
3139 Find plugins using the static prio+name to
3140 avoid unnecessarily loading the modules.
3142 2007-12-19 Alexander Larsson <alexl@redhat.com>
3147 2007-12-19 Alexander Larsson <alexl@redhat.com>
3149 * gunionvolumemonitor.c:
3150 Store the native type as GType, not class so that
3151 we can unload it. But still avoid unnecessarily
3154 2007-12-19 David Zeuthen <davidz@redhat.com>
3156 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3157 add signals 'disconnected' and 'eject-button' on GDrive. Add
3158 signal 'removed' on GVolume and 'unmounted' on GMount.
3160 * gdrive.c: (g_drive_base_init):
3162 * gfile.c: (g_file_mount_mountable),
3163 (g_file_mount_enclosing_volume):
3166 * gmount.c: (g_mount_base_init):
3168 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3169 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3170 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3174 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3176 * *.c: Fix up includes in the section docs.
3178 2007-12-17 Alexander Larsson <alexl@redhat.com>
3180 * gnativevolumemonitor.h:
3181 * gunionvolumemonitor.c:
3182 * gunixvolumemonitor.c:
3183 Add is_supported() to GNativeVolumeMonitorClass so
3184 that we can avoid having to create an object to see
3185 if the backend is supported at runtime.
3186 Also add name member and an env var to pick a specific
3187 volume monitor backend.
3191 Add cancellable to _g_mount_get_for_mount_path()
3193 * glocaldirectorymonitor.c:
3194 * glocalfilemonitor.c:
3195 Avoid loading and unloading modules while sorting.
3197 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3200 * gunixmounts.[hc]: Namespace waste reduction, move some
3201 g_get_unix_mount functions to the g_unix_mount namespace.
3204 * gunixvolumemonitor.c:
3206 * glocaldirectorymonitor.c: Update all callers.
3208 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3210 2007-12-17 Alexander Larsson <alexl@redhat.com>
3213 Add doc comments about what GFile operations are
3214 guaranteed to not block.
3216 2007-12-17 Alexander Larsson <alexl@redhat.com>
3219 Add missing #ifdef fixing OSX build.
3220 (#503334, patch from Richard Hult)
3222 2007-12-14 David Zeuthen <davidz@redhat.com>
3226 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3227 (g_mount_eject), (g_mount_eject_finish):
3229 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3230 (get_volume_for_uuid), (get_mount_for_uuid),
3231 (g_union_volume_monitor_class_init),
3232 (get_default_native_type_with_exclude), (get_default_native_type),
3233 (get_native_type), (update_native_type),
3234 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3235 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3236 (g_unix_mount_can_eject), (eject_unmount_cb),
3237 (eject_unmount_read_error), (eject_unmount_do),
3238 (g_unix_mount_unmount), (g_unix_mount_eject),
3239 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3240 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3241 (g_unix_mount_point_guess_can_eject):
3243 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3244 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3245 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3246 (g_unix_volume_mount), (g_unix_volume_eject),
3247 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3248 * gunixvolumemonitor.c: (get_volume_for_uuid),
3249 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3251 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3252 (g_volume_eject), (g_volume_eject_finish):
3254 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3255 (g_volume_monitor_get_mount_for_uuid):
3258 Provide eject() on both GMount and GVolume and utility functions
3259 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3260 ejected. Introduce the concept of UUID's and wire it into GVolume
3261 and GMount and provide API on GVolumeMonitor to find such
3262 instances. Also handle the case where an external
3263 GNativeVolumeMonitor fails to initialize. Lock around the
3264 _g_get_mount_for_mount_path() function such that volume monitor
3265 implementations won't have to do locking themselves.
3267 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3269 * gdesktopappinfo.c:
3275 * gvolume.h: Documentation updates
3277 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3280 * gfile.h: Doc updates
3282 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3285 * gdesktopappinfo.c: Use hash table iterators.
3287 2007-12-14 Alexander Larsson <alexl@redhat.com>
3290 * gfileattribute.[ch]:
3291 * gfileattribute-priv.h:
3292 Move GFileAttributeValue to a private header, as
3296 Make set_attribute take a type + a pointer instead
3297 of a GFileAttributeValue.
3300 Fix up for above changes.
3301 Add g_file_info_get_attribute_data to get
3302 all info in one call, g_file_info_get_attribute_status
3303 to get the status and g_file_info_get_attribute_as_string.
3307 * glocalfileinfo.[ch]:
3311 Make _guess_type static.
3313 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3316 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3317 made mkenums and friends use temporary files to avoid leaving
3318 empty generated files on failure (#503470).
3320 2007-12-14 Alexander Larsson <alexl@redhat.com>
3322 * gmountoperation.h:
3325 2007-12-14 Alexander Larsson <alexl@redhat.com>
3329 * gfileattribute.[ch]:
3332 * glocalfileoutputstream.c:
3333 * gmountoperation.[ch]:
3334 * goutputstream.[ch]:
3335 Clean up all flags enums to not have _FLAGS in them
3336 Make the names of some of the enums better.
3341 2007-12-14 Michael Natterer <mitch@imendio.com>
3343 * gio.symbols: fix g_io_scheduler symbol names.
3345 2007-12-14 Alexander Larsson <alexl@redhat.com>
3351 * gbufferedinputstream.h:
3352 * gbufferedoutputstream.h:
3355 * gdatainputstream.h:
3356 * gdataoutputstream.h:
3357 * gdesktopappinfo.h:
3358 * gdirectorymonitor.h:
3362 * gfileenumerator.h:
3365 * gfileinputstream.h:
3367 * gfilenamecompleter.h:
3368 * gfileoutputstream.h:
3369 * gfilterinputstream.h:
3370 * gfilteroutputstream.h:
3378 * gmemoryinputstream.h:
3379 * gmemoryoutputstream.h:
3381 * gmountoperation.h:
3384 * gsimpleasyncresult.h:
3386 * gunixinputstream.h:
3388 * gunixoutputstream.h:
3392 * inotify/Makefile.am:
3393 Only allow including <gio/gio.h> from apps
3395 2007-12-14 Alexander Larsson <alexl@redhat.com>
3397 * gioscheduler.[ch]:
3398 * gsimpleasyncresult.c:
3399 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3400 Split out the send_to_mainloop call into two versions instead
3401 of having the block argument.
3403 2007-12-13 Alexander Larsson <alexl@redhat.com>
3405 * gcancellable.[ch]:
3407 * gbufferedinputstream.c:
3408 * gfileenumerator.c:
3409 * gfileinputstream.c:
3410 * gfileoutputstream.c:
3414 g_push/pop_current_cancellable ->
3415 g_cancellable_push/pop_current
3417 2007-12-13 Alexander Larsson <alexl@redhat.com>
3421 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3423 2007-12-13 Alexander Larsson <alexl@redhat.com>
3425 * gmountoperation.h:
3426 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3428 2007-12-12 Alexander Larsson <alexl@redhat.com>
3431 Fix race condition when freeing proxy in
3432 g_io_job_send_to_mainloop().
3434 2007-12-12 Alexander Larsson <alexl@redhat.com>
3440 Make attribute namespace separator "::" instead of ":".
3441 Use - instead of _ as separator in attribute names.
3443 2007-12-12 Alexander Larsson <alexl@redhat.com>
3445 * gbufferedinputstream.h:
3446 * gbufferedoutputstream.h:
3447 * gdatainputstream.h:
3448 * gdataoutputstream.h:
3449 * gdirectorymonitor.h:
3450 * gfileenumerator.h:
3451 * gfileinputstream.h:
3453 * gfileoutputstream.h:
3454 * gfilterinputstream.h:
3455 * gfilteroutputstream.h:
3457 * glocalfileinputstream.h:
3458 * glocalfileoutputstream.h:
3459 * gmemoryinputstream.h:
3460 * gmemoryoutputstream.h:
3461 * gnativevolumemonitor.h:
3463 * gunixinputstream.h:
3464 * gunixoutputstream.h:
3467 s/parent/parent_instance/ in GObjects
3469 2007-12-12 Alexander Larsson <alexl@redhat.com>
3474 No need for padding for interfaces
3476 2007-12-12 Alexander Larsson <alexl@redhat.com>
3480 * gbufferedinputstream.c:
3481 * gbufferedoutputstream.c:
3484 * gdatainputstream.[ch]:
3485 * gdesktopappinfo.c:
3486 * gdirectorymonitor.c:
3488 * gfileattribute.[ch]:
3491 * gfileinputstream.h:
3492 * gfilemonitor.[ch]:
3493 * gfileoutputstream.[ch]:
3494 * gfilterinputstream.h:
3495 * gfilteroutputstream.h:
3498 * gloadableicon.[ch]:
3499 * gmemoryinputstream.c:
3500 * gmountoperation.c:
3502 Fix up a bunch of details in the docs.
3507 2007-12-11 David Zeuthen <davidz@redhat.com>
3509 Rework how volumes, drives and volume monitoring is
3510 done. Previosly the model was
3512 GDrive <1-1> GVolume
3514 where a GDrive instance represented a mount point and a GVolume
3515 instance represented a mounted file system. This patch changes it
3518 GDrive <1-N> GVolume <1-1> GMount
3520 where GMount now serves the purpose of the old GVolume and the new
3521 GVolume serves the purpose of the old GDrive. In addition the new
3522 GDrive interface is used to represent a collection of GVolume
3523 instances (typically partitions) and also contains utility to query
3524 the state of the physical drive the GDrive object represents (such
3525 as checking for media, polling the drive, ejecting the media etc.).
3527 Also implement mounting and unmounting in the Unix volume monitor
3528 backend. A subquent patch will introduce GDrive support for ejection
3532 * gdrive.c: (g_drive_is_media_check_automatic),
3533 (g_drive_is_media_removable), (g_drive_has_media),
3534 (g_drive_can_poll_for_media), (g_drive_eject),
3535 (g_drive_eject_finish), (g_drive_poll_for_media),
3536 (g_drive_poll_for_media_finish):
3538 * gfile.c: (g_file_find_enclosing_mount):
3541 * glocaldirectorymonitor.c:
3542 (g_local_directory_monitor_constructor), (mounts_changed):
3543 * glocalfile.c: (get_mount_info),
3544 (g_local_file_find_enclosing_mount),
3545 (g_local_file_file_iface_init):
3546 * gnativevolumemonitor.h:
3547 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3548 (get_connected_drives), (g_union_volume_monitor_class_init),
3549 (child_volume_added), (child_volume_removed),
3550 (child_volume_changed), (child_mount_added), (child_mount_removed),
3551 (child_mount_pre_unmount), (child_mount_changed),
3552 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3553 (g_union_volume_monitor_remove_monitor),
3554 (_g_mount_get_for_mount_path):
3555 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3556 (guess_system_internal), (_g_get_unix_mounts),
3557 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3558 (g_unix_mount_free), (g_unix_mount_compare),
3559 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3560 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3561 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3562 (type_to_icon), (g_unix_mount_guess_name),
3563 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3564 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3565 (_resolve_symlink), (_resolve_dev_root):
3567 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3568 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3569 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3570 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3571 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3572 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3573 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3574 (g_unix_volume_volume_iface_init):
3576 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3577 (get_mounts), (get_volumes), (get_connected_drives),
3578 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3579 (mountpoints_changed), (mounts_changed),
3580 (g_unix_volume_monitor_init),
3581 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3582 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3583 * gunixvolumemonitor.h:
3584 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3585 (g_volume_mount), (g_volume_mount_finish):
3587 * gvolumemonitor.c: (g_volume_monitor_class_init),
3588 (g_volume_monitor_get_connected_drives),
3589 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3592 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3594 * gmountoperation.h (GPasswordFlags): Close the gap
3596 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3598 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3600 * gdesktopappinfo.[hc]: Remove _-prefixes
3602 2007-12-10 Tor Lillqvist <tml@novell.com>
3604 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3607 2007-12-10 Alexander Larsson <alexl@redhat.com>
3609 * gfile.c (g_file_set_display_name):
3610 Don't hardcode '/' (#502727)
3612 2007-12-09 Hans Breuer <hans@breuer.org>
3614 * makefile.msc : follow lib naming convention
3615 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3616 for user and group name, tested with ../tests/gio-ls
3618 2007-12-09 A. Walton <awalton@svn.gnome.org>
3620 * gdesktopappinfo.c:
3626 * gfileenumerator.c:
3631 * gmemoryinputstream.c:
3632 * gmemoryoutputstream.c:
3634 * gsimpleasyncresult.c:
3635 More documentation cleanup and filling in missing information, bringing
3636 GIO to 99% symbol coverage.
3638 2007-12-08 Hans Breuer <hans@breuer.org>
3640 [gio compiles and links on win32, not sure how much already works]
3641 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3642 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3643 base on win32 API; prefer g_lstat() over lstat(); instead of
3644 localtime_r() use an all GLib implementation on win32;
3645 get_mount_info() still needs a win32 specifc implementation
3646 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3647 win32_get_file_user_info to get owner/group info without uid/gid
3648 * glocalfileinputstream.c : include <io.h> on win32
3649 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3650 definition, use g_win32_ftruncate() for G_OS_WIN32
3651 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3652 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3653 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3654 * makefile.msc : updated
3656 2007-12-07 Alexander Larsson <alexl@redhat.com>
3658 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3659 Avoid warning spew if error == NULL
3661 2007-12-07 Alexander Larsson <alexl@redhat.com>
3664 Update docs wrt etags
3666 2007-12-06 Alexander Larsson <alexl@redhat.com>
3669 Include sys/types.h for dev_t (#501919)
3671 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3675 Make abicheck and pltcheck pass.
3677 2007-12-05 Alexander Larsson <alexl@redhat.com>
3680 * giomodule-priv.h: Added.
3681 * glocaldirectorymonitor.c:
3682 * glocalfilemonitor.c:
3683 * gunionvolumemonitor.c:
3685 Actually add the declaration of _g_io_modules_ensure_loaded
3687 2007-12-05 Alexander Larsson <alexl@redhat.com>
3689 * gdatainputstream.c:
3694 * glocaldirectorymonitor.c:
3695 * glocalfilemonitor.c:
3696 * gunionvolumemonitor.c:
3698 Make g_io_modules_ensure_loaded a private function and
3699 don't pass in the dirname. This means we can do magic
3700 directory finding in the win32 version.
3701 Export the actual load-modules-in-directory code so that
3702 gvfs can reuse that.
3704 2007-12-05 Alexander Larsson <alexl@redhat.com>
3706 * gbufferedinputstream.c:
3707 * gbufferedoutputstream.c:
3710 * gfileenumerator.[ch]:
3711 * gfileinputstream.c:
3712 * gfileoutputstream.[ch]:
3713 * gfilterinputstream.c:
3714 * gfilteroutputstream.c:
3715 * ginputstream.[ch]:
3717 * glocalfileenumerator.c:
3718 * glocalfileinputstream.c:
3719 * glocalfileoutputstream.c:
3720 * gmemoryinputstream.c:
3721 * gmemoryoutputstream.c:
3722 * goutputstream.[ch]:
3725 * gunixinputstream.c:
3726 * gunixoutputstream.c:
3727 Rename all struct members named:
3728 read, write, close, truncate, or mount
3729 to foo_fn, as these are reserved names
3730 and could be defined as macros in libc.
3733 2007-12-04 Alexander Larsson <alexl@redhat.com>
3736 (g_output_stream_close):
3737 Only call flush if non-null.
3739 2007-11-30 Dan Winship <danw@gnome.org>
3741 * ginputstream.c (g_input_stream_set_pending): Make this take a
3742 GError and return a gboolean, and do the "outstanding operation"
3743 check (and the "stream is already closed" check) itself.
3744 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3746 * goutputstream.c (g_output_stream_set_pending)
3747 (g_output_stream_clear_pending): Likewise
3749 * gbufferedinputstream.c:
3750 * gfileinputstream.c:
3751 * gfileoutputstream.c: Update for that
3753 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3754 Like g_simple_async_report_error_in_idle, but takes a GError
3755 rather than building one.
3757 2007-11-30 Dan Winship <danw@gnome.org>
3759 * goutputstream.c: Don't cheat and unset the "pending" flag around
3760 inner calls. Instead, call the class method directly rather than
3761 the wrapper function that checks "pending"
3763 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3765 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3767 2007-12-03 Hans Breuer <hans@breuer.org>
3769 [start of port to win32/msvc]
3770 * gcancellable.c : HAVE_UNIST_H and _pipe()
3771 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3772 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3773 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3775 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3776 * glocalvfs.c : use HAVE_PWD_H
3777 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3778 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3779 * Makefile.am : added to EXTRA_DIST
3781 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3783 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3786 2007-12-03 Alexander Larsson <alexl@redhat.com>
3789 Handle OSX style xattrs API (#500506)
3791 2007-12-03 Alexander Larsson <alexl@redhat.com>
3795 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3797 2007-12-02 A. Walton <awalton@svn.gnome.org>
3801 Documentation accuracy fixes.
3803 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3805 * gioenumtypes.c.template: Fix typo.
3807 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3809 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3811 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3813 * gdirectorymonitor.c:
3814 * gfilemonitor.c: Add properties
3816 * gbufferedoutputstream.c: Don't mark buffer-size property
3819 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3821 * gbufferedoutputstream.c: Add auto-grow property.
3823 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3825 * *.c: Unify the capitalization of section headings.
3827 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3829 * gmountoperation.c: Add properties
3831 * gdatainputstream.c: Turn byte-order and newline-type into
3834 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3836 * gioenumtypes.[hc].template: Templates for enum registration
3838 * Makefile.am: Generate gioenumtypes.[hc]
3840 * gio.h: Include gioenumtypes.h
3842 * gfile.h: Add some explicit nicks.
3844 * gio.symbols: Add new symbols
3846 * pltcheck.sh: Adjust
3848 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3850 * *.c: Explain etags and link to the explanation
3852 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3854 * *.c: Explain I/O priority.
3856 * *.c: More coding style fixes.
3858 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3860 * gasyncresult.c: Add another paragraph to the intro,
3861 adjust coding style of example.
3863 2007-11-29 A. Walton <awalton@svn.gnome.org>
3866 Fixes unknown meaning in GAppLaunchContext docs.
3868 Clarify asynchronous ops.
3870 Fix entity tag docs.
3873 Provides missing gtk-doc section, fixes API docs slighly.
3874 * gsimpleasyncresult.c:
3875 Fill in missing info in docs.
3876 * gunixinputstream.c:
3877 * gunixoutputstream.c:
3878 Be more expressive in short description.
3880 Remove gtk-doc stubs for non-public API.
3882 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3884 * *.c: Coding style fixups
3886 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3888 * inotify/inotify-helper.c: Don't export the lock from libgio.
3890 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3893 * abicheck.sh: Fix copy-and-paste leftovers
3895 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3897 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3899 2007-11-28 Alexander Larsson <alexl@redhat.com>
3903 Removed unnecessary file
3905 * gdesktopappinfo.[ch]:
3908 * glocaldirectorymonitor.[ch]:
3910 * glocalfileenumerator.[ch]:
3911 * glocalfileinputstream.[ch]:
3912 * glocalfilemonitor.[ch]:
3913 * glocalfileoutputstream.[ch]:
3915 * gnativevolumemonitor.c:
3916 * gpollfilemonitor.[ch]:
3917 * gunionvolumemonitor.[ch]:
3920 * gunixvolumemonitor.[ch]:
3923 * inotify/ginotifydirectorymonitor.[ch]:
3924 * inotify/ginotifyfilemonitor.[ch]:
3925 * inotify/inotify-helper.c:
3926 Append _ to all internal functions
3930 Export symbols needed for modules
3932 2007-11-28 Alexander Larsson <alexl@redhat.com>
3935 * abicheck.sh: Added.
3936 * makegioalias.pl: Added.
3937 * pltcheck.sh: Added.
3938 * gio.symbols: Added.
3941 Initial work on adding symbol handling.
3944 Correct ifdef guard name
3947 * inotify/Makefile.am:
3948 * xdgmime/Makefile.am:
3949 Include toplevel Makefile.decl
3951 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3953 * gcontenttype.c: Move doc comments to the unix section.
3955 * *.[hc]: More trivial doc corrections.
3957 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3959 * gpollfilemonitor.c:
3963 * gdesktopappinfo.c:
3968 * gdatainputstream.c:
3969 * gdatainputstream.h:
3970 * gdataoutputstream.c:
3971 * gdataoutputstream.h:
3972 * gfileinfo.h: Doc cleanups
3974 2007-11-28 Andre Klapper <a9016009@gmx.de>
3976 * gdesktopappinfo.c: Fix a typo.
3978 2007-11-27 Andre Klapper <a9016009@gmx.de>
3980 * glocalfileoutputstream.c: Fix a typo.
3982 2007-11-27 Alexander Larsson <alexl@redhat.com>
3985 Don't include removed headers
3987 2007-11-27 Alexander Larsson <alexl@redhat.com>
3990 * gsocketinputstream.[ch]: Removed.
3991 * gsocketoutputstream.[ch]: Removed.
3992 * gunixinputstream.[ch]: Added.
3993 * gunixoutputstream.[ch]: Added.
3994 Renamed GSocket*Stream to GUnix*Stream and made
3995 it unix-only, since its not really only for sockets
3996 and it only works on unix (but is highly useful there).
3998 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4004 * gbufferedinputstream.c:
4005 * gbufferedinputstream.h:
4006 * gbufferedoutputstream.c:
4007 * gbufferedoutputstream.h:
4011 * gdatainputstream.c:
4012 * gdatainputstream.h:
4013 * gdataoutputstream.c:
4014 * gdataoutputstream.h:
4015 * gdirectorymonitor.c:
4016 * gdirectorymonitor.h:
4023 * gfileenumerator.c:
4024 * gfileenumerator.h:
4029 * gfileinputstream.c:
4030 * gfileinputstream.h:
4033 * gfilenamecompleter.c:
4034 * gfilenamecompleter.h:
4035 * gfileoutputstream.c:
4036 * gfileoutputstream.h:
4037 * gfilterinputstream.c:
4038 * gfilterinputstream.h:
4039 * gfilteroutputstream.c:
4040 * gfilteroutputstream.h:
4053 * glocalfileoutputstream.c:
4054 * gmemoryinputstream.c:
4055 * gmemoryinputstream.h:
4056 * gmemoryoutputstream.c:
4057 * gmemoryoutputstream.h:
4058 * gmountoperation.c:
4059 * gmountoperation.h:
4062 * gpollfilemonitor.c:
4065 * gsimpleasyncresult.c:
4066 * gsimpleasyncresult.h:
4067 * gsocketinputstream.c:
4068 * gsocketinputstream.h:
4069 * gsocketoutputstream.c:
4070 * gsocketoutputstream.h:
4077 * gunixvolumemonitor.c:
4086 Bumps documentation to 93% symbol coverage, touching most
4087 of the public files. Fixes broken function documentation prototypes.
4088 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4089 gtk-doc headers in private files.
4091 2007-11-27 Jürg Billeter <j@bitron.ch>
4093 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4094 (g_buffered_input_stream_read_byte):
4095 * gbufferedinputstream.h:
4096 New functions for efficient access to buffer and simple single byte
4099 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4100 (g_data_input_stream_read_until):
4101 * gdatainputstream.h:
4102 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4103 read_until with multiple stop chars.
4105 2007-11-27 Alexander Larsson <alexl@redhat.com>
4109 * inotify/Makefile.am:
4110 Use the user-specified giomoduledir
4112 2007-11-27 Alexander Larsson <alexl@redhat.com>
4116 Add catch-all gio.h header
4117 Don't install gdummyfile.h
4119 2007-11-26 Alexander Larsson <alexl@redhat.com>
4121 * Makefile.am (gioinclude_HEADERS):
4122 Remove trailing whitespace
4124 2007-11-26 Alexander Larsson <alexl@redhat.com>
4126 Merge gio-standalone into glib
4128 2007-11-25 Christian Kellner <gicmo@gnome.org>
4130 * gio/goutputstream.c:
4131 Fix small mistake in the docs.
4133 2007-11-21 Christian Persch <chpe@gnome.org>
4135 * gio/glocalfile.c: (g_local_file_trash):
4136 Convert filenames to UTF-8 for GError.
4137 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4138 as per xdg base dir spec.
4140 2007-11-21 Christian Persch <chpe@gnome.org>
4142 * gio/gdesktopappinfo.c:
4143 Use that g_key_file_to_data cannot fail.
4145 Use stock defines for the key file group and key names.
4148 2007-11-21 Alexander Larsson <alexl@redhat.com>
4151 (copy_stream_with_progress):
4152 Make sure we do a final progress callback with
4153 the full total size.
4155 2007-11-21 Alexander Larsson <alexl@redhat.com>
4158 Export g_file_copy_attributes
4159 Remove padding as its not needed for interfaces
4161 2007-11-20 Alexander Larsson <alexl@redhat.com>
4166 Add G_IO_ERROR_WOULD_MERGE for
4167 copy/move dir on dir with overwrite.
4169 2007-11-20 Alexander Larsson <alexl@redhat.com>
4172 * gio/glocalfileinfo.c:
4173 Add COPY_NAME (this is an optional
4174 non-modified utf8 version of the name) that
4177 2007-11-20 Alexander Larsson <alexl@redhat.com>
4179 * gio/glocalfileenumerator.c:
4180 Report errors as GIOError, not GFileError
4182 2007-11-16 Alexander Larsson <alexl@redhat.com>
4184 * gio/glocalfileoutputstream.c:
4185 * gio/gwin32appinfo.c:
4186 Fix typos in strings.
4187 Patch from Luca Ferretti <elle.uca@libero.it>
4189 2007-11-15 Alexander Larsson <alexl@redhat.com>
4192 Post release version bump
4194 === gio-standalone 0.1.2 ===
4196 2007-11-15 Alexander Larsson <alexl@redhat.com>
4198 * docs/reference/gio/Makefile.am:
4199 Fix up distcheck by removing weird
4205 2007-11-14 Alexander Larsson <alexl@redhat.com>
4207 * gio/gdesktopappinfo.c:
4208 * gio/glocaldirectorymonitor.c:
4210 * gio/glocalfileinfo.c:
4211 * gio/inotify/inotify-sub.c:
4212 * programs/gio-cat.c:
4213 * programs/gio-copy.c:
4214 * programs/gio-info.c:
4215 * programs/gio-ls.c:
4216 * programs/gio-monitor-dir.c:
4217 * programs/gio-monitor-file.c:
4218 * programs/gio-mount.c:
4219 * programs/gio-move.c:
4220 * programs/gio-rm.c:
4221 * programs/gio-save.c:
4222 * programs/gio-trash.c:
4223 Leak fixes from Kjartan Maraas
4225 2007-11-14 Alexander Larsson <alexl@redhat.com>
4227 * gio/fam/fam-helper.c:
4229 * gio/glocalfileinfo.c:
4233 * gio/inotify/inotify-diag.c:
4234 * gio/inotify/inotify-kernel.c:
4235 Various code cleanups from Kjartan Maraas
4237 2007-11-14 Alexander Larsson <alexl@redhat.com>
4239 * gio/gioscheduler.c:
4241 Set up threadpool so that we cache 2 unused
4242 idle threads for at 15 secs. This means we
4243 will reuse thread-local data (like dbus connections)
4246 2007-11-14 Alexander Larsson <alexl@redhat.com>
4248 * gio/fam/fam-helper.c:
4249 * gio/fam/gfamdirectorymonitor.c:
4250 * gio/fam/gfamfilemonitor.c:
4252 * gio/gcontenttype.c:
4253 * gio/gdatainputstream.c:
4254 * gio/gdataoutputstream.c:
4258 * gio/gfileattribute.h:
4259 * gio/gfileenumerator.c:
4261 * gio/ginputstream.c:
4264 * gio/glocalfileinfo.c:
4265 * gio/goutputstream.c:
4266 * gio/gpollfilemonitor.c:
4267 * gio/gsimpleasyncresult.c:
4268 * gio/gunixmounts.c:
4269 * gio/gunixmounts.h:
4270 * gio/inotify/ginotifydirectorymonitor.c:
4271 * gio/inotify/ginotifyfilemonitor.c:
4272 * gio/inotify/inotify-diag.c:
4273 * gio/inotify/inotify-kernel.c:
4274 * gio/inotify/inotify-path.c:
4276 * gio/test-streams.c:
4277 * programs/gio-info.c:
4278 * programs/gio-monitor-dir.c:
4279 * programs/gio-monitor-file.c:
4280 Various code cleanups from Kjartan Maraas
4282 2007-11-13 Alexander Larsson <alexl@redhat.com>
4285 Handle the uri-scheme calls for dummy files
4287 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4289 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4290 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4291 to avoid clash with the C++ keyword.
4293 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4295 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4296 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4298 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4300 * gio/glocaldirectorymonitor.c:
4301 * gio/glocalfilemonitor.c:
4302 * gio/gunionvolumemonitor.c:
4303 Don't use g_once_init_*() for initializations that could fail and
4304 could leave the initialization variable set to 0 but use GOnce.
4305 This prevents a deadlock on the second call when trying to create
4306 a monitor and no monitor type is available. Thanks to Sven Herzberg
4309 2007-11-11 Sven Herzberg <sven@imendio.com>
4311 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4312 #ifdef (make it work on MacOS X again)
4314 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4316 Fixes Changelog for last two commits (sorry guys).
4318 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4320 * gio/gbufferedinputstream.c:
4321 * gio/gdatainputstream.c:
4323 * gio/gfileoutputstream.c:
4324 * gio/gfilterinputstream.c:
4325 * gio/glocalfileinputstream.c:
4328 More consistency fixes in g*stream.c files.
4329 Significant clean of gfile's documentation, filling in of
4330 asynchronous operations documentation.
4332 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4334 * gio/gasyncresult.c:
4335 * gio/gbufferedinputstream.c:
4336 * gio/gbufferedoutputstream.c:
4337 * gio/gcancellable.c:
4338 * gio/gcontenttype.c:
4339 * gio/gdatainputstream.c:
4340 * gio/gdataoutputstream.c:
4341 * gio/gdesktopappinfo.c:
4344 * gio/gfileattribute.c:
4345 * gio/gio/gfileenumerator.c:
4347 * gio/gfileinputstream.c:
4348 * gio/gfilemonitor.c:
4349 * gio/gfileoutputstream.c:
4350 * gio/ginputstream.c:
4352 * gio/gioscheduler.c:
4353 * gio/gloadableicon.c:
4354 * gio/glocalfileoutputstream.c:
4355 * gio/gmemoryoutputstream.c:
4356 * gio/gmountoperation.c:
4357 * gio/goutputstream.c:
4359 * gio/gsimpleasyncresult.c:
4360 * gio/gunionvolumemonitor.c:
4361 * gio/gunixmounts.c:
4362 * gio/gunixvolume.c:
4366 * gio/gvolumemonitor.c:
4367 Updated documentation stubs, working towards consistency and
4370 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4372 * gio/gmemoryoutputstream.c:
4373 * gio/gmemoryoutputstream.h:
4374 Change g_memory_output_stream_set_free_on_close() to
4375 g_memory_output_stream_set_free_data() as this makes more sense and
4376 is more consistent with GMemoryInputStream.
4378 2007-11-07 Alexander Larsson <alexl@redhat.com>
4385 Change how we find the default vfs so that
4386 we can handle a gvfs failing to init
4388 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4390 * gio/gbufferedoutputstream.c:
4391 * gio/gdatainputstream.c:
4392 * gio/gdataoutputstream.c:
4393 * gio/gfileinputstream.c:
4394 * gio/gfileoutputstream.c:
4395 * gio/gfilterinputstream.c:
4396 * gio/gfilteroutputstream.c:
4397 * gio/ginputstream.c:
4398 * gio/gmemoryinputstream.c:
4399 * gio/gmemoryoutputstream.c:
4400 * gio/goutputstream.c:
4401 * gio/gsimpleasyncresult.c:
4402 * gio/gsocketinputstream.c:
4403 * gio/gsocketoutputstream.c:
4404 Add guards to the remaining public functions, add a TODO for
4405 an unimplemented function and remove some useless guards.
4407 2007-11-07 Alexander Larsson <alexl@redhat.com>
4410 Autoconf checks for the various types of
4411 getpwuid_r and getgrgid_r
4413 * gio/glocalfileinfo.c:
4414 Use the autoconf checks from above
4416 2007-11-07 Alexander Larsson <alexl@redhat.com>
4419 (g_local_file_query_filesystem_info):
4420 Some fixes for the statvfs case
4422 2007-11-07 Alexander Larsson <alexl@redhat.com>
4425 (g_local_file_query_filesystem_info):
4426 Pick the "best" of statfs / statvfs for the system
4427 if both are availible.
4429 2007-11-07 Alexander Larsson <alexl@redhat.com>
4431 Solaris fixes from Halton.Huo@Sun.COM:
4438 * gio/glocalfileinfo.c:
4439 Fix for solaris definition of getpwuid_r
4441 * gio/test-streams.c:
4442 Use G_GNUC_PRETTY_FUNCTION
4444 2007-11-07 Alexander Larsson <alexl@redhat.com>
4446 * gio/gdesktopappinfo.c:
4447 (update_default_list):
4448 Remove double semicolon.
4449 Patch from Jens Granseuer
4451 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4453 * docs/reference/gio/gio-sections.txt:
4454 * gio/gbufferedinputstream.c:
4455 * gio/gbufferedinputstream.h:
4456 * gio/gdatainputstream.c:
4457 * gio/gfileenumerator.c:
4458 * gio/gioscheduler.c:
4459 * gio/gunionvolumemonitor.c:
4461 * programs/gio-save.c:
4462 Fix typo: availible -> available. Unfortuntely this breaks API
4463 and ABI as g_buffered_input_stream_get_available() was renamed.
4465 * gio/gunixmounts.c:
4466 * gio/gbufferedinputstream.c:
4467 Add guards for public functions.
4469 2007-11-06 Ross Burton <ross@openedhand.com>
4471 * docs/reference/gio/Makefile.am:
4472 Fix invalid += usage which automake 1.10 doesn't like.
4474 2007-11-06 Alexander Larsson <alexl@redhat.com>
4477 (g_app_launch_context_class_init):
4480 Patch from Ross Burton
4482 2007-11-06 Alexander Larsson <alexl@redhat.com>
4485 Post release version bump
4487 === gio-standalone 0.1.1 ===
4489 2007-11-06 Alexander Larsson <alexl@redhat.com>
4492 Bump version to 0.1.1
4494 * gio/gsimpleasyncresult.c:
4495 (g_simple_async_result_set_from_error):
4496 Remove bogus g_return_if_fail
4498 2007-11-06 Alexander Larsson <alexl@redhat.com>
4501 The name is gio-standalone
4504 Add top src/builddir to includedir
4506 2007-11-06 Alexander Larsson <alexl@redhat.com>
4508 * docs/reference/gio/gio-sections.txt:
4510 * gio/gbufferedinputstream.c:
4511 * gio/gbufferedoutputstream.c:
4512 * gio/gcancellable.c:
4513 * gio/gdatainputstream.h:
4514 * gio/gdataoutputstream.c:
4515 * gio/gdataoutputstream.h:
4516 * gio/gdirectorymonitor.c:
4518 * gio/gfileattribute.c:
4519 * gio/gfileattribute.h:
4520 * gio/gfileenumerator.c:
4521 * gio/gfileenumerator.h:
4524 * gio/gfileinputstream.h:
4525 * gio/gfilemonitor.c:
4526 * gio/gfileoutputstream.h:
4527 * gio/glocalfilemonitor.h:
4528 * gio/glocalfileoutputstream.h:
4529 * gio/gmemoryinputstream.c:
4530 * gio/gmemoryoutputstream.c:
4531 * gio/gmountoperation.c:
4532 * gio/goutputstream.c:
4533 * gio/goutputstream.h:
4535 * gio/gsimpleasyncresult.c:
4536 * gio/gunixmounts.c:
4537 * gio/gunixmounts.h:
4539 * gio/inotify/inotify-helper.c:
4540 Fix gtk-doc warnings
4542 Patch from Ross Burton
4544 2007-11-06 Alexander Larsson <alexl@redhat.com>
4546 * gio/gfilenamecompleter.c:
4547 (g_filename_completer_get_completions):
4550 * gio/gunixvolume.c:
4551 Remove unused function
4553 Patches from Ross Burton
4555 2007-11-06 Alexander Larsson <alexl@redhat.com>
4560 Padding not needed for interfaces
4562 2007-11-06 Alexander Larsson <alexl@redhat.com>
4564 * gio/gfilemonitor.c:
4568 Make giotypes.h an internal file
4571 * gio/gbufferedinputstream.h:
4572 * gio/gbufferedoutputstream.h:
4573 * gio/gcancellable.h:
4574 * gio/gdatainputstream.h:
4575 * gio/gdataoutputstream.h:
4576 * gio/gdirectorymonitor.c:
4577 * gio/gdirectorymonitor.h:
4582 * gio/gfileattribute.h:
4583 * gio/gfileenumerator.h:
4588 * gio/gfilemonitor.c:
4589 * gio/gfilemonitor.h:
4590 * gio/gfilenamecompleter.c:
4591 * gio/gfilenamecompleter.h:
4592 * gio/gfilterinputstream.h:
4593 * gio/gfilteroutputstream.h:
4594 * gio/ginputstream.h:
4595 * gio/gmemoryinputstream.h:
4596 * gio/gmemoryoutputstream.h:
4597 * gio/gmountoperation.c:
4598 * gio/gmountoperation.h:
4599 * gio/gnativevolumemonitor.c:
4600 * gio/goutputstream.h:
4603 * gio/gsimpleasyncresult.c:
4604 * gio/gsimpleasyncresult.h:
4605 * gio/gsocketinputstream.h:
4606 * gio/gsocketoutputstream.h:
4607 * gio/gthemedicon.c:
4608 * gio/gthemedicon.h:
4612 * gio/gvolumemonitor.c:
4613 * gio/gvolumemonitor.h:
4614 Add padding in classes where it seems useful
4615 Don't include giotypes.h from public headers
4616 Move in Class definitions into c file where possible
4621 2007-11-06 Alexander Larsson <alexl@redhat.com>
4623 * docs/reference/gio/gio-docs.xml:
4624 Better structure for API docs
4626 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4629 * gio/gloadableicon.c:
4630 * gio/gsimpleasyncresult.c:
4631 * gio/gthemedicon.c:
4632 Add some more guards to public functions. Only files missing are now
4635 2007-11-06 Alexander Larsson <alexl@redhat.com>
4637 * docs/reference/gio/gio-docs.xml:
4638 Remove old files, add missing ones
4640 2007-11-06 Alexander Larsson <alexl@redhat.com>
4642 * docs/reference/gio/gio-sections.txt:
4645 Hide implementation classes
4647 * gio/gdriveprivate.h:
4648 * gio/gvolumeprivate.h:
4649 Remove non-existing function declarations
4651 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4654 Fix compilation warnings and add guards to the new functions.
4656 * gio/gasyncresult.c:
4658 Add guards to the public functions.
4661 Implement get_path().
4663 2007-11-06 Alexander Larsson <alexl@redhat.com>
4665 * gio/gfilenamecompleter.c:
4666 Make g_filename_completer_get_completions
4667 return char ** instead of GList for
4670 * docs/reference/gio/gio-docs.xml:
4671 * docs/reference/gio/gio-sections.txt:
4673 * gio/gasyncresult.c:
4674 * gio/gbufferedinputstream.c:
4675 * gio/gbufferedoutputstream.c:
4676 * gio/gcancellable.c:
4677 * gio/gcontenttype.c:
4678 * gio/gdatainputstream.c:
4679 * gio/gdataoutputstream.c:
4680 * gio/gdesktopappinfo.c:
4681 * gio/gdirectorymonitor.c:
4685 * gio/gfileattribute.c:
4686 * gio/gfileenumerator.c:
4689 * gio/gfileinputstream.c:
4690 * gio/gfilemonitor.c:
4691 * gio/gfilenamecompleter.c:
4692 * gio/gfilenamecompleter.h:
4693 * gio/gfileoutputstream.c:
4694 * gio/gfilterinputstream.c:
4696 * gio/ginputstream.c:
4698 * gio/gioscheduler.c:
4699 * gio/gloadableicon.c:
4700 * gio/glocaldirectorymonitor.c:
4702 * gio/glocalfileinputstream.c:
4703 * gio/glocalfilemonitor.c:
4704 * gio/glocalfileoutputstream.c:
4706 * gio/gmemoryinputstream.c:
4707 * gio/gmemoryoutputstream.c:
4708 * gio/gmountoperation.c:
4709 * gio/goutputstream.c:
4710 * gio/gpollfilemonitor.c:
4712 * gio/gsimpleasyncresult.c:
4713 * gio/gsocketinputstream.c:
4714 * gio/gsocketoutputstream.c:
4715 * gio/gthemedicon.c:
4716 * gio/gunionvolumemonitor.c:
4718 * gio/gunixmounts.c:
4719 * gio/gunixvolume.c:
4720 * gio/gunixvolumemonitor.c:
4724 * gio/gvolumemonitor.c:
4725 * gio/gwin32appinfo.c:
4726 Add (mostly stub) doc strings to public functions.
4727 Patch from Andrew Walton (awalton@gmail.com)
4729 2007-11-06 Alexander Larsson <alexl@redhat.com>
4731 * gio/gappinfo.[ch]:
4732 Added GAppLaunchContext object and pass that to launch.
4733 This allows simple implementation of both
4734 launch-on-screen and startup notification via a gtk+
4735 subclass of GAppLaunchContext
4737 * gio/gdesktopappinfo.c:
4738 Implement GAppLaunchContext API
4740 * gio/gwin32appinfo.c:
4743 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4745 * gio/gmountoperation.c:
4746 Add some guards to GMountOperation's public functions.
4748 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4752 * gio/gcancellable.c:
4753 * gio/gdirectorymonitor.c:
4755 * gio/gfileenumerator.c:
4756 * gio/gfilemonitor.c:,
4757 * gio/gfilenamecompleter.c:
4760 * gio/gioscheduler.c:
4764 * gio/gvolumemonitor.c:
4765 Add even more guards to various public functions.
4767 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4770 Add guards to the public functions of GAppInfo.
4772 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4774 * gio/gcontenttype.c:
4775 Add some more guards for public functions.
4777 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4779 * gio/fam/fam-module.c:
4780 * gio/fam/gfamdirectorymonitor.c:
4781 * gio/fam/gfamdirectorymonitor.h:
4782 * gio/fam/gfamfilemonitor.c:
4783 * gio/fam/gfamfilemonitor.h:
4784 * gio/inotify/ginotifydirectorymonitor.c:
4785 * gio/inotify/ginotifydirectorymonitor.h:
4786 * gio/inotify/ginotifyfilemonitor.c:
4787 * gio/inotify/ginotifyfilemonitor.h:
4788 Add proper copyright information and remove an unused variable
4789 in the GInotifyFileMonitor constructor.
4791 * gio/gcancellable.c:
4792 Add a guard for a public function and an assertion to prevent
4793 an undefined program state.
4795 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4797 * gio/gfileattribute.c:
4798 Don't run into an assertion if the given attribute value is NULL
4799 in g_file_attribute_value_get_*() but instead return a fallback
4800 value that makes sense in most situations. Passing them a attribute
4801 value with the wrong type will still run into an assertion.
4803 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4805 * gio/gfileattribute.c:
4807 Add even more guards to the public functions. Also fix the refcounting
4808 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4809 let g_file_info_list_attributes() filter the attributes by namespace
4810 instead of simply ignoring the namespace parameter.
4812 2007-11-03 Sven Herzberg <sven@imendio.com>
4814 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4815 (This makes gio work on MacOS X again)
4817 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4820 Build the gio subdirectory before the docs. Otherwise the build will
4823 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4824 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4825 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4826 Add guards to the public functions.
4828 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4830 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4831 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4832 to prevent a compiler warning.
4834 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4835 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4836 return something in the non-void function find_topdir_for().
4838 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4845 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4847 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4848 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4849 * gwin32appinfo.c (g_win32_app_info_launch):
4850 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4851 envp_for_startup_id, g_desktop_app_info_launch,
4852 g_desktop_app_info_launch_uris):
4854 Give an opaque 'startup_id' string instead of 'envp'.
4855 Support empty file lists for launching new windows.
4856 Fix infinite recursion bug when launching URIs.
4858 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4861 Add guard to the new g_file_get_uri_scheme() function.
4863 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4866 Convert a g_return_val_if_fail() to setting the GError instead as
4867 otherwise applications have to verify the parameter before otherwise
4868 and the parameter might come directly from the user.
4870 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4872 * gio/inotify/ginotify*.[ch]:
4873 Add missing copyright information.
4875 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4878 Add guards in the beginning of public functions to check for valid
4879 parameters and fix a bug in copy_stream_with_progress() that could've
4880 caused writing less bytes than reading.
4881 * gio/glocalfileinfo.c:
4882 Check for a NULL parameter and set the GError accordingly then.
4883 * gio/goutputstream.c:
4884 Fix the same bug as in gfile.c that could've caused writing less bytes
4885 than reading in g_output_stream_real_splice().
4887 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4890 Use the correct gvolumeprivate.h naming
4892 2007-11-01 Christian Kellner <gicmo@gnome.org>
4895 Remove leftover "$(daemon_sources)" entry.
4897 2007-11-01 Christian Kellner <gicmo@gnome.org>
4902 Add copyright information to source files.
4904 2007-11-01 Alexander Larsson <alexl@redhat.com>
4908 Add g_file_get_uri_scheme
4910 2007-11-01 Alexander Larsson <alexl@redhat.com>
4913 * gio/gdesktopappinfo.c:
4914 * gio/gwin32appinfo.c:
4915 Add g_app_info_get_default_for_uri_scheme.
4917 2007-11-01 Alexander Larsson <alexl@redhat.com>
4920 Correct filename for gdriveprivate.h
4922 2007-10-31 Alexander Larsson <alexl@redhat.com>
4925 Rename id:value to id:file
4928 * gio/glocalfileinfo.c:
4931 2007-10-31 Alexander Larsson <alexl@redhat.com>
4933 * gio/gunixvolume.c:
4935 Remove g_volume_get_platform_id, as thats not
4936 needed with the simpler union volume monitor
4938 2007-10-31 Alexander Larsson <alexl@redhat.com>
4941 * gio/guniondrive.[ch]: Removed.
4942 * gio/gunionvolume.[ch]: Removed.
4943 Remove GUnionDrive/Volume
4945 * gio/gunionvolumemonitor.c:
4946 Simplify union volume monitor, now we
4947 only have one native volume monitor and
4948 we use the actual volumes/drives from the
4949 child monitors instead of wrapping them
4951 * gio/gnativevolumemonitor.[ch]:
4952 Base class for native volume monitors.
4953 Includes priority and get_volume_for_mountpoint
4956 Add g_file_find_enclosing_volume
4959 Remove volume name fs attribute
4960 Add readonly fs attribute
4963 Implement readonly attribute
4964 remove volume name attribute
4965 Implement find_enclosing volume
4967 * gio/gunixmounts.c:
4968 Add a volume for "/".
4970 * gio/gunixvolume.[ch]:
4971 Set better name for /
4973 * gio/gunixvolumemonitor.[ch]:
4974 Derive from GNativeVolumeMonitor
4975 Implement get_volume_for_mountpoint
4978 GVolume typedef moved to gfile.h
4980 * gio/gvolumeprivate.h:
4981 Add g_volume_get_for_mount_path
4983 2007-10-31 Alexander Larsson <alexl@redhat.com>
4985 * gio/gunixmounts.[ch]:
4986 Add cache info to unix mount listers
4987 Make getmntent use threadsafe
4988 Add is_system_internal attribute for GUnixMount
4990 * gio/gunixvolume.c:
4991 (g_unix_volume_new):
4992 Use is_system_internal instead of own code
4994 * gio/glocaldirectorymonitor.c:
4995 * gio/gunixvolumemonitor.c:
4996 Update to new gunixmounts API
5001 2007-10-30 Alexander Larsson <alexl@redhat.com>
5004 Add volume name fsinfo attribute
5007 Read volume name info
5009 * gio/gunionvolumemonitor.c:
5010 Fix infinite loops when finalizing a union volume monitor
5012 2007-10-30 Alexander Larsson <alexl@redhat.com>
5014 * gio/goutputstream.[ch]:
5015 Add splice() with default implementation
5017 * gio/gsocketoutputstream.c:
5018 (g_socket_output_stream_write):
5019 Return error on cancellation correctly.
5021 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5023 * gio/glocalfile.c (g_local_file_trash):
5024 Do not leak a string.
5026 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5028 * gio/gfile.c (g_file_load_contents):
5029 Unref the stream after closing it.
5031 2007-10-25 Alexander Larsson <alexl@redhat.com>
5033 * gio/gioscheduler.h:
5036 2007-10-25 Alexander Larsson <alexl@redhat.com>
5040 Add g_file_has_uri_scheme and implement for local files
5042 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5044 * gio/gdesktopappinfo.c: do not leak a string.
5046 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5048 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5049 (g_local_directory_monitor_new):
5050 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5051 (g_local_file_monitor_new):
5052 Only look for the monitor type that should be used the first time
5053 and use g_qsort_with_data() instead of our own bubble sort
5056 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5059 * gio/fam/Makefile.am:
5060 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5061 * gio/fam/fam-helper.h:
5062 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5063 * gio/fam/gfamdirectorymonitor.c:
5064 * gio/fam/gfamdirectorymonitor.h:
5065 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5066 * gio/fam/gfamfilemonitor.h:
5067 * gio/glocaldirectorymonitor.c:
5068 * gio/glocaldirectorymonitor.h:
5069 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5070 * gio/glocalfilemonitor.h:
5071 * gio/inotify/Makefile.am:
5072 * gio/inotify/ginotifydirectorymonitor.c:
5073 * gio/inotify/ginotifydirectorymonitor.h:
5074 * gio/inotify/ginotifyfilemonitor.c:
5075 * gio/inotify/ginotifyfilemonitor.h:
5076 Implement the FAM and Inotify monitors as
5077 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5078 their own GIO module. GLocal(Directory|File)Monitor will use the
5079 monitor with the highest rank that is supported on that machine.
5081 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5084 Change GIO module dir to $(libdir)/gio/modules and change
5085 the log domain from GVFS to GIO. Also only export symbols starting
5086 with g_ in the resulting library.
5087 * gio/test-streams.c: (main):
5088 Set log handler for the GIO log domain.
5090 2007-10-22 Alexander Larsson <alexl@redhat.com>
5092 * gio/gfilenamecompleter.[ch]:
5093 Add g_filename_completer_set_dirs_only
5095 2007-10-22 Alexander Larsson <alexl@redhat.com>
5098 * gio/gurifuncs.[ch]:
5099 Add some simple URI helpers
5101 * gio/gfilenamecompleter.[ch]:
5102 Added object for filename (parse name actually) completion
5105 Handle ~ in parse names
5107 2007-10-17 Alexander Larsson <alexl@redhat.com>
5110 * gio/glocalfileinfo.c:
5111 Add and implement id:value attribute
5113 2007-10-17 Alexander Larsson <alexl@redhat.com>
5116 * gio/guniondrive.c:
5118 Add and implement g_drive_has_volumes
5120 2007-10-17 Alexander Larsson <alexl@redhat.com>
5123 * gio/glocalfileinfo.[ch]:
5124 Add unix:is_mountpoint and implement for local files
5126 2007-10-16 Alexander Larsson <alexl@redhat.com>
5128 * gio/gunionvolumemonitor.c:
5129 (g_union_volume_monitor_init):
5130 Fix up the unix type getting so that it works with gcc
5132 2007-10-12 Alexander Larsson <alexl@redhat.com>
5135 * gio/glocalfileinfo.c:
5136 Add thumbnail:failed to file info
5138 2007-10-12 Richard Hult <richard@imendio.com>
5140 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5141 optimizing away the get_type call (happens with some gcc versions,
5142 like the one shipped with OS X 10.4).
5144 2007-10-12 Alexander Larsson <alexl@redhat.com>
5146 * gio/glocalfileinfo.c:
5147 (_g_local_file_info_set_attribute):
5148 Fix build if not HAVE_XATTR
5149 Patch from Milosz Derezynski <internalerror@gmail.com>
5151 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5153 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5154 around for review, otherwise I would have asked you before
5157 2007-10-11 Alexander Larsson <alexl@redhat.com>
5160 Add thumbnail:path attribute
5162 * gio/glocalfileinfo.c:
5163 Implement thumbnail:path for local files
5165 2007-10-11 Alexander Larsson <alexl@redhat.com>
5167 * gio/glocalfileinfo.c:
5168 (_g_local_file_info_get):
5169 Avoid duplicate icon names
5171 2007-10-11 Alexander Larsson <alexl@redhat.com>
5173 * gio/gthemedicon.[ch]:
5174 Change g_themed_icon_get_names return type to const
5176 2007-10-10 Alexander Larsson <alexl@redhat.com>
5178 * gio/glocalfileinfo.c:
5179 Don't reference freed memory
5181 2007-10-10 Alexander Larsson <alexl@redhat.com>
5183 * gio/gfileattribute.c:
5186 * gio/glocalfileinfo.c:
5189 2007-10-10 Alexander Larsson <alexl@redhat.com>
5192 Check for NULL icons
5194 * gio/gfileattribute.c:
5195 Don't dup when getting objects (same as for string attributes)
5197 * gio/gicon.c (g_icon_equal):
5198 Safely handle NULLs in equal
5200 2007-10-10 Alexander Larsson <alexl@redhat.com>
5203 Fix c++ compilation issues
5204 Patch from Milosz Derezynski <internalerror@gmail.com>
5206 2007-10-10 Alexander Larsson <alexl@redhat.com>
5208 * programs/gio-monitor-dir.c:
5209 Don't crash if dir monitor not supported.
5211 2007-10-09 Alexander Larsson <alexl@redhat.com>
5214 Add missing G_END_DECLS
5216 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5218 * gio/gfile.c: (g_file_set_display_name),
5219 (g_file_query_settable_attributes),
5220 (g_file_query_writable_namespaces):
5221 Return NULL not FALSE on errors as the return type is a pointer.
5223 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5225 * gio/glocalfile.c: (g_local_file_monitor_file):
5226 Don't call monitor_file on the default interface vtable (which
5227 is NULL) but simply return NULL. The caller, GFile, will create a
5228 polling monitor if NULL is returned.
5230 2007-10-09 Alexander Larsson <alexl@redhat.com>
5234 * gio-unix-2.0.pc.in:
5235 Add gio-unix-2.0.pc if OS_UNIX
5238 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5240 2007-10-09 Alexander Larsson <alexl@redhat.com>
5242 * gio/gunixmounts.[ch]:
5243 Make unix mount monitoring API sane.
5244 Now its just a object with mounts_changed
5245 and mountpoints_changed signals.
5247 * gio/glocaldirectorymonitor.c:
5248 * gio/gunixvolumemonitor.c:
5249 Use new mount monitor api
5251 2007-10-09 Alexander Larsson <alexl@redhat.com>
5253 * gio/gunixmounts.[ch]:
5254 Move guess type into one call for mounts and one for mountpoints
5257 * gio/gunixvolume.c:
5260 2007-10-09 Alexander Larsson <alexl@redhat.com>
5262 * gio/gunixmounts.[ch]:
5263 Remove _ prefix in preparation to make this semi-public
5264 Hide implementation of structs
5266 * gio/glocaldirectorymonitor.c:
5268 * gio/gunixvolume.c:
5269 * gio/gunixvolumemonitor.c:
5270 Update for above API changes
5272 2007-10-08 Alexander Larsson <alexl@redhat.com>
5275 Better polling fallback. This also handles the case where we have
5276 a monitor_file implementation, but it fails.
5278 2007-10-08 Alexander Larsson <alexl@redhat.com>
5282 * gio/gunixmounts.c:
5283 * programs/gio-monitor-dir.c:
5284 * programs/gio-monitor-file.c:
5285 Added cancellable to file monitoring calls.
5286 These are really sync calls and need this.
5288 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5290 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5291 (g_local_vfs_class_init):
5292 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5293 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5295 2007-10-05 Alexander Larsson <alexl@redhat.com>
5297 * gio/gdirectorymonitorprivate.h:
5298 * gio/gfilemonitorprivate.h:
5299 * gio/gdirectorymonitor.h:
5300 * gio/gfilemonitor.h:
5301 Remove *private.h and move to the public API, so that
5302 we can do implementations outside gio (such as in gvfs)
5304 * gio/gdirectorymonitor.c:
5305 * gio/gfilemonitor.c:
5306 * gio/glocaldirectorymonitor.c:
5307 * gio/gpollfilemonitor.c:
5308 * gio/inotify/inotify-helper.c:
5309 * gio/fam/fam-helper.c:
5310 Update to the new header names
5312 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5314 * gio/gdirectorymonitor.c:
5315 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5318 2007-10-04 Alexander Larsson <alexl@redhat.com>
5320 * gio/glocalfileinfo.c (get_access_rights):
5321 Set CAN_TRASH when we can move the file.
5322 We should really also check for a parent trash dir.
5324 2007-10-04 Alexander Larsson <alexl@redhat.com>
5326 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5327 Add can_trash access attribute
5329 2007-10-04 Alexander Larsson <alexl@redhat.com>
5332 (g_local_file_trash):
5333 Create info file first. This is per-spec and allows
5334 us to actually trash directories.
5336 2007-10-02 Alexander Larsson <alexl@redhat.com>
5338 * gio/gdesktopappinfo.c:
5339 Implement the new mime support code.
5340 Always set app as handling mimetype when being set as default for it
5342 2007-10-01 Alexander Larsson <alexl@redhat.com>
5344 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5345 Fix up check for xattrs:
5347 2007-10-01 Alexander Larsson <alexl@redhat.com>
5350 (g_app_info_set_as_default_for_extension):
5351 (g_app_info_add_supports_type):
5352 (g_app_info_can_remove_supports_type):
5353 (g_app_info_remove_supports_type):
5354 Make these fail nicely if not implemented
5356 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5358 * gio/glocalfileoutputstream.c:
5359 * gio/glocalfileoutputstream.h:
5364 * programs/gio-save.c:
5365 Add a GFileCreateFlags argument to operations that can create
5368 2007-10-01 Alexander Larsson <alexl@redhat.com>
5370 * gio/gappinfo.[ch]:
5371 * gio/gdesktopappinfo.c:
5372 Add more (stubbed out) mime API needed for nautilus
5374 2007-10-01 Alexander Larsson <alexl@redhat.com>
5377 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5378 Add g_app_info_set_as_default_for_extension.
5380 * gio/gdesktopappinfo.c:
5381 Dummy for g_app_info_set_as_default_for_extension
5382 Support flags in g_app_info_create_from_commandline
5384 * gio/gwin32appinfo.c:
5386 Update for API changes
5388 * gio/gthemedicon.c:
5389 Properly NULL-terminate list of icon names
5391 2007-09-28 Alexander Larsson <alexl@redhat.com>
5393 * gio/gloadableicon.h:
5394 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5396 2007-09-28 Alexander Larsson <alexl@redhat.com>
5399 Install headers in $includedir/gio-standalone/
5401 * gio-2.0.pc.in: Added.
5402 * gio-standalone.pc.in: Removed.
5405 Renamed pkg-config file to match glib (for future move)
5406 Update to the new include dir
5409 Add more TODO comments
5411 2007-09-28 Alexander Larsson <alexl@redhat.com>
5413 * gio/gdesktopappinfo.[ch]:
5414 Expose new_from_filename
5415 Add getter for is_hidden and handle it better
5417 2007-09-28 Alexander Larsson <alexl@redhat.com>
5419 * gio/gfileinfo.[ch]:
5420 Rename g_file_size_format_for_display to
5421 g_format_file_size_for_display.
5422 Now it doesn't have the g_file prefix, so we
5423 can later move it to glib.
5425 2007-09-28 Alexander Larsson <alexl@redhat.com>
5427 * gio/gappinfo.[ch]:
5428 Add g_app_info_get_id and g_app_info_get_executable.
5429 Make all getters non-reffing
5430 Make g_app_info_launch take GFile arguments.
5431 Add must_support_uris argument to g_app_info_get_default_for_type.
5433 * gio/gwin32appinfo.c:
5434 Update to GAppInfo api changes
5436 * gio/gdesktopappinfo.c:
5437 Update to GAppInfo api changes
5438 Implement supports_xdg_startup_notify
5440 * gio/gfileicon.c (g_file_icon_get_file):
5441 Make getter non-reffing.
5446 2007-09-27 Alexander Larsson <alexl@redhat.com>
5448 * gio/gfileinfo.[ch]:
5449 Add g_file_size_format_for_display helper
5451 2007-09-27 Alexander Larsson <alexl@redhat.com>
5453 * gio/glocalfileinfo.c:
5454 Set UNIX_GID from gid, not from uid
5456 2007-09-27 Alexander Larsson <alexl@redhat.com>
5459 Add g_file_set_attributes_async
5461 2007-09-27 Alexander Larsson <alexl@redhat.com>
5463 * gio/glocalfile.c (g_local_file_set_display_name):
5464 Fix set_display_name to actually rename to the right place.
5465 Use lstat to look for existing files so we don't overwrite
5468 2007-09-26 Alexander Larsson <alexl@redhat.com>
5471 Add g_file_set_display_name_async()
5473 2007-09-26 Alexander Larsson <alexl@redhat.com>
5476 Add load_partial_contents async calls
5479 Make internal function static
5481 2007-09-26 Alexander Larsson <alexl@redhat.com>
5483 * gio/glocalfileinfo.c:
5484 Correctly detect broken symlinks
5486 2007-09-26 Alexander Larsson <alexl@redhat.com>
5488 * gio/gcancellable.c (g_cancellable_cancel):
5489 Allow cancel on NULL cancellable
5491 2007-09-25 Alexander Larsson <alexl@redhat.com>
5493 * gio/gsimpleasyncresult.c:
5494 Don't allocate g_error manually.
5495 Fixes g_slice/g_new mixup crash
5497 2007-09-25 Alexander Larsson <alexl@redhat.com>
5499 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5500 Actually set active_backend.
5501 This means the monitor will be cancelled correctly.
5503 2007-09-25 Alexander Larsson <alexl@redhat.com>
5505 * gio/gdirectorymonitor.c:
5506 Set timeout to NULL when destroying
5508 2007-09-25 Alexander Larsson <alexl@redhat.com>
5511 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5512 that is a better description of the error.
5514 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5516 * gio/gvfs.c: (g_vfs_get_local):
5517 Make the local vfs variable static. The same instance should
5520 2007-09-24 Alexander Larsson <alexl@redhat.com>
5522 * gio/glocalfileinfo.c:
5523 Pass in actual length read into sniffer, not the length
5526 2007-09-21 Alexander Larsson <alexl@redhat.com>
5528 * gio/gfileenumerator.c:
5531 * gio/gfileinputstream.c:
5532 * gio/gfileoutputstream.c:
5533 * gio/ginputstream.c:
5534 * gio/goutputstream.c:
5535 Don't crash if async callbacks are NULL
5537 2007-09-20 Alexander Larsson <alexl@redhat.com>
5540 Add async enumerate_children method and default
5543 2007-09-20 Alexander Larsson <alexl@redhat.com>
5546 Add g_file_contains_file & g_file_get_relative_path, since they
5547 were needed for nautilus.
5548 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5553 Implement new methods
5555 2007-09-17 Alexander Larsson <alexl@redhat.com>
5558 * gio/gfileinputstream.[ch]:
5559 * gio/gfileoutputstream.[ch]:
5561 * gio/glocalfileenumerator.[ch]:
5562 * gio/glocalfileinfo.[ch]:
5563 * gio/glocalfileinputstream.c:
5564 * gio/glocalfileoutputstream.c:
5565 * gio/gpollfilemonitor.c:
5566 * programs/gio-copy.c:
5567 * programs/gio-info.c:
5568 * programs/gio-move.c:
5569 Rename get_file_info to query_info() to make it clearer
5570 that these are not simple getters, but do i/o.
5572 2007-09-17 Alexander Larsson <alexl@redhat.com>
5574 * gio/gdatainputstream.[ch]:
5575 * gio/test-streams.c:
5576 Use _read_XXX instead of _get_XXX for the i/o calls
5579 2007-09-17 Alexander Larsson <alexl@redhat.com>
5582 Added needed stuff to TODO comment
5584 2007-09-17 Alexander Larsson <alexl@redhat.com>
5586 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5587 Don't error out removing the backup copy if it doesn't
5590 2007-09-14 Alexander Larsson <alexl@redhat.com>
5592 * programs/Makefile.am:
5593 * programs/gvfs-*.c:
5595 Renamed apps from gvfs-xxx to gio-xxx.
5597 2007-09-14 Alexander Larsson <alexl@redhat.com>
5600 * gio/gfileoutputstream.[ch]:
5601 * gio/glocalfileoutputstream.c:
5602 * programs/gvfs-save.c:
5603 g_file_output_stream_get_etag doesn't do i/o, so remove
5604 cancellation and error.
5606 2007-09-14 Alexander Larsson <alexl@redhat.com>
5609 Add new_etag output to replace_contents functions
5611 2007-09-14 Alexander Larsson <alexl@redhat.com>
5613 * gio/gfileoutputstream.[ch]:
5614 Add async get_file_info and default implementation
5616 2007-09-14 Alexander Larsson <alexl@redhat.com>
5618 * gio/gfileinputstream.c:
5619 Implement fallback wrapper for async get_file_info
5621 2007-09-14 Alexander Larsson <alexl@redhat.com>
5624 Add etag out argument to load_contents
5629 2007-09-14 Alexander Larsson <alexl@redhat.com>
5631 * gio/gcontenttype.c (looks_like_text):
5632 Whitespace like tab, cr and lf do not make the
5635 2007-09-14 Alexander Larsson <alexl@redhat.com>
5637 * gio/gfileinputstream.[ch]:
5638 Add async get_file_info.
5640 2007-09-13 Alexander Larsson <alexl@redhat.com>
5642 * gio/goutputstream.c (g_output_stream_write_all):
5643 Allow NULL for bytes_written
5645 2007-09-13 Alexander Larsson <alexl@redhat.com>
5647 * gio/gmemoryinputstream.[ch]:
5648 Add accessors for data
5650 2007-09-13 Alexander Larsson <alexl@redhat.com>
5652 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5653 Don't crash if length is NULL