Skip to content

Commit 8f8d515

Browse files
committed
chore: rename rts to capy
1 parent 53b2ec6 commit 8f8d515

24 files changed

Lines changed: 171 additions & 171 deletions

.drone/drone.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pushd !BOOST_ROOT!\libs
4646
git clone https://github.com/cppalliance/buffers -b !BOOST_BRANCH! --depth 1
4747
popd
4848
pushd !BOOST_ROOT!\libs
49-
git clone https://github.com/cppalliance/rts -b !BOOST_BRANCH! --depth 1
49+
git clone https://github.com/cppalliance/capy -b !BOOST_BRANCH! --depth 1
5050
popd
5151

5252
echo '==================================> COMPILE'

.drone/drone.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ common_install () {
4141
popd
4242
fi
4343

44-
if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
44+
if [ ! -d "$BOOST_ROOT/libs/capy" ]; then
4545
pushd $BOOST_ROOT/libs
46-
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
46+
git clone https://github.com/cppalliance/capy -b $BOOST_BRANCH --depth 1
4747
popd
4848
fi
4949
}
@@ -126,9 +126,9 @@ if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
126126
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
127127
popd
128128
fi
129-
if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
129+
if [ ! -d "$BOOST_ROOT/libs/capy" ]; then
130130
pushd $BOOST_ROOT/libs
131-
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
131+
git clone https://github.com/cppalliance/capy -b $BOOST_BRANCH --depth 1
132132
popd
133133
fi
134134
cd libs/$SELF

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -870,11 +870,11 @@ jobs:
870870
repository: cppalliance/buffers
871871
ref: develop
872872

873-
- name: Clone Boost.RunTimeServices
873+
- name: Clone Boost.Capy
874874
uses: actions/checkout@v3
875875
with:
876-
path: rts-root
877-
repository: cppalliance/rts
876+
path: capy-root
877+
repository: cppalliance/capy
878878
ref: develop
879879

880880
- name: Setup C++
@@ -906,11 +906,11 @@ jobs:
906906
scan-modules-dir: |
907907
http-proto-root
908908
buffers-root
909-
rts-root
909+
capy-root
910910
scan-modules-ignore: |
911911
http_proto
912912
buffers
913-
rts
913+
capy
914914
915915
- name: Install Packages (Windows)
916916
uses: alandefreitas/cpp-actions/package-install@v1.9.0
@@ -932,8 +932,8 @@ jobs:
932932
triplet=${{ matrix.x86 && 'x86-windows-static' || 'x64-windows' }}
933933
addrmdl=${{ matrix.x86 && '32' || '64' }}
934934
935-
# This is temporary until we move rts/build/brotli.jam to boost/tools/build
936-
echo "import-search ${home}/boost-root/libs/rts/build ;" | sed 's/\/d\//D:\//g' >> user-config.jam
935+
# This is temporary until we move capy/build/brotli.jam to boost/tools/build
936+
echo "import-search ${home}/boost-root/libs/capy/build ;" | sed 's/\/d\//D:\//g' >> user-config.jam
937937
938938
echo "using zlib : : <include>\"${home}/vcpkg-root/installed/${triplet}/include\" <search>\"${home}/vcpkg-root/installed/${triplet}/lib\" <dll-path>\"${home}/vcpkg-root/installed/${triplet}/bin\" <name>zlib : <address-model>${addrmdl} ;" | sed 's/\/d\//D:\//g' >> user-config.jam
939939
echo "using brotli : : <include>\"${home}/vcpkg-root/installed/${triplet}/include\" <search>\"${home}/vcpkg-root/installed/${triplet}/lib\" <dll-path>\"${home}/vcpkg-root/installed/${triplet}/bin\" : <address-model>${addrmdl} ;" | sed 's/\/d\//D:\//g' >> user-config.jam
@@ -980,7 +980,7 @@ jobs:
980980
# Patch boost-root with workspace module
981981
cp -r "$workspace_root"/http-proto-root "libs/$module"
982982
cp -r "$workspace_root"/buffers-root libs/buffers
983-
cp -r "$workspace_root"/rts-root libs/rts
983+
cp -r "$workspace_root"/capy-root libs/capy
984984
985985
- name: Boost B2 Workflow
986986
uses: alandefreitas/cpp-actions/b2-workflow@v1.9.0
@@ -1203,11 +1203,11 @@ jobs:
12031203
repository: cppalliance/buffers
12041204
ref: develop
12051205

1206-
- name: Clone Boost.RunTimeServices
1206+
- name: Clone Boost.Capy
12071207
uses: actions/checkout@v3
12081208
with:
1209-
path: rts-root
1210-
repository: cppalliance/rts
1209+
path: capy-root
1210+
repository: cppalliance/capy
12111211
ref: develop
12121212

12131213
- name: Clone Boost
@@ -1220,11 +1220,11 @@ jobs:
12201220
scan-modules-dir: |
12211221
http-proto-root
12221222
buffers-root
1223-
rts-root
1223+
capy-root
12241224
scan-modules-ignore: |
12251225
http_proto
12261226
buffers
1227-
rts
1227+
capy
12281228
12291229
- name: Patch Boost
12301230
id: patch
@@ -1258,7 +1258,7 @@ jobs:
12581258
# Patch boost-root with workspace module
12591259
cp -r "$workspace_root"/http-proto-root "libs/$module"
12601260
cp -r "$workspace_root"/buffers-root libs/buffers
1261-
cp -r "$workspace_root"/rts-root libs/rts
1261+
cp -r "$workspace_root"/capy-root libs/capy
12621262
12631263
- uses: actions/setup-node@v4
12641264
with:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ set(BOOST_SRC_DIR ${DEFAULT_BOOST_SRC_DIR} CACHE STRING "Boost source dir to use
5656
set(BOOST_HTTP_PROTO_DEPENDENCIES
5757
Boost::assert
5858
Boost::buffers
59+
Boost::capy
5960
Boost::config
6061
Boost::core
61-
Boost::rts
6262
Boost::static_assert
6363
Boost::system
6464
Boost::throw_exception

build/Jamfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ lib boost_http_proto
4040
: http_proto_sources
4141
: requirements
4242
<library>/boost//buffers
43-
<library>/boost//rts
43+
<library>/boost//capy
4444
<library>/boost//url
4545
<include>../
4646
<define>BOOST_HTTP_PROTO_SOURCE
4747
: usage-requirements
4848
<library>/boost//buffers
49-
<library>/boost//rts
49+
<library>/boost//capy
5050
<library>/boost//url
5151
;
5252

include/boost/http_proto/parser.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <boost/buffers/dynamic_buffer.hpp>
2222
#include <boost/buffers/buffer_pair.hpp>
2323
#include <boost/core/span.hpp>
24-
#include <boost/rts/polystore_fwd.hpp>
24+
#include <boost/capy/polystore_fwd.hpp>
2525

2626
#include <cstddef>
2727
#include <cstdint>
@@ -617,7 +617,7 @@ class parser
617617
BOOST_HTTP_PROTO_DECL ~parser();
618618
BOOST_HTTP_PROTO_DECL parser() noexcept;
619619
BOOST_HTTP_PROTO_DECL parser(parser&& other) noexcept;
620-
BOOST_HTTP_PROTO_DECL parser(rts::polystore&, detail::kind);
620+
BOOST_HTTP_PROTO_DECL parser(capy::polystore&, detail::kind);
621621
BOOST_HTTP_PROTO_DECL void assign(parser&& other) noexcept;
622622

623623
BOOST_HTTP_PROTO_DECL
@@ -668,7 +668,7 @@ struct parser::config_base
668668

669669
/** Enable Brotli Content-Encoding decoding.
670670
671-
Requires `boost::rts::brotli::decode_service` to be
671+
Requires `boost::capy::brotli::decode_service` to be
672672
installed, otherwise an exception is thrown.
673673
*/
674674
bool apply_brotli_decoder = false;
@@ -693,7 +693,7 @@ struct parser::config_base
693693
Larger windows improve decompression at the cost
694694
of memory. If a larger window is required than
695695
allowed, decoding fails with
696-
`rts::zlib::error::data_err`.
696+
`capy::zlib::error::data_err`.
697697
*/
698698
int zlib_window_bits = 15;
699699

@@ -769,7 +769,7 @@ struct parser::config_base
769769
BOOST_HTTP_PROTO_DECL
770770
void
771771
install_parser_service(
772-
rts::polystore& ctx,
772+
capy::polystore& ctx,
773773
parser::config_base const& cfg);
774774

775775
} // http_proto

include/boost/http_proto/request_parser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class request_parser
140140
*/
141141
BOOST_HTTP_PROTO_DECL
142142
explicit
143-
request_parser(rts::polystore& ctx);
143+
request_parser(capy::polystore& ctx);
144144

145145
/** Return a reference to the parsed request headers.
146146

include/boost/http_proto/response_parser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class response_parser
140140
*/
141141
BOOST_HTTP_PROTO_DECL
142142
explicit
143-
response_parser(rts::polystore& ctx);
143+
response_parser(capy::polystore& ctx);
144144

145145
/** Prepare for the next message on the stream.
146146

include/boost/http_proto/serializer.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <boost/buffers/buffer_pair.hpp>
1919
#include <boost/core/span.hpp>
20-
#include <boost/rts/polystore_fwd.hpp>
20+
#include <boost/capy/polystore_fwd.hpp>
2121
#include <boost/system/result.hpp>
2222

2323
#include <type_traits>
@@ -171,7 +171,7 @@ class serializer
171171
BOOST_HTTP_PROTO_DECL
172172
explicit
173173
serializer(
174-
rts::polystore& ctx);
174+
capy::polystore& ctx);
175175

176176
/** Reset the serializer for a new message.
177177
@@ -574,7 +574,7 @@ struct serializer::config
574574
{
575575
/** Enable Brotli Content-Encoding.
576576
577-
Requires `boost::rts::brotli::encode_service` to be
577+
Requires `boost::capy::brotli::encode_service` to be
578578
installed, otherwise an exception is thrown.
579579
*/
580580
bool apply_brotli_encoder = false;
@@ -668,7 +668,7 @@ struct serializer::config
668668
BOOST_HTTP_PROTO_DECL
669669
void
670670
install_serializer_service(
671-
rts::polystore& ctx,
671+
capy::polystore& ctx,
672672
serializer::config const& cfg);
673673

674674
//------------------------------------------------

src/detail/zlib_filter_base.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
#include "src/detail/filter.hpp"
1717

18-
#include <boost/rts/zlib/stream.hpp>
19-
#include <boost/rts/zlib/flush.hpp>
18+
#include <boost/capy/zlib/stream.hpp>
19+
#include <boost/capy/zlib/flush.hpp>
2020

2121
namespace boost {
2222
namespace http_proto {
@@ -35,7 +35,7 @@ class zlib_filter_base : public filter
3535
}
3636

3737
protected:
38-
rts::zlib::stream strm_;
38+
capy::zlib::stream strm_;
3939

4040
static
4141
unsigned int

0 commit comments

Comments
 (0)