[omega] 1.22.1

This commit is contained in:
M4x1m3
2021-03-21 20:28:16 +01:00
7 changed files with 30 additions and 30 deletions

View File

@@ -156,7 +156,7 @@ void AboutController::willDisplayCellForIndex(HighlightCell * cell, int index) {
MessageTableCellWithBuffer * myCell = (MessageTableCellWithBuffer *)cell;
static const char * mpVersion = MICROPY_VERSION_STRING;
static const char * messages[] = {
Ion::username(),
(const char*) Ion::username(),
Ion::softwareVersion(),
Ion::omegaVersion(),
mpVersion,

View File

@@ -5,7 +5,7 @@ DEBUG ?= 0
HOME_DISPLAY_EXTERNALS ?= 1
EPSILON_VERSION ?= 15.3.1
OMEGA_VERSION ?= 1.22.0
OMEGA_VERSION ?= 1.22.1
# OMEGA_USERNAME ?= N/A
OMEGA_STATE ?= public
EPSILON_APPS ?= calculation rpn graph code statistics probability solver atomic sequence regression settings external

View File

@@ -32,7 +32,7 @@ void ion_main(int argc, const char * const argv[]);
namespace Ion {
const char * serialNumber();
const char * username();
const volatile char * username();
const char * softwareVersion();
const char * omegaVersion();
const char * patchLevel();

View File

@@ -57,7 +57,7 @@ public:
assert(m_ohm_footer == OmegaMagic);
return m_omegaVersion;
}
const char * username() const {
const volatile char * username() const volatile {
assert(m_storageAddress != nullptr);
assert(m_storageSize != 0);
assert(m_header == Magic);
@@ -86,11 +86,11 @@ private:
uint32_t m_footer;
uint32_t m_ohm_header;
const char m_omegaVersion[16];
const char m_username[16];
const volatile char m_username[16];
uint32_t m_ohm_footer;
};
constexpr PlatformInfo HEADER_SECTION platform_infos;
const PlatformInfo HEADER_SECTION platform_infos;
const char * Ion::softwareVersion() {
return platform_infos.version();
@@ -100,7 +100,7 @@ const char * Ion::omegaVersion() {
return platform_infos.omegaVersion();
}
const char * Ion::username() {
const volatile char * Ion::username() {
return platform_infos.username();
}

View File

@@ -130,18 +130,18 @@
"CellTextExternalActive": "008f87"
},
"Atom": {
"Unknown": "eeeeee",
"Text": "000000",
"AlkaliMetal": "CC9E7E",
"AlkaliEarthMetal": "D69477",
"Lanthanide": "A5DDAD",
"Actinide": "96D481",
"TransitionMetal": "99C6E7",
"PostTransitionMetal": "D69877",
"Metalloid": "D6B071",
"Unknown": "2c2c39",
"Text": "ffffff",
"AlkaliMetal": "B15a3b",
"AlkaliEarthMetal": "Fb3d19",
"Lanthanide": "157305",
"Actinide": "0F3B08",
"TransitionMetal": "1B1BB1",
"PostTransitionMetal": "62090a",
"Metalloid": "Daa811",
"Halogen": "84ABE3",
"ReactiveNonmetal": "DBC377",
"NobleGas": "8FC2E6",
"ReactiveNonmetal": "Fb7b19",
"NobleGas": "348989",
"TableLines": "323532",
"Highlight": "000000",
"Background": "d9d9d9"

View File

@@ -130,18 +130,18 @@
"CellTextExternalActive": "008f87"
},
"Atom": {
"Unknown": "eeeeee",
"Text": "000000",
"AlkaliMetal": "CC9E7E",
"AlkaliEarthMetal": "D69477",
"Lanthanide": "A5DDAD",
"Actinide": "96D481",
"TransitionMetal": "99C6E7",
"PostTransitionMetal": "D69877",
"Metalloid": "D6B071",
"Unknown": "2c2c39",
"Text": "ffffff",
"AlkaliMetal": "B15a3b",
"AlkaliEarthMetal": "Fb3d19",
"Lanthanide": "157305",
"Actinide": "0F3B08",
"TransitionMetal": "1B1BB1",
"PostTransitionMetal": "62090a",
"Metalloid": "Daa811",
"Halogen": "84ABE3",
"ReactiveNonmetal": "DBC377",
"NobleGas": "8FC2E6",
"ReactiveNonmetal": "Fb7b19",
"NobleGas": "348989",
"TableLines": "323532",
"Highlight": "000000",
"Background": "d9d9d9"