summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* build: auto parallel with nproclittleblack1112025-03-201-0/+3
|
* cleanup: explicit const and return original instead of dupe for perflittleblack1112025-03-206-6/+6
|
* chatManager.hpp: #pragma oncelittleblack1112025-03-201-0/+2
|
* refactor(log): removed redundant overloadslittleblack1112025-03-201-6/+7
|
* clang-format & clang-tidylittleblack1112025-03-209-67/+66
|
* session(SRecvData::data): use std::string instead of char*littleblack1112025-03-202-16/+30
|
* fix: NONEWLINE more explicitlittleblack1112025-03-203-3/+22
| | | | | | fixes a problem where all of socket wrote response is using NONE fmt(944b18bde52778b32c31dc23f3d90fc17b94794f) so all of them don't have \n
* perf(session): use pointer for SRecvDatalittleblack1112025-03-202-23/+32
|
* feat(session): resume history for new client or rejoinlittleblack1112025-03-203-3/+19
|
* build: afl compiler with asan for debuglittleblack1112025-03-201-0/+3
|
* NFormatter: no more prefix support for socket writelittleblack1112025-03-205-18/+15
| | | | NFormatter: remove CHAT prefix
* sessionManager(broadcast): same order arg list as loglittleblack1112025-03-202-2/+2
|
* 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
|