| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | session: use std::string for m_ip instead of c char | littleblack111 | 2025-04-07 | 1 | -2/+2 |
| | | |||||
| * | style: clang-format | github-actions[bot] | 2025-04-07 | 1 | -2/+3 |
| | | |||||
| * | fix: nullptr(SEGEV) during shutdown | littleblack111 | 2025-04-07 | 1 | -1/+6 |
| | | |||||
| * | refactor: loggings | littleblack111 | 2025-04-07 | 1 | -0/+1 |
| | | |||||
| * | feat: deaf | littleblack111 | 2025-04-03 | 1 | -1/+3 |
| | | | | | necessary for being deaf during registeration | ||||
| * | fix(nameExists): kill dead thread/session | littleblack111 | 2025-03-22 | 1 | -1/+10 |
| | | | | | | fixes a bug where if you quit then rejoin with the same name, it still says name exists | ||||
| * | fix: potential crash for weirdly exited clients | littleblack111 | 2025-03-22 | 1 | -2/+2 |
| | | | | | | | | | | fixes #9 FIXME: spamming too much will still give ``` terminate called after throwing an instance of 'std::system_error' what(): Resource deadlock avoided ``` | ||||
| * | feat(commands): client execute commands (#8) | littleblack111 | 2025-03-22 | 1 | -6/+5 |
| | | | | | refactor(session): writeChat, unify written chat internal: removed `CChatManager::broadcastMessage`, just use `g_pSessionManager->broadcastChat(msg)` | ||||
| * | fix(sessionManager,kick): only write message if CSession exist | littleblack111 | 2025-03-22 | 1 | -3/+2 |
| | | |||||
| * | feat(sessionManager): getSessions | littleblack111 | 2025-03-21 | 1 | -0/+5 |
| | | |||||
| * | clang-format | littleblack111 | 2025-03-21 | 1 | -2/+2 |
| | | |||||
| * | perf: directly kick instead of calling function in the session(killing it's ↵ | littleblack111 | 2025-03-21 | 1 | -10/+12 |
| | | | | | self?) | ||||
| * | Revert "fix: use shared ptr properly" | littleblack111 | 2025-03-20 | 1 | -1/+1 |
| | | | | | | This reverts commit 5c007b1581e7c36ce81de299e47c0c9ef51e9950. revert until a solution is developed | ||||
| * | feat: kick client (#6) | littleblack111 | 2025-03-20 | 1 | -2/+23 |
| | | |||||
| * | fix: use shared ptr properly | littleblack111 | 2025-03-20 | 1 | -1/+1 |
| | | | | | FIXME: for some reason dtors arent called even if use_count() is 0... | ||||
| * | clang-format & clang-tidy | littleblack111 | 2025-03-20 | 1 | -4/+3 |
| | | |||||
| * | NFormatter: no more prefix support for socket write | littleblack111 | 2025-03-20 | 1 | -3/+4 |
| | | | | | NFormatter: remove CHAT prefix | ||||
| * | sessionManager(broadcast): same order arg list as log | littleblack111 | 2025-03-20 | 1 | -1/+1 |
| | | |||||
| * | fix(sessionManager): don't join() thread on dtor, reset them instead | littleblack111 | 2025-03-20 | 1 | -3/+5 |
| | | | | | | | | also do that in removeSession this fixes when theres multiple clients, the first join() would block second one from getting destoryed | ||||
| * | cleanup: shared ptr .get() and std::move() use cases | littleblack111 | 2025-03-20 | 1 | -1/+1 |
| | | | | | fixes a bug where dtor of CSession is not called | ||||
| * | session: get/use IP and port on connect | littleblack111 | 2025-03-20 | 1 | -4/+3 |
| | | |||||
| * | clang-format | littleblack111 | 2025-03-20 | 1 | -16/+17 |
| | | |||||
| * | signal(session,sessionManager): atexit handler | littleblack111 | 2025-03-20 | 1 | -0/+8 |
| | | | | | sometimes have malloc: Heap corruption detected :/ | ||||
| * | fix(registerName): no longer allow same name | littleblack111 | 2025-03-20 | 1 | -8/+21 |
| | | | | | | | | | | | 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) | ||||
| * | feat: broadcast message from one client to the rest, making chat actually ↵ | littleblack111 | 2025-03-20 | 1 | -0/+6 |
| | | | | | | | | possible fix(chatServer, CSessionManager): .join sessionThread properly cleanup(server): unused header | ||||
| * | sessionManager: run in a jthread, for prep of inputManager | littleblack111 | 2025-03-20 | 1 | -1/+1 |
| | | | | | refactor(main)!: move main infra to oop chatServer | ||||
| * | fix: session not disconnected properly | littleblack111 | 2025-03-20 | 1 | -7/+21 |
| | | | | | perf: use server sockfd directly instead of a dupe of it | ||||
| * | clang-format & clang-tidy | littleblack111 | 2025-03-04 | 1 | -12/+9 |
| | | |||||
| * | refactor!: python -> c++ | littleblack111 | 2025-03-04 | 1 | -0/+29 |
