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

6957 Commits

Author SHA1 Message Date
Rob Rix
33791e3ed6 Compute term costs at parse time, not in a second pass. 2016-06-03 12:14:06 -04:00
Rob Rix
02d0cd1507 Generalize SES over term and edit type parameters. 2016-06-03 09:27:33 -04:00
Rob Rix
bb83649c6c Simplify how we compute costs in patches. 2016-06-03 09:12:41 -04:00
Rob Rix
27333b5b23 Extract the cached diff costs. 2016-06-03 03:08:09 -04:00
Rob Rix
f39e3df33b Pass a DiffConstructor to diffTerms. 2016-06-03 02:59:48 -04:00
Rob Rix
6e256a53a5 Don’t bind variables we don’t use. 2016-06-03 02:44:12 -04:00
Rob Rix
0563bc58c1 Export the DiffConstructor type synonym. 2016-06-03 02:43:43 -04:00
Rob Rix
35327522b3 📝 DiffConstructor. 2016-06-03 02:42:27 -04:00
Rob Rix
9c07abcc07 Use a DiffConstructor to build diffs in constructAndRun & run. 2016-06-03 02:41:25 -04:00
Rob Rix
3e7784323f Stub in a DiffConstructor type synonym. 2016-06-03 02:41:01 -04:00
Rob Rix
e2860055e4 Correct the docs of Constructor. 2016-06-03 02:32:03 -04:00
Rob Rix
a27786d226 Cache term costs. 2016-06-03 01:40:36 -04:00
Rob Rix
4bfa1b72c4 Simplify diffAt using pattern guards. 2016-06-02 23:40:02 -04:00
Rob Rix
66efabda26 Simplify construction of deletions/insertions. 2016-06-02 23:36:18 -04:00
Rob Rix
bcbb590b1f Add a cost field to Info. 2016-06-02 23:34:16 -04:00
Rob Rix
0c05e3f29b Don’t bind an unused parameter. 2016-06-02 23:30:01 -04:00
Rob Rix
f3b0cd33da A Constructor takes an Info directly. 2016-06-02 23:06:09 -04:00
Rob Rix
15d110ef97 These, too, are singular. 2016-06-02 22:58:43 -04:00
Rob Rix
85bed9769a Use record syntax to make (like a tree and) leaves. 2016-06-02 22:56:59 -04:00
Rob Rix
db19380c36 These are not plural. 2016-06-02 22:56:10 -04:00
Rob Rix
f2eccbb275 🔥 the contortionist pointfree definition of info. 2016-06-02 22:55:11 -04:00
Rob Rix
3032a7893a Define assignKey with a case expression. 2016-06-02 22:54:02 -04:00
Rob Rix
42172ee5fd Avoid pattern matching on Info. 2016-06-02 22:45:05 -04:00
Rob Rix
7741cee48d Use RecordWildcards to clean up some uses of Info. 2016-06-02 22:43:47 -04:00
Rob Rix
9a35557c6f Rephrase replaceIn using definitions in the where clause. 2016-06-02 22:43:25 -04:00
Rob Rix
67d470aac6 Rebuild info using record syntax. 2016-06-02 19:10:59 -04:00
Rob Rix
43757e8a61 🔥 Categorizable.
This reverts commit be59b0c161362baae63308478177819828be7e1b.
2016-06-02 19:10:41 -04:00
Josh Vera
e16d324763 Merge pull request #589 from github/add-version
Add --version | -v command line flags to semantic-git-diff and semantic-difftool
2016-06-02 16:01:21 -04:00
Rick Winfrey
83650f3060 Merge branch 'master' into add-version 2016-06-02 14:35:25 -05:00
Rick Winfrey
6a0fdbe776 Merge pull request #587 from github/quicker-range-intersection-test
Quicker range intersection test
2016-06-02 13:08:10 -05:00
Rob Rix
ee9b32181f Merge branch 'master' into quicker-range-intersection-test 2016-06-02 14:05:12 -04:00
Rob Rix
0fa2a40cfb 🔥 some redundant parens. 2016-06-01 21:37:38 -04:00
Rob Rix
ee0bfac0a9 Simplify the range intersection test. 2016-06-01 20:52:24 -04:00
Rob Rix
751d2a7900 Merge pull request #583 from github/add-planning-meeting-notes
Add planning meeting for 06-01-2016
2016-06-01 19:05:41 -04:00
Rick Winfrey
f0ec5c651a Add planning meeting for 06-01-2016 2016-06-01 17:28:25 -05:00
Rob Rix
450cca369f Merge pull request #582 from github/syntax
Return an insertion or deletion diff before rendering
2016-06-01 18:11:46 -04:00
Rob Rix
16dd78d8ae Merge branch 'master' into syntax 2016-06-01 18:00:14 -04:00
joshvera
ce219977a6 formatting 2016-06-01 17:55:47 -04:00
joshvera
0c646d8a8c Remove redundant module names 2016-06-01 17:41:28 -04:00
joshvera
0157b6588c Return the entire diff as a deletion or insertion when a source blob is empty 2016-06-01 17:41:12 -04:00
joshvera
583206d728 Export Join from Data.Functor.Both so we can use runJoin 2016-06-01 17:39:26 -04:00
Rob Rix
19d4dfc4ff Merge pull request #581 from github/fix_script_build
script/build: fix name of Darwin script
2016-06-01 16:29:38 -04:00
Rob Rix
a05ea95487 Merge branch 'master' into fix_script_build 2016-06-01 16:26:25 -04:00
Rob Rix
5b194768ca Merge pull request #578 from github/render-diff-summaries-as-json
Render diff summaries as json
2016-06-01 16:25:59 -04:00
Rob Rix
4ea9eba71c Merge branch 'master' into render-diff-summaries-as-json 2016-06-01 16:23:39 -04:00
Rob Rix
ef47e435aa Merge branch 'master' into benchmark-alignment
# Conflicts:
#	test/TermSpec.hs
2016-06-01 16:22:02 -04:00
joshvera
7ba3db2fdd ++tree-sitter-parsers 2016-06-01 13:59:58 -04:00
Rob Rix
43c16c9e28 Merge pull request #579 from github/category-info
Change Info’s categories Set to a Category
2016-06-01 13:36:50 -04:00
Rob Rix
d1884c2908 Put the term generator sizing test into its own group. 2016-06-01 12:30:05 -04:00
Rob Rix
1e049c7dcb Generate arbitrarily-sized terms. 2016-06-01 12:17:42 -04:00