Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework of Plugins #117

Merged
merged 49 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
f6feab8
feat: rework plugins to new format
matheuswhite Jun 7, 2024
7c97a77
docs: stabilize plugin APIs and document it
matheuswhite Jun 10, 2024
6d69420
docs: add on_mtu_change to ble plugin API
matheuswhite Jun 10, 2024
d9cd6ef
feat: add delay between send tries
matheuswhite Jun 10, 2024
e7539bc
docs: tidy up docs and update interfaces and APIs
matheuswhite Jul 6, 2024
6b8e071
feat: normalize interfaces and APIs, and update examples
matheuswhite Jul 6, 2024
3553edc
feat: add initial regex APIs
matheuswhite Jul 6, 2024
0a36419
docs: add docs regex API
matheuswhite Jul 6, 2024
34ba749
refactor: remove all plugin code
matheuswhite Jul 6, 2024
25dcc8c
wip: writting the code in the new archtecture
matheuswhite Jul 13, 2024
5270d22
feat: finish of new archtecture migration
matheuswhite Jul 14, 2024
8586f7e
feat: add color to special characters
matheuswhite Jul 18, 2024
e57e2ef
feat: add ansi colors and fix other colors
matheuswhite Jul 19, 2024
d481cf3
fix: fix blink dead lock bug and timestamp format on files
matheuswhite Jul 20, 2024
e8e8e40
feat: fix hex sequence
matheuswhite Jul 20, 2024
f166a0a
feat: add a command to setup flow control
matheuswhite Jul 20, 2024
a3e82aa
feat: add a command to set log level
matheuswhite Jul 20, 2024
3d94133
feat: add plugin engine base infrastructure
matheuswhite Jul 27, 2024
c6b57dd
feat: add input task and serial if integration with the plugin engine
matheuswhite Aug 4, 2024
a4d45c7
feat: break logs with newline inside
matheuswhite Aug 4, 2024
d35c85d
fix: fix load plugins bugs
matheuswhite Aug 4, 2024
edfe3ad
fix: fix plugin execution bugs
matheuswhite Aug 4, 2024
d2638c8
fix: improve plugin messages and usage
matheuswhite Aug 5, 2024
070ef68
feat: add to_str implementation in lua
matheuswhite Aug 7, 2024
5271d4f
feat: add unpack to pass arguments to lua plugins
matheuswhite Aug 7, 2024
5346505
fix: fix graphics bugs
matheuswhite Aug 7, 2024
22ca2fd
feat: add a plugin for basic tests
matheuswhite Aug 7, 2024
f00ab58
feat: add a option to send a \r\n with shift and enter
matheuswhite Aug 9, 2024
b2dbb5d
fix: fix hex sequence
matheuswhite Aug 9, 2024
558c233
feat: add more ansi color decode option
matheuswhite Aug 9, 2024
1823f03
feat: change shift to alt to send without new line
matheuswhite Aug 9, 2024
2bc4d49
fix: fix hex string print
matheuswhite Aug 9, 2024
6606b27
fix: remove code from re.match function
matheuswhite Aug 9, 2024
923f9a2
refactor: change special characters' color and user input on history
matheuswhite Aug 10, 2024
ec83a5b
fix: fix build error for macos
matheuswhite Aug 14, 2024
2bf88af
fix: fix bytes replacement and ansi bytes decoding
matheuswhite Aug 17, 2024
7c28316
feat: add source and id to logger messages
matheuswhite Aug 19, 2024
7c84c6b
feat: add zed configs to gitignore
matheuswhite Aug 19, 2024
b17927c
fix: fix shell plugin return table
matheuswhite Aug 19, 2024
d642ae8
feat: print error message if the typed user command doesn't exist on …
matheuswhite Aug 27, 2024
0c5fadd
fix: fixes on_serial_connect and on_serial_disconnect second argument
matheuswhite Aug 28, 2024
a60a766
feat: add serial at start of connect, disconnect and setup flow contr…
matheuswhite Aug 29, 2024
40588e1
feat: remove rust mentions from plugin's lua code
matheuswhite Aug 29, 2024
4685089
feat: add helper functions to parser arguments from user command func…
matheuswhite Aug 29, 2024
d37b123
fix: fix bugs on plugin's regex API
matheuswhite Aug 30, 2024
df56f30
ci: remove commit check CI's action
matheuswhite Aug 30, 2024
cdc26c1
ci: remove nightly from CI
matheuswhite Aug 30, 2024
2b731f9
fix: fix windows compiling bugs
matheuswhite Aug 31, 2024
75f2293
style: fix style on serial_if.rs
matheuswhite Aug 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 0 additions & 76 deletions .github/commit_checks.py

This file was deleted.

24 changes: 3 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,45 +13,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true

- name: Install libudev-sys
run: |
sudo apt-get install -y libudev-dev

- name: Build
run: |
cargo +nightly build --release --verbose
cargo build --release --verbose

build-windows:
name: Check on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: Build
run: |
cargo +nightly build --release --verbose
cargo build --release --verbose

build-macos:
name: Check on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true

- name: Build
run: |
cargo +nightly build --release --verbose
cargo build --release --verbose
20 changes: 0 additions & 20 deletions .github/workflows/commit-checks.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
.idea/*
.zed/*
Loading
Loading