Matthias Clasen
0b715510de
Bug 562393 – g_buffered_input_stream_read_byte broken if data available
...
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 562393 – g_buffered_input_stream_read_byte broken if data
available
* gio/gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
handling of buffered content. Patch by Philip Withnall
* gio/tests/buffered-input-stream.c: Add a testcase for this bug.
* gio/tests/Makefile.am: And build it
svn path=/trunk/; revision=7686
2008-11-28 05:57:07 +00:00
Alexander Larsson
4f0b18d203
Bug 555740 - gicon serialization Based on patch from David Zeuthen
...
2008-10-21 Alexander Larsson <alexl@redhat.com>
Bug 555740 - gicon serialization
Based on patch from David Zeuthen
* gicon.[ch]:
* gio.symbols:
Add g_icon_to_string() and g_icon_new_for_string().
* gemblem.c:
* gemblemedicon.c:
* gfileicon.c:
* gthemedicon.c:
Implement icon serialization for built-in icon types
* tests/Makefile.am:
* tests/g-icon.c:
Added GIcon serialization test
svn path=/trunk/; revision=7618
2008-10-21 11:51:48 +00:00
Tor Lillqvist
402d950ec7
Build desktop-app-info only on Unix.
...
2008-09-30 Tor Lillqvist <tml@novell.com>
* tests/Makefile.am: Build desktop-app-info only on Unix.
svn path=/trunk/; revision=7562
2008-09-30 11:08:38 +00:00
Matthias Clasen
764e187fd9
Bug 545350 – GAppInfo deletion Bug 545351 – Reset associations for
...
2008-09-26 Matthias Clasen <mclasen@redhat.com>
Bug 545350 – GAppInfo deletion
Bug 545351 – Reset associations for content type
* gio.symbols:
* gappinfo.[hc]: New functions g_app_info_can_delete,
g_app_info_delete and g_app_info_reset_type_associations.
* gdesktopappinfo.c:
* gwin32appinfo.c: Implementations of these.
* tests/Makefile.am:
* tests/desktop-app-info.c: Tests for GAppInfo functionality.
svn path=/trunk/; revision=7554
2008-09-26 19:57:36 +00:00
Dan Winship
7f4864e58d
Bug 505361 - gunixinputstream.c assumes poll() available
...
Bug 509446 - portable blocking gio cancellation
* gcancellable.c (g_cancellable_make_pollfd): New method to make a
GPollFD for a cancellable (which is slightly more complicated on
Windows than Unix).
* gunixinputstream.c (g_unix_input_stream_read):
* gunixoutputstream.c (g_unix_output_stream_write): Use
g_cancellable_make_pollfd() and g_poll() rather than using poll()
directly.
* tests/unix-streams.c: test of GUnixInputStream,
GUnixOutputStream, and GCancellable.
svn path=/trunk/; revision=7553
2008-09-26 16:19:35 +00:00
Matthias Clasen
e3313b2651
Add some tests for GMemoryOutputStream.
...
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
2008-06-30 03:47:27 +00:00
Matthias Clasen
689a9e4b1a
Revert the patch for bug 527214 and related changes. GTimer
...
is supposed to work without threads.
svn path=/trunk/; revision=6943
2008-05-27 16:00:51 +00:00
Matthias Clasen
cdc2910103
Make tests work
...
svn path=/trunk/; revision=6935
2008-05-26 05:57:09 +00:00
Tor Lillqvist
7077781cc3
live-g-file won't build on Windows, too Unix-specific.
...
2008-02-07 Tor Lillqvist <tml@novell.com>
* tests/Makefile.am (TEST_PROGS): live-g-file won't build on
Windows, too Unix-specific.
svn path=/trunk/; revision=6478
2008-02-07 09:56:25 +00:00
Tomas Bzatek
d87c1c0af4
New GIO testing module working over real data
...
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
* tests/Makefile.am:
* tests/live-g-file.c:
* tests/live-g-file.txt:
New GIO testing module working over real data
svn path=/trunk/; revision=6465
2008-02-06 13:52:07 +00:00
Alexander Larsson
b784923e9c
Allow UTF-8 in file:// parse names.
...
2008-01-22 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
Allow UTF-8 in file:// parse names.
* tests/Makefile.am:
* tests/data-input-stream.c:
* tests/data-output-stream.c:
* tests/g-file-info.c:
* tests/g-file.c:
Added a bunch of tests from Tomas Bzatek
svn path=/trunk/; revision=6351
2008-01-22 09:13:28 +00:00
Matthias Clasen
3cbcbee7a6
Add some tests
...
svn path=/trunk/; revision=6257
2008-01-07 06:14:40 +00:00