27 Commits
Author SHA1 Message Date
William 8c056d1a39 (MOD) Changed returning type of Var_Delete and Array_Delete from "void" to "Status": It requires more plaination when encountering non-alive instances.
(MOD) Implemented Array_Equals.

(MOD) Replaced struct member "description" from InstanceStillAlive from "Given instance was yet alive." to "Given instance was still alive.".

(MOD) Removed String_GetIdx and String_SetIdx:  Meaningless functions.

(MOD) Changed the assignment value of struct member "identity" of macro unknown, normal and error from "nameof(e)" to "e.identity".
2024-06-28 13:32:48 +08:00
William 9f2b44bf99 (MOD) Fixed 1 bug in Memory_Reallocate: Now the size of inst is updating with the given size used for reallocation.
(MOD) Replaced struct member prev from UnknownStatus, NormalStatus and ErrorStatus from NULL to &UnknownStatus, &NormalStatus and &ErrorStatus.

(MOD) Rewrote Status_Equal, StatusUtils_Dump, StatusUtils_IsRecursive and StatusUtils_Depth in response to the change of struct member prev from UnknownStatus, NormalStatus and ErrorStatus.

(MOD) Defined 1 more macro "shift".
2024-06-27 16:01:01 +08:00
William 310586ab86 (MOD) Removed Array_GetIdx and Array_SetIdx due to better approach was discovered.
(MOD) Defined 2 more statuses:  InvalidOperation, InvalidOperationBetweenAliveAndNonAlive.

(MOD) Defined 1 more macro:  assign.
2024-06-26 20:20:04 +08:00
William a63063de42 (MOD) Defined 1 more macro "cast". 2024-06-26 17:20:36 +08:00
William 8870e5e7db (MOD) Reordered struct member "members" from "Array" from 2nd to 1st for a more convenient accessing to "Var.addr in Array.member[0]".
(MOD) Modified test.c.
2024-06-26 16:54:21 +08:00
William f5d82983a4 (MOD) Added Array into cmake building list. 2024-06-26 16:43:26 +08:00
William bc4be4e295 (MOD) Implemented Array_Create, Array_CopyOf and Array_Delete
(MOD) Replaced project compiler from "gcc" with "clang" due to out-of-order execution keep happening after running with Array.

(MOD) Removed certain functions from Utils due to insufficiencies of usage.

(MOD) Defined 1 more macro "fail".

(MOD) Fixed 1 bug from "var.c":  Struct member "alive" was not under supervision from the entire programme cycle.

(MOD) Removed 1 useless usage for "Utils_LiteraliseInteger".

(MOD) Removed 1 useless block of commented code.
2024-06-26 15:20:47 +08:00
William d19256621b (MOD) Modified several places to adapt the extraction of Report. 2024-06-26 11:19:11 +08:00
William 8696b89c2e (ADD) Extracted Report from "status.h" into "report.h". 2024-06-26 10:51:09 +08:00
William 9f1960e297 (MOD) Refined README. 2024-06-25 20:02:40 +08:00
William 24cd4a17df (MOD) Refined README 2024-06-25 19:59:13 +08:00
William 3f0907daa2 (DEL) Deleted github action file. 2024-06-25 19:13:14 +08:00
William 22db5f0cbc Merge remote-tracking branch 'master/github_action_test' 2024-06-25 19:11:35 +08:00
William 43afe62ad1 (MOD) Changed default shell from "bash" to "sh" in github action file.
(MOD) Replaced cmake output file with \"/usr/share/libcompound.so\" in github action file.
2024-06-25 18:58:18 +08:00
William 772a79ce03 (MOD) Changed default shell from "bash" to "sh" in github action file. 2024-06-25 18:57:30 +08:00
William 5e05e24e38 (MOD) Aborted using bash for script executing for scripts modified are now supporting POSIX Shell.
(MOD) Modified github action file for abort supporting MS Windows as the target in current stage.
2024-06-25 17:51:43 +08:00
William b9c5bfbc00 (MOD) Added "bash" before "./preinstall" as well as "./postinstall". 2024-06-25 15:00:50 +08:00
William acaa38099f (MOD) Added "sudo" before "./preinstall" as well as "./postinstall". 2024-06-25 14:56:12 +08:00
William 5026f03692 (MOD) Added a feature where it displays the current user identity once it's not root. 2024-06-25 14:50:37 +08:00
William 55d9ddef39 (MOD) Added more steps for project building. 2024-06-25 14:15:17 +08:00
William 092dddf6c4 (MOD) Changed effecting branch from "master" to "github_action_test" which is more reasonable since this is testing on branch github_action_test. 2024-06-25 13:58:54 +08:00
William 242fcce951 (MOD) Modified github action file for testing for extra step required by project. 2024-06-25 13:52:54 +08:00
William bc3fd9dfad (MOD) Modified file install that added auto-creating directory in need. 2024-06-25 13:11:34 +08:00
William f88b2b5b02 (MOD) Disabled some parameters for C compiler in order to run github action successfully. 2024-06-25 13:07:03 +08:00
William acad934238 (FEA) Now Compound is featured with indexer displaying while printing. 2024-06-25 12:27:21 +08:00
William 1c611ec4e2 (FEA) Compound is now fully featured with literalisation of Status along with its printing! 2024-06-24 14:44:26 +08:00
William 010300157e (FEA) Compound is now fully featured with literalisation of Status along with its printting! 2024-06-23 19:47:44 +08:00