1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00
Commit Graph

8638 Commits

Author SHA1 Message Date
Rob Rix
c157962785 Add a helper to compute the total span of some source. 2016-09-13 14:27:05 -04:00
Rob Rix
6ce0ce5e26 Indentation. 2016-09-13 13:14:02 -04:00
Rob Rix
c5fed4ac25 Test sourceSpanToRange across arbitrary sources. 2016-09-13 12:37:59 -04:00
Rob Rix
61dd23789d Rename the test. 2016-09-13 12:32:28 -04:00
Rob Rix
03f3cc01d3 Abstract how lengths are summed. 2016-09-13 12:25:55 -04:00
Rob Rix
66f5d39021 Compute the end index. 2016-09-13 12:24:47 -04:00
Rob Rix
07247e83c0 Compute the start index. 2016-09-13 12:23:47 -04:00
Rob Rix
5459bd4313 🔥 This was wrong. 2016-09-13 12:23:25 -04:00
Rob Rix
77ddc0abd8 Source spans are zero-indexed. 2016-09-13 12:23:05 -04:00
Rob Rix
b7d9ab1875 Add a trivial test of SourceSpan -> Range computation. 2016-09-13 12:09:18 -04:00
Rob Rix
7dc8393953 📝 sourceSpanToRange. 2016-09-13 12:00:41 -04:00
Rob Rix
b3248a4a95 Merge branch 'master' into markdown 2016-09-13 11:59:50 -04:00
Rob Rix
076f5c0d1e Stub in a spec for sourceSpanToRange. 2016-09-13 11:59:46 -04:00
Rob Rix
4603cea555 Stub in a SourceSpan -> Range conversion. 2016-09-13 11:58:55 -04:00
Rob Rix
b5d14e702c Test that actualLineRanges is exhaustive. 2016-09-13 11:56:43 -04:00
Rob Rix
2f0bd6d81f nl at eof 2016-09-13 11:56:32 -04:00
Rob Rix
561d03b6ba 🔥 Source’s definition of ++. 2016-09-13 11:45:30 -04:00
Rob Rix
d7a3747545 Define mappend without reference to Source.++. 2016-09-13 11:44:18 -04:00
Rob Rix
04519db7a9 Verify that actualLineRanges produces the intended # of lines. 2016-09-13 11:39:27 -04:00
Rob Rix
8d5bc01a75 Run the Source spec. 2016-09-13 11:39:05 -04:00
Rob Rix
d8c38b83bb Merge branch 'master' into markdown 2016-09-13 11:35:13 -04:00
Rob Rix
dcc164d09f Add a spec for Source. 2016-09-13 11:35:10 -04:00
Rob Rix
2b34916554 Build and run RangeSpec 😔 2016-09-13 11:18:38 -04:00
Rob Rix
91062f32b8 Merge pull request #822 from github/add-a-link-to-the-roadmap-project
Note the roadmap project.
2016-09-13 10:55:43 -04:00
Rob Rix
2b383bde7e Note the roadmap project. 2016-09-13 10:51:25 -04:00
Rob Rix
587cb66ef9 Placate hlint. 2016-09-13 10:41:45 -04:00
Rob Rix
161d98521e Placate -Werror. 2016-09-13 10:41:36 -04:00
Rob Rix
b4e6e1dbb8 Merge branch 'master' into markdown 2016-09-13 10:35:28 -04:00
Josh Vera
ed00e99250 Merge pull request #812 from github/abstract-the-functor-out-of-diff-and-term-type-synonyms
Abstract the functor out of Diff and Term type synonyms
2016-09-12 14:41:25 -04:00
Rob Rix
902a3f20d8 🔥 a redundant import. 2016-09-12 13:43:23 -04:00
Rob Rix
2b933904c9 Add specializations of Term/TermF/Diff/DiffF/SplitDiff over Syntax/Record. 2016-09-12 13:40:22 -04:00
Rob Rix
a64775d214 Merge branch 'master' into abstract-the-functor-out-of-diff-and-term-type-synonyms 2016-09-12 09:05:20 -04:00
Josh Vera
4229d0c157 Merge pull request #815 from github/template-strings
Improve template string diff summary output
2016-09-09 18:46:08 -04:00
Rob Rix
72741b51c2 Merge branch 'master' into template-strings 2016-09-09 17:34:31 -04:00
Rick Winfrey
773308af9a Prevent TemplateString Leaf nodes from being broken down by word 2016-09-09 16:23:54 -05:00
Rick Winfrey
67d5bec5ff Format comment 2016-09-09 16:23:19 -05:00
Timothy Clem
8f0cbc5047 Merge pull request #814 from github/benchmarks-to-dogstatsd
Send benchmarks to Dogstatsd
2016-09-09 14:21:32 -07:00
Josh Vera
a6f1748a90 Merge branch 'master' into benchmarks-to-dogstatsd 2016-09-09 17:08:28 -04:00
Rob Rix
2ebb1e0a73 Merge pull request #813 from github/weekly-2016-09-09
September 9th, 2016 weekly.
2016-09-09 16:45:35 -04:00
Rob Rix
2b7f667a17 September 9th, 2016 weekly. 2016-09-09 15:43:30 -04:00
Rob Rix
1d9db01a54 Merge branch 'master' into abstract-the-functor-out-of-diff-and-term-type-synonyms 2016-09-09 14:47:28 -04:00
Rob Rix
8d955c3f96 Placate hlint. 2016-09-09 14:47:24 -04:00
Rob Rix
98637ad656 Generalize Term/TermF & Diff/DiffF over the functor. 2016-09-09 14:46:50 -04:00
Timothy Clem
142c478f35 Merge remote-tracking branch 'origin/master' into benchmarks-to-dogstatsd 2016-09-09 08:23:46 -07:00
Josh Vera
fe7854ad6e Merge pull request #807 from github/all-the-versions
Show both library and tool versions for `--version`
2016-09-08 18:39:58 -04:00
Josh Vera
7bcdf5a2f4 Merge branch 'master' into all-the-versions 2016-09-08 18:30:53 -04:00
Timothy Clem
e862ffe86e Move to semver MAJOR.MINOR.PATCH 2016-09-08 13:28:43 -07:00
Rick Winfrey
f00162f9c1 Readability changes 2016-09-08 15:22:31 -05:00
Rick Winfrey
92b243d454 Indentation 2016-09-08 15:22:05 -05:00
Timothy Clem
81651283ea Version change to validate --version output 2016-09-08 11:11:16 -07:00