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

4358 Commits

Author SHA1 Message Date
joshvera
3e72417c77 Move shared IO to DiffOutput 2016-01-20 11:43:31 -05:00
joshvera
b188febbe7 share diff and breakDownLeavesByWord between SemanticDiff and Main 2016-01-20 11:36:06 -05:00
joshvera
263ea09dd2 diff functions take tuples of sources now 2016-01-20 10:39:44 -05:00
joshvera
99f8fb18a4 Revert main 2016-01-15 16:26:16 -05:00
joshvera
84d8494c3e Add semantic-diff exe 2016-01-15 16:25:58 -05:00
joshvera
33b2331a23 Merge origin/master into git-diff 2016-01-15 16:15:44 -05:00
Josh Vera
fe472fc60c Merge pull request #408 from github/extract-diff
Create a diff function and clarify the role of printDiff
2016-01-14 16:04:27 -05:00
Matt Diephouse
9e6e125477 Update the documentation 2016-01-14 15:31:20 -05:00
Matt Diephouse
140cfa88b6 Try to make the overall structure clearer 2016-01-14 15:27:47 -05:00
Matt Diephouse
55666a5586 Monadically 2016-01-14 15:13:26 -05:00
Matt Diephouse
61b65533ef printDiff can return a Renderer now 2016-01-14 15:10:56 -05:00
Matt Diephouse
3a9803ee15 Make Renderer take a pair of Source Chars 2016-01-14 15:09:47 -05:00
Matt Diephouse
fa68f78c39 Put the diff first 2016-01-14 14:56:00 -05:00
Matt Diephouse
78852e4041 Get rid of the where clause 2016-01-14 14:54:43 -05:00
Matt Diephouse
44a1c68f8f Create a separate diff function 2016-01-14 14:54:30 -05:00
joshvera
ac77ed1ba0 rename to Format 2016-01-14 14:08:23 -05:00
joshvera
13b676f392 Merge origin/master into git-diff 2016-01-14 14:04:28 -05:00
Josh Vera
6966a797a6 Merge pull request #406 from github/formats-and-renderers
Formats and Renderers
2016-01-14 13:58:14 -05:00
Josh Vera
19f41e5883 Merge pull request #405 from github/document-thy-functions-2
Document thy functions 2
2016-01-14 13:58:03 -05:00
joshvera
2a00945ae7 Remove unused readAndTranscodeFile 2016-01-14 13:54:36 -05:00
joshvera
1e094aba90 docs 2016-01-14 13:52:26 -05:00
Matt Diephouse
0ed87b80d4 Clarify the documentation for Annotated 2016-01-14 13:50:19 -05:00
Matt Diephouse
b05c9e2ca5 s/nodes/terms/ 2016-01-14 13:47:56 -05:00
joshvera
2c3ff936b7 Merge origin/master into git-diff 2016-01-14 13:44:29 -05:00
Matt Diephouse
9c4ea153bc Add a Renderer type for rendering diffs 2016-01-14 13:18:40 -05:00
Matt Diephouse
f0760188b9 Rename Renderer to Format
This is more consistent with the terminology around the command-line
`diff` tool.
2016-01-14 13:12:28 -05:00
Matt Diephouse
2a8da4acc3 Document declarations in Parser.hs 2016-01-14 12:35:42 -05:00
Matt Diephouse
bf86574fa6 Document declarations in Diff.hs 2016-01-14 12:30:21 -05:00
Matt Diephouse
9c272a40d7 Document declarations in Patch.hs 2016-01-14 11:18:57 -05:00
Matt Diephouse
640449e2f3 Document declarations in Categorizable.hs 2016-01-14 09:17:12 -05:00
Rob Rix
50422673b6 Merge pull request #402 from github/document-thy-functions
Document some things
2016-01-13 16:31:25 -05:00
Matt Diephouse
a5126d9855 After, not by. 2016-01-13 16:20:29 -05:00
Matt Diephouse
fde0749cf0 Correct the directionality 2016-01-13 16:19:48 -05:00
Matt Diephouse
faab2338de Document the declarations in Source.hs 2016-01-13 15:50:52 -05:00
Matt Diephouse
c0c3a69bcf Document the declarations in Term.hs 2016-01-13 15:35:40 -05:00
Matt Diephouse
a2643cef82 eta reduction 2016-01-13 15:32:03 -05:00
Matt Diephouse
5eb6ea0996 Document the declarations in Range.hs 2016-01-13 14:38:57 -05:00
Matt Diephouse
8d22bd0f5a Document the declarations in Main.hs 2016-01-13 14:29:37 -05:00
Josh Vera
f839196dd7 Merge pull request #401 from github/rangesAndWordsFrom
Refactor rangesAndWordsFrom
2016-01-13 14:14:38 -05:00
Matt Diephouse
75e4f2b7bd Merge match, parse, and recurse into a single function 2016-01-13 14:06:59 -05:00
Matt Diephouse
52a8661390 Swap parameter order and eta reduce 2016-01-13 14:00:57 -05:00
Matt Diephouse
6f882be685 Extract the recursion into a function 2016-01-13 13:57:28 -05:00
joshvera
6c69cf4189 take a list of filepaths to diff 2016-01-13 13:56:33 -05:00
Matt Diephouse
bc95741b0d Swap parameter order and eta reduce 2016-01-13 13:55:09 -05:00
Matt Diephouse
58b4e8a985 Extract saving of a word 2016-01-13 13:54:49 -05:00
Matt Diephouse
d7001befc6 Add a parse function to handle recursing 2016-01-13 13:52:07 -05:00
joshvera
f96494c4c2 Merge origin/master into git-diff 2016-01-13 13:35:47 -05:00
Matt Diephouse
b5ada1f726 Use option instead of fromMaybe 2016-01-13 13:34:56 -05:00
Matt Diephouse
d20dc37da6 Move unionRange to be by unionRanges 2016-01-13 13:34:56 -05:00
Matt Diephouse
6a3f5c4c00 Use Option instead of creating a Union type 2016-01-13 13:34:56 -05:00