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

72 Commits

Author SHA1 Message Date
Patrick Thomson
7c410bedf4 Use Pos 1 1 here for backwards compat. 2020-02-04 11:35:11 -05:00
Patrick Thomson
93e0047b75 Remove the Lower instance for Span and Pos entirely.
If we ever need these in the future, we can create named variables for
them. The `Lower` instance is an information-hole.
2020-02-04 11:15:57 -05:00
Patrick Thomson
46b9ce578e Make Data.Span.Pos's Lower instance zero-indexed.
This is a major version bump for semantic-source.
2020-02-04 10:39:18 -05:00
Patrick Thomson
91a1a1720b Fix documentation for Source.Span.Pos.
Fixes #457.
2020-01-31 13:34:12 -05:00
Patrick Thomson
9dfe1a6b10 Bump the semantic-source version + update changelog. 2020-01-28 12:00:27 -05:00
Patrick Thomson
234d5b0ec0 Merge branch 'linguistic-drift' of github.com:github/semantic into linguistic-drift 2020-01-28 10:17:57 -05:00
Patrick Thomson
7e03c9afaa Bump dependencies. 2020-01-28 10:03:06 -05:00
Rob Rix
774c71f1e3
Merge branch 'master' into linguistic-drift 2020-01-27 15:07:24 -05:00
Ayman Nadeem
7eff25d791 don't need OverloadedStrings anymore 2020-01-27 12:55:16 -05:00
Ayman Nadeem
4e969c77fe alphabetize imports 2020-01-27 12:52:16 -05:00
Patrick Thomson
fafd5a76f3 Port Data.Language into semantic-source.
- [ ] Depends on #444.

Because we need a separate release, this patch doesn't yet remove Data.Language.
2020-01-27 12:31:43 -05:00
Ayman Nadeem
867fa48434 ToJSON instance for Loc 2020-01-27 12:17:40 -05:00
Ayman Nadeem
d8eaba4ebb Update Range.hs 2020-01-27 12:17:00 -05:00
Ayman Nadeem
ceefb6f6e0 replace auto-derived ToJSON instance with one that mirrors ToJSONFields 2020-01-27 12:09:23 -05:00
Ayman Nadeem
c40ef71f8e Merge branch 'master' into json-output 2020-01-21 16:47:13 -05:00
Rob Rix
9a745c99eb
Align the notices a little. 2020-01-16 14:19:57 -05:00
Rob Rix
8f18d5b167
Add notices to the semantic-source project files. 2020-01-16 14:11:48 -05:00
Rob Rix
64ab932023
📝 2020-01-16 14:11:08 -05:00
Rob Rix
cd5961fa98
Add a CI-specific cabal.project file for semantic-source. 2020-01-16 14:01:31 -05:00
Rob Rix
47a707d25e
Don’t set -Werror for semantic-source in cabal.project. 2020-01-16 13:36:13 -05:00
Rob Rix
bbd99d19a6
Lower the bound on base back to 4.12.
We support 8.6.5 (cf tested-with) for this package.
2020-01-16 11:58:10 -05:00
Rob Rix
4a8ccf174a
Bump the version. 2020-01-16 11:57:40 -05:00
Rob Rix
92f03f05bd
Add a note about toText leniency. 2020-01-16 11:57:37 -05:00
Timothy Clem
bac3dd5621 Use lenientDecode here 2020-01-15 09:26:55 -08:00
Ayman Nadeem
08a319b433 need to auto-derive ToJSON instance 2019-12-19 10:01:00 -05:00
Ayman Nadeem
240fb43c36 need aeson 2019-12-19 10:00:44 -05:00
Ayman Nadeem
3758f8e2c4 need range values 2019-12-19 10:00:38 -05:00
Patrick Thomson
6bebd84deb Officially require GHC 8.8. 2019-12-13 15:48:49 -05:00
Rick Winfrey
c3f1f862c5 Define cabal.project in semantic-source dir 2019-10-29 15:22:58 -07:00
Rick Winfrey
8d5f40ec39 Standarize name of common component in semantic-source.cabal 2019-10-29 14:00:55 -07:00
Rob Rix
26cc613a07
Spacing. 2019-10-10 17:46:56 -04:00
Rob Rix
edaa56ec7f
Revert "Stub in a debug module."
This reverts commit b2b88f24b5.
2019-10-10 17:44:50 -04:00
Rob Rix
b2b88f24b5
Stub in a debug module. 2019-10-10 17:37:46 -04:00
Patrick Thomson
a3f2816d4d New version should be 0.0.1.0. 2019-10-04 17:16:34 -04:00
Patrick Thomson
2aae2af79f Add an NFData instance for Source. 2019-10-04 12:38:32 -04:00
Rob Rix
93746a4737
Add notes to the changelog. 2019-10-03 11:32:09 -04:00
Rob Rix
6918d47e3d
Bump the version to 0.0.0.1. 2019-10-03 11:31:19 -04:00
Rob Rix
5f8288ebfe
Tidy up. 2019-10-03 11:30:29 -04:00
Rob Rix
f865da96f5
Spacing. 2019-10-03 11:30:11 -04:00
Rob Rix
f51eec5752
Add a changelog. 2019-10-03 11:30:09 -04:00
Rob Rix
610133fdce
Turn off the no missing deriving strategies warning. 2019-10-03 11:29:52 -04:00
Rob Rix
0c31921bbd
Add 8.8.1 to the tested-with field. 2019-10-03 11:29:45 -04:00
Rob Rix
5b75abb072
Loosen the bound on hashable. 2019-10-03 11:26:44 -04:00
Rob Rix
77ff50bd06
Run the doctests from the right place. 2019-09-20 18:04:13 -04:00
Rob Rix
909fa63714
Define a byteRange_ lens for Loc. 2019-09-20 17:33:15 -04:00
Rob Rix
4bc5491a25
Extract lens to the top level. 2019-09-20 17:33:10 -04:00
Rob Rix
52bc7e640e
Rename locByteRange/locSpan to byteRange/span. 2019-09-20 17:32:52 -04:00
Rob Rix
e28e81b3e4
📝 point. 2019-09-20 17:01:19 -04:00
Rob Rix
6356443dd1
Define a point constructor for Span. 2019-09-20 17:01:16 -04:00
Rob Rix
935acb47c3
📝 point. 2019-09-20 17:00:40 -04:00