| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using a caller-supplied buffer for g_input_stream_read() doesn't
translate well to the semantics of many other languages, and using a
non-refcounted buffer for read_async() and write_async() makes it
impossible to manage the memory correctly currently in
garbage-collected languages.
Fix both of these issues by adding a new set of methods that work with
GBytes objects rather than plain buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=671139
|
|
|
|
|
|
| |
Matches the corresponding additions to GMemoryInputStream.
https://bugzilla.gnome.org/show_bug.cgi?id=672102
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=650884
|
| |
|
|
|
|
|
| |
a) gcc doesn't like this ("Cast to pointer of different size)
b) It compares only half of the pointer
|
|
|
|
| |
Do explicit casts to avoid warnings.
|
|
|
|
| |
This helps bindings. Patch by Krzysztof Kosiński. See bug 605733.
|
|
|
|
|
|
| |
This reverts commit 2262d76b33094304ece0d0d9cd5920682599a49b.
Move GIO tests back to where they belong.
|
|
|
|
|
| |
This avoids getting tests built every time when working on libgio and
running make in the gio/ directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-26 Alexander Larsson <alexl@redhat.com>
Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
* gmemoryoutputstream.c:
Track actual valid size, even if we later seek back.
* tests/memory-output-stream.c:
Add testcase
svn path=/trunk/; revision=7916
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/data-input-stream.c:
* tests/data-output-stream.c:
* tests/live-g-file.c:
* tests/memory-input-stream.c:
* tests/memory-output-stream.c: Use g_assert_error() and
g_assert_no_error()
svn path=/trunk/; revision=7556
|
|
2008-06-29 Matthias Clasen <mclasen@redhat.com>
* tests/Makefile.am:
* tests/memory-output-stream.c: Add some tests for
GMemoryOutputStream.
2008-06-29 Matthias Clasen <mclasen@redhat.com>
Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
0, ...)
* gmemoryoutputstream.c (array_resize): Handle truncation to
zero correctly. Reported by Akira Tagoh
svn path=/trunk/; revision=7106
|