|
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 |
|
|
7baaca49c2
|
implemented why2_realloc
|
2023-01-31 15:56:53 +01:00 |
|
|
c487d4eeee
|
defined why2_realloc
|
2023-01-31 15:52:46 +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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
dc20b49cc5
|
moved why2-core's misc to utils directory
|
2023-01-29 19:46:01 +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 |
|
|
5fd017c6fb
|
replaced malloc & strcpy with strdup in core-test
|
2023-01-26 13:34:14 +01:00 |
|
|
c75c4fd84b
|
replaced all memset with calloc
|
2023-01-26 12:59:30 +01:00 |
|
|
44bc62c73b
|
fixed unused copy of usedText
idk
|
2023-01-26 12:52:22 +01:00 |
|
|
bf96f9e55e
|
replaced malloc with strcpy with strdup
heh
|
2023-01-26 12:48:07 +01:00 |
|
|
4ec8edafcb
|
completed deallocation functions
I mean it worked fine, but now it sets strings to null etc.
|
2023-01-26 10:26:01 +01:00 |
|
|
e2eca1e3ea
|
revert "removed unused void casts"
yes so it works on my machine
but not on debian-based; fuck
reverts commit 8700f38260350cec20b6c48b30eda977018faab9.
|
2023-01-25 20:38:56 +01:00 |
|
|
8700f38260
|
removed unused void casts
wtf without it, it was throwing compile errors (like month ago) and now it works perfectly fine wtfff
|
2023-01-25 20:37:26 +01:00 |
|
|
ab9b46e75a
|
made cleaning buffer in version check smarter
I think my IQ raised
by -10
|
2022-12-11 16:32:36 +01:00 |
|
|
5c620c2d76
|
renamed flags to prevent memory problems
|
2022-12-11 16:15:55 +01:00 |
|
|
3776ad5e02
|
added void parameter to every function without any parameters
|
2022-12-11 14:57:57 +01:00 |
|
|
0db83e0a51
|
defined getFlagsChanged
heehee
|
2022-12-10 16:22:03 +01:00 |
|
|
c83759dcba
|
created flagsChanged boolean
what the fuck do you think it does, genie
|
2022-12-10 16:14:07 +01:00 |
|
|
cb67024dea
|
renamed defaultFlags getter to getDefaultFlags
|
2022-12-10 16:08:09 +01:00 |
|
|
ef3557333a
|
simplified cleaning allocated returningText with memset
now in decrypter
|
2022-12-10 15:39:26 +01:00 |
|
|
38956cce14
|
simplified cleaning allocated returningText with calloc
|
2022-12-10 15:31:18 +01:00 |
|
|
edc78674d2
|
added one byte to returningText allocation
|
2022-12-10 15:02:00 +01:00 |
|
|
e2982471f4
|
made using key in encrypter smarter
|
2022-12-09 18:52:42 +01:00 |
|
|
201211010a
|
fixed possible NULL char problems
|
2022-12-09 18:43:10 +01:00 |
|
|
90eef0bb21
|
moved pseudo-random seed generation to generateKey
|
2022-12-09 18:03:30 +01:00 |
|
|
80dd838ca8
|
unfucked generating random seed
|
2022-12-09 17:55:21 +01:00 |
|
|
acaa7430b8
|
moved encryption key generation to misc.c
|
2022-12-09 16:59:12 +01:00 |
|
|
7b432df61d
|
fixed possible memory problems in decrypter
|
2022-12-09 16:20:09 +01:00 |
|
|
a1852354b4
|
fixed textBuffer memory leak
|
2022-12-09 16:16:47 +01:00 |
|
|
003a5a5a7e
|
fixed loop shadowing outer variable
|
2022-12-09 16:06:46 +01:00 |
|
|
f5a6ece798
|
made decrypter's using TEXT parameter safe
It was changing the original TEXT before... I'm so dumb...
|
2022-12-09 15:57:32 +01:00 |
|
|
215121f209
|
kind of fixed 'ignoring return value' problem
saying I bypassed compiler would sound weird, so yeah... 🤠
|
2022-12-09 14:09:15 +01:00 |
|
|
fd6aa19eba
|
added proper expression for comparing write & fread return values
still not complete tho
|
2022-12-07 17:30:47 +01:00 |
|
|
cec421cbe5
|
preventing from [-Werror=unused-result]
|
2022-12-04 19:44:10 +01:00 |
|
|
dbe1ba2749
|
fixed possible deallocation problem
uninitialised
|
2022-12-04 18:59:27 +01:00 |
|
|
f71647e0ff
|
added license at top of every file
I mean, the files where it is possible
|
2022-12-04 18:55:13 +01:00 |
|
|
77ae6e1cf6
|
added NULL character at the end of buffer in misc when reading versions.json
|
2022-11-22 19:40:49 +01:00 |
|
|
1bfe7a4108
|
moved all source files into core folder
so app and lib is now at ./src/core/, ok?
|
2022-11-18 16:06:50 +01:00 |
|