Commit 6793a99
authored
Replace Babashka with FFI/Sidecar library (#43)
* replace send/list commands with rust sidecar
* add github actions pipeline
* refactor from nvim-oxi to mlua
* add support for setting default editor and add 'bridge' cli tool to run neovim
* fix unix permissions not being included on windows
* add support for focus switching
* add support for downloading/managing neovide
* add clippy support and fix linter results
* fix building on macos
* only check for updates once a week
* add support for managing mobdap
* move .cargo/config.toml to crates/sidecar
* cache editor port to improve editor interaction performance drastically
* remove intermediate lua -> runner json config file
* add editor port validation to lua
* add debug settings
* add ability to download releases by arbitrary match functions and add
clear downloads func
* remove temp files for neovide and mobdap after download
* add ability to download defold annotations
* add project dependency management (without .script_api support)
* move editor and editor_config code into core, add find-editor-port and send-command sub commands to bridge
* move run script to the same place we download our executables
* make find_port validate the cached port
* fix bridge debug flag blocking launch via defold
* add script api compiler with bridge integration
* add .script_api compilation
* update lsp library dirs when using :DefoldFetch
* move data into data dir (XDG_DATA_HOME or eqv)
* add experimental github action for releases
* update deps
* remove fail fast
* build macos with deployment target
* move macos specific build args to build.rs
* fix artifact names, remove libssl dependency (use rustls), implement auto downloading of sidecar
* restore loading debug builds
* add build step to lazy.nvim setup
* fix initialization only working when opts are supplied
* add support for zigbuild and build linux with glibc 2.31
* add zig to pipeline
* only build linux with zigbuild
* add bridge download/management
* add better panic handling
* check for errors when calling set_log_level
* make launcher type optional as intended
* switch to debug builds as release just crashes neovim on error
* Revert "switch to debug builds as release just crashes neovim on error"
This reverts commit fc960dd.
* switch to cross for linux builds
* fix cross device link error on ubuntu
* fix builds on windows
* implement file/dir move via fs_extra
* apparently fs_extra doesnt create dirs
* enable anyhow backtrace
* add tracing::instrument to lua functions to block mlua from removing
context
* fix fs_extra::dir::move_dir not working as expected
* log bridge usage errors into log, dont show tracing in stdout anymore
* add untested support for neovide download on mac
* fix downloads on windows
* fix windows run script
* maybe fix macos using dmgwiz
* replace dmgwiz with dmg
* add ability to enforce sidecar/bridge updates
* fix macos using different path for Defold preferences
* if neovide/mobdap/bridge dont exist always re-download
* fix alacritty name, only add class on linux
* add tests for game.project
* install neovide on macos as an .app
* fix launching neovim with line number not working
* escape executable path, fix bug with new line syntax
* remove defold_api
* remove redundant code1 parent 33f7b88 commit 6793a99
106 files changed
Lines changed: 8473 additions & 9779 deletions
File tree
- .github/workflows
- crates
- bridge
- src
- core
- assets
- fixtures
- src
- sidecar
- src
- lua/defold
- config
- service
- plugin
- resources/defold_api
- scripts
- src/defold
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
6 | | - | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
99 | 117 | | |
100 | 118 | | |
101 | 119 | | |
| |||
122 | 140 | | |
123 | 141 | | |
124 | 142 | | |
125 | | - | |
| 143 | + | |
0 commit comments