about summary refs log tree commit diff stats
path: root/src/io/serialize.nim
Commit message (Collapse)AuthorAgeFilesLines
* reduce new() usagebptato2023-10-251-1/+1
|
* buffer: simplify contentType handlingbptato2023-09-271-3/+3
| | | | | | * remove contentType member of Buffer object * add ishtml to reduce string comparisons * consistent spelling: contenttype -> contentType
* regex: copy after compilingbptato2023-09-241-25/+0
| | | | | | | | | | | | Instead of the broken attempt at making regexes zero-copy (it copied anyway), copy once and forget about it. (There have been way too many problems with the destructor approach, including the latest one where the GC would happily zero out our regexes if they were in a sequence. Maybe we can make this work once we switched to ORC. For now, it's not worth the trouble.)
* response: add blob() functionbptato2023-09-171-2/+3
|
* Fix compilation with --assertions:offbptato2023-09-151-1/+2
| | | | | Remove side effects from assert statements. The flag is not used currently, but let's not depend on that.
* move around more modulesbptato2023-09-141-0/+444
| | | | | | | | | | * ips -> io/ * loader related stuff -> loader/ * tempfile -> extern/ * buffer, forkserver -> server/ * lineedit, window -> display/ * cell -> types/ * opt -> types/
* Move ips stuff to src/ips/bptato2022-11-221-207/+0
|
* Rewrite buffer/pager for multi-processingbptato2022-11-191-6/+73
|
* Use unix domain sockets for IPCbptato2022-09-061-0/+1
|
* Use a separate process for file loadingbptato2022-08-181-0/+139
Not very useful for now, since we still have to load the entire page before parsing it.