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

3431 Commits

Author SHA1 Message Date
Rob Rix
f581359f75 Merge pull request #351 from github/test-autodiscovery
Enable auto discovery of test modules
2015-12-17 13:41:25 -05:00
Rob Rix
f4248aaa64 Figure out our extra lib dirs correctly. 2015-12-17 13:37:24 -05:00
Josh Vera
a124943822 Update Spec.hs 2015-12-17 13:35:18 -05:00
joshvera
802ed919f5 Don't need OrderedMapSpec in other-modules 2015-12-17 13:10:41 -05:00
Rob Rix
2d0e030c23 Compile the parsers into the library. 2015-12-17 13:10:14 -05:00
joshvera
09faaf9b4e clean up 2015-12-17 13:10:12 -05:00
Rob Rix
09b9defa2d Build the bridge directly. 2015-12-17 13:09:08 -05:00
Rob Rix
d05e622768 Look for headers in tree-sitter’s include dir. 2015-12-17 13:09:05 -05:00
joshvera
0223de4145 Enable autodiscovery of tests
Also splits up tests into different specs
2015-12-17 13:08:47 -05:00
Rob Rix
87de49129b Move the bridge sources into src/. 2015-12-17 13:05:53 -05:00
Rob Rix
e3abd5feea Don’t link the executables against libbridge. 2015-12-17 12:57:31 -05:00
Rob Rix
12e964884d Declare the interpreter spec in the cabal file. 2015-12-17 12:54:34 -05:00
Rob Rix
96f189719a Move TreeSitter into the library. 2015-12-17 12:54:27 -05:00
Josh Vera
c2e0f9d297 Merge pull request #349 from github/correct-the-vertical-alignment-of-text-in-code-cells
Fix the vertical alignment of sub-line changes.
2015-12-17 12:24:00 -05:00
Rob Rix
4fc445bd14 Fix the vertical alignment of sub-line changes. 2015-12-17 12:20:30 -05:00
Josh Vera
433090f30b Merge pull request #345 from github/abstract-the-selection-of-syntax-constructor-for-productions
Abstract the selection of syntax constructor for productions
2015-12-17 11:06:13 -05:00
Josh Vera
cb17cd1567 Merge pull request #270 from github/readme-redux
How and why semantic-diff works
2015-12-17 11:04:57 -05:00
Josh Vera
f37af542b2 Merge pull request #321 from github/split-styling-adjustments
Split styling adjustments
2015-12-17 11:04:27 -05:00
Rob Rix
37b52e4d6e Assign the correct width to columns. 2015-12-17 10:05:06 -05:00
Rob Rix
796748386c Compute the column width on the max number directly. 2015-12-17 10:03:37 -05:00
Rob Rix
37c95f446d Compute the size for a column. 2015-12-17 10:02:50 -05:00
Rob Rix
6c6e94e4d8 Count the digits in an integer. 2015-12-17 10:01:47 -05:00
Rob Rix
68775ef33f Compute the maximum line number. 2015-12-17 09:59:59 -05:00
Rob Rix
705e6047fa Bind the numbered rows. 2015-12-17 09:59:45 -05:00
Rob Rix
cf7e69b32d Fix indentation. 2015-12-17 09:59:38 -05:00
Rob Rix
32986a4fd4 More indentation stuff. 2015-12-16 23:27:36 -05:00
Rob Rix
b4bfac45ce Correct the tests. 2015-12-16 23:27:00 -05:00
Rob Rix
a19ce7ee25 Mark up replacement cells. 2015-12-16 23:19:41 -05:00
Rob Rix
61673f9bab Normalize the indentation. 2015-12-16 23:19:23 -05:00
Rob Rix
e5af22ca19 Add all four columns correctly. 2015-12-16 23:08:27 -05:00
Rob Rix
30c1f97e1e Construct changed tds directly. 2015-12-16 23:06:54 -05:00
Rob Rix
3427bcd300 Defer toMarkup to the piecewise instance. 2015-12-16 23:05:37 -05:00
Rob Rix
2874627a7a Mark up the numbers of changed lines as being changed. 2015-12-16 23:01:02 -05:00
Rob Rix
d36408921a Add a ToMarkup instance for number/line pairs. 2015-12-16 23:00:46 -05:00
Rob Rix
d699d8b0cf Mark up lines that contain changes as being replacements. 2015-12-16 22:54:20 -05:00
Rob Rix
c91b61552f Add a parameter indicating whether or not a line contains changes. 2015-12-16 22:54:01 -05:00
Rob Rix
3bfdbea671 Spacing. 2015-12-16 22:44:26 -05:00
Rob Rix
6dfa7550d8 Add a LineChange type. 2015-12-16 18:39:08 -05:00
Rob Rix
c146494c98 Merge branch 'master' into split-styling-adjustments 2015-12-16 18:33:14 -05:00
Rob Rix
555e020c86 Merge branch 'master' into split-styling-adjustments 2015-12-16 18:30:55 -05:00
Rob Rix
6298563e44 Merge pull request #342 from github/fix-unicode
Test equivalent precomposed/decomposed unicode is not equal
2015-12-16 18:28:58 -05:00
Rob Rix
14ff426dd4 Merge branch 'master' into abstract-the-selection-of-syntax-constructor-for-productions 2015-12-16 18:22:32 -05:00
Rob Rix
be2d4f5d76 Denote a bunch of C productions as being fixed. 2015-12-16 18:22:25 -05:00
Rob Rix
5755c314fb Bind the C language in the where clause. 2015-12-16 18:11:23 -05:00
Rob Rix
2ca8e7ca11 Reformat. 2015-12-16 18:10:39 -05:00
Rob Rix
136399bd66 Move fixedProductions into the language selection. 2015-12-16 18:10:13 -05:00
Rob Rix
4544d25974 Deparenthesize. 2015-12-16 18:09:32 -05:00
Rob Rix
86dfd83935 Swap the order of the language & constructor. 2015-12-16 18:08:51 -05:00
Rob Rix
a886a849f4 Move keyedProductions into the language selection. 2015-12-16 18:07:39 -05:00
Rob Rix
4898163d50 Move constructorForProductions into the library. 2015-12-16 16:27:03 -05:00