| Age | Commit message (Collapse) | Author |
|
<memory> is a costly header we can avoid by just implementing
UniquePtr ourselves, which is a pretty straightforward in modern
C++, this saves around 10% of the compilation time here.
|
|
|
|
|
|
|
|
|
|
The real technical limit is with lines bigger than 2 GiB and buffers
with more than 2 Gi lines, refactor buffer loading to make it possible
to load those files.
Fix an overflow with the hash_data function at the same time
|
|
|
|
|
|
|
|
Fixes #852
Closes #856
|
|
|
|
If not, clients end up keeping references on a buffer while
it it being deleted.
|
|
|
|
Fixes #474
|
|
|
|
|
|
|
|
|
|
|
|
termination
|
|
We can have SelectionList in flights on the buffer, so mark
it for deletion by moving it in a buffer trash, and effectively
delete it later, at a point where there should not be any further
access to it.
|
|
The code stays disabled, as the performance penalty is quite
high, but can be enabled to help debugging safe pointers.
|
|
|
|
|
|
|
|
|
|
|
|
(that is most of the time when we are not concerned with displaying)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Singletons are not autocreating, the application needs to create
exactly one instance (I want to avoid implicit initialization order
hell)
|
|
|
|
it also provide access to buffers by name
|