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

34 Commits

Author SHA1 Message Date
joshvera
64dfc70d58 Derive Show and Eq for SourceBlob 2016-03-01 17:00:44 -05:00
joshvera
d7db984616 Merge remote-tracking branch 'origin/master' into git-patch-modes 2016-02-22 13:54:32 -07:00
Rob Rix
3ae75b27c8 Spacing. 2016-02-12 15:33:58 -08:00
joshvera
e008fda7d1 output the right paths in patch 2016-02-10 11:32:26 -08: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
Matt Diephouse
a5126d9855 After, not by. 2016-01-13 16:20:29 -05:00
Matt Diephouse
faab2338de Document the declarations in Source.hs 2016-01-13 15:50:52 -05:00
Matt Diephouse
f3dfe1c404 Use rangeLength 2016-01-12 11:56:36 -05:00
joshvera
c69cd164cd Merge remote-tracking branch 'origin/master' into use-text 2015-12-30 12:07:52 -05:00
joshvera
95bd3e2d93 Add fromText to Source 2015-12-29 17:34:52 -05:00
Rob Rix
d769936602 Don’t filter out empty ranges.
This seems to be fine.
2015-12-29 10:24:47 -05:00
Rob Rix
19d0d77a0f Source is Traversable. 2015-12-29 10:21:45 -05:00
Rob Rix
7dfc163047 Filter out empty ranges. 2015-12-28 13:03:34 -05:00
Rob Rix
093fc26d13 Use Source.null in the guard. 2015-12-24 00:23:36 -05:00
Rob Rix
cfeb9e4ee8 Move actualLines/actualLineRanges into the Source module. 2015-12-24 00:08:17 -05:00
Rob Rix
4395e49104 Define Source concatenation. 2015-12-23 23:41:08 -05:00
Rob Rix
69aadf4ec5 Rename makeSourcefromList. 2015-12-23 23:37:51 -05:00
Rob Rix
3ca9064869 O(1) indexing. 2015-12-23 23:29:27 -05:00
Rob Rix
8a2aca45e1 Tacit definition of null. 2015-12-23 23:28:13 -05:00
Rob Rix
ad6e7f2ae7 Tacit definition of slice. 2015-12-23 23:27:07 -05:00
Rob Rix
0bb6462fad Rename unSource to toList. 2015-12-23 23:26:37 -05:00
Rob Rix
e4225faa20 Rename subsourceslice. 2015-12-23 23:25:00 -05:00
Rob Rix
55d3ed38a4 A let expression makes more sense. 2015-12-23 23:23:16 -05:00
Rob Rix
83173a7b96 Fewer parens. 2015-12-23 23:22:29 -05:00
Rob Rix
03526754e9 subsource uses the correct start/length bounds. 2015-12-23 23:21:51 -05:00
Rob Rix
a19115b267 Define break over Source. 2015-12-23 23:16:09 -05:00
Rob Rix
b6e05008ec cons over Source. 2015-12-23 23:06:49 -05:00
Rob Rix
f89b05bb41 Define a getVector function for Source. 2015-12-23 23:06:38 -05:00
Rob Rix
ee91b130e4 Add API to destructure a Source. 2015-12-23 23:05:01 -05:00
Rob Rix
08122476e6 Add API to test whether a Source is empty. 2015-12-23 23:04:50 -05:00
Rob Rix
76f11db98e Define Source over Data.Vector. 2015-12-23 22:48:31 -05:00
Rob Rix
e9449fccb8 Move Source & its API to the Source module. 2015-12-23 22:38:20 -05:00
Rob Rix
cc9dee5704 Stub in a Source module. 2015-12-23 22:38:02 -05:00