272 Commits

Author SHA1 Message Date
0736a0d442
created rust module for reading toml config files
Yes. Rust module in a LW C project. Yes. Am I stupid? Yes. Is somebody pointing at my head with a gun and forcing me to do this? Yes. Do I hate myself? Yes. love ya
2024-01-23 21:14:08 +01:00
78244e7e3e
removed tables from config files 2024-01-23 19:52:11 +01:00
74f9764e4b
changed config file types from yml to toml 2024-01-23 19:19:52 +01:00
ddbe899071
added message thread cleanup for server
also swaped the function names cause I am so smart
2024-01-21 13:44:31 +01:00
5fdd267907
fixed why2_clean_threads segfault client 2024-01-20 20:13:58 +01:00
72fcc4c3e5
running garbage collector at the end of client & server run 2024-01-20 16:01:19 +01:00
7ffb9b1d9c
fixed client segfault on ssqc 2024-01-20 15:48:34 +01:00
f71d3954f0
checked getline return value in client main
i hope these comints are sort of intelligent cause im  drunk as hell :dd
2023-11-18 20:22:04 +01:00
7c9e2211a5
implemented yml config in chat-misc 2023-08-27 12:19:46 +02:00
2682ef294e
added missing header include in parser 2023-08-27 11:59:15 +02:00
088ff17b1d
implemented WHY2_CHAT_SERVER_USERNAME macro 2023-08-27 11:56:23 +02:00
96babf734c
defined why2_yml_read
this definitely isn't code from chatgpt combined with my dumb-ass and some random stuff from stackoverflow, nah :))
2023-08-27 11:50:11 +02:00
9fb66c42bf
created parser files 2023-08-27 11:35:37 +02:00
15bc846db8
fixed .config directory path 2023-08-27 11:05:11 +02:00
c0f7461eab
added .config directory existence check 2023-08-26 19:14:11 +02:00
b11f092bda
replaced local macros with flags 2023-08-26 18:57:53 +02:00
902872d25c
implemented why2_chat_init_client_config
meow
2023-08-26 18:43:08 +02:00
bc77ccd04f
defined why2_chat_init_client_config 2023-08-26 18:41:43 +02:00
d2b8f414e7
added way to easily implement client config 2023-08-26 18:40:52 +02:00
093cb2ad48
created client-side config file 2023-08-26 18:21:23 +02:00
bb74c5a52b
added license into server config 2023-08-26 18:18:10 +02:00
89e69df3cd
renamed why2_chat_init_config to why2_chat_init_server_config 2023-08-26 18:15:53 +02:00
9e95b283a4
implemented server-side config 2023-08-26 18:12:26 +02:00
6df35b0f95
preparing for client-side config 2023-08-26 17:59:28 +02:00
c6746b3945
added NOT IMPLEMENTED note to user_pick_username 2023-08-26 17:39:07 +02:00
92e6632fbc
removed completed TODOs 2023-05-02 19:11:08 +02:00
884efa1a92
prepared WHY2_CHAT_CODEs handler 2023-05-02 19:08:43 +02:00
037521b871
sending WHY2_CHAT_CODE_PICK_USERNAME signal to client at connect 2023-05-02 18:55:21 +02:00
ca22dab5aa
added newline char to chat config 2023-05-02 18:42:06 +02:00
68a484cae1
fixed why2_send_socket's text_copy allocation size 2023-04-20 21:44:46 +02:00
2f1c9dfe75
implemented why2_chat_init_config in chat-server 2023-04-20 21:35:41 +02:00
03c8587c67
implemented user variable in why2_chat_init_config 2023-04-20 21:35:18 +02:00
258028359c
added missing memory include in config 2023-04-20 21:26:33 +02:00
8dacaf7873
added cURL downloading into why2_chat_init_config 2023-04-20 21:23:53 +02:00
23d0fced6f
basically defined why2_chat_init_config
//DO STUFF
2023-04-20 19:14:13 +02:00
89ad40a5a5
created basic why2_chat template config 2023-04-20 19:11:12 +02:00
6b691f1df8
created chat-config files 2023-04-20 09:54:48 +02:00
1af6cf45a1
optimalyzed send_to_all loop 2023-04-20 09:49:16 +02:00
41291fd345
removed server received messages 2023-04-20 09:45:39 +02:00
9630da569f
added missing return to why2_accept_thread 2023-04-20 09:42:20 +02:00
2d095daef2
added server connection message 2023-04-20 09:28:39 +02:00
0bfeb17755
implemented why2-llist in chat-misc's connection list
sort of
2023-04-19 14:33:39 +02:00
83c173e22a
fixed stop_oldest_thread always working issue
no fucking way
2023-04-19 12:15:10 +02:00
fda282f491
removed inappropriate debug prints
pls don't view the changes for love of god
2023-04-19 12:00:53 +02:00
12a1dfda52
added same address todo 2023-04-19 11:20:12 +02:00
2af91e5aea
implemented double pointers in stop_oldest_thread 2023-04-19 11:09:26 +02:00
b19a9deee7
kind of implemented llist in chat-misc
DO NOT USE THIS COMMIT, I USE IT JUST FOR SYNCING CODE BETWEEN DEVICES, IT IS UNSTABLE AS FUCK; thx <3
2023-04-18 21:10:42 +02:00
3ca7299086
passing double pointer into waiting_list 2023-04-18 21:09:12 +02:00
4fc6d36262
created local find_request function
it is basically why2_list_find but I changed it a bit
2023-04-18 21:08:18 +02:00
dac66c105d
removed unused chat-client definition
redefinition
2023-04-12 10:43:28 +02:00