Commit Graph

  • c4483f8a94 travis clone depth master daniel 2020-11-19 10:26:18 +01:00
  • faaa335e37 test appending daniel 2020-11-19 10:24:11 +01:00
  • ee9158555e array-like frame indexing daniel 2020-11-17 09:00:11 +01:00
  • a29faf9d63 Merge branch 'clippy' daniel 2020-11-17 08:41:19 +01:00
  • 3b89309b8b test filter coords daniel 2020-11-17 08:41:11 +01:00
  • daccb110db ErrorCode::is_eof() now takes self by value (8 bits) rather than reference (64 bits) Josh Mitchell 2020-11-16 14:19:57 +11:00
  • 8ce523cb68 Explicit returns for error cases Josh Mitchell 2020-11-16 14:06:01 +11:00
  • b1d92ab150 Update README.md Daniel Bauer 2020-11-16 14:17:22 +01:00
  • 49f77c672a Deref rather than clone in Frame::filter_coords() Josh Mitchell 2020-11-16 14:01:42 +11:00
  • 53c668631d Update README.md Daniel Bauer 2020-11-16 14:14:27 +01:00
  • 5b7247962e add repo daniel 2020-11-16 14:01:33 +01:00
  • f10d3154f1 version up v0.3.0 daniel 2020-11-16 13:59:13 +01:00
  • 6da236c86e Merge pull request #7 from Yoshanuikabundi/no-fallible-casts Daniel Bauer 2020-11-16 13:47:49 +01:00
  • 58617dcf4d documentation daniel 2020-11-16 13:26:03 +01:00
  • 40714061f6 check_code should not be public daniel 2020-11-16 13:07:08 +01:00
  • 46d358fd7a test outofrange error daniel 2020-11-16 12:55:54 +01:00
  • 864ccf628d remove use statements in methods daniel 2020-11-16 11:56:10 +01:00
  • ee7a266bb7 single error type for cstring conversion daniel 2020-11-16 11:50:40 +01:00
  • abe7022233 Merge branch 'master' into no-fallible-casts daniel 2020-11-15 13:38:12 +01:00
  • 62b4429dfe travis benchmarks daniel 2020-11-15 13:08:34 +01:00
  • be6ac4202d Test for the error messages from to! Josh Mitchell 2020-11-15 18:48:13 +11:00
  • 43cc36de99 Corrected a few ErrorTasks Josh Mitchell 2020-11-15 18:36:54 +11:00
  • 62462ed8c3 Unified conversion errors and improved messages Josh Mitchell 2020-11-15 18:30:57 +11:00
  • 2221531f75 Improved out-of-range error messages Josh Mitchell 2020-11-15 17:44:49 +11:00
  • 4a71ed001c New NumAtomsOutOfRange error variant Josh Mitchell 2020-11-15 17:39:22 +11:00
  • 9a4f27aeb7 Removed pointer casts from lib.rs Josh Mitchell 2020-11-15 17:21:49 +11:00
  • 7acde7f7de Use c_int and c_float behind closed doors rather than i32/f32 Josh Mitchell 2020-11-15 17:02:55 +11:00
  • 8f310f3fe7 Added from type info to cast errors Josh Mitchell 2020-11-15 16:54:42 +11:00
  • 8f34cdfcdf no more BindgenTy1 Josh Mitchell 2020-11-15 16:48:52 +11:00
  • ecccd6aca4 Fix a few casts after rebase Josh Mitchell 2020-11-14 13:06:53 +11:00
  • 1192188cb0 Test for to_i32 Josh Mitchell 2020-11-11 18:58:32 +11:00
  • 58719dad5d Removed all fallible casts (except in tests) Josh Mitchell 2020-11-11 18:42:21 +11:00
  • b0875b60a5 Merge pull request #6 from Yoshanuikabundi/frame-semantics Daniel Bauer 2020-11-13 12:47:17 +01:00
  • bbc0250af4 frame semantics for seek/tell and benchs daniel 2020-11-13 12:41:17 +01:00
  • 3c36d3040e Removed trivial casts and changed frame.step to usize Josh Mitchell 2020-11-10 20:45:38 +11:00
  • 734048d572 Refactor frame to have desired semantics Josh Mitchell 2020-11-10 20:38:24 +11:00
  • d559f9e6df disable default libtest bench daniel 2020-11-13 12:33:09 +01:00
  • d2fff6cd85 iterator benchmarks daniel 2020-11-13 11:51:14 +01:00
  • e7ad99c061 Merge pull request #5 from Yoshanuikabundi/xdr-seek Daniel Bauer 2020-11-13 10:06:56 +01:00
  • dde60bff5c move imports out of functions daniel 2020-11-12 15:45:27 +01:00
  • d784be8be5 Improved seek errors and implemented for TRR and XTC Josh Mitchell 2020-11-11 21:34:50 +11:00
  • 95de96aa5b Implement std::io::Seek for XDRFile with unit tests Josh Mitchell 2020-11-09 20:10:31 +11:00
  • a8c88caf34 Merge pull request #3 from Yoshanuikabundi/rusty-error-codes Daniel Bauer 2020-11-12 10:25:41 +01:00
  • 80b6cafc66 reverted to single ReadNAtom error type daniel 2020-11-12 09:59:59 +01:00
  • 90c4c73887 Used cached result of self.trajectory.get_num_atoms() rather than storing it in TrajectoryIterator Josh Mitchell 2020-11-11 19:19:44 +11:00
  • 53dd997129 Broke out next_inner Josh Mitchell 2020-11-11 17:11:55 +11:00
  • 6d911fae0b Clearer errors if get_num_atoms fails during into_iter Josh Mitchell 2020-11-11 16:40:37 +11:00
  • 0d887fc515 tests daniel 2020-11-10 17:46:11 +01:00
  • 7a22031bee move check_code to lib daniel 2020-11-10 17:22:43 +01:00
  • 56a15b7a41 code cleanup daniel 2020-11-10 16:21:29 +01:00
  • 7ee04620f6 Error::task() now checks sources Josh Mitchell 2020-11-10 20:11:15 +11:00
  • 323ba0b88c Clarified error message when read_num_atoms() fails during read() Josh Mitchell 2020-11-10 19:49:58 +11:00
  • 85b106f5d8 Returned Error to being an enum, as other fields were unused Josh Mitchell 2020-11-10 19:34:58 +11:00
  • ce16b20b67 Slightly clearer docs Josh Mitchell 2020-11-10 18:52:16 +11:00
  • 51635f2583 Restricted ErrorTask to only being relevant to C API errors Josh Mitchell 2020-11-10 18:50:14 +11:00
  • 420af8b369 Reduced role of ErrorTask to simplify errors Josh Mitchell 2020-11-10 18:17:23 +11:00
  • 4a99b4e0b0 Cleaned up errors a bit Josh Mitchell 2020-11-10 17:51:41 +11:00
  • 65294abee8 Replaced frame resizing with a simple check Josh Mitchell 2020-11-10 17:41:11 +11:00
  • 1fbce21ff6 Corrected undefined behaviour when calling Trajectory.read() on improperly sized Frame Josh Mitchell 2020-11-10 00:59:10 +11:00
  • d1b69d3fd4 Treat ToCString differently in Display based on whether it has a source Josh Mitchell 2020-11-09 22:42:50 +11:00
  • 9ac3c959d9 Added ToCString variant to Error.source() Josh Mitchell 2020-11-09 22:40:37 +11:00
  • f757072523 Added documentation to the errors module Josh Mitchell 2020-11-08 01:19:52 +11:00
  • 95b1bdba57 Streamlined error generation Josh Mitchell 2020-11-08 00:17:37 +11:00
  • 36a722e721 Refactored ErrorCode as Error.source() Josh Mitchell 2020-11-07 23:57:12 +11:00
  • 18436aaaa3 Nicer error messages Josh Mitchell 2020-11-07 23:45:14 +11:00
  • 4ca96364b9 Made error construction methods pub(crate) Josh Mitchell 2020-11-07 23:34:21 +11:00
  • 55fa21d45c Broke out errors module and handle error codes as rust enum Josh Mitchell 2020-11-07 23:25:30 +11:00
  • 75bd0c9437 Merge pull request #4 from Yoshanuikabundi/no-unwrap Daniel Bauer 2020-11-09 08:37:37 +01:00
  • fc35777aa0 Unit tests for Error::is_eof() Josh Mitchell 2020-11-09 18:06:08 +11:00
  • e95fea3bfc Unit test for path_to_cstring() Josh Mitchell 2020-11-09 17:33:03 +11:00
  • f9cf479baf Removed unwrap()s, refactored iterator, removed memleak Josh Mitchell 2020-11-08 17:23:08 +11:00
  • 05b309e4bd Update README.md Daniel Bauer 2020-11-08 11:25:36 +01:00
  • e19f7efd73 Update README.md Daniel Bauer 2020-11-08 11:22:21 +01:00
  • e07d71beb6 travis daniel 2020-11-08 11:16:00 +01:00
  • ca7624fe1a Merge pull request #2 from Yoshanuikabundi/open-ergonomics Daniel Bauer 2020-11-08 09:57:43 +01:00
  • c998ded6bb unit tests daniel 2020-11-08 09:56:27 +01:00
  • 0351857606 Added open_read, open_write and open_append convenience methods Josh Mitchell 2020-11-08 00:43:29 +11:00
  • 4a99228d87 Changed an integration test to take path as &str Josh Mitchell 2020-11-08 00:26:30 +11:00
  • e67b6a0e5f Functions that took &Path now take impl AsRef<Path> Josh Mitchell 2020-11-08 00:25:07 +11:00
  • e77f43d8ae version up v0.2.0 daniel 2020-11-07 11:57:48 +01:00
  • d16421708d test some error types daniel 2020-11-07 11:57:07 +01:00
  • 337a5a5c1d Merge pull request #1 from Yoshanuikabundi/remove-failure Daniel Bauer 2020-11-07 11:53:07 +01:00
  • cbd45f74dc Replace failure library with new Error type Josh Mitchell 2020-11-07 20:12:41 +11:00
  • 0a613c2022 Suppressed or corrected hints and warnings Josh Mitchell 2020-11-07 20:05:37 +11:00
  • e30a175d0d Format with rustfmt Josh Mitchell 2020-11-07 20:03:05 +11:00
  • 042f0f82c6 Create README.md v0.1.0 Daniel Bauer 2020-04-16 15:17:11 +02:00
  • 901346cfaa add correct license daniel 2020-04-16 15:02:34 +02:00
  • ceb09f6371 iterators daniel 2020-04-16 15:00:20 +02:00
  • 28a08a1401 documentation daniel 2020-04-16 14:37:59 +02:00
  • 2303303472 XTCTrajectory and TRRTrajectory daniel 2020-04-16 13:47:08 +02:00
  • 43d2d74468 c_abi daniel 2020-04-16 13:03:33 +02:00