Commit Graph

467 Commits

Author SHA1 Message Date
Beman
09b361e161 Simulated function template partial specialization working. converter_test and pair_test passing. 2013-05-14 17:59:50 -04:00
Beman
72880a1416 Initial commit udt_conversion_example.cpp 2013-05-14 14:54:11 -04:00
Beman
c16fd1384f Teaks 2013-05-14 10:32:51 -04:00
Beman
1a496f277e Signs of life 2013-05-14 09:59:18 -04:00
Beman
e7c14b9ff2 pair_test infrastructure initial commit. 2013-05-14 07:20:53 -04:00
Beman
c407260b51 Initial commit 2013-05-13 16:00:56 -04:00
Beman
6cf5464cd2 Distinguish between ReversibleValue and Reversible in both name and behavior. 2013-05-13 14:16:54 -04:00
Beman
db2f30b77c Better fix that works with more compilers, old and new, VC++ and GCC. 2013-05-13 11:05:31 -04:00
Beman
62915438e3 Fix converter_test cases. converter_test now passes on big-endian mac. 2013-05-13 10:43:56 -04:00
Beman
2f6dba3ab6 Fixes for older gcc. Fixes for big endian machines. 2013-05-13 10:09:25 -04:00
Beman
4c0bd87c18 Tweaks to get tests running with various compilers. 2013-05-12 17:42:48 -04:00
Beman
a7475d0f63 Really fix the bug this time. Add TODO list. 2013-05-12 14:28:20 -04:00
Beman
ccc71a9ec8 Change T to Reversible to indicate requirement on template parameters. Fix bug in big_endian. 2013-05-12 11:45:04 -04:00
Beman
6c00b65eb4 Add light test of modify-in-place interface 2013-05-12 11:31:32 -04:00
Beman
ec3aacd132 Remove cruft left over from refactoring. 2013-05-12 10:55:18 -04:00
Beman
89d13e9d02 Add modify in place interface, implementation. No tests yet. 2013-05-12 10:16:35 -04:00
Beman
0fef88ab3f Change names to make room for modify-in-place names. 2013-05-12 08:58:44 -04:00
Beman
854c27939a Change name of conditional conversion functions to big_endian and little_endian. 2013-05-12 07:52:42 -04:00
Beman
50c1a27386 Change name convert_bytes to convert. Given the namespace, template parameters, and function arguments, it is obvious what is being converted, and "bytes" is too low level for this function. 2013-05-12 07:25:12 -04:00
Beman
3877219925 Remove spurious semi-colon. 2013-05-12 07:21:37 -04:00
Beman
2794810b29 converter_test.cpp refactoring complete 2013-05-11 17:41:06 -04:00
Beman
97b024bcf6 Continue refactoring converter_test.cpp. 2013-05-11 17:18:17 -04:00
Beman
c349e35e91 Enable double, fix bug in generic reverse_bytes implementation. Begin refactoring converter_test code. 2013-05-11 16:08:15 -04:00
Beman
9e96faf4c1 float showing signs of life. 2013-05-11 08:13:55 -04:00
Beman
e4d65805a6 Add tests for runtime convert_bytes 2013-05-10 18:07:48 -04:00
Beman
6af16cc339 compile-time convert_bytes working, all signed and unsigned integer cases being tested. 2013-05-10 17:51:58 -04:00
Beman
553d6a2426 Work in progress. Detect wrong endianness reported by boost/detail/endian.hpp. Add intrinsic timing to benchmark.cpp. Add boost/endian/detail/intrinsic.hpp. Use intrinsics in converters when available. Begin adding convert_bytes tests to converter_test.cpp. 2013-05-10 16:51:24 -04:00
Beman
fcb5386537 All tests passing, all VC++ projects consistent 2013-05-10 11:26:17 -04:00
Beman
6f496a40cd Unstable work-in-progress. Define order enum in either header. Add runtime function implementations. 2013-05-10 08:56:14 -04:00
Beman
cd9117941f Unstable work in progress.
Change names to reverse_bytes and convert_bytes.
Add runtime convert_bytes function.
compile-time generic byte order conversion.
2013-05-10 07:36:21 -04:00
Beman
803bd72f68 Add VC++ setup note 2013-05-09 15:41:52 -04:00
Beman
a9dc71f5f0 Endian not embedded in Boost tree working all VC++ 2012 tests. 2013-05-09 10:34:35 -04:00
Beman
304ad2ad90 Remove requirement that endian files be embedded in the boost directory hierarchy.
Begin conversion to msvc2012.
2013-05-09 08:46:02 -04:00
Beman
28c5869fa7 Add do-list item fixing <boost/detail/endian.hpp> licensing issue. 2013-03-25 08:27:37 -04:00
Beman
736d9cce09 Change name of endianness enum to order. This is often used with namespace qualifier, and endian::order is shorter and reads better than endian::endianness.
Continue infrastructure and test updates.
2013-03-19 09:28:22 -04:00
Beman
35a3fcb709 Set up infrastructure, change to new names, clean up comments. 2013-03-18 20:39:21 -04:00
Beman
d7120e6fac Delete the original conversion.hpp.
Rename conversion2.hpp to converters.hpp.
Adjust infrastructure accordingly.
2013-03-18 20:12:41 -04:00
Beman
c177062bf5 Delete some obsolete files, cleanup the Jamefile. 2013-03-18 19:38:25 -04:00
Beman
8782df3ab5 Get VC++ solution working with new directory structure (Except benchmark link errors). 2013-03-18 15:53:49 -04:00
Beman
8b25b2148c Directory reorg to follow Boost Git practice. 2013-03-18 15:02:04 -04:00
Beman
d131123327 Directory reorg to follow Boost Git practice. 2013-03-18 14:57:23 -04:00
bemandawes
d549e3bdd3 Revise Executive summary.
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74617 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-30 12:35:55 +00:00
bemandawes
59a89e4cac work-in-progress
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74609 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-29 12:31:09 +00:00
bemandawes
a45d4f24c5 Initial commit
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74607 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-29 10:50:10 +00:00
bemandawes
818041254d Add check_udt() test
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74603 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-28 19:13:12 +00:00
bemandawes
fb1c319b89 For now, revert to the general reorder template. Think about ways to make it safe and efficient.
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74353 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-11 20:20:33 +00:00
bemandawes
7e604c4776 Remove general reorder template. It doesn't work for classes with more than one member; each member must be reordered individually.
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74337 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-10 19:56:10 +00:00
bemandawes
53bdb6cd58 Test complete for [u]int16_t[n]_t overloads
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74331 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-09 20:03:13 +00:00
bemandawes
25f177eabf Work in progress
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74330 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-09 16:38:27 +00:00
bemandawes
e8f24ff471 Initial commit
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74329 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-09-09 16:00:42 +00:00