1274 Commits

Author SHA1 Message Date
bc4a3421c4
defined why2_empty_decrypted_output
ty zmrde jeden co by ta funkce mohla asi dělat, hmm? FUCK YOU
2023-02-04 18:28:44 +01:00
ccf6a321fd
declared why2_empty_decrypted_output 2023-02-04 18:27:06 +01:00
aaeec50687
removed TODO from why2_write_log's write 2023-02-04 18:23:10 +01:00
792877202c
added no_output check to previous commit 2023-02-04 18:15:00 +01:00
2a1e05886a
implemented why2_clean_memory in why2_init_logger 2023-02-04 18:12:32 +01:00
3a645d5167
defined why2_empty_log_file
this could cause some segfault if not check for correct return, but yk... This shouldn't ever happen, so yk
2023-02-04 18:06:12 +01:00
cd9dcaedaf
declared why2_empty_log_file 2023-02-04 18:00:30 +01:00
031a1e2025
replaced why2-project workflow's URL to a (hopefully) permanent one 2023-02-04 17:44:43 +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
990476787f
added explanatory comment to why2_clean_memory declaration 2023-02-03 16:37:00 +01:00
fdf1b4e696
idk random reformatting 2023-02-03 16:12:53 +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
f0f0fa02e7
removed unused allocations
NOTE: This wasn't causing any memory leaks, I just made my own realloc where you can pass NULL as pointer
2023-02-02 17:20:45 +01:00
33354b8921
implemented why2_clean_memory in why2_check_version 2023-02-02 17:10:08 +01:00
7f503ebafa
changed DEFAULT_MEMORY_IDENTIFIER to "" 2023-02-02 16:59:07 +01:00
b49f582c5c
defined why2_clean_memory
it should be complete now, time to implement it
2023-02-02 16:53:25 +01:00
790eada639
fixed possible segfault in remove_node 2023-02-02 16:52:42 +01:00
77b5d5acae
defined why2_get_default_memory_identifier 2023-02-02 16:43:40 +01:00
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