summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ci: fix cmake dependenciesmainlittleblack1112025-06-221-2/+2
|
* cmake: fix clang-format and clang-tidylittleblack1112025-06-222-2/+18
|
* TODO: mark finished typinglittleblack1112025-06-131-1/+1
|
* style: clang-formatlittleblack1112025-06-1316-35/+35
|
* internal: shortened smart pointer typeslittleblack1112025-06-1314-38/+48
|
* fix: don't announce leave if client is not registeredlittleblack1112025-06-131-1/+1
|
* style: cmakelittleblack1112025-06-132-232/+5
|
* internal!: organized internal structure, using cmake nowlittleblack1112025-06-1330-253/+118
|
* TODO: morelittleblack1112025-06-131-0/+2
|
* internal!: refactored to smart pointerlittleblack1112025-06-1312-94/+426
|
* Makefile: -rf OBJSlittleblack1112025-06-121-1/+1
|
* fix: compiling with -O0 caused runtime error with `str.back()` so we check ↵littleblack1112025-06-121-1/+1
| | | | if .empty() first
* style: clang-formatgithub-actions[bot]2025-06-121-1/+1
|
* fix(Makefile): -O0 buildslittleblack1112025-06-123-29/+34
|
* internal: fully discard the use of uintptr_t for identification uselittleblack1112025-06-115-13/+10
|
* fix: consolidate port number validation logiclittleblack1112025-06-041-6/+2
|
* fix(3c94a88ec7419e9d0c83c99883c4a0b010a97614): logic error in read(bypassDeaf)littleblack1112025-06-021-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"littleblack1112025-05-311-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-tidygithub-actions[bot]2025-05-311-1/+1
|
* makefile: -O0 doesn't run...littleblack1112025-05-311-1/+1
|
* internal: all CFileDescriptor is now wrapped in shared_ptrlittleblack1112025-05-314-18/+20
| | | | | shared_ptr operations are atomic good for multi threading
* style: remove unncessary Hyprutils::OS NSlittleblack1112025-05-316-13/+9
|
* style: clang-formatgithub-actions[bot]2025-05-302-2/+2
|
* fix(sessionManager): properly cleanup session with kick() instead of ↵littleblack1112025-05-301-2/+2
| | | | | | directly resetting this ensures all session.reset() be ran from kick()
* perf(session): directly use m_bDeaflittleblack1112025-05-301-14/+13
|
* style: clang-formatgithub-actions[bot]2025-05-271-1/+1
|
* commands: use type safe optional for reasonlittleblack1112025-05-271-16/+18
|
* style: clang-formatgithub-actions[bot]2025-05-271-1/+1
|
* fix: don't accept ascii seq(0x1B)littleblack1112025-05-272-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 comparisonlittleblack1112025-05-271-1/+1
| | | | msg.msg -> msg.username
* session(newMessaeg): specify .sender = thislittleblack1112025-05-271-1/+1
| | | | | fix bug in 4c23d3224d1820e72f072b2e4017c963a5c40fcb where no .sender specified will dupe
* fixup! feat: kick client (#6)littleblack1112025-05-241-0/+3
| | | | added comments and explaination
* style: clang-formatgithub-actions[bot]2025-05-211-2/+2
|
* session(write): write then restore readinglittleblack1112025-05-212-5/+8
|
* internal(session write): reuse the other write function as function overloadlittleblack1112025-05-211-12/+1
|
* fixup! feat: join and leave messagelittleblack1112025-05-211-1/+6
| | | | fix! unstable segfault when user leave without register
* Makefile: more debugging optionslittleblack1112025-05-211-7/+103
|
* style: clang-formatgithub-actions[bot]2025-05-216-11/+11
|
* feat: non-admin commandslittleblack1112025-05-215-12/+24
|
* command(/list): better formatting with session instance ptrlittleblack1112025-05-211-2/+4
|
* internal: prefer direct pointers instead of (uintptr_t) converted oneslittleblack1112025-05-214-6/+6
|
* feat: join and leave messagelittleblack1112025-05-217-18/+50
| | | | | internal: refactored messaging management, use instnace pointer for verification of session
* Makefile: pthread for debuglittleblack1112025-05-212-64/+57
| | | | Makefile: use default instead of afl-g++
* style: clang-formatgithub-actions[bot]2025-05-201-3/+3
|
* Revert "internal: use smart pointer for everything, no more naked pointer"littleblack1112025-05-204-31/+32
| | | | | | This reverts commit 72cf95bc9b1eb338457a0815eb1fe4f70b42ebb3. segfault/IOT instruct on client exit...
* internal: use uintptr_t of session instance for identificationlittleblack1112025-05-204-2/+5
|
* TODO: User UUIDlittleblack1112025-05-201-0/+1
|
* ci: move install deps into another filelittleblack1112025-05-022-18/+29
|
* perf(session): unecessary init of m_addrLenlittleblack1112025-04-121-2/+1
|
* scroller: fix sticky scrolllittleblack1112025-04-071-1/+1
|