49 Commits

Author SHA1 Message Date
832eb72bf4 feat(dbms): add new request codes
`trc_kazari_remove_single_sasa_to_multiple_tanzaku` and `trc_kazari_remove_single_tanzaku_to_multiple_sasa`
2023-02-17 11:34:27 +03:00
24c9e39084 feat(core,lib): return new tanzaku when adding tanzaku or HOLE_TANZAKU on failure 2023-02-02 16:15:30 +03:00
2ba60d49e6 perf(core,lib): return new sasa when adding sasa or HOLE_SASA on failure 2023-02-02 16:09:21 +03:00
8b86a34a71 feat(core,lib): return new sasa ID when adding sasa or HOLE_ID on failure 2023-02-02 15:53:02 +03:00
01f2b24bfc chore: remove unused constants.h 2023-01-27 01:05:50 +03:00
a5728f7838 chore(dbms): add TRC bits enum to tdbms.h 2023-01-26 21:49:48 +03:00
58868ff681 fix(dbms): put EOT char in the end of request/response 2023-01-26 17:29:01 +03:00
23aae2c3b1 refactor(dbms): tdb_query returns response 2023-01-23 21:04:49 +03:00
a127cae637 fix(dbms): remove unused TRC 2023-01-21 17:32:44 +03:00
66c1a17ad5 feat(dbms): add remove sasa by tanzaku and tanzaku by sasa operations 2023-01-21 16:19:37 +03:00
871b76d43a init(dbms): introduce Tanabata database management system (TDBMS)
Only basic database operations, only Unix domain sockets by now
2023-01-20 22:50:01 +03:00
cc795bae19 fix(lib): some bug fixes, optimization improves and code cleanup 2023-01-20 17:18:23 +03:00
8768d55b48 feat(lib): remove sasa get/remove by path and tanzaku get/remove by name functions 2023-01-20 15:58:27 +03:00
221e547db5 refactor(core): make core_func.h local 2023-01-14 17:13:52 +03:00
a69d8ac042 fix(core): add tanabata struct to core.h 2023-01-13 15:40:20 +03:00
44ef8c32c2 perf: add constants.h file with global constants 2023-01-13 02:21:19 +03:00
36acd4208a chore(lib): remove extra includes 2023-01-13 02:19:25 +03:00
62773539cd refactor(core,lib): move all core and lib structs and constants to a separate header file 2023-01-13 02:17:09 +03:00
50b1300847 chore(core,lib): add #pragma once to header files 2023-01-13 00:28:14 +03:00
2fb8038a44 feat(lib): add sasa and tanzaku update functions 2022-12-30 14:57:03 +03:00
0b0bc93a8d feat(core): add sasa and tanzaku update functions 2022-12-30 13:47:00 +03:00
57623cff61 perf(lib): tanabata struct holds the hyou last modification timestamps instead of bools 2022-12-28 18:22:16 +03:00
4724962cd3 feat(core): add functions to remove all kazari with a specific sasa/tanzaku ID 2022-12-28 17:05:09 +03:00
d8c43c7855 perf(lib): do not save unchanged database files 2022-12-28 16:48:35 +03:00
af1dcb2bf2 refactor: reorganize files 2022-12-27 22:47:57 +03:00
535e077b6c style(core): correct one comment in core.h 2022-12-25 01:38:48 +03:00
6b5185200e init(cli): add command line interface 2022-12-25 01:21:48 +03:00
83fe7fcb3c style(lib): a bit of code cleanup 2022-12-24 00:17:45 +03:00
d404378251 fix(core): change hole constants to extern class 2022-12-23 16:53:52 +03:00
fca32fa558 feat(lib): add get tanzaku list by sasa and get sasa list by tanzaku functions 2022-12-23 16:33:10 +03:00
26b4746f41 fix(core): change hole constants to static class 2022-12-23 16:22:48 +03:00
f8424a70ca feat(lib): add sasa/tanzaku get functions 2022-12-23 15:45:56 +03:00
177799964a fix(lib): update sasa/tanzaku add/remove functions 2022-12-23 15:35:18 +03:00
91a53fa703 feat(core): remove tanzaku alias field 2022-12-23 15:14:17 +03:00
1f454f6770 feat(core): leave remove functions only by ID 2022-12-23 14:29:33 +03:00
cd9dddc6cd refactor(core): rename "content" field to "database" 2022-12-23 14:23:22 +03:00
6739d60c0d refactor(core): define hole sasa/tanzaku/kazari constants 2022-12-23 14:01:17 +03:00
cee515da52 refactor(core): change hole ID to -1 2022-12-23 13:21:04 +03:00
99d6a2a95c style(core): correct comments in core.h 2022-12-23 13:16:27 +03:00
c043bba958 perf(core): add hole management 2022-12-22 17:02:24 +03:00
3660e2eb44 fix(core): some significant fixes 2022-12-22 15:19:48 +03:00
4b6c328198 style(core): edit comments in core.h 2022-12-22 14:23:46 +03:00
8c2eff54a7 feat(lib): add core kazari functions 2022-12-22 00:29:23 +03:00
3bcbbdfeaa feat(lib): add core tanzaku functions 2022-12-22 00:26:57 +03:00
4f770781df feat(lib): add core sasa functions 2022-12-22 00:22:56 +03:00
b6c4837ffe init(lib): add Tanabata FM lib 2022-12-21 22:34:06 +03:00
f075769648 style(core): edit comments in core.h 2022-12-21 17:55:36 +03:00
6f02cdae10 feat(core): add new remove functions
Now sasa can be removed not only by ID, but also by file path, tanzaku can also be removed by name and alias.
2022-12-21 16:16:46 +03:00
587415dc78 init(core): add core 2022-12-21 18:07:59 +03:00