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

283 Commits

Author SHA1 Message Date
Timothy Clem
6cbfa91475 Try out moving project around 2016-10-05 16:17:46 -07:00
Rob Rix
f9bca5ec2d Set up a semantic-difftool package. 2016-02-26 18:05:10 -05:00
joshvera
d7db984616 Merge remote-tracking branch 'origin/master' into git-patch-modes 2016-02-22 13:54:32 -07:00
Matt Diephouse
5127376e68 diffFiles :: Parser -> Renderer T.Text b -> (Source Char, Source Char) -> IO b 2016-02-16 16:09:58 -05:00
joshvera
e008fda7d1 output the right paths in patch 2016-02-10 11:32:26 -08:00
joshvera
a812b41c27 Merge branch 'source-blobs' into git-patch-modes 2016-02-09 13:18:43 -08:00
Matt Diephouse
1f7df7d940 Remove unnecessary imports 2016-02-02 11:46:39 -05:00
Matt Diephouse
6a961ff6ff Restore changes lost from #402, #408, and #410 2016-02-02 11:46:31 -05:00
joshvera
1b44c44aea Revert "--RecordWildCards"
This reverts commit 74c1cd9b5dafc1ba38014d90097a2ac7a7b75c7c.
2016-02-01 15:52:17 -05:00
joshvera
ce87286049 --RecordWildCards 2016-02-01 15:50:22 -05:00
joshvera
8c7d82b363 store strings in SourceBlob 2016-01-26 16:46:27 -05:00
joshvera
d0a3c517a9 Pass around source blobs with oid info 2016-01-26 16:25:40 -05:00
joshvera
5fd539765c Share printDiff 2016-01-20 12:25:17 -05:00
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
33b2331a23 Merge origin/master into git-diff 2016-01-15 16:15:44 -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
joshvera
2a00945ae7 Remove unused readAndTranscodeFile 2016-01-14 13:54:36 -05:00
joshvera
1e094aba90 docs 2016-01-14 13:52:26 -05:00
joshvera
2c3ff936b7 Merge origin/master into git-diff 2016-01-14 13:44:29 -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
8d22bd0f5a Document the declarations in Main.hs 2016-01-13 14:29:37 -05:00
joshvera
6c69cf4189 take a list of filepaths to diff 2016-01-13 13:56:33 -05:00
joshvera
5c12f79533 grab gitDir from env 2016-01-12 13:02:52 -05:00
joshvera
8f069abbce Merge master into git-diff 2016-01-12 12:53:09 -05:00
Matt Diephouse
fca9bb3dd2 Remove redundant do 2016-01-12 11:05:10 -05:00
Matt Diephouse
d2b4c48045 Rename replaceLeavesWithWordBranches to breakDownLeavesByWord 2016-01-12 11:01:13 -05:00
Matt Diephouse
a62d1defe2 Extract range and word extraction 2016-01-12 10:59:13 -05:00
Matt Diephouse
4dee96a7c2 Define by pattern matching instead of case analysis 2016-01-12 10:53:45 -05:00
Matt Diephouse
63a6bf326b Use cata in replaceLeavesWithWordBranches 2016-01-12 10:47:55 -05:00
Matt Diephouse
bce530858d Only deconstruct Info for leaves 2016-01-12 10:35:58 -05:00
Matt Diephouse
0ca0b4d453 Refactor to remove guard clause 2016-01-12 10:34:17 -05:00
Matt Diephouse
1cb83b4ea6 Get rid of substringing 2016-01-12 10:28:46 -05:00
joshvera
b9a984186b Add fetchFromGitRepo 2016-01-06 16:16:13 -05:00
Matt Diephouse
db78041edd Rename Argument to Arguments
Because there are in fact multiple arguments
2016-01-06 14:01:41 -05:00
joshvera
7a03ac709b missed one 2016-01-04 15:51:01 -05:00
joshvera
e3777a1c08 inline fmap 2016-01-04 14:50:16 -05:00
joshvera
44e9f50434 remove uses of lens 2016-01-04 14:48:55 -05:00
joshvera
15724218b8 Merge remote-tracking branch 'origin/master' into use-conduit 2016-01-04 14:26:18 -05:00