|
aa6b484363
|
declared why2_get_default_memory_identifier
|
2023-02-02 16:42:55 +01:00 |
|
|
abbd820778
|
declared why2_clean_memory
|
2023-02-02 16:40:24 +01:00 |
|
|
1b9d0a04d8
|
implemented memory_identifier in memory
added it to every node
|
2023-02-02 16:37:04 +01:00 |
|
|
b36bf1a850
|
defined why2_get_memory_identifier, why2_set_memory_identifier and why2_reset_memory_identifier
|
2023-02-02 16:33:54 +01:00 |
|
|
2c7130304f
|
created memory_identifier flag
|
2023-02-02 16:32:13 +01:00 |
|
|
70335e67ad
|
declared why2_get_memory_identifier, why2_set_memory_identifier and why2_reset_memory_identifier
|
2023-02-02 16:28:47 +01:00 |
|
|
9bfa7453ec
|
fixed why2_realloc memory leak
so basically - this function was running realloc SO free() was used... I need why2_free() :D
fixed that fucking leak yay
|
2023-02-02 15:50:43 +01:00 |
|
|
c9c65badad
|
variable name typo fix
|
2023-02-02 15:34:41 +01:00 |
|
|
c3e602de90
|
random reformatting
|
2023-02-02 15:27:05 +01:00 |
|
|
17cc602629
|
fixed possible get_node issue
|
2023-02-02 15:24:26 +01:00 |
|
|
568ac4e43e
|
renamed get_node's parameter to pointer
|
2023-02-02 15:19:25 +01:00 |
|
|
273caad781
|
replaced doubly linked list with single linked list in memory
there's now much smaller place for bugs, BUT THEY ARE STILL THERE wtf
|
2023-02-02 15:09:22 +01:00 |
|
|
d885e62502
|
fixed WHY2_LOGGER_EXIT_CODES typo
|
2023-02-01 16:14:01 +01:00 |
|
|
f405c486c8
|
I have no idea what I'm doing
|
2023-02-01 16:10:51 +01:00 |
|
|
d1b3960799
|
fixed some potention segfault
|
2023-02-01 15:59:04 +01:00 |
|
|
115a4c20de
|
fixed some shitty bugs in remove_node
yay now like 4561456456 bugs remain
|
2023-02-01 15:53:58 +01:00 |
|
|
85731bab38
|
added check if pointer was found in why2_free
|
2023-02-01 15:26:17 +01:00 |
|
|
f8f53b4305
|
implemented why2_strdup
hehe
|
2023-02-01 15:11:27 +01:00 |
|
|
0b4ca30ec9
|
defined why2_strdup
I hope I won't fuck up anything by this
|
2023-02-01 15:10:10 +01:00 |
|
|
d5ae68c621
|
declared why2_strdup
|
2023-02-01 15:07:07 +01:00 |
|
|
66560fd033
|
reformated why2_free
I just realized I am freeing with why2_free ALL THE TIME, so it is causing some problems when freeing like strdup or anything
|
2023-02-01 15:06:00 +01:00 |
|
|
c8e2c4226d
|
added list deallocation to remove_node
|
2023-01-31 19:03:02 +01:00 |
|
|
fefc2f83e2
|
fixed remove_node linking problems
the fucking memory leaks remain
|
2023-01-31 18:52:52 +01:00 |
|
|
7dd4f08d55
|
removed unused stdlib includes
|
2023-01-31 18:20:35 +01:00 |
|
|
7a017b3a8c
|
fixed some linked list shit
|
2023-01-31 18:17:59 +01:00 |
|
|
026f2fa458
|
moved some code from why2_free to remove_node
|
2023-01-31 16:41:02 +01:00 |
|
|
114695f653
|
removed every file-related function declaration from memory
|
2023-01-31 16:11:35 +01:00 |
|
|
7baaca49c2
|
implemented why2_realloc
|
2023-01-31 15:56:53 +01:00 |
|
|
384678b055
|
fixed conflict typo
renamed open to why2_open
|
2023-01-31 15:54:32 +01:00 |
|
|
c487d4eeee
|
defined why2_realloc
|
2023-01-31 15:52:46 +01:00 |
|
|
8af6bd45c3
|
declared why2_realloc, why2_fopen, why2_fdopen and why2_open
|
2023-01-31 15:51:02 +01:00 |
|
|
a199f30c7c
|
commented out unused buffer
|
2023-01-31 15:43:33 +01:00 |
|
|
c5558c554e
|
implemented doubly linked list in memory
please help me; this was painful
|
2023-01-31 15:41:51 +01:00 |
|
|
18ba54ffad
|
updated project-test url (again)
|
2023-01-29 20:48:09 +01:00 |
|
|
ecc736df5c
|
updated project-test url
|
2023-01-29 20:46:38 +01:00 |
|
|
6cce28c65a
|
implemented why2_malloc & why2_calloc & why2_free
|
2023-01-29 20:39:52 +01:00 |
|
|
e075c022fa
|
defined why2_calloc & why2_free
same thing as why2_malloc
|
2023-01-29 20:36:54 +01:00 |
|
|
3491d89a86
|
declared why2_calloc & why2_free
|
2023-01-29 20:35:16 +01:00 |
|
|
f04c5447f1
|
added memory header to why2 header
|
2023-01-29 20:28:40 +01:00 |
|
|
2bfec0be95
|
defined why2_malloc
it will be technically just malloc with adding the allocated memory to linked list of something like that; you get the idea
|
2023-01-29 20:27:19 +01:00 |
|
|
9c7f40a825
|
declared why2_malloc
|
2023-01-29 20:25:32 +01:00 |
|
|
3ec087da2f
|
created memory header & source file
abcdefghijklmnopqrstuvwxyz
|
2023-01-29 20:19:29 +01:00 |
|
|
5e8cf54145
|
renamed every global function & flag
basically - it's in snake_case now AND there's "why2_" at the beginning
|
2023-01-29 20:14:11 +01:00 |
|
|
da25700f11
|
implemented misc.c movement in makefile
|
2023-01-29 19:46:29 +01:00 |
|
|
dc20b49cc5
|
moved why2-core's misc to utils directory
|
2023-01-29 19:46:01 +01:00 |
|
|
a35ac047f3
|
renamed RETURN_CODES to LOGGER_EXIT_CODES
I should probably add "WHY2" at beginning of every flag, function etc.
but I'm to lazy for that :)
|
2023-01-27 16:16:20 +01:00 |
|
|
1a209b8675
|
replaced some why2_bool with EXIT_CODES
|
2023-01-27 16:14:04 +01:00 |
|
|
5524a4b6e5
|
renamed boolean typedef to why2_bool
to prevent from conflicts
|
2023-01-27 16:03:01 +01:00 |
|
|
5c50174212
|
fixed one remaining memory leak from checkVersion
lmao I thought the memory leak was bug in json-c :DD
|
2023-01-27 15:31:37 +01:00 |
|
|
b50ed767ac
|
fixed allocation sizes in decryptLogger
removed the todo yay
|
2023-01-27 14:31:53 +01:00 |
|