summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* session: read also include name of selflittleblack1112025-03-201-1/+1
|
* cleanup(session): unnecessary scope(eFormatType)littleblack1112025-03-201-2/+2
|
* misc: use EXIT_SUCCESS and EXIT_FAILURE instead of 0 and 1littleblack1112025-03-201-6/+7
|
* fix(sessionManager): don't join() thread on dtor, reset them insteadlittleblack1112025-03-201-3/+5
| | | | | | | also do that in removeSession this fixes when theres multiple clients, the first join() would block second one from getting destoryed
* build: std=c++26littleblack1112025-03-202-9/+9
|
* feat!: require arg for server portlittleblack1112025-03-203-5/+48
|
* clang-tidylittleblack1112025-03-202-7/+6
|
* server(reuse): constexpr for perflittleblack1112025-03-201-1/+1
|
* session(write): fix newline not being printed before writelittleblack1112025-03-202-0/+6
| | | rn if you write() while there is a read("text") it would output the new write() in the same line which is not ideal.
* cleanup: shared ptr .get() and std::move() use caseslittleblack1112025-03-201-1/+1
| | | | fixes a bug where dtor of CSession is not called
* rename(chatServer): m_sessionThread -> m_sessionManagerThreadlittleblack1112025-03-202-5/+5
|
* bump: compile_commandslittleblack1112025-03-204-88/+31
|
* session: get/use IP and port on connectlittleblack1112025-03-204-13/+31
|
* format/log: trace prefixlittleblack1112025-03-201-0/+3
|
* cleanup(chatManager): uneeded qualificationlittleblack1112025-03-201-1/+1
|
* perf(session): uint8_t for eEventTypelittleblack1112025-03-201-1/+1
|
* clang-formatlittleblack1112025-03-2011-125/+124
|
* session: log if user exited without registeringlittleblack1112025-03-201-2/+4
|
* session(registerSession): don't errno, just break if reset by peer(disconnect)littleblack1112025-03-202-9/+9
|
* signal(session,sessionManager): atexit handlerlittleblack1112025-03-204-0/+15
| | | | sometimes have malloc: Heap corruption detected :/
* fix(header): signal includelittleblack1112025-03-201-0/+1
|
* signal: quick_exit as fallback if stuck at exitlittleblack1112025-03-201-0/+4
|
* bump: compile_commands.jsonlittleblack1112025-03-201-0/+19
|
* fix(registerName): no longer allow same namelittleblack1112025-03-2010-23/+94
| | | | | | | | | | the previous behaviour was it wouldn't broadcast the message to the same name debug: more logging, maybe we should disable TRACE by default in the future? WIP: partial impl of signal handling(SIGINT(keyboardinterrupt) etc)
* session: recvManager -> recvLooplittleblack1112025-03-202-4/+4
| | | | fix(recvLoop): break if !good
* misc: compile_commands.jsonlittleblack1112025-03-201-0/+173
|
* gitignore: ignore *.o and .cachelittleblack1112025-03-201-2/+2
|
* feat: broadcast message from one client to the rest, making chat actually ↵littleblack1112025-03-208-11/+61
| | | | | | | possible fix(chatServer, CSessionManager): .join sessionThread properly cleanup(server): unused header
* fix(essionManager): default broadcast = {} -> broadcast = NONElittleblack1112025-03-201-1/+1
|
* style: remove random const, reorganize stufflittleblack1112025-03-202-20/+23
|
* sessionManager: run in a jthread, for prep of inputManagerlittleblack1112025-03-205-8/+59
| | | | refactor(main)!: move main infra to oop chatServer
* ci: nukedlittleblack1112025-03-201-77/+0
|
* fix: session not disconnected properlylittleblack1112025-03-208-46/+86
| | | | perf: use server sockfd directly instead of a dupe of it
* refactor(format,log): better/simpler way to do themlittleblack1112025-03-073-109/+36
|
* refactor: logging systemlittleblack1112025-03-077-39/+178
|
* ci: explicitly use g++-14littleblack1112025-03-071-2/+2
|
* ci: fix dependencies - we need latest version of g++ for c++23littleblack1112025-03-071-40/+5
| | | | remove: doxygen
* style: clang-formatgithub-actions[bot]2025-03-052-4/+5
|
* ci: fix build wordinglittleblack1112025-03-051-1/+1
|
* refactor(server): uneeded reusable variables/functionslittleblack1112025-03-052-10/+3
|
* session: dynamic onErrnolittleblack1112025-03-052-24/+19
| | | | refactor: read(std::string)
* server: reuse(SO_REUSEADDR)littleblack1112025-03-051-1/+4
|
* fix(filedescriptor): headerslittleblack1112025-03-051-1/+1
|
* cleanup: random commentslittleblack1112025-03-051-13/+0
|
* cleanup: unused headerlittleblack1112025-03-051-1/+0
|
* makefile(clang-tidy): -fix-errorslittleblack1112025-03-041-1/+1
|
* clang-format & clang-tidylittleblack1112025-03-0410-161/+155
|
* ci: initlittleblack1112025-03-041-0/+112
|
* refactor!: python -> c++littleblack1112025-03-0418-627/+629
|
* fixeslittleblack1112023-07-181-3/+3
|