danemacfadden
|
6de7b5b67e
|
Added comments and removed unnecessary code
|
2026-10-19 21:55:32 -06:00 |
|
danemacfadden
|
0c825800b3
|
Changed context declaration to properly use pointers for mutexes and other members
|
2026-10-19 21:52:54 -06:00 |
|
danemacfadden
|
863c6e28d0
|
Removed AI slop logging test
|
2026-10-19 21:07:48 -06:00 |
|
danemacfadden
|
370a1b7f80
|
Protected modifications of nc with render mutex to avoid messages printing in the incorrect order
|
2026-10-18 13:50:37 -06:00 |
|
danemacfadden
|
190cd7feac
|
Fixed a memory leak in the output thread function by moving the msg malloc after where the thread waits for something to print. If the thread gets cancelled while waiting on this cv, msg never gets properly freed.
|
2026-10-12 20:20:50 -06:00 |
|
danemacfadden
|
6a430b5dba
|
added and initialized mutex for saved message list
|
2026-09-30 20:19:51 -06:00 |
|
danemacfadden
|
83e54e2229
|
Removed output.txt
|
2026-09-26 13:31:56 -06:00 |
|
danemacfadden
|
78ef3f1015
|
Remove .o files from remote tracking
|
2026-09-26 13:31:25 -06:00 |
|
danemacfadden
|
5d7e2baebd
|
merge fix
|
2026-09-26 13:22:20 -06:00 |
|
danemacfadden
|
cc793e134a
|
Added list to store history of messages. This is done to address a memory leak. Each thread allocates another 512 bytes and never frees it, but the program breaks if it is freed. Storing a copy of the messages in this list will allow each message stored to be trimmed to its actual size and not 512 bytes, and then the original message can be freed. At the end of execution, the list can be freed.
|
2026-09-26 13:22:20 -06:00 |
|
danemacfadden
|
a5867c49d1
|
removed global variables and passed them to threads as arguments instead
|
2025-08-28 12:04:57 -06:00 |
|
danemacfadden
|
04b77a1cfe
|
merge
|
2025-08-27 18:16:59 -06:00 |
|
danemacfadden
|
9f4441ae59
|
moved all messages to receivelist rather than just ones received
|
2025-08-27 18:16:59 -06:00 |
|
danemacfadden
|
2263e4f346
|
made messages appear top down
|
2025-08-26 13:33:48 -06:00 |
|
danemacfadden
|
d2d5aa9138
|
fixed visual bug
|
2025-08-25 13:18:48 -06:00 |
|
danemacfadden
|
e15eb3e129
|
fixed segfault from not joining thread
|
2025-08-25 12:31:00 -06:00 |
|
danemacfadden
|
e721165090
|
added ability to take in input
|
2025-08-23 14:31:30 -06:00 |
|
danemacfadden
|
f9e7cf6b46
|
got input message printed
|
2025-08-17 23:57:37 -06:00 |
|
danemacfadden
|
2e6b481343
|
change makefile to include correct libs
|
2025-08-15 00:37:55 -06:00 |
|
danemacfadden
|
37f5823c41
|
nc setup
|
2025-08-14 13:34:20 -06:00 |
|
danemacfadden
|
04cfa47057
|
added notcurses, beginning to convert
|
2025-08-14 13:08:02 -06:00 |
|
danemacfadden
|
823e5b5455
|
update readme
|
2025-08-12 12:03:30 -06:00 |
|
danemacfadden
|
090a300c8a
|
increased message size
|
2025-08-10 22:50:14 -06:00 |
|
danemacfadden
|
191f50225f
|
fixed bug where user's text would clear upon receiving message, even without pressing send
|
2025-08-10 22:45:36 -06:00 |
|
danemacfadden
|
d6d320eece
|
minor bug fix
|
2025-08-10 21:10:33 -06:00 |
|
danemacfadden
|
bd7858cca0
|
managed to get ncurses to behave in threads
|
2025-08-10 21:01:21 -06:00 |
|
danemacfadden
|
5595bf640e
|
added another window for chat log
|
2025-08-10 14:16:55 -06:00 |
|
danemacfadden
|
17687e3d13
|
fixed bug with /c command
|
2025-08-10 00:03:01 -06:00 |
|
danemacfadden
|
7ff2842d89
|
added fourth thread for outputting received messages
|
2025-08-09 23:59:50 -06:00 |
|
danemacfadden
|
1c904f42c9
|
added third thread
|
2025-08-09 23:08:19 -06:00 |
|
danemacfadden
|
e62a549a92
|
readd input thread
|
2025-08-09 16:50:44 -06:00 |
|
danemacfadden
|
de6c8d8ed1
|
rebase
|
2025-08-07 23:41:39 -06:00 |
|
danemacfadden
|
73193c93d9
|
added command to close connection between users
|
2025-08-07 16:59:26 -06:00 |
|
danemacfadden
|
71835bf84a
|
attempted to add commands
|
2025-08-07 12:05:08 -06:00 |
|
danemacfadden
|
4fff0db858
|
added chat log that shows both sides' messages
|
2025-08-06 19:37:20 -06:00 |
|
danemacfadden
|
c20d20fa7e
|
bug fixes and made messages display sender
|
2025-08-06 13:30:23 -06:00 |
|
danemacfadden
|
3552cfc8ac
|
added chat history
|
2025-08-05 23:48:18 -06:00 |
|
danemacfadden
|
55d651e3e5
|
merge fix
|
2025-08-05 16:47:41 -06:00 |
|
danemacfadden
|
f33a2a6dbd
|
update Makefile and fix minor bugs
|
2025-08-05 14:31:01 -06:00 |
|
danemacfadden
|
2fd3f1c81f
|
initial ncurses stuff
|
2025-08-05 14:08:22 -06:00 |
|
danemacfadden
|
49bdf4f568
|
fix return value
|
2025-07-28 13:00:19 -06:00 |
|
danemacfadden
|
207c7a2919
|
got two way communication
|
2025-07-28 00:48:22 -06:00 |
|
danemacfadden
|
d297356eb3
|
got sending working but only one way?
|
2025-07-28 00:43:22 -06:00 |
|
danemacfadden
|
8df5e58f9a
|
fix free issue in ListRemove
|
2025-07-28 00:19:22 -06:00 |
|
danemacfadden
|
39d28a54c1
|
transfer to other machine
|
2025-07-27 14:08:08 -06:00 |
|
danemacfadden
|
b7b1688e88
|
send test
|
2025-07-26 18:15:14 -06:00 |
|
danemacfadden
|
af5258fd97
|
pointer issue
|
2025-07-15 12:42:10 -06:00 |
|
danemacfadden
|
af6b68fa9b
|
cast to string
|
2025-07-15 12:38:23 -06:00 |
|
danemacfadden
|
5b4ad86b26
|
fixed pointer issue
|
2025-07-15 12:08:37 -06:00 |
|
danemacfadden
|
eac0c934dc
|
fixed bug in output and sender
|
2025-07-15 11:42:10 -06:00 |
|
danemacfadden
|
288ec07147
|
fixed deadlock
|
2025-07-15 11:08:23 -06:00 |
|
danemacfadden
|
7059385ca1
|
update output function and fix segfault
|
2025-07-14 23:22:04 -06:00 |
|
danemacfadden
|
c2aa3fb11a
|
fixed sender issue
|
2025-07-10 22:19:53 -06:00 |
|
danemacfadden
|
1f810c707e
|
created threads
|
2025-07-10 19:29:43 -06:00 |
|
danemacfadden
|
71346bdd5f
|
time to test
|
2025-07-10 19:10:39 -06:00 |
|
danemacfadden
|
259dd096cb
|
fix
|
2025-07-10 18:56:23 -06:00 |
|
danemacfadden
|
05e9c8b028
|
added send function
|
2025-07-09 19:25:33 -06:00 |
|
danemacfadden
|
af2e194ad4
|
bug fixes
|
2025-07-09 18:02:45 -06:00 |
|
danemacfadden
|
503ab912f8
|
added basic input thread function
|
2025-07-08 21:40:43 -06:00 |
|
danemacfadden
|
d2e6441c96
|
remove typo file
|
2025-07-08 20:06:03 -06:00 |
|
danemacfadden
|
c002c78b9a
|
updated list lib
|
2025-07-08 20:05:01 -06:00 |
|
danemacfadden
|
d1f38e397e
|
added list files to redesign library for this project
|
2025-06-25 13:16:22 -06:00 |
|
danemacfadden
|
dbd18f9270
|
add readme small list changes
|
2025-06-24 12:56:04 -06:00 |
|
danemacfadden
|
b224cacd05
|
added list for holding messages
|
2025-06-23 14:08:11 -06:00 |
|
danemacfadden
|
b38ec34799
|
allocate mem for buffer
|
2025-06-22 15:43:45 -06:00 |
|
danemacfadden
|
bd8be851bc
|
added send and recv
|
2025-06-22 15:39:56 -06:00 |
|
danemacfadden
|
b0371b3444
|
Send test
|
2025-06-22 15:32:52 -06:00 |
|
danemacfadden
|
d55f3828ba
|
fixed typo
|
2025-06-22 13:46:57 -06:00 |
|
danemacfadden
|
aba9dcdd93
|
changed socket options and removed infinite loop
|
2025-06-22 13:45:34 -06:00 |
|
danemacfadden
|
1ebfafa0d1
|
added logic to determine who's client and who's server
|
2025-06-20 22:51:25 -06:00 |
|
danemacfadden
|
4d56ad394c
|
changed to TCP
|
2025-06-20 20:44:20 -06:00 |
|