Commit Graph

92 Commits

Author SHA1 Message Date
Douglas-Richardson
daea63e8c5 Fixed the crashing bugs
It technically doesn't crash, but for some reason the GUI is frozen
immediately on startup and is completely unresponsive. It may have
something to do with calling some function in them multiple times over
and over again but I don't know. I added some debugging text with
comments next to them as "eat this note". Those lines can be removed
with no concequences.
2017-04-22 20:54:09 -04:00
Douglas-Richardson
aebda4ef57 Fiddled around with it for a bit
I mostly added a few safties onto the string-lenght and substring
functions so they wouldn't cause a crash, but now somewhere there is
some error where string-append is trying to append to something that
isn't a string, but I have no idea where it is.
2017-04-22 14:52:46 -04:00
Douglas-Richardson
5e3bdbeeb4 Merge remote-tracking branch 'refs/remotes/origin/master' into grape 2017-04-19 18:03:24 -04:00
Douglas-Richardson
95f7e74433 requires gui now 2017-04-19 17:20:10 -04:00
Douglas-Richardson
0f66565091 Added GUI to thing
yay
2017-04-19 17:16:46 -04:00
Doug-Richardson
fe734a8893 Fixed bug where small strings would crash 2017-04-19 16:22:47 -04:00
Doug-Richardson
240870e5d1 Updated User-message function to take one argument 2017-04-19 16:15:58 -04:00
iskm
44f66b4ec1 Merge pull request #4 from oplS17projects/mango
use relative paths when opening files
2017-04-16 18:48:19 -04:00
684f172537 use relative paths when opening files 2017-04-16 18:45:22 -04:00
iskm
9b5da77619 Merge pull request #3 from oplS17projects/mango
Mango
2017-04-16 18:23:07 -04:00
ed029f7906 minor additions 2017-04-16 18:19:00 -04:00
f10fb083cd broadcast now checks whether port is open before trying to send 2017-04-16 17:47:42 -04:00
6680d7504b sync/timeout to plain sync. Its appropriate given the chat context 2017-04-16 17:32:02 -04:00
7e7edb4a54 sleep delay interval setting now managed as a global variable 2017-04-16 17:20:17 -04:00
9e1f8c33d1 clients can type /list users to get usernames logged in 2017-04-16 17:09:57 -04:00
ec7b9a644a clients can type in /list count to ask for number of logged in users 2017-04-16 16:48:51 -04:00
61e6c97317 Clients can now whisper to each other /whisper 2017-04-16 16:24:16 -04:00
5d36ba1d5d username now stored along with related input output ports 2017-04-16 14:06:39 -04:00
52edc75849 more readable names for some functions 2017-04-16 13:50:26 -04:00
a532a8cc71 all output generated from client is now logged to appropriate _client
files
2017-04-15 21:53:49 -04:00
63c4e2e185 client logs end with _client and server logs end with _server 2017-04-15 21:06:14 -04:00
413d13d7a6 created modules/general.rkt to house common functions 2017-04-15 20:56:47 -04:00
11bcec1052 preliminary work on adding sessions stickiness 2017-04-15 20:32:26 -04:00
Doug-Richardson
7707b8ec45 Added the Gui files
This isn't on the main branch because it uses the word "Commit" to describe the changes and I am afraid of commitment.
2017-04-14 19:57:07 -04:00
83911cc5f7 server now logs all received conversations and events to files 2017-04-14 17:10:20 -04:00
iskm
4cb1b05ae9 Merge pull request #2 from oplS17projects/mango
Mango
2017-04-14 11:02:48 -04:00
e09975a02c tidied up 2017-04-14 09:57:40 -04:00
fd2488cf59 Tell git to ignore temporary files 2017-04-14 09:51:08 -04:00
0e1636e816 Hermes is pre-alpha ready 2017-04-14 09:40:01 -04:00
f8fef5c5ae now handles disconnected clients 2017-04-14 00:45:33 -04:00
8d9765ca8c Clients now default to leaving sign out messages 2017-04-13 15:57:58 -04:00
f6687e7d62 timestamps added to messages 2017-04-13 15:20:47 -04:00
31308f35fd messages are now tracked via a closure. 2017-04-13 14:40:27 -04:00
2c8407d195 tidied up, removed some unused definitions 2017-04-13 14:09:40 -04:00
a0fbba4a81 tracking a list of input and output ports via closures and sets 2017-04-13 14:01:32 -04:00
cffd7a4299 Added counter to keep track number of connected clients 2017-04-13 13:45:53 -04:00
4c26f1eaa3 tidied up client.rkt. More stuff to TODO.txt 2017-04-12 13:49:20 -04:00
2899891a63 tidied up server.rkt 2017-04-12 13:26:01 -04:00
3a5ce0d2aa refactored code to use thread-safe displayln-safe 2017-04-12 12:57:55 -04:00
8984b45ac1 Added a tracker for todo items and started added utility functions 2017-04-12 12:33:13 -04:00
282197b144 cleaned up displaying format, added to delay to looped functions to not
burn cpu cycles
2017-04-12 12:23:26 -04:00
11f4ae1946 More updates. 2017-04-12 00:46:08 -04:00
a540bc917f reduced time of broadcast to every 0.5 seconds to avoid hogging cpu and
temps
2017-04-12 00:31:41 -04:00
66d5762bd9 removed log messages from server.rkt, added semaphores stdout 2017-04-12 00:23:37 -04:00
69523cc2ed Clients can now talk with each other 2017-04-12 00:01:52 -04:00
2f0d04ce7f Cleaned up code and added loggers to pinpoint error 2017-04-11 23:40:33 -04:00
iskm
385c4f4664 Merge pull request #1 from oplS17projects/mango
Mango
2017-04-09 22:49:46 -04:00
44c715c55c final polish for release for 0.2 2017-04-09 22:46:18 -04:00
cb381871d5 reorganized repo a bit better 2017-04-09 22:37:50 -04:00
404f3d7edf Added tcpcommunication.rkt 2017-04-09 22:29:59 -04:00