Commit Graph

  • c259dea90e
    Merge pull request #36 from ifreund/patch-1 Auguste Rame 2020-05-15 10:16:37 -0400
  • 675aa13e8b
    Mention that zls must be built with zig master Isaac Freund 2020-05-15 15:35:28 +0200
  • 761c277ccc
    Merge pull request #35 from alexnask/better_path_handling Auguste Rame 2020-05-15 08:48:10 -0400
  • 3111627923
    parsing now always results in a AST Vexu 2020-05-14 17:22:15 +0300
  • 18a0ffc7e2 Check that the zg std library path provided is absolute, default to null otherwise Alexandros Naskos 2020-05-15 13:21:34 +0300
  • 9fc7d1f66e Maintain case when making a URI from a file, make drive letter lowercase on windows Alexandros Naskos 2020-05-15 13:15:10 +0300
  • bb964a5aed quick fix in README SuperAuguste 2020-05-15 00:01:54 -0400
  • 60286a6fcb README changes SuperAuguste 2020-05-15 00:00:44 -0400
  • d2550b4d01
    Merge pull request #31 from markfirmware/master Auguste Rame 2020-05-14 23:55:17 -0400
  • 35a73fb7cb
    Merge pull request #32 from alexnask/context_independent_field_completion Auguste Rame 2020-05-14 17:22:08 -0400
  • b540a48fa7 Removed comment Alexandros Naskos 2020-05-15 00:21:04 +0300
  • 6954016c91 Trigger global and field completions correctly in more contexts. Alexandros Naskos 2020-05-15 00:16:40 +0300
  • 5c14dc70a6
    Update README.md markfirmware 2020-05-14 16:07:52 -0400
  • 73c3e87a37 fix errors SuperAuguste 2020-05-14 15:57:31 -0400
  • 8468207da3
    Merge pull request #23 from Vexu/err Auguste Rame 2020-05-14 13:46:15 -0400
  • a739bf6499
    implement completion for error sets Vexu 2020-05-14 19:11:03 +0300
  • 86a1edf9c7 Remove more redundant code, rename function SuperAuguste 2020-05-14 12:23:26 -0400
  • 58015dcd64 Remove dead code SuperAuguste 2020-05-14 12:16:06 -0400
  • 40235cbdbb fix field access type SuperAuguste 2020-05-14 12:14:35 -0400
  • db6407ea3b
    implement getDocComments for rest of named nodes with docs Vexu 2020-05-14 19:07:46 +0300
  • 353c9b3261 undo SuperAuguste 2020-05-14 10:11:59 -0400
  • 9609aee6a9 test ci SuperAuguste 2020-05-14 10:11:32 -0400
  • 94dd78171f fix SuperAuguste 2020-05-14 10:09:50 -0400
  • 537e4fdd2b README changes SuperAuguste 2020-05-14 10:07:14 -0400
  • e92c3e4478 removing redudant ci folder SuperAuguste 2020-05-14 09:58:35 -0400
  • 98176db5a4 ci fix? SuperAuguste 2020-05-14 09:57:19 -0400
  • 2dd50774b4 fix? SuperAuguste 2020-05-14 09:54:59 -0400
  • 1b5698106d fix perms SuperAuguste 2020-05-14 09:52:56 -0400
  • 8345b94cd6 ci test SuperAuguste 2020-05-14 09:49:05 -0400
  • bdf7bad51d
    Merge pull request #19 from alexnask/imports Auguste Rame 2020-05-14 08:53:52 -0400
  • 197ba84a82 Finished DocumentStore.deinit() Alexandros Naskos 2020-05-14 15:26:10 +0300
  • ca0bc205e4 Fixed crash with enum fields Alexandros Naskos 2020-05-14 15:15:27 +0300
  • 942b617865 Updated README, config.zig doc comment Alexandros Naskos 2020-05-14 15:09:27 +0300
  • f5e4586c76 Detect import removal and decrement document referece count Alexandros Naskos 2020-05-14 14:51:07 +0300
  • 112d38e7fa Fixed crash in snippet generation of varargs functions Alexandros Naskos 2020-05-14 13:57:55 +0300
  • 6db3c74550 Renamed import context to analysis context, added arena for temporary allocations while analyzing Alexandros Naskos 2020-05-14 12:23:20 +0300
  • 7a8a4e1ec5 Fixed crash when completing import with dot access Alexandros Naskos 2020-05-14 12:12:04 +0300
  • 76e9a079a3 Avoid unnecessary copy of document text when opening new imports Alexandros Naskos 2020-05-14 11:51:49 +0300
  • 60ffc5f551 Fixed crash while closing document (uri double free) Alexandros Naskos 2020-05-14 11:40:17 +0300
  • 09356fbe98
    Merge pull request #21 from Sergeeeek/master Auguste Rame 2020-05-14 00:39:18 -0400
  • 8abed0d4a7 Fixed logo viewbox, now it doesn't overflow Sergeeeek 2020-05-14 07:04:00 +0300
  • 95b6e6cd6a Fixed relative URI code, get latest tree in analysis Alexandros Naskos 2020-05-14 05:14:37 +0300
  • 86d264f488 1 level deep imports now work but we crash when adding levels Alexandros Naskos 2020-05-14 05:00:00 +0300
  • 31f1d2fa3e First draft of imports Alexandros Naskos 2020-05-14 04:54:05 +0300
  • 18c026372b fix empty comments SuperAuguste 2020-05-13 19:43:09 -0400
  • bc597025e7 revert fix SuperAuguste 2020-05-13 19:41:08 -0400
  • 1a2f83d84b Fix empty comments SuperAuguste 2020-05-13 19:40:34 -0400
  • b182eec37f quick removal of debug SuperAuguste 2020-05-13 19:36:51 -0400
  • 307dceb703 Preparation for imports, abstracted document hashmap into a document storage type Alexandros Naskos 2020-05-14 02:10:41 +0300
  • be95849a15 Added pointer type resolution Alexandros Naskos 2020-05-13 22:35:14 +0300
  • f0ac6e65b6
    Merge pull request #18 from alexnask/better_completions Auguste Rame 2020-05-13 15:25:03 -0400
  • 0e0789b2d5 Unified completions into a function, small snippet improvement Alexandros Naskos 2020-05-13 20:30:57 +0300
  • 20afe9ef3c Doc comments, function completion in structs SuperAuguste 2020-05-13 12:19:10 -0400
  • e9b5bf433e Add function completion, fix function snippet generation SuperAuguste 2020-05-13 11:59:44 -0400
  • 7c388812c7 remove debug SuperAuguste 2020-05-13 11:45:32 -0400
  • adbcaefe26
    Merge pull request #14 from SuperAuguste/completion Auguste Rame 2020-05-13 11:44:07 -0400
  • dc292e74ee null bug fixes SuperAuguste 2020-05-13 11:43:28 -0400
  • 9ae912efdd super basic completion, tons of things to iron out SuperAuguste 2020-05-13 10:10:20 -0400
  • a3067f88b1 Add new analysis engine SuperAuguste 2020-05-13 09:03:33 -0400
  • 8283fad107
    Merge pull request #16 from alexnask/snippet_improvements Auguste Rame 2020-05-12 13:43:13 -0400
  • 4f2828f9cb Removed debug log Alexandros Naskos 2020-05-12 20:02:22 +0300
  • aacad999c4 Made function snippet generation better. Alexandros Naskos 2020-05-12 19:59:16 +0300
  • d0837ffc51 Start implementing completion SuperAuguste 2020-05-11 08:28:08 -0400
  • a2f314301c quick fix of asset SuperAuguste 2020-05-09 15:42:35 -0400
  • 65a5c3ecd1
    Merge pull request #13 from alexnask/read_config Auguste Rame 2020-05-09 15:35:07 -0400
  • 86fbf5fe7e Global completions now check config for snippet support, modified readme to reflect changes. Alexandros Naskos 2020-05-09 21:45:13 +0300
  • 25cc662bcc Merge branch 'master' of https://github.com/SuperAuguste/zls into read_config Alexandros Naskos 2020-05-09 21:38:20 +0300
  • 64c60c7189
    Merge pull request #12 from alexnask/master Auguste Rame 2020-05-09 14:20:33 -0400
  • 35b4913b3e Removed no_snippets build option. Instead, we now read a configuration file, zls.json in the same folder as the executable. Options are defined in the struct config.zig and must have default values. The only option right now is enable_snippets and it defaults to true. Alexandros Naskos 2020-05-09 16:43:51 +0300
  • f25dade27d Removed comments Alexandros Naskos 2020-05-09 05:43:17 +0300
  • e46135cb68 Added snippet completion for global functions, fixed no snipper completion. Alexandros Naskos 2020-05-09 05:38:08 +0300
  • 922559c83a Use error iterator instead of manual looping in diagnostic generation Alexandros Naskos 2020-05-09 04:02:29 +0300
  • 01b2c2e328 fix bug with latest pr SuperAuguste 2020-05-08 13:02:46 -0400
  • b939b9cefa
    Merge pull request #11 from alexnask/PascalCase Auguste Rame 2020-05-08 12:20:34 -0400
  • d8457c96a1 is_type_function is const Alexandros Naskos 2020-05-08 18:07:14 +0300
  • 29b0045bc7 Detect type functions and require PascalCase, require camelCase for the rest Alexandros Naskos 2020-05-08 18:01:34 +0300
  • cc38b0f9ad
    Merge pull request #10 from alexnask/master Auguste Rame 2020-05-08 10:31:00 -0400
  • bd7675e5b7 Fixed typo Alexandros Naskos 2020-05-08 17:25:22 +0300
  • 09cd91690c Renamed documentContext to documentPositionContext and added multiline string literal to it. Alexandros Naskos 2020-05-08 17:24:29 +0300
  • ffcdb886d9 fix crash with documentContext SuperAuguste 2020-05-08 09:17:32 -0400
  • d368c84aa3
    Merge pull request #9 from alexnask/master Auguste Rame 2020-05-08 09:09:57 -0400
  • aca7db3e88 Reset context to other when trying to find field/var access and don't get alphanumerical or @"..." Alexandros Naskos 2020-05-08 15:09:31 +0300
  • 0b5eb4b9d2 Fixed field_access check Alexandros Naskos 2020-05-08 15:07:14 +0300
  • 0149f11c7c Switched Context to PositionContext Alexandros Naskos 2020-05-08 14:36:54 +0300
  • 982a39f868 Added context detection from document and position for builtins, variable accesses, field accesses, string literals and comments. Alexandros Naskos 2020-05-08 13:50:21 +0300
  • fb9f50d606 fix builtin completion SuperAuguste 2020-05-07 23:05:17 -0400
  • 84837dfe58 fix pub functions SuperAuguste 2020-05-07 22:27:42 -0400
  • effb14ef87
    Merge pull request #8 from alexnask/master Auguste Rame 2020-05-07 22:25:23 -0400
  • 48ed3ff447 Merge branch 'master' of https://github.com/SuperAuguste/zls Alexandros Naskos 2020-05-08 02:57:24 +0300
  • 02e57f5d59 Renamed leak_alloction build option to allocation_info Switched to readAll and writeAll stream functions Disabled logs on non-debug builds Created freeDocument(doc), closeDocument(uri), called at appropriate sites Removed _ = expr; for void values Added and clarified some logging messages Simplified builtin_completion generation The JSON parser is now reused but reset after parsing a RPC Fix memory leak when closing a document (last mem. leak) Renamed leak_alloc to debug_alloc Removed catch return statements from main(), rely on try to also get stacktraces instead Alexandros Naskos 2020-05-08 02:53:00 +0300
  • 042b47a27d fix typo in readme SuperAuguste 2020-05-07 14:02:59 -0400
  • fd38e2d3ef resize SuperAuguste 2020-05-07 13:57:38 -0400
  • 4f8e61322f README improvements SuperAuguste 2020-05-07 13:54:58 -0400
  • 01ff89eea3 Add no_snippets SuperAuguste 2020-05-07 13:16:04 -0400
  • 14a2796857
    Merge pull request #6 from alexnask/separate_text_mem Auguste Rame 2020-05-07 13:10:18 -0400
  • 6ed45a1f23 Also free the sane text when releasing a document Alexandros Naskos 2020-05-07 20:02:54 +0300
  • 6ac068a3c5 Merge branch 'master' of https://github.com/SuperAuguste/zls into separate_text_mem Alexandros Naskos 2020-05-07 19:54:11 +0300
  • 447d52dd1c fix init error SuperAuguste 2020-05-07 12:47:39 -0400
  • 6b099f8c6d fix SuperAuguste 2020-05-07 12:25:37 -0400
  • 4d5f833226 Merge branch 'master' of https://github.com/SuperAuguste/zls into separate_text_mem Alexandros Naskos 2020-05-07 18:43:56 +0300