Jamie Turner
7b63fa034f
Add resume() method to ByteBuf that restores prior write position.
2015-07-02 17:19:43 -07:00
James Bielman
d2b4cc3870
RingBuf: Fix edge cases with mark/reset.
...
- This fixes #25 and fixes #26 .
- Move the mark state into a 'Mark' enum.
- Store both 'pos' and 'len' inside the mark because both
are needed to distinguish between full/empty states. This
fixes 'reset' setting 'len' to zero when the buffer was
full when marked.
- Clear the mark when the length of the marked input range
exceeds the capacity. Fixes bugs with the mark not being
cleared correctly on writes.
- Add test cases.
2015-06-02 23:51:57 -07:00
Carl Lerche
2d3b4b9002
More badges!
2015-05-19 17:13:21 -07:00
Carl Lerche
0d7d120733
Run Windows CI on multiple platforms
2015-05-19 16:39:49 -07:00
Carl Lerche
5584fa84dc
Use Appveyor for Windows CI
2015-05-13 10:41:34 -07:00
Carl Lerche
64f8a0c6f6
Bump version to v0.2.9
2015-05-12 22:26:53 -07:00
Florian Hartwig
d25958970e
+ isn't implemented on Vec any more
2015-05-09 17:58:23 +02:00
Florian Hartwig
c5452b8cce
Don't transmute & to &mut
2015-05-09 17:34:00 +02:00
Carl Lerche
a91ee81bda
Bump version to v0.2.8
2015-04-22 09:27:57 -07:00
Carl Lerche
e39f2ba917
Remove unstable attribute
2015-04-22 08:25:53 -07:00
Carl Lerche
e62bd07b77
Bump version to v0.2.7
2015-04-12 15:29:37 -07:00
Dan Burkert
4d645c7f53
add mark/reset feature to ByteBuf and RingBuf
2015-04-11 15:18:32 -07:00
Florian Hartwig
40f1d1aa77
Add some basic tests for RingBuf
2015-04-09 23:18:16 +02:00
Florian Hartwig and Carl Lerche
c4546493ea
Fix bugs in RingBuf's io::Read and io::Write instance
2015-04-08 13:44:53 -07:00
Florian Hartwig and Carl Lerche
e22415b416
Fix Buf and MutBuf documentation
2015-04-08 13:43:02 -07:00
Carl Lerche
c9d3427fd5
Move various ByteStr impls into separate files
2015-04-08 10:51:52 -07:00
Carl Lerche
ac42766535
Group files as buf or byte str related
2015-04-07 23:40:00 -07:00
Carl Lerche
c4f2e20eb1
Move heap allocator into a module
2015-04-07 21:06:38 -07:00
Carl Lerche
dfe4cec871
Remove unnecessary #[allow(..)]
2015-04-07 19:11:38 -07:00
Carl Lerche
1ead637f69
Bump version to v0.2.6
2015-04-07 16:15:55 -07:00
Carl Lerche
c8f0bbd513
Fix TraitObject
2015-04-07 16:15:11 -07:00
Carl Lerche
8af74ae40e
Bump version to v0.2.5
2015-04-07 14:53:12 -07:00
Carl Lerche
29e5dc72bb
Get compiling on Rust 1.0 beta
2015-04-03 23:45:34 -07:00
Victor Berger
635274752b
Update for new blanket impl rules.
2015-04-03 22:46:10 +02:00
Carl Lerche
fb67281e72
Bump version to v0.2.4
2015-04-01 20:09:45 -07:00
Carl Lerche
f0ce42d9c3
Track Rust nightlies
2015-04-01 20:09:20 -07:00
Carl Lerche
7a12abb6e6
Bump version to v0.2.3
2015-03-30 15:15:03 -07:00
Andrew Hobden
e4fd392458
Add Read and Write to RingBuf
2015-03-30 14:42:59 -07:00
Carl Lerche
74a59c66b4
Bump version to v0.2.2
2015-03-28 17:00:59 -07:00
Carl Lerche
805b15e517
Track Rust nightlies
2015-03-28 16:56:53 -07:00
Carl Lerche
54f98821f3
Bump version to 0.2.1
2015-03-25 12:55:36 -07:00
Carl Lerche
8f526231d8
Track Rust nightlies
2015-03-25 12:44:38 -07:00
Carl Lerche
53624038ad
Bump version to 0.2.0
2015-03-24 22:28:09 -07:00
Carl Lerche
83680dda27
Implement Source for std::io::Read
2015-03-24 22:10:29 -07:00
Florian Hartwig
bb1227116b
Fix panics on operations on 0-capacity RingBuf
2015-03-25 01:11:25 +01:00
Carl Lerche
68a0abf687
Implement slice for small ByteStr
2015-03-23 23:38:53 -07:00
Carl Lerche
bd2c643e17
Flesh out ToBytes, ByteStr::concat, and ByteStr eq
2015-03-23 23:22:21 -07:00
Carl Lerche
a87dea0bd4
Track Rust master
2015-03-23 17:12:39 -07:00
Florian Hartwig
3f9b7f6d46
Fix errors and warnings with current rust nightly
2015-03-19 16:23:29 +01:00
Carl Lerche
e806a59b4a
Fix deprecation warnings
2015-03-09 22:30:41 -07:00
Florian Hartwig and Carl Lerche
6f00c6117b
Remove RingBufReader and RingBufWriter types
2015-03-09 22:24:42 -07:00
Carl Lerche
113bff22c6
Fix a couple of bugs
2015-03-09 22:21:10 -07:00
Carl Lerche
b7c7ff5ab6
Bump version to 0.1.3
2015-02-17 15:04:04 -08:00
Florian Hartwig and Carl Lerche
7e02c29e85
Remove unnecessary Send impl
2015-02-17 14:10:07 -08:00
Carl Lerche
7444721d98
Implement Debug for Bytes
2015-02-17 12:40:15 -08:00
Carl Lerche
e39ba25a95
Implement Read / Write for Buf types
2015-02-16 20:30:04 -08:00
Carl Lerche
1f1aa36547
Bump version to 0.1.2
2015-02-15 14:54:38 -08:00
Carl Lerche
a3fea6b1e2
Add io feature
2015-02-14 19:47:31 -08:00
Carl Lerche
d7a9e9ffc9
Temporarily remove iobuf from deps
2015-02-14 19:46:18 -08:00
Valerii Hiora
1442ad219c
Fixed error on Rust master - no drop flag requires feature
2015-02-13 09:50:53 +02:00