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

merge dev into main #58

Merged
merged 6 commits into from
Nov 10, 2024
Merged

merge dev into main #58

merged 6 commits into from
Nov 10, 2024

Conversation

ewowi
Copy link
Owner

@ewowi ewowi commented Nov 10, 2024

No description provided.

index.js and SysModWeb
- fileLoad, count in steps of 50.000

SysModModel
- move varFunctions , VarFun and eventTypes from SysModUI to SysModModel
- move Variable definitions to .cpp
- replace ui->callVarFun by Variable().triggerEvent
- - replace mdl->callVarOnChange by Variable().triggerEvent

SysModWeb
- add isBusy and set in serveUpload and serveUpdate
- board: check on web->isBusy
SysModModel
- add EventArguments
- rename funType to eventType
- rename VarFun to VarEvent
- rename varFunctions to varEvents
- move setLabel, setCommment, setOptions, getOptions, clearOptions, findOptionsText and findOptionsTextRec to Variable class
- add Variable::value()
- ui->setComment -> variable.setComment
- ui->setOptions -> variable.setOptions
- var["value"] -> variable.value()

SysModUI
- initVariable: use EventArguments, use Variable instead of JsonObject
pio.ini
- add STARBASE_USERMOD_MIDI (not active yet)
- update LiveScript t0 main/1.2.0
- rename esp32_wrover to esp-wrover-kit

main.cpp
- add STARBASE_USERMOD_MIDI (not active yet)

SysModModel
- setValueJV, setValueF, getValue, setValue -> Variable
- mdl->setValue(variable.var, -> variable.setValue(
- mdl->getValue(variable.var, -> variable.getValue(
SysModUI
- init*Mod: use Variable parentVar
- init*: Use Variable instead of JsonObject

SysModInstances
- dash vars: encode var pid/id in insVar

SysModModel
- findVars / FindFun use Variable
- cleanUpModel use Variable
- add Variable::Variable()
SysModModel
- move initVar and initValue to Model and Variable
- setValue returns void
- walkThroughModel using  Variable
@ewowi ewowi merged commit 77a2691 into main Nov 10, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant