122 Commits

Author SHA1 Message Date
3b85c5fc5a
added NULL check to all remove_node functions 2023-02-21 12:39:54 +01:00
de739b2121
simplified returningText generation in encrypter
fixed the weird strcat there
2023-02-15 19:43:08 +01:00
2ea515ba38
fixed why2_die undefined reference 2023-02-09 19:15:27 +01:00
51f547d9df
added back removed include to misc 2023-02-09 19:00:27 +01:00
dcc4198e58
moved die function to core-misc 2023-02-09 18:49:04 +01:00
e0f0ad73b5
implemented why2_generate_key type change 2023-02-08 19:32:22 +01:00
6e3599ca74
changed why2_generate_key type to char* 2023-02-08 19:31:46 +01:00
d304b811da
renamed memory_identifier in why2_generate_key 2023-02-08 19:26:54 +01:00
34a387f032
fixed why2_clean_memory memory leak
I was trying to use deallocated node, so yeah
2023-02-08 10:32:03 +01:00
a2492aa124
merge remote into development 2023-02-08 09:49:29 +01:00
ff1b95748c
removed uunsed includes 2023-02-08 09:41:14 +01:00
bdd947fc64
defined why2_opendir
fuck if this is gonna be painful as the last memory functions, I'm gonna hang myself
2023-02-06 16:58:14 +01:00
7d79ee29eb
added some useless NULL check 2023-02-06 16:52:08 +01:00
109ec9a7b6
removed why2_open stuff
declaration and definition
2023-02-06 08:18:14 +01:00
29dd766903
added why2_open problem TODO 2023-02-05 20:06:10 +01:00
263c73b80f
defined why2_open 2023-02-05 19:05:52 +01:00
6844b3d218
moved NULL check to top of why2_deallocate 2023-02-05 18:54:11 +01:00
c5d5f12140
fixed why2_fdopen POINTER_TYPES typo 2023-02-05 18:53:00 +01:00
90b1fef457
defined why2_fdopen 2023-02-05 18:45:20 +01:00
c1e9a15529
implemented why2_fopen 2023-02-05 18:43:43 +01:00
395f78707a
moved remove_node at the bottom of why2_deallocate
cuz fokin memory leak

memery lek
2023-02-05 18:43:10 +01:00
eb9033dedd
defined why2_fopen 2023-02-05 18:26:17 +01:00
6e7ea8b6f5
renamed why2_free to why2_deallocate 2023-02-05 18:25:42 +01:00
d0aea64acc
created & implemented OPENDIR 2023-02-05 18:21:00 +01:00
86d206ba7b
implemented node-type in why2_free 2023-02-05 18:12:33 +01:00
2422079bba
defined POINTER_TYPES in memory and implemented it 2023-02-05 17:58:59 +01:00
d602009c44
changed encryption_separator to apostrophe in core-test 2023-02-04 19:18:41 +01:00
60f312ce19
blocking numbers and '-' in why2_set_encryption_separator 2023-02-04 19:17:27 +01:00
5336935713
renamed encryptionSeparator to encryption_separator 2023-02-04 19:16:36 +01:00
7fb6240e8b
renamed encryptionSeparatorNew to encryption_separator_new 2023-02-04 19:14:53 +01:00
5c2f77f14f
fixed remove_node_from_end memory leak 2023-02-04 18:44:08 +01:00
253989ccc9
fixed segfault by deallocating wrong pointer
yes so I was deallocating node before the last node, not the last one... Ima dum
2023-02-04 17:41:37 +01:00
951d112a4f
added empty list check to remove_node_from_end 2023-02-04 17:27:09 +01:00
0a61d0ad57
removed returned object from why2_generate_key 2023-02-03 17:19:43 +01:00
ae906571e5
revert why2_generate_key type change
revert c0e49247921b97c15e06427bcbbc3c0628bfff3d
2023-02-03 17:18:09 +01:00
9207c1c309
processing exit value of why2_generate_key's fread
didn't I say removing all TODOs?
2023-02-03 17:16:15 +01:00
c0e4924792
changed why2_generate_key's type to WHY2_EXIT_CODES 2023-02-03 17:15:40 +01:00
02dd68b385
processing exit value of why2_check_version's fread
removing all TODOs
2023-02-03 17:06:02 +01:00
bbb09428d1
renamed all 'public' identificators to snake_case
I mean the identificators user gets in contact with
2023-02-03 17:03:46 +01:00
84a1f4ec8b
renamed why2_input_flags' why2_no_output back to noOutput 2023-02-03 16:53:37 +01:00
f4975050e4
added 'bypass' to why2_clean_memory
if you pass DEFAULT_IDENTIFIER as parameter every node is deallocated
2023-02-03 16:43:04 +01:00
cd4c94024a
fixed why2_clean_memory memory leak
wow 'garbage collector' that cases memory leaks

pls don't laugh at me :(
2023-02-03 16:37:58 +01:00
6cad1c3079
removed unused include from flags 2023-02-02 18:10:32 +01:00
1be000e46d
changed version_check to core_version_check in why2_check_version 2023-02-02 18:06:59 +01:00
e0cacd52a7
implemented why2_clean_memory in encrypter 2023-02-02 18:05:21 +01:00
eec8d13a5c
added identifier reset at the end of why2_clean_memory 2023-02-02 17:56:56 +01:00
c2cc6aa4ba
implemented linked list & renamed some stuff
it was causing double declaration compiler problems but why tf
2023-02-02 17:44:32 +01:00
28aff070eb
added void parameter to remove_node_from_end 2023-02-02 17:40:14 +01:00
00fbba4159
created get_last_node_identifier function 2023-02-02 17:39:53 +01:00
cc91298e5f
created linked list stuff in flags 2023-02-02 17:36:56 +01:00