Commit Graph

368 Commits

Author SHA1 Message Date
Alexandros Naskos
04abb3a5ff Fix merge conflicts 2020-05-07 16:23:13 +03:00
Alexandros Naskos
5c602745fd Use the page allocator as our base allocator for now. 2020-05-07 16:20:45 +03:00
Alexandros Naskos
cea1222b79 Free the old document text after rebuilding the new one, this was a use after free since before, after point into the old memory 2020-05-07 16:04:57 +03:00
Alexandros Naskos
eaf0c1f3e5 Switched struct and enum literals to use the anonymous form where possible.
Added trailing commas to fields of struct literals that are followed by newline.
2020-05-07 15:29:53 +03:00
Alexandros Naskos
a0addc040d Fixed a bug in publishDiagnostics where message data on the stack could be corrupted before being sent 2020-05-07 15:01:16 +03:00
Alexandros Naskos
c5d3d7902e Free json parser state, compute builtin completions at comptime 2020-05-07 14:36:40 +03:00
Alexandros Naskos
a7e4d0b5e3 Use a local arena to free all memory with one call. 2020-05-07 14:10:58 +03:00
Alexandros Naskos
e9d9c57ff4 Fixed some additional memory leaks. 2020-05-07 13:56:08 +03:00
Alexandros Naskos
3fa5ef4b96 Fixed a couple of typos 2020-05-07 12:58:35 +03:00
Alexandros Naskos
0283222e3a Added build option to enable the leak counting allocator.
Log the allocation count to the client at the end of the main loop.
Fixed two memory leaks in analysis.zig
2020-05-07 12:50:25 +03:00
SuperAuguste
5bd790f416 basic stylistic linter 2020-05-03 22:17:19 -04:00
SuperAuguste
b0e21bf82c hotfix 2020-05-03 17:27:37 -04:00
SuperAuguste
738a9be0cc added function comments and signature 2020-05-03 17:27:08 -04:00
SuperAuguste
88814b9589 better builtin completion, versioning 2020-05-02 12:43:26 -04:00
SuperAuguste
999a365f3c fixes 2020-04-28 09:31:41 -04:00
SuperAuguste
def89a90f5 Better builtin completion 2020-04-27 22:59:28 -04:00
SuperAuguste
ce443ba1dd Completion of global values, and some reformatting 2020-04-27 16:38:35 -04:00
SuperAuguste
a0ff26cc8f init 2020-04-24 18:19:03 -04:00