| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | style: clang-format | littleblack111 | 2025-06-13 | 16 | -35/+35 |
| | | |||||
| * | internal: shortened smart pointer types | littleblack111 | 2025-06-13 | 14 | -38/+48 |
| | | |||||
| * | fix: don't announce leave if client is not registered | littleblack111 | 2025-06-13 | 1 | -1/+1 |
| | | |||||
| * | internal!: organized internal structure, using cmake now | littleblack111 | 2025-06-13 | 28 | -84/+44 |
| | | |||||
| * | internal!: refactored to smart pointer | littleblack111 | 2025-06-13 | 11 | -94/+149 |
| | | |||||
| * | fix: compiling with -O0 caused runtime error with `str.back()` so we check ↵ | littleblack111 | 2025-06-12 | 1 | -1/+1 |
| | | | | | if .empty() first | ||||
| * | style: clang-format | github-actions[bot] | 2025-06-12 | 1 | -1/+1 |
| | | |||||
| * | fix(Makefile): -O0 builds | littleblack111 | 2025-06-12 | 2 | -28/+33 |
| | | |||||
| * | internal: fully discard the use of uintptr_t for identification use | littleblack111 | 2025-06-11 | 5 | -13/+10 |
| | | |||||
| * | fix: consolidate port number validation logic | littleblack111 | 2025-06-04 | 1 | -6/+2 |
| | | |||||
| * | fix(3c94a88ec7419e9d0c83c99883c4a0b010a97614): logic error in read(bypassDeaf) | littleblack111 | 2025-06-02 | 1 | -1/+1 |
| | | | | | | previously, m_bDeaf was cached, now it's not and directly read note: previously, the second deaf check was unncessary | ||||
| * | Revert "style: clang-tidy" | littleblack111 | 2025-05-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit aa84ff9d0cd2b31cda6e6b55b4f36cec7e61eec0. not sure why.. ``` src/session.cpp:105:19: error: no matching function for call to ‘std::__cxx11::basic_string<char>::erase(std::ranges::borrowed_subrange_t<std::__cxx11::basic_string<char>&>, std::__cxx11::basic_string<char>::iterator)’ 105 | data.erase(std::ranges::remove(data, asciiEscape), data.end()); // don't accept ASCII code, might mess up terminal | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:105:19: note: there are 3 candidates In file included from /usr/include/c++/15.1.1/string:56, from /usr/include/c++/15.1.1/bits/locale_classes.h:42, from /usr/include/c++/15.1.1/bits/ios_base.h:43, from /usr/include/c++/15.1.1/ios:46, from /usr/include/c++/15.1.1/bits/ostream.h:43, from /usr/include/c++/15.1.1/bits/unique_ptr.h:43, from /usr/include/c++/15.1.1/memory:80, from src/chatManager.hpp:3, from src/session.hpp:4, from src/session.cpp:1: /usr/include/c++/15.1.1/bits/basic_string.h:2323:7: note: candidate 1: ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::erase(size_type, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ 2323 | erase(size_type __pos = 0, size_type __n = npos) | ^~~~~ /usr/include/c++/15.1.1/bits/basic_string.h:2323:23: note: no known conversion for argument 1 from ‘std::ranges::borrowed_subrange_t<std::__cxx11::basic_string<char>&>’ to ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} 2323 | erase(size_type __pos = 0, size_type __n = npos) | ~~~~~~~~~~^~~~~~~~~ /usr/include/c++/15.1.1/bits/basic_string.h:2343:7: note: candidate 2: ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::erase(__const_iterator) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; iterator = std::__cxx11::basic_string<char>::iterator; __const_iterator = std::__cxx11::basic_string<char>::const_iterator]’ 2343 | erase(__const_iterator __position) | ^~~~~ /usr/include/c++/15.1.1/bits/basic_string.h:2343:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/15.1.1/bits/basic_string.h:2363:7: note: candidate 3: ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::erase(__const_iterator, __const_iterator) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; iterator = std::__cxx11::basic_string<char>::iterator; __const_iterator = std::__cxx11::basic_string<char>::const_iterator]’ 2363 | erase(__const_iterator __first, __const_iterator __last) | ^~~~~ /usr/include/c++/15.1.1/bits/basic_string.h:2363:30: note: no known conversion for argument 1 from ‘std::ranges::borrowed_subrange_t<std::__cxx11::basic_string<char>&>’ to ‘std::__cxx11::basic_string<char>::__const_iterator’ {aka ‘std::__cxx11::basic_string<char>::const_iterator’} 2363 | erase(__const_iterator __first, __const_iterator __last) | ~~~~~~~~~~~~~~~~~^~~~~~~ make: *** [Makefile:73: build/session.o] Error 1 make: *** Waiting for unfinished jobs.... ``` | ||||
| * | style: clang-tidy | github-actions[bot] | 2025-05-31 | 1 | -1/+1 |
| | | |||||
| * | internal: all CFileDescriptor is now wrapped in shared_ptr | littleblack111 | 2025-05-31 | 4 | -18/+20 |
| | | | | | | shared_ptr operations are atomic good for multi threading | ||||
| * | style: remove unncessary Hyprutils::OS NS | littleblack111 | 2025-05-31 | 6 | -13/+9 |
| | | |||||
| * | style: clang-format | github-actions[bot] | 2025-05-30 | 2 | -2/+2 |
| | | |||||
| * | fix(sessionManager): properly cleanup session with kick() instead of ↵ | littleblack111 | 2025-05-30 | 1 | -2/+2 |
| | | | | | | | directly resetting this ensures all session.reset() be ran from kick() | ||||
| * | perf(session): directly use m_bDeaf | littleblack111 | 2025-05-30 | 1 | -14/+13 |
| | | |||||
| * | style: clang-format | github-actions[bot] | 2025-05-27 | 1 | -1/+1 |
| | | |||||
| * | commands: use type safe optional for reason | littleblack111 | 2025-05-27 | 1 | -16/+18 |
| | | |||||
| * | style: clang-format | github-actions[bot] | 2025-05-27 | 1 | -1/+1 |
| | | |||||
| * | fix: don't accept ascii seq(0x1B) | littleblack111 | 2025-05-27 | 2 | -1/+5 |
| | | | | | | | this can mess up terminals of others won't really affect the server as we using ftxui and it seems to not affect the output somehow | ||||
| * | fix(1af5ffbfc646ccd116f1131f27bae3843eef406d): typo in comparison | littleblack111 | 2025-05-27 | 1 | -1/+1 |
| | | | | | msg.msg -> msg.username | ||||
| * | session(newMessaeg): specify .sender = this | littleblack111 | 2025-05-27 | 1 | -1/+1 |
| | | | | | | fix bug in 4c23d3224d1820e72f072b2e4017c963a5c40fcb where no .sender specified will dupe | ||||
| * | fixup! feat: kick client (#6) | littleblack111 | 2025-05-24 | 1 | -0/+3 |
| | | | | | added comments and explaination | ||||
| * | style: clang-format | github-actions[bot] | 2025-05-21 | 1 | -2/+2 |
| | | |||||
| * | session(write): write then restore reading | littleblack111 | 2025-05-21 | 2 | -5/+8 |
| | | |||||
| * | internal(session write): reuse the other write function as function overload | littleblack111 | 2025-05-21 | 1 | -12/+1 |
| | | |||||
| * | fixup! feat: join and leave message | littleblack111 | 2025-05-21 | 1 | -1/+6 |
| | | | | | fix! unstable segfault when user leave without register | ||||
| * | style: clang-format | github-actions[bot] | 2025-05-21 | 6 | -11/+11 |
| | | |||||
| * | feat: non-admin commands | littleblack111 | 2025-05-21 | 5 | -12/+24 |
| | | |||||
| * | command(/list): better formatting with session instance ptr | littleblack111 | 2025-05-21 | 1 | -2/+4 |
| | | |||||
| * | internal: prefer direct pointers instead of (uintptr_t) converted ones | littleblack111 | 2025-05-21 | 4 | -6/+6 |
| | | |||||
| * | feat: join and leave message | littleblack111 | 2025-05-21 | 7 | -18/+50 |
| | | | | | | internal: refactored messaging management, use instnace pointer for verification of session | ||||
| * | style: clang-format | github-actions[bot] | 2025-05-20 | 1 | -3/+3 |
| | | |||||
| * | Revert "internal: use smart pointer for everything, no more naked pointer" | littleblack111 | 2025-05-20 | 4 | -31/+32 |
| | | | | | | | This reverts commit 72cf95bc9b1eb338457a0815eb1fe4f70b42ebb3. segfault/IOT instruct on client exit... | ||||
| * | internal: use uintptr_t of session instance for identification | littleblack111 | 2025-05-20 | 3 | -1/+4 |
| | | |||||
| * | perf(session): unecessary init of m_addrLen | littleblack111 | 2025-04-12 | 1 | -2/+1 |
| | | |||||
| * | scroller: fix sticky scroll | littleblack111 | 2025-04-07 | 1 | -1/+1 |
| | | |||||
| * | internal: use smart pointer for everything, no more naked pointer | littleblack111 | 2025-04-07 | 4 | -32/+31 |
| | | |||||
| * | internal(session::writeChat): also be bool, returns write()'s bool | littleblack111 | 2025-04-07 | 2 | -4/+5 |
| | | |||||
| * | Revert "ftxui(logComponent): don't use custom patch to have a min_size but ↵ | littleblack111 | 2025-04-07 | 1 | -3/+0 |
| | | | | | | | | offical way instead" This reverts commit 4a9232c9bea11750ff5e9b56a75b410eac2f020d. broke [scroller](https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp) | ||||
| * | session: use std::string for m_ip instead of c char | littleblack111 | 2025-04-07 | 6 | -11/+13 |
| | | |||||
| * | style: 2 -> 4 tabwidth | littleblack111 | 2025-04-07 | 1 | -60/+60 |
| | | |||||
| * | ftxui(logComponent): don't use custom patch to have a min_size but offical ↵ | littleblack111 | 2025-04-07 | 1 | -0/+3 |
| | | | | | | | | way instead doesn't seem to work though(see https://github.com/ArthurSonzogni/FTXUI/pull/1028#issuecomment-2776497917) | ||||
| * | style: clang-format | github-actions[bot] | 2025-04-07 | 1 | -2/+4 |
| | | |||||
| * | bump: TODO | littleblack111 | 2025-04-07 | 1 | -11/+0 |
| | | |||||
| * | style: clang-format | github-actions[bot] | 2025-04-07 | 4 | -7/+9 |
| | | |||||
| * | fix: nullptr(SEGEV) during shutdown | littleblack111 | 2025-04-07 | 3 | -8/+25 |
| | | |||||
| * | refactor: loggings | littleblack111 | 2025-04-07 | 7 | -12/+32 |
| | | |||||
