730 Commits

Author SHA1 Message Date
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
74e0453c5b
moved core-misc's replaceWord to global (as why2_replace) 2023-04-20 08:59:23 +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
abb1805338
linking new head in why2_list_remove 2023-04-19 10:49:00 +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
6857f5a67a
removed deallocation todo 2023-04-18 21:07:23 +02:00
c85f0d9669
added node value allocation by passed size 2023-04-14 15:30:50 +02:00
cec94db537
implemented why2_list_t in why2_list_find 2023-04-13 16:42:39 +02:00
57a03f348c
implemented why2_list_t in why2_list_remove_back 2023-04-13 16:42:02 +02:00
e7c9215fc9
implemented why2_list_t in why2_list_remove 2023-04-13 16:41:08 +02:00
97345b52c3
implemented why2_list_t in why2_list_push 2023-04-13 16:41:00 +02:00
b4cccf6d45
added list into every llist-related identificator 2023-04-13 16:06:40 +02:00
ad3716d5c1
reverted why2_llist implementation in core-flags
reverts bdc3fd59d2331faac3d241fc69d0561584bd059e
2023-04-13 16:01:47 +02:00
2961beb599
added check_version segfault todo 2023-04-12 19:39:06 +02:00
bdc3fd59d2
implemented why2_llist in core-flags 2023-04-12 17:10:51 +02:00
acee29c374
declared why2_remove_back function
removes last element

so this is 1000th commit! Woah... i gone nuts

idk...

860917976483233792
2023-04-12 17:02:34 +02:00
3eaba0e0c4
moved llist_head into 1st parameter 2023-04-12 16:52:43 +02:00
10632e0070
created llist files
it contains basic llist function, stolen from memory.c
2023-04-12 16:50:00 +02:00
dac66c105d
removed unused chat-client definition
redefinition
2023-04-12 10:43:28 +02:00
2c8d81ed64
commented out json_file reading error return
valgrind had some beef with it
2023-04-12 10:33:35 +02:00
a4da24c4b5
using new thread to cancel waiting
so fixed that shit
2023-04-12 08:02:11 +02:00
46ea373beb
created waiting llist stuff 2023-04-12 08:01:32 +02:00
afeafd78eb
removed why2_accept_thread close TODO 2023-04-05 14:24:40 +02:00
6a4034668b
implemented waiting llist in alarm_handler 2023-04-05 11:21:21 +02:00
278e880e62
created waiting llist
it contains only function for push
2023-04-05 11:12:01 +02:00
cdcc9e53b4
removed all why2_listen_server formatting todos 2023-04-05 10:21:47 +02:00
2991b1f2c3
removed server crash bug todo 2023-04-05 10:20:38 +02:00
aeed3cc5ee
added client timeout todo 2023-04-05 10:18:57 +02:00
c78a82e381
removed stuck TODO 2023-04-05 10:18:11 +02:00
28b2baae3c
fixed infinite waiting in communication loop
yeah I used signal.h (alert) and it works... yay
2023-04-05 10:16:53 +02:00
2f6bf93bf7
added infinity loop todo 2023-04-01 13:46:02 +02:00