Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
450fbd5
WIP
makspll Aug 6, 2022
0c5836b
Merge branch 'main' into feature/add_rhai_api
makspll Aug 11, 2022
da49a02
fix merge compile errors
makspll Aug 11, 2022
ae56221
fix example
makspll Aug 11, 2022
f0c8a46
Merge branch 'main' into feature/add_rhai_api
makspll Aug 13, 2022
9df511e
Add primitive implementations of RhaiProxyable
makspll Aug 18, 2022
9eff99f
add rhai support for Option
makspll Aug 19, 2022
0d57b23
add registration functions for generic RhaiVec's and modify example
makspll Aug 21, 2022
4f844ef
add iterator support from the main rhai branch
makspll Aug 22, 2022
6e1ced1
move things over to the CustomType trait and start new crate
makspll Aug 22, 2022
a1e43ec
initiate lib
makspll Sep 19, 2022
e38acab
WIP
makspll Sep 22, 2022
5ccbae2
add basic attribute parsing
makspll Sep 23, 2022
2c97ac4
Merge branch 'main' into feature/add_rhai_api
makspll Sep 23, 2022
4ddc07e
WIP
makspll Oct 8, 2022
557d1df
Merge branch 'main' into feature/add_rhai_api
makspll Dec 21, 2022
ab53b19
fix merge errors
makspll Dec 21, 2022
66786af
fix some reverts
makspll Dec 21, 2022
d5d5596
change launch.json
makspll Dec 21, 2022
8537af5
add game of life for rhai
makspll Dec 27, 2022
4d5119a
add more bevy api features for rhai
makspll Dec 28, 2022
d48c85c
revive console integration examples
makspll Dec 28, 2022
2799a61
add console log
makspll Dec 28, 2022
25af67d
clippy fixes
makspll Dec 28, 2022
fc3cd61
cargo fmt
makspll Dec 28, 2022
1eeb87e
fix imports
makspll Dec 28, 2022
501aa20
small fixes
makspll Dec 28, 2022
015ae32
formatting
makspll Dec 28, 2022
847aafc
fix clippy warnings
makspll Dec 28, 2022
ab1b93b
change readme and changelog
makspll Dec 28, 2022
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
267 changes: 19 additions & 248 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,283 +21,54 @@
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'bevy_mod_scripting_derive'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=bevy_mod_scripting_derive"
],
"filter": {
"name": "bevy_mod_scripting_derive",
"kind": "lib"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug example 'complex_game_loop'",
"cargo": {
"args": [
"build",
"--example=complex_game_loop",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "complex_game_loop",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in example 'complex_game_loop'",
"cargo": {
"args": [
"test",
"--no-run",
"--example=complex_game_loop",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "complex_game_loop",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug example 'event_recipients'",
"cargo": {
"args": [
"build",
"--example=event_recipients",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "event_recipients",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in example 'event_recipients'",
"cargo": {
"args": [
"test",
"--no-run",
"--example=event_recipients",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "event_recipients",
"kind": "example"
}
"env": {
"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"name": "Debug example 'game_of_life_lua'",
"type": "lldb",
"request": "launch",
"name": "Debug example 'custom_user_data'",
"cargo": {
"args": [
"build",
"--example=custom_user_data",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "custom_user_data",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in example 'custom_user_data'",
"cargo": {
"args": [
"test",
"--no-run",
"--example=custom_user_data",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "custom_user_data",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug example 'console_integration_rhai'",
"cargo": {
"args": [
"build",
"--example=console_integration_rhai",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "console_integration_rhai",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in example 'console_integration_rhai'",
"cargo": {
"args": [
"test",
"--no-run",
"--example=console_integration_rhai",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "console_integration_rhai",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug example 'console_integration_lua'",
"cargo": {
"args": [
"build",
"--example=console_integration_lua",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "console_integration_lua",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in example 'console_integration_lua'",
"cargo": {
"args": [
"test",
"--no-run",
"--example=console_integration_lua",
"--package=bevy_mod_scripting"
"--example=game_of_life_lua",
"--package=bevy_mod_scripting",
"--features=lua54,teal,lua_script_api",
],
"filter": {
"name": "console_integration_lua",
"name": "game_of_life_lua",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
"cwd": "${workspaceFolder}",
"env": {
"CARGO_MANIFEST_DIR": "${workspaceFolder}"
}
},
{
"name": "Debug example 'game_of_life_rhai'",
"type": "lldb",
"request": "launch",
"name": "Debug example 'bevy_api'",
"cargo": {
"args": [
"build",
"--example=bevy_api_lua",
"--example=game_of_life_rhai",
"--package=bevy_mod_scripting",
"--features=lua54"
"--features=rhai,rhai_script_api",
],
"filter": {
"name": "bevy_api_lua",
"name": "game_of_life_rhai",
"kind": "example"
}
},
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in example 'native_types'",
"cargo": {
"args": [
"test",
"--no-run",
"--example=native_types",
"--package=bevy_mod_scripting"
],
"filter": {
"name": "native_types",
"kind": "example"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'bevy_event_priority'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=bevy_event_priority"
],
"filter": {
"name": "bevy_event_priority",
"kind": "lib"
}
},
"args": [],
"env": {"CARGO_MANIFEST_DIR": "${workspaceFolder}/bevy_mod_scripting"},
"cwd": "${workspaceFolder}"
"cwd": "${workspaceFolder}",
"env": {
"CARGO_MANIFEST_DIR": "${workspaceFolder}"
}
}
]
}
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"lldb.showDisassembly": "never",
"lldb.dereferencePointers": true,
"lldb.consoleMode": "commands",

"rust-analyzer.cargo.features": [
"lua54",
"lua_script_api",
Expand All @@ -14,5 +13,4 @@
"rust-analyzer.server.extraEnv": {
"RUSTUP_TOOLCHAIN": "stable"
}
}

}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# bevy_mod_scripting Changelog

## v0.2.0
### Added
- Added support for the Bevy API for Rhai
- Added `game_of_life` and `bevy_api` examples for Rhai
### Changed
- Revived `console_integration` examples
- Major changes to low level API's
- Major import structure changes
- Split package into smaller packages
- Added more control over what's pulled into the dependency tree with finely grained features

## v0.1.1
### Added
- Added `CHANGELOG.md`
Expand Down
Loading