Arthur Baars
|
180df8a63d
|
Make classes non-abstract
|
2020-11-04 18:18:45 +01:00 |
|
Nick Rolfe
|
69b1d7c0dc
|
Make union-wrapping classes abstract to fix results for toString/describeQlClass
|
2020-11-04 16:01:51 +00:00 |
|
Arthur Baars
|
86aa05e3cb
|
Address comments
|
2020-11-04 14:49:47 +01:00 |
|
Arthur Baars
|
c3e8d85f0b
|
Tolerate tokens containing invalid UTF-8
|
2020-11-04 14:46:31 +01:00 |
|
Arthur Baars
|
8056186c3c
|
Hide disconnected tokens
|
2020-11-04 13:35:24 +01:00 |
|
Arthur Baars
|
96423d2e8e
|
Remove describeQlClass from union types
The descriptions of the underlying types are more interesting.
|
2020-11-04 13:35:24 +01:00 |
|
Arthur Baars
|
053c9f60a4
|
Store tokens in a separate table
|
2020-11-04 13:35:24 +01:00 |
|
Nick Rolfe
|
9e49991859
|
Merge pull request #27 from github/extractor-pack-script
Add scripts to create extractor pack locally
|
2020-11-04 12:20:45 +00:00 |
|
Nick Rolfe
|
b16588f058
|
Add powershell script to create extractor pack locally
|
2020-11-04 12:09:52 +00:00 |
|
Nick Rolfe
|
a83ac24652
|
Add bash script to create extractor pack locally
|
2020-11-04 11:59:17 +00:00 |
|
Arthur Baars
|
b92d789598
|
Merge pull request #25 from github/printAST
Implement basic `printAst` query
|
2020-11-03 19:13:44 +01:00 |
|
Nick Rolfe
|
41dcb19cd5
|
Implement basic printAst query
|
2020-11-03 13:47:54 +00:00 |
|
Arthur Baars
|
65c1f2c359
|
Merge pull request #20 from github/aibaars/extract-extra
Extract 'extra' nodes and their subtrees
|
2020-11-03 13:45:33 +01:00 |
|
Arthur Baars
|
d7e9178cda
|
Merge pull request #24 from github/gzip
Add buffered writing and gzip compression for trap files
|
2020-11-03 13:45:19 +01:00 |
|
Arthur Baars
|
bfc05539ec
|
Update library and dbscheme
|
2020-11-03 10:07:05 +01:00 |
|
Arthur Baars
|
25205a09a3
|
Update tree-sitter-ruby
|
2020-11-03 10:06:59 +01:00 |
|
Arthur Baars
|
dc3459de8e
|
Extract 'extra' nodes and their subtrees
|
2020-11-03 10:03:11 +01:00 |
|
Nick Rolfe
|
27c3c88b3c
|
Add buffered writing and gzip compression for trap files
|
2020-11-02 16:14:19 +00:00 |
|
Arthur Baars
|
0156de12ea
|
Merge pull request #22 from github/aibaars/trapwriter
Add a TrapWriter
|
2020-11-02 15:00:38 +01:00 |
|
Arthur Baars
|
0ccd97639b
|
Address comments
|
2020-11-02 13:30:46 +01:00 |
|
Arthur Baars
|
0ecab93d09
|
Merge pull request #23 from github/aibaars/locations-lib
Add Locations.qll and import FileSystem and Locations libraries in generated AST
|
2020-11-02 13:08:15 +01:00 |
|
Arthur Baars
|
f94b5ae412
|
Update QL code generator
|
2020-10-31 14:03:26 +01:00 |
|
Arthur Baars
|
1b502c161e
|
Add Locations library and move language independent files to 'codeql'
|
2020-10-31 11:51:01 +01:00 |
|
Arthur Baars
|
63ca8212f6
|
Limit string sizes to 1MB
|
2020-10-31 11:36:01 +01:00 |
|
Arthur Baars
|
f265ccef59
|
TrapWriter: add global ID caching and populate folders
|
2020-10-31 11:35:57 +01:00 |
|
Arthur Baars
|
0de8b0c069
|
Add TrapWriter::comment
|
2020-10-31 11:35:22 +01:00 |
|
Arthur Baars
|
748dee64ae
|
Escape label keys
|
2020-10-31 11:35:22 +01:00 |
|
Arthur Baars
|
57842e8a87
|
Add TrapWriter
|
2020-10-31 11:35:16 +01:00 |
|
Nick Rolfe
|
83667ab89a
|
Merge pull request #19 from github/locations
Fix location handling to match common db schema requirements
|
2020-10-30 16:56:34 +00:00 |
|
Arthur Baars
|
c2c197dba5
|
Merge pull request #21 from github/aibaars/files-qll
Basic FileSystem.qll
|
2020-10-30 17:50:54 +01:00 |
|
Nick Rolfe
|
075c72e6ef
|
Iterate through path components to 'normalize' paths on windows
|
2020-10-30 15:26:46 +00:00 |
|
Arthur Baars
|
3e12aa457f
|
Basic FileSystem.qll
|
2020-10-30 15:40:29 +01:00 |
|
Nick Rolfe
|
e73500ef7c
|
Cope with empty filenames/extensions
|
2020-10-30 14:38:24 +00:00 |
|
Nick Rolfe
|
0a754334cf
|
Don't generate the QL File class
|
2020-10-30 13:41:27 +00:00 |
|
Nick Rolfe
|
35cb379db7
|
Fix name of table for locations
|
2020-10-30 13:24:16 +00:00 |
|
Nick Rolfe
|
a54f923a73
|
Normalize the absolute path in the files table
|
2020-10-30 13:22:58 +00:00 |
|
Nick Rolfe
|
4b8bbd101c
|
Give locations full ids matching the common spec
|
2020-10-30 13:06:21 +00:00 |
|
Nick Rolfe
|
79d15051be
|
Fix full ids for files to match common spec
|
2020-10-30 12:45:23 +00:00 |
|
Nick Rolfe
|
7f03206b52
|
Use a key id for file entities
|
2020-10-30 11:29:04 +00:00 |
|
Nick Rolfe
|
826b4571a0
|
Canonicalize source file paths in main
|
2020-10-30 11:21:51 +00:00 |
|
Nick Rolfe
|
d47bd32b58
|
Now that we also generate conjunctions, use parentheses in disjunctions
|
2020-10-30 10:34:42 +00:00 |
|
Nick Rolfe
|
f198dc530f
|
Use fromSource = 1
Co-authored-by: Arthur Baars <aibaars@github.com>
|
2020-10-30 10:25:09 +00:00 |
|
Nick Rolfe
|
2232700428
|
Correct comment
Co-authored-by: Arthur Baars <aibaars@github.com>
|
2020-10-30 10:24:24 +00:00 |
|
Nick Rolfe
|
4d5d80c749
|
Fix location handling to match common db schema requirements
|
2020-10-29 19:44:16 +00:00 |
|
Nick Rolfe
|
556507cec7
|
Merge pull request #18 from github/optional_fields
Don't generate an index for optional fields that occur at most once
|
2020-10-29 15:35:27 +00:00 |
|
Nick Rolfe
|
547d12ca58
|
Add more info to error message
|
2020-10-29 15:13:04 +00:00 |
|
Nick Rolfe
|
11c9c18de4
|
Don't generate an index for optional fields that occur at most once
|
2020-10-29 13:04:26 +00:00 |
|
Arthur Baars
|
fbb075b477
|
Merge pull request #17 from github/aibaars/locations-2
TRAP locations: always fix-up empty ranges
|
2020-10-29 12:15:52 +01:00 |
|
Arthur Baars
|
3350d9d3d4
|
TRAP locations: always fix-up empty ranges
|
2020-10-29 10:45:07 +01:00 |
|
Arthur Baars
|
ca91e15a4b
|
Merge pull request #16 from github/aibaars/locations
Fix locations in the
|
2020-10-28 18:09:58 +01:00 |
|