mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Implement Semantic Versioning.
This commit is contained in:
parent
63ff53a16e
commit
623fe0ea9b
7 changed files with 15 additions and 4 deletions
|
@ -40,4 +40,4 @@ U0 StartUpTasks()
|
|||
|
||||
StartUpTasks;
|
||||
|
||||
"\nZealOS V%0.2f\t%D %T\n\n", sys_os_version, sys_compile_time, sys_compile_time;
|
||||
"\n%s\n\n", sys_os_version_nice;
|
|
@ -14,6 +14,10 @@ U8 *rev_bits_table; //Table with U8 bits reversed
|
|||
CDate local_time_offset;
|
||||
F64 *pow10_I64,
|
||||
sys_os_version = 2.03;
|
||||
U64 sys_os_version_sub = 107;
|
||||
U8 *sys_os_version_str;
|
||||
U8 *sys_os_version_full;
|
||||
U8 *sys_os_version_nice;
|
||||
|
||||
CAutoCompleteDictGlobals acd;
|
||||
CAutoCompleteGlobals ac;
|
||||
|
|
|
@ -152,7 +152,10 @@ U0 KMain()
|
|||
//Before this point use $LK,"Sound",A="MN:Sound"$() and $LK,"Busy",A="MN:Busy"$()
|
||||
//to debug. After this point, use $LK,"RawPrint",A="MN:RawPrint"$()
|
||||
LBts(&sys_run_level, RLf_RAW);
|
||||
"\nZealOS V%0.2f\t%D %T\n", sys_os_version, sys_compile_time, sys_compile_time;
|
||||
sys_os_version_str = MStrPrint("ZealOS V%0.2f.%d", sys_os_version, sys_os_version_sub);
|
||||
sys_os_version_nice = MStrPrint("%s\t%D %T\n", sys_os_version_str, sys_compile_time, sys_compile_time);
|
||||
sys_os_version_full = MStrPrint("%s-%d.%d\n", sys_os_version_str, sys_compile_time.date, sys_compile_time.time);
|
||||
"\n%s\n", sys_os_version_full;
|
||||
"_________________________________\n\n";
|
||||
|
||||
"TimerInit;\n";
|
||||
|
|
|
@ -581,6 +581,10 @@ public extern I64 MessageScan(I64 *_arg1=NULL, I64 *_arg2=NULL, I64 mask=~1, CTa
|
|||
public extern U0 QuickSort( U8 *base, I64 num, I64 width, I64 (*fp_compare)(U8 *e1, U8 *e2));
|
||||
public extern U0 QuickSortI64(I64 *base, I64 num, I64 (*fp_compare)(I64 e1, I64 e2));
|
||||
public extern F64 sys_os_version;
|
||||
public extern U64 sys_os_version_sub;
|
||||
public extern U8 *sys_os_version_str;
|
||||
public extern U8 *sys_os_version_full;
|
||||
public extern U8 *sys_os_version_nice;
|
||||
|
||||
#help_index "Misc/Progress Bars"
|
||||
public extern U0 ProgressBarsReset(U8 *path=NULL);
|
||||
|
|
|
@ -78,7 +78,7 @@ U0 RedSeaISO9660(U8 *iso_filename, U8 drv_let)
|
|||
iso_pri->file_structure_version = 1;
|
||||
StrCopy(iso_pri->publisher_id, "ZealOS RedSea");
|
||||
|
||||
st = MStrPrint("ZealOS V%0.2f %D %T", sys_os_version, Now, Now);
|
||||
st = MStrPrint("%s %D %T", sys_os_version_str, Now, Now);
|
||||
StrCopy(iso_pri->preparer_id, st);
|
||||
Free(st);
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ U0 LoadDocDefines()
|
|||
{
|
||||
CZXE *zxe = mem_boot_base - sizeof(CZXE);
|
||||
|
||||
DefinePrint("DD_OS_NAME_VERSION", "ZealOS V%0.2f", sys_os_version);
|
||||
DefinePrint("DD_OS_NAME_VERSION", sys_os_version_str);
|
||||
DefinePrint("DD_ZEALOS_AGE", "%0.1f", (Now - Str2Date("9/1/2019")) / ToF64(1 << 32) / CDATE_YEAR_DAYS);
|
||||
DefinePrint("DD_TEMPLEOS_AGE", "%0.1f", (Str2Date("8/11/2018") - Str2Date("8/1/2003")) / ToF64(1 << 32) / CDATE_YEAR_DAYS);
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue