Commit Graph

  • 1725278be1 add master data, add data selection SuperAuguste 2020-05-07 11:29:40 -0400
  • ee594a1b2f Separate document text and memory. Text is now a substring of memory, starting at index 0. We now realloc memory when needed and only copy the existing data around instead of allocating a new string, copying all the data and freeing the old string. This leads to possibly less allocation calls, depending on the allocator and less copying necesssary. Alexandros Naskos 2020-05-07 17:58:31 +0300
  • f80dc1d35c
    Merge pull request #4 from alexnask/memleaks Auguste Rame 2020-05-07 09:26:34 -0400
  • 04abb3a5ff Fix merge conflicts Alexandros Naskos 2020-05-07 16:23:13 +0300
  • 5c602745fd Use the page allocator as our base allocator for now. Alexandros Naskos 2020-05-07 16:20:45 +0300
  • 92a03ab9d2
    Merge pull request #5 from alexnask/modernize_code Auguste Rame 2020-05-07 09:17:33 -0400
  • 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 Alexandros Naskos 2020-05-07 16:04:57 +0300
  • 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. Alexandros Naskos 2020-05-07 15:29:53 +0300
  • a0addc040d Fixed a bug in publishDiagnostics where message data on the stack could be corrupted before being sent Alexandros Naskos 2020-05-07 15:01:16 +0300
  • c5d3d7902e Free json parser state, compute builtin completions at comptime Alexandros Naskos 2020-05-07 14:36:40 +0300
  • a7e4d0b5e3 Use a local arena to free all memory with one call. Alexandros Naskos 2020-05-07 14:10:58 +0300
  • e9d9c57ff4 Fixed some additional memory leaks. Alexandros Naskos 2020-05-07 13:56:08 +0300
  • 3fa5ef4b96 Fixed a couple of typos Alexandros Naskos 2020-05-07 12:58:35 +0300
  • 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 Alexandros Naskos 2020-05-07 12:50:25 +0300
  • 5bd790f416 basic stylistic linter SuperAuguste 2020-05-03 22:17:19 -0400
  • b0e21bf82c hotfix SuperAuguste 2020-05-03 17:27:37 -0400
  • 738a9be0cc added function comments and signature SuperAuguste 2020-05-03 17:27:08 -0400
  • 88814b9589 better builtin completion, versioning SuperAuguste 2020-05-02 12:43:26 -0400
  • 999a365f3c fixes SuperAuguste 2020-04-28 09:31:41 -0400
  • def89a90f5 Better builtin completion SuperAuguste 2020-04-27 22:59:28 -0400
  • ce443ba1dd Completion of global values, and some reformatting SuperAuguste 2020-04-27 16:38:35 -0400
  • a0ff26cc8f init SuperAuguste 2020-04-24 18:19:03 -0400