1244 Commits

Author SHA1 Message Date
46ea373beb
created waiting llist stuff 2023-04-12 08:01:32 +02:00
01f5165f8b
merged remote development into local
ntb
2023-04-11 07:46:56 +02:00
63f01d37e7
merged remote into local 2023-04-08 18:48:05 +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
87bf911ba2
created WHY2_INVALID_POINTER macro
it is really bik number
2023-04-05 10:15:41 +02:00
d246948367
formatting fix 2023-04-02 18:28:50 +02:00
2f6bf93bf7
added infinity loop todo 2023-04-01 13:46:02 +02:00
0132c00f46
preventing memleaks on exit in why2_communicate_thread loop 2023-04-01 13:36:58 +02:00
ed8b328673
created WHY2_COMMUNICATION_TIME macro 2023-04-01 12:56:14 +02:00
8988b88b22
removed unused if statement from why2_communicate_thread loop 2023-04-01 12:49:26 +02:00
8f6a376a62
removed why2_connection_t
it was useless as hell
2023-04-01 12:43:49 +02:00
0a1cb72f5d
quitting communication with user on invalid packet receive 2023-03-31 18:36:09 +02:00
8d387df7d7
removing control characters from sent 2023-03-31 18:21:06 +02:00
efa1d24047
fixed invalid return in send_to_all 2023-03-31 18:12:56 +02:00
e0e82d2570
skipping read_socket_from_raw if invalid syntax was sent 2023-03-31 18:09:35 +02:00
af03d64699
skipping send_to_all if invalid syntax was sent 2023-03-31 17:50:40 +02:00
4b481d71ca
removing invalid json syntax on send 2023-03-31 17:47:05 +02:00
d9fe24b166
added json syntax todo 2023-03-25 18:20:06 +01:00
85834544aa
removing last char only when it's newline 2023-03-25 17:50:19 +01:00
7359c678d4
removed the n-word from debugging
whoopsie :D
2023-03-25 17:46:58 +01:00
1087e40cfc
sending json format in send_to_all 2023-03-25 17:39:52 +01:00
069338177e
added send_to_all TODO 2023-03-25 17:17:54 +01:00
f6c97a52c8
implemented json format in why2_communicate_thread 2023-03-25 16:37:58 +01:00
a8a6a8e07a
implemented raw socket stuff in why2_read_socket 2023-03-25 16:37:42 +01:00
259a9e7c82
created get_string_from_json_string function 2023-03-25 16:36:09 +01:00
885b99b7a8
added raw socket functions 2023-03-25 16:35:44 +01:00
04234d2938
implemented get_string_from_json in why2_read_socket 2023-03-24 20:45:16 +01:00
db8813b3ca
added chat-misc todos 2023-03-24 20:18:44 +01:00
01b8d716d6
added (currently) missing newline char to why2_listen_server print 2023-03-24 20:14:53 +01:00
f7a0db032e
decoding json packet in why2_read_socket 2023-03-24 20:01:15 +01:00
6f237888b1
sending json formatted packet
gonna make receiving decode this
2023-03-24 19:43:48 +01:00
0c285690eb
revert last commit (why2-memory in chat-misc)
for some reason it was causing segfault
2023-03-24 19:23:16 +01:00
f0574cae12
implemented why2-memory stuff in chat-misc 2023-03-24 19:12:22 +01:00
252c697377
implemented flags header rename 2023-03-12 15:02:06 +01:00
cd5d290a13
added WHY2-prefix at the beginning of chat-flags macros 2023-03-12 15:01:04 +01:00
b8b7b7cdff
renamed header common to flags 2023-03-12 14:59:53 +01:00
edbe07615c
removed includes from common.h 2023-03-12 14:59:07 +01:00
eedea02701
implemented CLEAR_AND_GO_UP in chat stuff 2023-03-12 14:45:58 +01:00
899b79941b
upgraded underline printing 2023-03-12 12:30:11 +01:00
92da77ff3e
fixed "local" message formatting
yeeees babyyyyyyyyyyyyy
2023-03-12 12:26:19 +01:00
c68f5a6f2b
changed why2_listen_server message formatting
it now looks good when message is received from somewhere/someone else; gonna fix own message formatting really soon

that was a good one lol
2023-03-12 12:22:42 +01:00
8cfe1e39ea
added missing chat-client listen_thread termination 2023-03-12 11:59:23 +01:00
258222160e
sort of fixed received message formatting
but actually not
2023-02-24 16:31:39 +01:00