Nick Mathewson
|
c3c0a05f51
Add a new notion of "stamps" to be a fast 32-bit monotonic timestamp
|
7 anos atrás |
Nick Mathewson
|
a57f495c1a
Move ext_or_command tests to test_proto_misc.c
|
7 anos atrás |
Nick Mathewson
|
c0b9f594b6
Make preferred_chunk_size nonstatic, and add a prefix to it
|
7 anos atrás |
Nick Mathewson
|
6ec5059723
Refactor buffer APIs to put a buf_t first.
|
7 anos atrás |
Nick Mathewson
|
4a7e90adc5
Repair buffer API so everything starts with buf_.
|
7 anos atrás |
Nick Mathewson
|
150089cbd7
Move the tls parts of buffers.c into buffers_tls.c
|
7 anos atrás |
Nick Mathewson
|
5921b465e7
Make buffers.c independent of or.h
|
7 anos atrás |
Nick Mathewson
|
f28e314b0d
Make buf_pullup() expose the pulled-up data.
|
7 anos atrás |
Nick Mathewson
|
234c5015f1
Move protocol-specific functions out of buffers.c
|
7 anos atrás |
Alexander Færøy
|
c4744a01cc
Fix operator usage in src/test/*.c
|
7 anos atrás |
Nick Mathewson
|
6595f55020
unit tests for peek_buf_startswith()
|
7 anos atrás |
Nick Mathewson
|
584ab1f29b
Merge branch 'compress_none_v2_squashed'
|
7 anos atrás |
Nick Mathewson
|
3836d9481f
Add unit tests for the NO_METHOD compressor
|
7 anos atrás |
Nick Mathewson
|
c486ef57a3
Rename x-lzma to x-tor-lzma
|
7 anos atrás |
Nick Mathewson
|
166aa8d741
Have a separate entry point for each compresion test
|
7 anos atrás |
Alexander Færøy
|
e0a3819dcc
Test support for multiple compression backends in the buffer code.
|
7 anos atrás |
Alexander Færøy
|
b8c9f229d7
Rename `write_to_buf_zlib()` to `write_to_buf_compress()`.
|
7 anos atrás |
Alexander Færøy
|
40ed68290e
Rename `zlib_state` to `compress_state` in the test_buffers.
|
7 anos atrás |
Alexander Færøy
|
3c4459bcbf
Refactor the streaming compression code.
|
7 anos atrás |
Alexander Færøy
|
44cb86adbe
Rename `tor_gzip_{compress,uncompress}` to `tor_{compress,uncompress}`.
|
7 anos atrás |
Nick Mathewson
|
7505f452c8
Run the copyright update script.
|
7 anos atrás |
Nick Mathewson
|
c4f2faf301
Don't atoi off the end of a buffer chunk.
|
7 anos atrás |
Nick Mathewson
|
20c4b01694
Make preferred_chunk_size avoid overflow, handle big inputs better
|
8 anos atrás |
Nick Mathewson
|
7f145b54af
Merge remote-tracking branch 'public/Fix_19450'
|
8 anos atrás |
Nick Mathewson
|
46ef4487d3
Remove generic_buffer_*() functions as needless.
|
8 anos atrás |
Nick Mathewson
|
cd9d39d54b
Rename generic_buffer_set_to_copy, since generic buffers are not a thing
|
8 anos atrás |
Nick Mathewson
|
a8676b1ede
Merge branch 'bug18902_squashed'
|
8 anos atrás |
Nick Mathewson
|
4757303873
Fix all -Wshadow warnings on Linux
|
8 anos atrás |
Nick Mathewson
|
50463524a9
Use new mock functions in buffer/time_tracking test
|
8 anos atrás |
Nick Mathewson
|
53a3b39da1
Add -Wmissing-variable-declarations, with attendant fixes
|
8 anos atrás |