| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
| |
previously, m_bDeaf was cached, now it's not and directly read
note: previously, the second deaf check was unncessary
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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....
```
|
| | |
|
| |
|
|
|
| |
shared_ptr operations are atomic
good for multi threading
|
| | |
|
| | |
|
| |
|
|
|
|
| |
directly resetting
this ensures all session.reset() be ran from kick()
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
msg.msg -> msg.username
|
| |
|
|
|
| |
fix bug in 4c23d3224d1820e72f072b2e4017c963a5c40fcb where no .sender
specified will dupe
|
| |
|
|
| |
added comments and explaination
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
fix! unstable segfault when user leave without register
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
internal: refactored messaging management, use instnace pointer for
verification of session
|
| | |
|
| |
|
|
|
|
| |
This reverts commit 72cf95bc9b1eb338457a0815eb1fe4f70b42ebb3.
segfault/IOT instruct on client exit...
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
offical way instead"
This reverts commit 4a9232c9bea11750ff5e9b56a75b410eac2f020d.
broke [scroller](https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp)
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
way instead
doesn't seem to work though(see
https://github.com/ArthurSonzogni/FTXUI/pull/1028#issuecomment-2776497917)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ready for merge
rm sum random ocmments first
and https://github.com/ArthurSonzogni/FTXUI/issues/1024
but still, ready for merge since we can't do anything on our end
* style: clang-tidy
* ci
* ci
* style: clang-tidy
* fix
* fix: scroll
https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp
* focus
* update todo
* style: clang-format
* update todo
* sticky scroll
* update todxo
* smol fix
need event to update screen.
so we just give event when IO updates
* style: clang-format
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
| |
|
|
| |
necessary for being deaf during registeration
|
| |
|
|
| |
for some reason that don't work in macos, but _Exit does..
|
| | |
|
| | |
|