Commit graph

152 commits

Author SHA1 Message Date
Noah Santschi-Cooney
cb7c9b8b49
(probably for AMD) enable 'GL_GOOGLE_cpp_style_line_directive' in preamble 2022-03-25 01:30:48 +00:00
Noah Santschi-Cooney
b4a0636d43
replace (NodeIndex, Option<NodeIndex>) with FilialTuple globally 2022-03-25 01:29:01 +00:00
Noah Santschi-Cooney
9a499d581b
move tests to their respective files 2022-03-24 22:33:51 +00:00
Noah Santschi-Cooney
3957eaed17
go-to-def for same-file functions from function calls working 2022-03-21 21:58:11 +00:00
Noah Santschi-Cooney
d5b0dcffb2
wip 2022-03-20 01:28:56 +00:00
Noah Santschi-Cooney
f8dd31ca81
extract out diagnostics parser. pls submit AMD lint output in github issues 2022-03-19 23:27:33 +00:00
Noah Santschi-Cooney
d3c0869288
tree-sitter fun 👀 2022-03-19 22:58:01 +00:00
Noah Santschi-Cooney
86100aa008
chore: reorganizing lsp commands 2022-03-19 20:26:30 +00:00
Noah Santschi-Cooney
9a9ed21f13
allow configurable log level 2022-03-18 19:11:48 +00:00
Noah Santschi-Cooney
ebab8c899a
formatting and adding a buncha log points 2022-03-18 19:00:42 +00:00
Noah Santschi-Cooney
7cf009ee61
added base logging infrastructure, more to come SOON 2022-03-15 01:01:50 +00:00
Noah Santschi-Cooney
b775bd2cd5
cargo: bump dependency versions 2022-03-14 23:58:49 +00:00
Noah Santschi-Cooney
554777d0da
allow skipping bootstrap step and expose github actions extension build in CI on every push 2022-01-02 23:20:37 +00:00
Noah Santschi-Cooney
65422c863f
fix failed compile in 3884126697 2022-01-02 21:59:44 +00:00
Noah Santschi-Cooney
c7d8b02ee3
fixed all lint warnings 2021-03-05 17:48:55 +00:00
Noah Santschi-Cooney
db5e5afb26
compute shader support apparently? not tested pls no bulli 2021-03-05 17:26:51 +00:00
Noah Santschi-Cooney
b649aeb1f6
v0.9.5 2021-02-19 01:23:17 +00:00
Noah Santschi-Cooney
551380a6ed
fixes merger for when file is merged twice
This happens in projects where an #include is normally guarded by #ifdef.
File A conditionally includes either B or C based on an #ifdef.
Both B and C include D, so D gets merged twice.
Previously, the offset to which a file view has been created is stored globally.
This means that the offset would be reused on a fresh include in the above situation.
Solved by storing offsets keyed by the NodeIndex of the parent file that is including and the NodeIndex of the file being included.
2021-02-19 01:02:09 +00:00
Noah Santschi-Cooney
9a770f69a4
v0.9.4 2021-02-13 18:39:29 +00:00
Noah Santschi-Cooney
22deb53ecd
dont add to graph or lint files out-of-tree 2021-02-13 18:28:36 +00:00
Noah Santschi-Cooney
72ea905413
fixes merger for mixed CRLF/LF projects 2021-02-13 18:27:42 +00:00
Noah Santschi-Cooney
30bd0dd7f4
v0.9.2 2021-02-12 03:27:18 +00:00
Noah Santschi-Cooney
35b8667229
adds support for relative vs absolute include path 2021-02-12 01:06:05 +00:00
Noah Santschi-Cooney
41da617c7f
fixes virtual merged document command not being multiplatform 2021-02-12 01:06:05 +00:00
Noah Santschi-Cooney
4573dd86fd
extension release bootstrapping and updating 2021-02-07 02:05:37 +00:00
Noah Santschi-Cooney
8fab7bd0f2
crud clean 2021-02-07 02:05:37 +00:00
Noah Santschi-Cooney
a4d1147606 .gitattributes line-endings 2021-02-01 02:57:06 +00:00
Noah Santschi-Cooney
7d5a46470b Windows support
Migrated to PathBuf over &str and String for paths, long overdue
2021-02-01 02:37:19 +00:00
Noah Santschi-Cooney
19f92baba9
geometry shader support apparently? idfk 2021-01-25 23:20:27 +00:00
Noah Santschi-Cooney
dd827a3787
Reuse opengl context between lint runs 2021-01-25 22:59:37 +00:00
Noah Santschi-Cooney
a12f61fa4e
Fixed (hopefully) final merger bug :^) 2021-01-25 01:29:40 +00:00
Noah Santschi-Cooney
5aa7f4dc03
Fixed problem in merger with deeper-than-1 include levels, now avec tests 2021-01-14 01:44:08 +00:00
Noah Santschi-Cooney
6c0a1f9b57
Add new files to graph when opened TODO: fs listener 2021-01-14 01:42:59 +00:00
Noah Santschi-Cooney
97dc2167c2
Dont validate non vsh|fsh files, must be top level 2021-01-14 01:42:15 +00:00
Noah Santschi-Cooney
8878b20631
Updated validator output parsing for new method 2021-01-12 00:01:56 +00:00
Noah Santschi-Cooney
96eaac213a
Fixed tree-type inference when the saved file is not a top-level 2021-01-11 22:50:39 +00:00
Noah Santschi-Cooney
dc1495686a
Using headless opengl context to lint files, removed last bits of glslangValidator 2021-01-10 23:42:14 +00:00
Noah Santschi-Cooney
26c855f016
Added "Show flattened file" command to display a fully flattened top-level file in vscode virtual doc
execute_command now returns content to the client on success, any valid json value
2021-01-10 23:40:46 +00:00
Noah Santschi-Cooney
49324cfb04
Reworked view merger to emit the final merged string 2021-01-10 23:36:48 +00:00
Noah Santschi-Cooney
0766d98c11
OpenGL headless context lets fucking GOOOOOOOOOOOOOOOOOOOOOOOOO 2021-01-08 01:00:18 +00:00
Noah Santschi-Cooney
def65cbf80
Updating graph to reflect possible include changes 2020-09-14 00:38:00 +01:00
Noah Santschi-Cooney
40741740a3
Small cleanup of project files 2020-08-15 21:07:06 +01:00
Noah Santschi-Cooney
756498ee3c
Return CycleError directly 2020-08-13 20:14:29 +01:00
Noah Santschi-Cooney
b535ede737
Improved generating initial include graph 2020-08-12 21:07:57 +01:00
Noah Santschi-Cooney
e56d182e3c
cpp style #line and diagnostics per-file per lint 2020-08-08 19:40:11 +01:00
Noah Santschi-Cooney
c322abe9af
Fixed tests 2020-08-07 15:01:57 +01:00
Noah Santschi-Cooney
f803ab3385
Unfinished cpp-style line directives 2020-08-07 01:00:57 +01:00
Noah Santschi-Cooney
e5937ae26d
Linting is a-go! 2020-08-07 01:00:33 +01:00
Noah Santschi-Cooney
c67b329247
Truncate graphviz file before write 2020-08-07 00:59:04 +01:00
Noah Santschi-Cooney
d773220c67
Fixed getting nodes root ancestors 2020-08-07 00:58:34 +01:00