Commit Graph

  • 47d923e573 Add simple full file parsing test Billy Keyes 2019-04-03 23:01:44 -07:00
  • a1149ed1c9 Add tests for finding the next file header Billy Keyes 2019-04-02 22:55:40 -07:00
  • 7478889ab4 Do not accept io.EOF when expecting an error Billy Keyes 2019-04-01 22:58:20 -07:00
  • 7b9443bc1c Add tests for ParseTextFragments Billy Keyes 2019-04-01 22:55:09 -07:00
  • d32b889535 Move text parsing tests to a new test files Billy Keyes 2019-04-01 21:46:36 -07:00
  • 8753644cc0 Add tests for single fragment parsing Billy Keyes 2019-03-31 21:16:34 -07:00
  • 4e8b7b5088 Fix no newline handling in fragment parser Billy Keyes 2019-03-31 21:14:27 -07:00
  • 2ca83404e5 Fix EOF and line number handling in parser Billy Keyes 2019-03-30 22:41:32 -07:00
  • 69ca8017bc Restructure fragment parsing to support binary Billy Keyes 2019-03-30 21:10:02 -07:00
  • 2c9be20fca Improve fragment validation, track context lines Billy Keyes 2019-03-29 22:31:27 -07:00
  • 7483884180 Add basic fragment parsing function Billy Keyes 2019-03-28 23:10:41 -07:00
  • 9b0fc30459 Document and enforce parser invariants Billy Keyes 2019-03-27 22:41:37 -07:00
  • e04aad2256 Fix parser advancement in header functions Billy Keyes 2019-03-26 21:56:02 -07:00
  • 4b25230457 Check for expected input in parsing functions Billy Keyes 2019-03-25 22:27:31 -07:00
  • dc8fb6fdb5 Support adjustable read-ahead in parser Billy Keyes 2019-03-25 21:30:08 -07:00
  • ccf0c58db8 Change parser interface to be more iterator-like Billy Keyes 2019-03-24 22:03:53 -07:00
  • 699084298b Accept comments when parsing fragment headers Billy Keyes 2019-03-24 20:49:27 -07:00
  • 47a74884a3 Add parameter to fix line numbers in errors Billy Keyes 2019-03-23 23:11:38 -07:00
  • 6b7e4cd811 Move all header functions to file_header.go Billy Keyes 2019-03-21 22:51:19 -07:00
  • cf2f946a66 Implement traditional file header parsing Billy Keyes 2019-03-21 22:47:52 -07:00
  • 412e7a39b1 Add more tests for git file header parsing Billy Keyes 2019-03-20 22:20:21 -07:00
  • e7719741fc Allow percent sign on similarity index lines Billy Keyes 2019-03-20 22:01:52 -07:00
  • c818281d3a Always accept newline as a name terminator Billy Keyes 2019-03-20 21:52:13 -07:00
  • 631c70505a Add basic tests for full git file header parsing Billy Keyes 2019-03-19 23:05:15 -07:00
  • aa3e0d357e Clarify behavior when parsing "index" lines Billy Keyes 2019-03-19 22:35:52 -07:00
  • b8b0c25c1e Move file header functions to a new file Billy Keyes 2019-03-19 21:59:30 -07:00
  • cbd3915448 Add final tests for git header parsing functions Billy Keyes 2019-03-19 21:50:50 -07:00
  • a1f92fec30 Fix and test old/new file name verification Billy Keyes 2019-03-18 23:05:15 -07:00
  • 6daf604b25 Add tests for git header data parsing Billy Keyes 2019-03-17 21:38:14 -07:00
  • 3f641b393f Add tests and fix bugs with name parsing Billy Keyes 2019-03-17 20:14:03 -07:00
  • bfbc443178 Simplify footnote formatting in README Billy Keyes 2019-03-17 15:41:42 -07:00
  • ea5b8bceea Finish parsing filenames from Git headers Billy Keyes 2019-03-17 15:34:03 -07:00
  • 303b32d463 Add "header" to header parsing function names Billy Keyes 2019-03-17 13:57:48 -07:00
  • c928ba2827 Implement index header line parsing Billy Keyes 2019-03-16 22:42:14 -07:00
  • 3cca171e73 Refactor git header parser to use function array Billy Keyes 2019-03-16 18:29:21 -07:00
  • 4f50b85d06 Implement file name parsing for git headers Billy Keyes 2019-03-16 17:46:05 -07:00
  • ba4db47e68 Add note about stricter checks for invalid input Billy Keyes 2019-03-16 15:54:41 -07:00
  • 2a2f704b96 Add incomplete git header parsing functions Billy Keyes 2019-03-14 23:07:52 -07:00
  • bca8d0806e Detach parseFragmentHeader from parser struct Billy Keyes 2019-03-14 21:55:06 -07:00
  • 4ddf1d962d Implement fragment header parsing Billy Keyes 2019-03-13 23:04:01 -07:00
  • f41707bf2a Add status section to README Billy Keyes 2019-03-12 22:57:21 -07:00
  • 5ddc0cc7e6 Add links to alternatives in README Billy Keyes 2019-03-12 22:50:39 -07:00
  • d8a0cc90d1 Implement ParseNextFileHeader Billy Keyes 2019-03-12 22:41:20 -07:00
  • f630455e5d Add a simple test for parser line operations Billy Keyes 2019-03-11 23:05:15 -07:00
  • f86331c3e2 Add go.mod file Billy Keyes 2019-03-11 22:47:04 -07:00
  • c947e5b7aa Add LICENSE Billy Keyes 2019-03-10 21:51:13 -07:00
  • 42914c81df Create parser skeleton and utilities Billy Keyes 2019-03-10 21:48:59 -07:00
  • a445f1eb6e Initial commit Billy Keyes 2019-03-10 17:57:14 -07:00