Commit Graph

  • 66b40fd1c9 Bump actions/checkout from 6.0.2 to 6.0.3 (#70) master dependabot[bot] 2026-06-08 05:52:32 -07:00
  • 08f3e635d6 Run 'go fix' to modernize code (#69) Billy Keyes 2026-05-25 09:11:07 -07:00
  • 6d3702d6db Run tests with Go 1.25 (#68) Billy Keyes 2026-05-25 08:39:49 -07:00
  • c4be319555 Pin GitHub actions to SHAs and enable Dependabot (#67) Billy Keyes 2026-05-25 08:36:51 -07:00
  • 17bd72f0e2 Report short sources as conflicts during apply (#63) Billy Keyes 2025-09-03 17:26:05 -07:00
  • 7413262a18 Update golangci-lint to v2 (#61) Billy Keyes 2025-03-31 18:37:50 -07:00
  • 0896f01926 Clarify that we only support GNU diff Billy Keyes 2025-03-29 13:27:19 -07:00
  • 823d31db22 Add a test for removing the last newline in a file (#59) Billy Keyes 2025-03-04 20:14:23 -08:00
  • fffa3cca9b Fix binary headers in formatted patches (#56) v0.8.1 Billy Keyes 2025-01-07 19:35:14 -08:00
  • 14da3d30f7 Parse binary headers with file paths (#55) Billy Keyes 2025-01-07 19:27:03 -08:00
  • 8584cd59af Add String() methods to parsed types (#48) v0.8.0 Billy Keyes 2024-08-11 14:57:07 -04:00
  • 9e0997ef65 Update Go and golangci-lint versions (#49) Billy Keyes 2024-08-11 14:39:23 -04:00
  • 0a4e55f9a1 Return preamble when a patch has no files (#46) v0.7.4 Billy Keyes 2024-07-14 23:44:16 -04:00
  • a00d2ccaf7 Follow git logic when parsing patch identities (#44) v0.7.3 Billy Keyes 2024-05-05 23:16:19 -04:00
  • 3f2ea5c16e Accept empty emails in ParsePatchIdentity (#42) v0.7.2 Billy Keyes 2024-03-06 21:32:38 -08:00
  • 13e8639a0b Clarify that Parse expects a single patch Billy Keyes 2024-02-25 12:39:09 -08:00
  • 981bc4b60c Fix parsing of mode lines with trailing space (#38) v0.7.1 Billy Keyes 2022-12-26 17:56:30 -05:00
  • 1575e0c4ef Remove warning about apply API changes v0.7.0 Billy Keyes 2022-10-01 14:50:12 -07:00
  • 03daf96518 Add option to control patch subject cleaning (#36) Billy Keyes 2022-10-01 14:47:39 -07:00
  • dc43dbf8c7 Slightly simplify patch header parsing (#34) Billy Keyes 2022-09-30 22:43:40 -07:00
  • 071689e91f Test with Go 1.19, upgrade golangci-lint (#35) Billy Keyes 2022-09-30 22:41:17 -07:00
  • 75930390c9 Split apply logic by fragment type (#32) Billy Keyes 2022-03-20 12:20:17 -07:00
  • 8764d8180f Add note about apply API changes to README Billy Keyes 2022-03-18 14:13:13 -07:00
  • 52645c60d0 Use ioutil for compatibility with older Go versions (#31) v0.6.1 goldsteinn 2022-02-27 21:32:01 -05:00
  • f23f745615 Add note about fuzz testing to README Billy Keyes 2021-09-18 21:16:28 -07:00
  • 688483e179 Add experimental fuzz test native-fuzz Billy Keyes 2021-09-12 21:37:53 -07:00
  • 4f540371d0 Return errors for empty text fragments (#29) Billy Keyes 2021-09-12 18:51:00 -04:00
  • 265161e7a0 Checkpoint go-fuzz testing fuzz Billy Keyes 2021-09-11 16:54:31 -04:00
  • b6a90110a3 Fix out-of-bounds panic parsing timestamps (#28) Billy Keyes 2021-09-09 14:24:16 -04:00
  • 53bcdf7e5d Fix EOF error for some files without final newline (#27) v0.6.0 Billy Keyes 2021-08-19 17:32:18 -07:00
  • b5756546a1 Decode quoted-printable UTF8 in email subjects (#25) v0.5.2 Javier Campanini 2021-07-19 14:45:58 -04:00
  • 3772c9eb65 Fix parsing for file names with spaces (#24) v0.5.1 Billy Keyes 2021-04-24 15:23:31 -07:00
  • b6666095cf Remove deprecated actions commands (#22) Billy Keyes 2021-03-19 14:47:06 -07:00
  • 8cd57be485 Update development status in README Billy Keyes 2021-02-19 13:09:28 -08:00
  • b846b2cee0 Relax email header requirements (#20) George Dunlap 2020-10-31 23:00:50 +00:00
  • 1bd59c4f11 Remove "appendix" information from commit message (#19) v0.5.0 George Dunlap 2020-10-24 04:39:43 +01:00
  • 379b893435 Remove email decorations from patch titles (#17) George Dunlap 2020-09-16 04:25:25 +01:00
  • 864dd3fb4f Replace godoc.org badge with pkg.go.dev badge Billy Keyes 2020-09-12 21:43:52 -07:00
  • d3116e7b7e Make patch date parsing simpler and stricter (#15) v0.4.0 Billy Keyes 2020-06-15 22:07:06 -07:00
  • f3b83ad722 Allow unpadded days in patch headers (#14) Billy Keyes 2020-06-10 21:34:00 -07:00
  • 4fa9801742 Check for leftover content after a full delete (#9) Billy Keyes 2020-05-03 13:39:08 -07:00
  • b5ae0bd443 Rename PatchHeader.Message to .Body (#7) Billy Keyes 2020-04-26 20:00:20 -07:00
  • 546a186b39 Fix minor documentation issues Billy Keyes 2020-04-18 22:39:42 -07:00
  • 5609b2d456 Fix typo in comment v0.3.0 Billy Keyes 2020-04-18 22:23:12 -07:00
  • f0da09b10f Add ParsePatchHeader and related types (#6) Billy Keyes 2020-04-18 22:21:55 -07:00
  • c2035adeda Add Apply convenience function to match Parse (#5) Billy Keyes 2020-04-11 15:21:23 -07:00
  • 34ea173066 Add apply example to README Billy Keyes 2020-02-01 13:30:59 -08:00
  • bedbab3f65 Use GitHub actions for testing and linting (#3) Billy Keyes 2020-02-01 13:19:05 -08:00
  • 09f3004fce Fix flushing when data is larger than the buffer (#2) v0.2.1 Billy Keyes 2020-02-01 10:58:43 -08:00
  • bb5b8f69fd Update README.md v0.2.0 Billy Keyes 2020-01-27 22:55:33 -08:00
  • c979654ba5 Update README with apply status Billy Keyes 2020-01-27 22:41:54 -08:00
  • 9fc14fddb0 Add tests for file-level application Billy Keyes 2020-01-27 22:35:13 -08:00
  • 19ec1a24b4 Improve detection of in-progress application Billy Keyes 2020-01-26 15:02:42 -08:00
  • 0f3872a5a4 Fix panic with empty input in LineReaderAt Billy Keyes 2020-01-26 13:37:09 -08:00
  • fa88623500 Improve clarity of LineReaderAt implementation Billy Keyes 2020-01-25 22:26:31 -08:00
  • 206a57eb7a Add tests for LineReaderAt implementation Billy Keyes 2020-01-25 22:24:51 -08:00
  • 18058d1e15 Move apply methods to an Applier type Billy Keyes 2020-01-23 23:02:31 -08:00
  • 3d1274d16e Remove unused LineReader interface Billy Keyes 2020-01-23 21:53:31 -08:00
  • 0b7af3feaa Implement text application using LineReaderAt Billy Keyes 2020-01-22 22:32:31 -08:00
  • f3702115a6 Add LineReaderAt interface and implementation Billy Keyes 2020-01-20 23:14:32 -08:00
  • 131a046908 Use io.ReaderAt to implement binary applies Billy Keyes 2020-01-18 18:53:27 -08:00
  • a34334d6ef Add error tests for BinaryFragment#Apply Billy Keyes 2020-01-16 22:34:19 -08:00
  • 194589f001 Add test for large binary delta application Billy Keyes 2020-01-16 20:41:40 -08:00
  • c50036a466 Abstract common file loading in apply tests Billy Keyes 2020-01-15 23:03:49 -08:00
  • 79aa2a9a77 Add positive tests for BinaryFragment#Apply Billy Keyes 2020-01-15 22:42:54 -08:00
  • a1d21957e2 Implement binary fragment application Billy Keyes 2020-01-14 22:49:14 -08:00
  • 32887c7120 Update to Go 1.13 in go.mod Billy Keyes 2020-01-13 22:14:17 -08:00
  • eb5f3de78c Improve conflict error detection Billy Keyes 2020-01-12 22:06:01 -08:00
  • 1b341e0693 Add error tests for TextFragment#ApplyStrict Billy Keyes 2020-01-12 22:03:21 -08:00
  • 6a055aa600 Add exact line test for TextFragment#ApplyStrict Billy Keyes 2020-01-12 20:56:19 -08:00
  • 774281f01b Standardize on int64 for line numbers Billy Keyes 2020-01-09 22:11:25 -08:00
  • 7bd4e0bb0e Fix EOF handling in TextFragment#ApplyStrict Billy Keyes 2020-01-09 22:05:24 -08:00
  • 02f7ff4f79 Add positive tests for TextFragment#ApplyStrict Billy Keyes 2020-01-08 21:36:17 -08:00
  • ae704236bb Return ApplyError when ApplyString fails Billy Keyes 2020-01-07 22:59:25 -08:00
  • 93d46e805c Add initial pass at ApplyStrict functions Billy Keyes 2020-01-05 20:37:59 -08:00
  • 25bee8cf2f Add validation function for text fragment Billy Keyes 2020-01-05 20:36:01 -08:00
  • d471b7e1a3 Add internal function to unwrap LineReaders Billy Keyes 2020-01-04 23:32:16 -08:00
  • 3ec1c74c34 Improve docs for StringReader and LineReader Billy Keyes 2020-01-04 20:02:34 -08:00
  • a1f934e852 Add LineReader and StringReader interfaces v0.1.0 Billy Keyes 2020-01-04 12:02:37 -08:00
  • f65047b165 Avoid buffering when reader supports ReadString Billy Keyes 2019-04-27 16:14:41 -07:00
  • 1c950ee854 Split source files by patch type (text/binary) Billy Keyes 2019-04-17 21:36:46 -07:00
  • d42fb0e93f Fix spelling mistakes, add Go Report Card badge Billy Keyes 2019-04-14 19:53:39 -07:00
  • ef3359a969 Add a package-level documentation comment Billy Keyes 2019-04-14 19:44:06 -07:00
  • 37fcc9a950 Update status and add example in README Billy Keyes 2019-04-14 19:35:48 -07:00
  • 31777bd4b5 Add parser advancement tests for binary parsing Billy Keyes 2019-04-14 19:27:34 -07:00
  • 16539ad031 Add tests for parsing full binary fragments Billy Keyes 2019-04-14 19:18:08 -07:00
  • d104a6c22a Add error case tests for binary chunk parsing Billy Keyes 2019-04-14 17:10:35 -07:00
  • 62569e0d07 Add dedicated tests for base85 decoding Billy Keyes 2019-04-14 15:50:07 -07:00
  • 8ce8cba533 Fix binary chunk decoding and inflating Billy Keyes 2019-04-13 22:24:49 -07:00
  • 22fb5076be Add test for binary fragment header parsing Billy Keyes 2019-04-13 15:54:52 -07:00
  • ddafbc8ba3 Split up binary parsing to match text parsing Billy Keyes 2019-04-10 23:03:19 -07:00
  • 0cfd720d4f Add test for binary marker parsing Billy Keyes 2019-04-10 23:02:48 -07:00
  • 5a521ed05f Implement binary fragment parsing Billy Keyes 2019-04-09 22:54:41 -07:00
  • 013e581989 Fix error return in ParseBinaryMarker Billy Keyes 2019-04-08 23:09:19 -07:00
  • b101b0d812 Add binary patch types and binary marker parsing Billy Keyes 2019-04-07 21:24:17 -07:00
  • a0b33e37b4 Rename types in preparation for binary parsing Billy Keyes 2019-04-07 20:33:21 -07:00
  • 3398cfa890 Add additional parser advancement tests Billy Keyes 2019-04-07 20:30:20 -07:00
  • 69e4444419 Return preamble content when parsing files Billy Keyes 2019-04-07 19:57:11 -07:00
  • 07e5314a7c Remove second commit header from test file Billy Keyes 2019-04-07 17:49:15 -07:00
  • 09c686917c Add test for multiple files in one patch Billy Keyes 2019-04-06 19:13:42 -07:00