91 Commits

Author SHA1 Message Date
daniel
c4483f8a94 travis clone depth 2020-11-19 10:26:18 +01:00
daniel
faaa335e37 test appending 2020-11-19 10:24:11 +01:00
daniel
ee9158555e array-like frame indexing 2020-11-17 09:17:39 +01:00
daniel
a29faf9d63 Merge branch 'clippy' 2020-11-17 08:41:19 +01:00
daniel
3b89309b8b test filter coords 2020-11-17 08:41:11 +01:00
Josh Mitchell
daccb110db ErrorCode::is_eof() now takes self by value (8 bits) rather than reference (64 bits) 2020-11-17 00:21:11 +11:00
Josh Mitchell
8ce523cb68 Explicit returns for error cases 2020-11-17 00:19:33 +11:00
Daniel Bauer
b1d92ab150 Update README.md 2020-11-16 14:17:22 +01:00
Josh Mitchell
49f77c672a Deref rather than clone in Frame::filter_coords() 2020-11-17 00:17:04 +11:00
Daniel Bauer
53c668631d Update README.md 2020-11-16 14:14:27 +01:00
daniel
5b7247962e add repo 2020-11-16 14:01:33 +01:00
daniel
f10d3154f1 version up v0.3.0 2020-11-16 13:59:13 +01:00
Daniel Bauer
6da236c86e Merge pull request #7 from Yoshanuikabundi/no-fallible-casts
No fallible casts
2020-11-16 13:47:49 +01:00
daniel
58617dcf4d documentation 2020-11-16 13:26:03 +01:00
daniel
40714061f6 check_code should not be public 2020-11-16 13:07:08 +01:00
daniel
46d358fd7a test outofrange error 2020-11-16 12:55:54 +01:00
daniel
864ccf628d remove use statements in methods 2020-11-16 11:56:10 +01:00
daniel
ee7a266bb7 single error type for cstring conversion 2020-11-16 11:50:40 +01:00
daniel
abe7022233 Merge branch 'master' into no-fallible-casts 2020-11-15 13:38:12 +01:00
daniel
62b4429dfe travis benchmarks 2020-11-15 13:19:30 +01:00
Josh Mitchell
be6ac4202d Test for the error messages from to! 2020-11-15 18:48:13 +11:00
Josh Mitchell
43cc36de99 Corrected a few ErrorTasks 2020-11-15 18:36:54 +11:00
Josh Mitchell
62462ed8c3 Unified conversion errors and improved messages 2020-11-15 18:30:57 +11:00
Josh Mitchell
2221531f75 Improved out-of-range error messages 2020-11-15 17:44:49 +11:00
Josh Mitchell
4a71ed001c New NumAtomsOutOfRange error variant 2020-11-15 17:39:22 +11:00
Josh Mitchell
9a4f27aeb7 Removed pointer casts from lib.rs 2020-11-15 17:21:49 +11:00
Josh Mitchell
7acde7f7de Use c_int and c_float behind closed doors rather than i32/f32 2020-11-15 17:13:46 +11:00
Josh Mitchell
8f310f3fe7 Added from type info to cast errors 2020-11-15 16:54:42 +11:00
Josh Mitchell
8f34cdfcdf no more BindgenTy1 2020-11-15 16:48:52 +11:00
Josh Mitchell
ecccd6aca4 Fix a few casts after rebase 2020-11-14 13:06:53 +11:00
Josh Mitchell
1192188cb0 Test for to_i32 2020-11-14 13:02:19 +11:00
Josh Mitchell
58719dad5d Removed all fallible casts (except in tests) 2020-11-14 13:02:19 +11:00
Daniel Bauer
b0875b60a5 Merge pull request #6 from Yoshanuikabundi/frame-semantics
Frame semantics
2020-11-13 12:47:17 +01:00
daniel
bbc0250af4 frame semantics for seek/tell and benchs 2020-11-13 12:42:04 +01:00
Josh Mitchell
3c36d3040e Removed trivial casts and changed frame.step to usize 2020-11-13 12:37:23 +01:00
Josh Mitchell
734048d572 Refactor frame to have desired semantics 2020-11-13 12:37:23 +01:00
daniel
d559f9e6df disable default libtest bench 2020-11-13 12:33:09 +01:00
daniel
d2fff6cd85 iterator benchmarks 2020-11-13 12:28:40 +01:00
Daniel Bauer
e7ad99c061 Merge pull request #5 from Yoshanuikabundi/xdr-seek
XDR seek
2020-11-13 10:06:56 +01:00
daniel
dde60bff5c move imports out of functions 2020-11-12 15:45:27 +01:00
Josh Mitchell
d784be8be5 Improved seek errors and implemented for TRR and XTC 2020-11-12 15:38:57 +01:00
Josh Mitchell
95de96aa5b Implement std::io::Seek for XDRFile with unit tests 2020-11-12 15:38:57 +01:00
Daniel Bauer
a8c88caf34 Merge pull request #3 from Yoshanuikabundi/rusty-error-codes
Rusty error codes
2020-11-12 10:25:41 +01:00
daniel
80b6cafc66 reverted to single ReadNAtom error type 2020-11-12 09:59:59 +01:00
Josh Mitchell
90c4c73887 Used cached result of self.trajectory.get_num_atoms() rather than storing it in TrajectoryIterator 2020-11-11 19:19:44 +11:00
Josh Mitchell
53dd997129 Broke out next_inner 2020-11-11 17:11:55 +11:00
Josh Mitchell
6d911fae0b Clearer errors if get_num_atoms fails during into_iter 2020-11-11 16:40:37 +11:00
daniel
0d887fc515 tests 2020-11-10 17:46:11 +01:00
daniel
7a22031bee move check_code to lib 2020-11-10 17:22:43 +01:00
daniel
56a15b7a41 code cleanup 2020-11-10 17:02:34 +01:00