Commit Graph
1976 Commits
Author SHA1 Message Date
Richard Hodges c682eb46e7 Fix warning in test 2020-02-29 10:43:52 -08:00
Cristian Morales Vega 75da7a522e Fix ostream flush:
fix #1853, close #1859, close #1866

After calling the DynamicBuffer commit() function the
buffer returned from prepare() can be invalidated but
the ostream kept using it.
2020-02-29 10:43:20 -08:00
Richard Hodges fc01de736f Fix hyperlinks in README.md
fix #1844, close #1845
2020-02-29 10:43:05 -08:00
Vinnie Falco f5273300f9 Field digest is endian-independent:
fix #1863
close #1864

* Added some comments
* Add 64-bit specific calculation
* Fix endian-dependence in digest
2020-02-29 10:43:05 -08:00
Cristian Morales Vega 2c2e2c0812 detail::ostream_buffer is final:
The Clang Static Analyzer was complaining about the fact the destructor
calls a virtual function. This silences it.

close #1862
2020-02-29 10:43:05 -08:00
Richard Hodges 5a82673089 Add missing include 2020-02-29 10:43:00 -08:00
Richard Hodges ea078cfcdb Refactor flat_static_buffer 2020-02-29 10:43:00 -08:00
Richard Hodges 25c8fb4714 Refactor flat_buffer 2020-02-29 10:43:00 -08:00
Richard Hodges fc5399722e Refactor static_buffer 2020-02-29 10:43:00 -08:00
Richard Hodges 69ef525d5c Refactor buffers_adaptor 2020-02-29 10:43:00 -08:00
Richard Hodges eebf5773ed Rename to DynamicBuffer_v0:
The Beast variation of Asio's DynamicBuffer_v1
is now named DynamicBuffer_v0.
2020-02-29 10:42:32 -08:00
Vinnie Falco c340697171 Refactor multi_buffer 2020-02-29 10:42:30 -08:00
Richard Hodges c058567ec1 set version to 285 2020-02-04 19:42:06 +01:00
Vinnie Falco 18ce21d5c9 Translate some win32 errors to net error codes
fix #1815
2020-02-04 19:42:06 +01:00
Richard Hodges cbeb6ffed1 enable circleci integration
references #1809
closes #1829
2020-02-04 19:42:06 +01:00
Richard Hodges 8a90ec0e3b flat_buffer shrink_to_fit never throws
fixes #1831
closes #1835
2020-02-04 19:41:50 +01:00
Richard Hodges 7701bf8738 moved-from container with unequal allocator will not be modified:
Affects:
- flat_buffer
- multi_buffer
- http::fields

fixes #1832
closes #1834
2020-02-04 18:36:53 +01:00
Richard Hodges 6d10adf936 fix erase field
fixes #1828
closes #1829
2020-02-04 18:36:50 +01:00
Richard Hodges c9d5049307 set version to 284 2020-01-28 10:27:17 +01:00
Richard Hodges 84391b31c6 Compilation flag documentation included
fixes #1812
close #1824
2020-01-28 10:26:58 +01:00
Richard Hodges 7ce6980042 fix strand use in example
fixes #1822
close #1823
2020-01-28 10:26:42 +01:00
Richard Hodges b98c66a198 update DigiCert Global Root CA 2020-01-28 10:26:42 +01:00
Richard Hodges 3d168c0336 file body reports short_read on eof
fixes #1818
fixes #1815
close #1821
2020-01-28 10:24:44 +01:00
Richard Hodges 9068787df1 Set version to 283 2020-01-23 16:52:51 +01:00
Mika Fischer a6155ae9bf Add accessor function to File member of basic_file_body:
fix #1260
close #1814
2020-01-23 16:24:46 +01:00
Richard Hodges 416cc40422 ostream_buffer satisfies preconditions of DynamicBuffer_v1::commit:
close #1806
2020-01-23 16:24:40 +01:00
Richard Hodges 46ac848fa4 Set version to 282 2019-12-29 08:58:24 -08:00
Mika Fischer dfb44236e9 file_stdio supports unicode paths:
fix #793, close #1791, close #1793
2019-12-29 08:58:13 -08:00
Mika Fischer f0c92f472c file_win32 supports UTF-8 paths:
fix #793, close #1791, close #1793

This brings file_win32 in sync with the documentation.
Previously, the path passed to open worked if encoded in the system
codepage (which is almost never UTF-8).
Now, the path must be encoded as UTF-8, as stated in the
documentation.

Adapt file tests so that for file_win32 all paths include a unicorn
character.
2019-12-29 08:56:02 -08:00
Richard Hodges 7912e2bef2 fix release build of docs:
requires https://github.com/boostorg/build/pull/522
2019-12-29 07:56:24 -08:00
Vinnie Falco af8e4278ba Use superproject docca 2019-12-29 07:52:16 -08:00
Vinnie Falco 45cb52f651 Set version to 281 2019-12-23 10:51:26 -08:00
Mika Fischer 0abb38a310 file_win32 bodies respect http::serializer::split
fix #1786, close #1788
2019-12-23 10:51:22 -08:00
Richard Hodges 35eaa441b9 Fix echo-op test
close #1789
2019-12-23 08:55:47 -08:00
Peter Dimov eb1e6d4f2c Travis builds docs 2019-12-23 08:02:32 -08:00
Vinnie Falco 9be923c40e Set version to 280 2019-12-17 11:12:26 -08:00
Vinnie Falco 54ea61fd42 Use docca master branch 2019-12-17 11:11:53 -08:00
Richard Hodges 7bf58e28e4 Fix non-msvc cmake 2019-12-14 08:20:59 -08:00
Vinnie Falco 0fa85226f0 Set version to 279 2019-12-08 08:31:46 -08:00
Vinnie Falco 9bb4adf21b Use regular throw in test 2019-12-08 08:31:39 -08:00
Vinnie Falco b7a54c0a64 Use superproject docca 2019-12-07 14:18:38 -08:00
Vinnie Falco 5597391e41 Fix pragma warning 2019-12-07 13:19:59 -08:00
Vinnie Falco e2d61db21e Set version to 278 2019-12-06 19:48:30 -08:00
Vinnie Falco 2f7ddb69ee Use plain throw in unit test framework 2019-12-06 19:48:27 -08:00
Vinnie Falco a986831c1a Update doc 2019-11-22 08:54:22 -08:00
Vinnie Falco 9cb601b011 Use develop docca 2019-11-22 07:43:00 -08:00
Vinnie Falco 0b68ed651b Set version to 277 boost-1.72.0 boost-1.72.0.beta1 2019-11-09 03:02:57 -08:00
Vinnie Falco dd64bf1c18 Update release notes 2019-11-09 03:02:29 -08:00
Vinnie Falco 718aef721a Set version to 276 2019-11-02 08:30:31 -07:00
AeroStun d895906bcc Refactor zlib tests and fix typo:
close #1744

* Fixed typo in enum name
* Added missing zlib error enumerator
* Marked caveat in zlib impl to avoid future confusion
* Created Compressor/Decompressor abstractions in Beast.zlib tests
* Applied abstractions on Beast.zlib tests
* Workaround Travis-CI' 10min silence timeout
* Add test for Beast.zlib's need_dict error
* Avoid breaking user-code dependant on deprecated enumerator interface

Signed-off-by: AeroStun <24841307+AeroStun@users.noreply.github.com>
2019-11-02 08:29:30 -07:00