1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

3805 Commits

Author SHA1 Message Date
Rob Rix
b256d46f83 Stub in a Row module. 2015-12-22 17:24:08 -05:00
Rob Rix
cdaea42fd2 Move the ToMarkup instances over Line to the Line module. 2015-12-22 17:23:10 -05:00
Rob Rix
4c395ff1d1 Import the Line module in the tests. 2015-12-22 17:22:07 -05:00
Rob Rix
4a39f65fdf Move Line to its own file. 2015-12-22 17:21:17 -05:00
Rob Rix
8f469a07c4 Stub in a Line module. 2015-12-22 17:20:08 -05:00
Rob Rix
ce2c759fea Remove classify. 2015-12-22 17:18:27 -05:00
Rob Rix
24d22042d1 classifyMarkup takes categories directly. 2015-12-22 17:18:17 -05:00
Rob Rix
e719626216 Remove HTML. 2015-12-22 17:12:56 -05:00
Rob Rix
1621dca3bc Remove the offset functions. 2015-12-22 17:12:08 -05:00
Rob Rix
08d03e933c Remove the term construction helpers. 2015-12-22 17:11:49 -05:00
Rob Rix
ddf4ccd141 Remove the row text functions. 2015-12-22 17:10:57 -05:00
Rob Rix
3d1fb64cbc Remove span. 2015-12-22 17:10:49 -05:00
Rob Rix
6783d410bb Remove openElement. 2015-12-22 17:09:32 -05:00
Rob Rix
52a057b577 Remove the Arbitrary instance for HTML. 2015-12-22 17:08:50 -05:00
Rob Rix
6663dfe87b openMaybe is defined over Maybe Bool. 2015-12-22 17:08:02 -05:00
Rob Rix
b121ee54e3 Remove openString. 2015-12-22 17:06:55 -05:00
Rob Rix
821ee2e792 Test the identity case via openMaybe. 2015-12-22 17:06:51 -05:00
Rob Rix
cf00dcd95e Test appending onto open rows via openMaybe. 2015-12-22 17:06:45 -05:00
Rob Rix
cfee3a90fc Test promoting onto open lines via openMaybe. 2015-12-22 17:06:09 -05:00
Rob Rix
8f34f04dae Test not promoting onto closed lines via openMaybe. 2015-12-22 17:05:35 -05:00
Rob Rix
7b2ac76422 Test not appending onto closed rows by means of openMaybe.
This is much faster.
2015-12-22 17:05:02 -05:00
Rob Rix
208df10e1a Add an openMaybe function for quicker open/closed tests. 2015-12-22 17:02:34 -05:00
Rob Rix
c643f2ed58 Test not appending onto closed rows over strings. 2015-12-22 16:56:22 -05:00
Rob Rix
8c71fff97a Test appending onto open rows over strings. 2015-12-22 16:55:53 -05:00
Rob Rix
cfa82876c1 Generalize the isOpen predicate. 2015-12-22 16:55:18 -05:00
Rob Rix
631e572ab3 Generalize the isClosed predicate. 2015-12-22 16:55:13 -05:00
Rob Rix
8599fd46d9 Test adjoinRowsBy using openString. 2015-12-22 16:52:36 -05:00
Rob Rix
3adfd06d5a Add an open string selector. 2015-12-22 16:52:20 -05:00
Rob Rix
0d33052528 Remove the ToMarkup instance for HTML. 2015-12-22 16:44:06 -05:00
Rob Rix
97d868ad26 Remove elementAndBreak. 2015-12-22 16:42:57 -05:00
Rob Rix
1d0aecda80 Remove the zipWithMaybe definition. 2015-12-22 16:42:27 -05:00
Rob Rix
c3a9b4f5d1 Remove the rowFromMaybeRows definition. 2015-12-22 16:42:03 -05:00
Rob Rix
4070c8f271 Remove the textElements definition. 2015-12-22 16:41:52 -05:00
Rob Rix
1f8b9b9ae9 Remove the global contextRows definition. 2015-12-22 16:41:17 -05:00
Rob Rix
39e318317f Remove termToLines. 2015-12-22 16:40:20 -05:00
Rob Rix
6607f0d605 Remove diffToRows & annotatedToRows. 2015-12-22 16:39:43 -05:00
Rob Rix
bbbd874722 Remove the openLineBy tests using openElement. 2015-12-22 16:35:23 -05:00
Rob Rix
bd3bee668a Generalize the splitTermByLines test across arbitrary strings. 2015-12-22 16:34:32 -05:00
Rob Rix
ebb843ef4d Remove the termToLines test. 2015-12-22 16:29:14 -05:00
Rob Rix
c41364a743 Remove the remaining annotatedToRows tests. 2015-12-22 16:28:49 -05:00
Rob Rix
9a496a6be5 Populate the indexed term with leaves. 2015-12-22 16:26:24 -05:00
Rob Rix
1b90bc0291 Add a function to construct a leaf from a pair of line ranges. 2015-12-22 16:26:07 -05:00
Rob Rix
6510e95526 Test that we always produce the maximum of the lines in two sources. 2015-12-22 16:10:05 -05:00
Rob Rix
603e750d67 Remove an unused let binding. 2015-12-22 15:55:59 -05:00
Rob Rix
ef027dba36 Test that we preserve the line counts in equal diffs. 2015-12-22 15:48:37 -05:00
Rob Rix
9e6f415dc6 Port the single-line empty unchanged indexed diff test to splitAnnotatedByLines. 2015-12-22 15:38:18 -05:00
Rob Rix
cf82488820 codeTd takes a “has changes” flag again.
We always pass `False` currently.
2015-12-22 15:29:16 -05:00
Rob Rix
20817152c2 Rename the line contents binding. 2015-12-22 15:20:46 -05:00
Rob Rix
6e20ad6a9c Revert "Enable RankNTypes."
This reverts commit 8fce071dc9a45ff1ecb9d683980fc584a358eece.
2015-12-22 15:17:55 -05:00
Rob Rix
7462ace01b Revert "Add a function to find an open diff given a source string & left/right selector."
This reverts commit 311f426726c3bbd409450444e3cc67d36510bbbe.
2015-12-22 15:17:44 -05:00