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
Noah Santschi-Cooney
ae51b3b01c
THE BIG MERGE v0.9 - more opti-like
2020-08-04 01:33:49 +01:00
Noah Santschi-Cooney
d35781b718
THE BIG MERGE v0.9
2020-08-03 20:27:57 +01:00
Noah Santschi-Cooney
88f165dd33
THE BIG MERGE v0.1
2020-08-03 01:57:19 +01:00
Noah Santschi-Cooney
d80adf83a3
Fixed cycle path rewinding
2020-07-30 23:21:53 +01:00
Noah Santschi-Cooney
1250c81365
Fixed dfs cycle detection unwinding
2020-07-28 01:35:30 +01:00
Noah Santschi-Cooney
0028e0ac9a
DFS with repeats + cycle detection
2020-07-26 00:45:11 +01:00
Noah Santschi-Cooney
7d7ce835d2
Starting custom DFS and avoiding lifetime issues
2020-07-21 22:10:33 +01:00
Noah Santschi-Cooney
fa81620027
include graph ancestor collection and merge-list creation
2020-07-19 23:58:13 +01:00
Noah Santschi-Cooney
346e9b0f9f
Light refactoring for less .unwrap
2020-07-19 00:22:10 +01:00
Noah Santschi-Cooney
f7310c1573
Moved to vscode provided global file storage path to DL glslangValidator
2020-07-18 23:11:26 +01:00
Noah Santschi-Cooney
39143aefc7
Improved client-server integration
2020-07-17 15:31:27 +01:00
Noah Santschi-Cooney
17c4f8aa93
Diagnostics to correct length. Using doc versioning where available
2020-07-15 10:09:31 +01:00
Noah Santschi-Cooney
c9d2285ece
diagnostics are a go!
...
No include tree walking, no diagnostic versioning/persisting
Just plain oul basic diagnostics
2020-07-14 22:22:47 +01:00
Noah Santschi-Cooney
ec17f3df4f
Fixed graphdot cmd, more &str less String, unescaping URIs, lint on save/open
2020-07-14 21:05:52 +01:00
Noah Santschi-Cooney
72bf3c6d4f
formatting and running glslangValidator bin
2020-07-14 19:20:09 +01:00
Noah Santschi-Cooney
34b469b743
Update RustLSP, added convenience parent/child methods on graph
2020-06-20 22:36:57 +01:00