Skip to content

Commit

Permalink
Update version / date for v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ewowi committed Nov 5, 2024
1 parent 1a84863 commit 793e489
Show file tree
Hide file tree
Showing 45 changed files with 52 additions and 55 deletions.
2 changes: 1 addition & 1 deletion data/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @title StarBase
// @file app.js
// @date 20241014
// @date 20241105
// @repo https://github.com/ewowi/StarBase
// @Authors https://github.com/ewowi/StarBase/commits/main
// @Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file index.css
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/index.htm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
@title StarBase
@file index.htm
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @title StarBase
// @file index.css
// @date 20241014
// @date 20241105
// @repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
// @Authors https://github.com/ewowi/StarBase/commits/main
// @Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/newui/index.htm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
@title StarBase
@file newui.htm
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/newui/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @title StarBase
// @file newui.js
// @date 20241014
// @date 20241105
// @repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
// @Authors https://github.com/ewowi/StarBase/commits/main
// @Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/newui/mainnav.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file mainnav.css
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/newui/mainnav.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @title StarBase
// @file mainnav.js
// @date 20241014
// @date 20241105
// @repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
// @Authors https://github.com/ewowi/StarBase/commits/main
// @Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/newui/modules.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file modules.css
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/newui/modules.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @title StarBase
// @file modules.js
// @date 20241014
// @date 20241105
// @repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
// @Authors https://github.com/ewowi/StarBase/commits/main
// @Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/newui/theme.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @title StarBase
// @file theme.js
// @date 20241014
// @date 20241105
// @repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
// @Authors https://github.com/ewowi/StarBase/commits/main
// @Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion data/theme.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file theme.css
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; @title StarBase
; @file platformio.ini
; @date 20241014
; @date 20241105
; @repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
; @Authors https://github.com/ewowi/StarBase/commits/main
; @Copyright © 2024 Github StarBase Commit Authors
Expand Down Expand Up @@ -78,7 +78,7 @@ lib_deps =
build_flags =
-D APP=StarBase
-D PIOENV=$PIOENV
-D VERSION=24102913 ; Date and time (GMT!), update at every commit!!
-D VERSION=24110513 ; Date and time (GMT!), update at every commit!!
-D LFS_THREADSAFE ; enables use of semaphores in LittleFS driver
-D STARBASE_DEVMODE
-mtext-section-literals ;otherwise [UserModLive::setup()]+0xa17): dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Expand Down
2 changes: 1 addition & 1 deletion src/App/AppModDemo.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file AppModDemo.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModFiles.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModFiles.cpp
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModFiles.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModFiles.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModInstances.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModInstances.h
@date 20241014
@date 20241105
@repo https://github.com/ewoudwijma/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewoudwijma/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModModel.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModModel.cpp
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModModel.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModModel.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModNetwork.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModNetwork.cpp
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModNetwork.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModNetwork.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModPins.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModPins.cpp
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModPins.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModPins.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModPrint.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModPrint.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModPrint.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModPrint.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModSystem.cpp
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModSystem.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModSystem.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModUI.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModUI.cpp
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModUI.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModUI.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModWeb.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModWeb.cpp
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModWeb.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModWeb.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysStarJson.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysStarJson.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysStarJson.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysStarJson.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/SysModule.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModule.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/SysModules.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModules.cpp
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/SysModules.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file SysModules.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/User/UserModE131.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file UserModE131.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
2 changes: 1 addition & 1 deletion src/User/UserModHA.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file UserModHA.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors
Expand Down
11 changes: 4 additions & 7 deletions src/User/UserModLive.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@title StarBase
@file UserModLive.h
@date 20241014
@date 20241105
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase
@Authors https://github.com/ewowi/StarBase/commits/main
@Copyright © 2024 Github StarBase Commit Authors, asmParser © https://github.com/hpwit/ASMParser
Expand Down Expand Up @@ -267,7 +267,7 @@ static float _time(float j) {

void UserModLive::addDefaultExternals() {

scPreBaseScript = "";
scScript = "";

//Live Scripts defaults
addExternalFun("void", "show", "()", (void *)&show); //comment if setup/loop model works
Expand All @@ -286,13 +286,13 @@ static float _time(float j) {
void UserModLive::addExternalVal(string result, string name, void * ptr) {
if (findLink(name, externalType::value) == -1) //allready added earlier
addExternal(name, externalType::value, ptr);
scPreBaseScript += "external " + result + " " + name + ";\n";
scScript += "external " + result + " " + name + ";\n";
}

void UserModLive::addExternalFun(string result, string name, string parameters, void * ptr) {
if (findLink(name, externalType::function) == -1) //allready added earlier
addExternal(name, externalType::function, ptr);
scPreBaseScript += "external " + result + " " + name + parameters + ";\n";
scScript += "external " + result + " " + name + parameters + ";\n";
}

// void UserModLive::addExternalFun(string name, std::function<void(int)> fun) {
Expand Down Expand Up @@ -380,16 +380,13 @@ static float _time(float j) {
}
else {

string scScript = scPreBaseScript;

unsigned preScriptNrOfLines = 0;

for (size_t i = 0; i < scScript.length(); i++)
{
if (scScript[i] == '\n')
preScriptNrOfLines++;
}

ppf("preScript of %s has %d lines\n", fileName, preScriptNrOfLines+1); //+1 to subtract the line from parser error line reported

scScript += string(f.readString().c_str()); // add sc file
Expand Down
Loading

0 comments on commit 793e489

Please sign in to comment.