Commit Graph

  • 31f930330d Refine "Choosing between endian types and endian conversion functions" docs. Beman 2014-11-14 09:52:44 -05:00
  • fd1ab6daff Add additional ambiguity detection. Beman 2014-11-13 13:10:57 -05:00
  • c755a6b6af Add overall css style sheet for more uniform presentation and ease of maintenance. Beman 2014-11-12 08:26:01 -05:00
  • c41521cead For the endian types, add stream inserters and extractors as requested during the formal review. Beman 2014-11-11 21:08:08 -05:00
  • a1be441f8f Initial commit Beman 2014-11-11 10:50:12 -05:00
  • 4c58fc2efa Clear [-Wunused-parameter] warnings (Roger Leigh) Beman 2014-08-29 08:12:16 -04:00
  • 2ebb04e1df Merge pull request #5 from danieljames/metadata Beman Dawes 2014-08-22 21:55:12 -04:00
  • fff254cbc2 Add metadata file. Daniel James 2014-08-21 20:30:29 +01:00
  • 72a9095a03 Fix tests that were backwards on big endian machines. Thanks to Lars Viklund for testing on three different big-endian systems. Beman 2014-08-15 18:07:12 -04:00
  • 4cfeb52325 Fix broken link. Beman 2014-08-15 13:11:37 -04:00
  • f1dc05db63 Replaced deprecated macro with BOOST_NO_CXX11_DEFAULTED_FUNCTIONS Beman 2014-08-15 13:10:58 -04:00
  • e2e99a2e43 Rename to meet boost file name guidelines. Beman 2014-08-15 12:59:23 -04:00
  • aaf862a370 Remove files left over from development. Beman 2014-08-15 12:56:56 -04:00
  • e609015dd6 Some IDE generated files and directories violate boost guidelines, so ignore. Beman 2014-08-15 12:01:05 -04:00
  • 49866e0784 Update the README for the boostorg repo. Beman 2014-08-15 11:12:19 -04:00
  • 17ca240b10 Use boost/predef/detail/endian_compat.h to determine endianness. Beman 2014-08-15 10:59:49 -04:00
  • ea44132749 Add native float tests. Beman 2014-08-13 14:02:09 -04:00
  • f489fad5e0 Also add aligned float types. Add docs. No tests yet. Beman 2014-08-13 13:44:28 -04:00
  • 8ea7d201f9 native_float32_t and native_float64_t, fixing issue #2. Beman 2014-08-13 13:23:11 -04:00
  • 84ad1a041f Merge develop Beman 2014-08-13 08:31:11 -04:00
  • 62943e150e Do a pass through docs, bringing up to date where needed. Beman 2014-08-12 10:34:37 -04:00
  • 071099b656 Remove commented out code residue from treating native as a synonym for big or little. Beman 2014-08-12 08:29:24 -04:00
  • d31caa413c Add types native synonyms. All tests now passing, at least on a little endian machine. Beman 2014-08-11 17:17:50 -04:00
  • 8e5cd7dfc4 Treat "native" as synonym for "big" or "little" according to platform endianness, as suggested by Vicente J Botet. Converter_test working. Beman 2014-08-11 16:21:04 -04:00
  • 108a0a6d90 Update to reflect Boost moving to git and GitHub. Beman 2014-08-11 10:12:53 -04:00
  • f2dad97c44 Upgrade to msvc 2013. Rename msvc2012 to msvc so directory doesn't have to be renamed each msvc release. Beman 2014-08-11 10:01:24 -04:00
  • 05ac935450 Update done list. Beman 2014-05-16 17:15:01 -06:00
  • 8c36890e77 Test and doc updates for Pierre Talbot's int8_t/uint8_t reverse_value() and templated reverse() patch. ptal-master Beman 2014-04-16 13:52:24 -04:00
  • 11fc1ea374 Add overloads for int8_t and uint8_t (rational: useful with generic programming). Template the reverse function (same body in each overloads). Pierre Talbot 2014-01-22 18:09:50 +01:00
  • d339470e6e Remove "explicit" from Endian type constructors. Rationale: Having to write "cntr.insert(big_int32_t(value))" instead of "cntr.insert(value)" gets old fast when you are writing application code and the use case arises more or less continuously. Additionally, the use of an endian type is an implementation detail that should not leak into the application code that needs to create values of the type. Furthermore, the ambiguities that caused the constructors to be made explicit no longer occur; they were eliminated when BOOST_MINIMAL_INTEGER_COVER_OPERATORS was introduced to removed a dependency on boost/operators.hpp. If an ambiguity does arise, it is easy to clear via a static_cast or a function-style cast. Beman 2013-09-06 10:36:54 -04:00
  • 8713dd08a2 Merge from develop; add breaking change message. Beman 2013-09-01 09:13:17 -04:00
  • 22728f62e2 Add breaking changes heads up Beman 2013-09-01 09:10:00 -04:00
  • 2cd2d4e702 Initial commit. Beman 2013-09-01 08:59:55 -04:00
  • 55dcb406f8 Merge from Master Beman 2013-09-01 08:56:47 -04:00
  • 79391248e0 Add the build .bat files as a maintenance aid. Beman 2013-09-01 08:44:27 -04:00
  • 016d3b2e7c Rename the endian typedefs. Rationale: Subjective - during three months working on the B-tree library, the *un_t names were a constant source of irritation. Objective - the new scheme, which reverts the *un_t names to having no alignment decoration, provides consistent *_align* decoration for both FP and integer types. Also, the library now provides conversion functions which may reduce use of aligned endian types. Beman 2013-09-01 08:40:32 -04:00
  • d1d62f3adc Use detail::reverse_value() to implement reverse_value() for float and double, thus eliminating type-punning warning from gcc. Beman 2013-06-07 15:46:14 -04:00
  • a40d580782 Get 64-bit builds working. Update timings to reflect 64-bit build. Beman 2013-06-06 08:00:28 -04:00
  • 944bf285fa Alignment of 64-bit integers on a 32-bit system may be to a 32-bit boundary! Beman 2013-05-30 10:07:43 -04:00
  • 74b122c581 Alignment of 64-bit integers on a 32-bit system may be to a 32-bit boundary! Beman 2013-05-30 10:07:16 -04:00
  • cd985897e6 By default use a shorter test, but add coverage of the aligned types. Beman 2013-05-30 09:19:42 -04:00
  • 30c44461f6 Only do relational tests if signedness is the same, to quiet GCC warnings. Start using lightweight test. Beman 2013-05-30 08:57:09 -04:00
  • 2fee60f99b Copy from README Beman 2013-05-29 10:37:44 -04:00
  • eb5d1dc602 Merge develop Beman 2013-05-29 09:43:25 -04:00
  • db3864b3d4 Fix boo boos detected by inspect program. Beman 2013-05-29 09:40:35 -04:00
  • 457ed73778 Add more UDT use examples. Link to UDT example in conversion function docs. Beman 2013-05-29 09:04:31 -04:00
  • fbedc9bb9f Remove another bin_manip file. Note that all the bin-manip files have been copied to git@github.com:Beman/bin-manip.git Beman 2013-05-29 08:36:40 -04:00
  • 345e13e2fb Remove support files no longer used. Beman 2013-05-29 08:08:38 -04:00
  • 530dbb679b Fix broken links, tweak content. Beman 2013-05-28 21:33:07 -04:00
  • d188b81207 Spacing and minor content tweak. Beman 2013-05-28 21:11:18 -04:00
  • a690bb27ef FAQ corrections. Beman 2013-05-28 20:53:38 -04:00
  • 4ed706be76 FAQ corrections. Beman 2013-05-28 20:52:42 -04:00
  • bc1257541e Initial gh-pages commit. Beman 2013-05-28 17:08:33 -04:00
  • e6ca50a6a7 Switch to inline style sheet Beman 2013-05-28 17:06:32 -04:00
  • 6c7e94ad15 Add a bit more explanation of examples. Add Release history. Beman 2013-05-28 16:33:59 -04:00
  • b541dfb790 Last pass through docs Beman 2013-05-28 11:04:03 -04:00
  • 9c25d54d38 Finalize index.html discussion. Beman 2013-05-28 09:42:04 -04:00
  • 01eba9b491 Add timing tables. Beman 2013-05-28 08:02:56 -04:00
  • a55a44c67b Loop test time work in progress. Beman 2013-05-28 07:37:52 -04:00
  • 50b5488997 loop_time_test current work-in-progress Beman 2013-05-27 08:53:18 -04:00
  • 32b04869e8 Initial commit loop_time_test.cpp and its infrastructure. Beman 2013-05-27 07:44:29 -04:00
  • 7f9d91e6d2 Rename unaligned integers to fit the floating point pattern. Unifies the naming pattern, deliberately makes the unaligned type names a bit uglier. Beman 2013-05-26 12:05:33 -04:00
  • dff7c1254e Add unaligned floating point types and supporting infrastructure. Beman 2013-05-26 08:25:10 -04:00
  • a7ba65f830 Implement, test, float and double endian types. Beman 2013-05-25 12:16:32 -04:00
  • f8f8d90b1f Eliminate addition as not adding any useful information. Beman 2013-05-24 13:22:48 -04:00
  • 77520edff1 Change speed_test.cpp output to HTML Beman 2013-05-24 11:28:26 -04:00
  • 2f85e370b6 Add 16 and 64 bit varieties Beman 2013-05-23 10:19:56 -04:00
  • 8f55000f6f Finally getting useful speed_test results from both GCC and VC++ Beman 2013-05-23 10:11:29 -04:00
  • 319572d721 Punctuation in comment. Beman 2013-05-23 07:33:06 -04:00
  • 2623b1cfaa Initial commit - Jamfile for speed_test Beman 2013-05-22 14:12:17 -04:00
  • 41f0c15844 Initial done_list.html. Improve general FAQ. Update example. Add BOOST_NOEXCEPT to types.hpp and cover_operators.hpp. Beman 2013-05-22 13:26:51 -04:00
  • c7beb10785 Add alignment test cases for aligned endian types. Beman 2013-05-22 08:46:56 -04:00
  • 6f84684e9e Add separate big and little specializations for aligned case; the attempt to combine into a single specialization was selecting the unaligned specialization. Rework speed_test to try to get more meaningful results and cover more test cases. Beman 2013-05-22 08:14:51 -04:00
  • a855a35c57 align::yes specialization working, using ::boost::endian::convert_value<...>(T). Beman 2013-05-21 17:31:08 -04:00
  • 50e389f63c Preliminary work on align::yes specialization. Beman 2013-05-21 17:03:07 -04:00
  • 4d6f7001fa Create separate synopsis section Beman 2013-05-21 08:38:24 -04:00
  • ddb5936b68 Yet another naming scheme for type synonyms. Aligned type names now exactly follow the <cstdint> pattern, while the unaligned names elide "int". Beman 2013-05-21 07:56:27 -04:00
  • 870b542456 Rename endian types to a scheme that mimics cstdint.hpp. Change test and example code accordingly. Beman 2013-05-20 17:03:12 -04:00
  • c1dff8958c Continue doc refinement. Beman 2013-05-20 15:04:33 -04:00
  • ecaabbeba4 Rename integers.html to types.html, mimicing the rename of the header. Beman 2013-05-20 09:12:00 -04:00
  • f13a9cd6a4 Rename integers.hpp to types.hpp in case floating point is someday supported. Beman 2013-05-20 09:07:01 -04:00
  • ee750c0ec8 Minor edits to conversion docs. Edits plus add Advantages table to index.html. Beman 2013-05-20 08:47:38 -04:00
  • 6130c5f84c Continue refinement of specs. Add to FAQ. Create function group bookmarks and link to them. Beman 2013-05-19 17:08:42 -04:00
  • 29d65d2e2f Add FAQ. Update Acknowledgments. Supply ReversibleValue and Reversible requirements. Beman 2013-05-19 11:07:33 -04:00
  • e4a92a56b0 Semantics complete. Beman 2013-05-19 08:26:09 -04:00
  • 1fc19c5a27 Rename actual_order to effective_order. We don't know the actual order. Simplify an expression. Beman 2013-05-19 07:15:09 -04:00
  • 0eb9d41ab6 Complete synopsis update. Beman 2013-05-18 17:10:00 -04:00
  • ac46dae0cc Start rework of synopsis. Beman 2013-05-18 16:53:27 -04:00
  • 9089eb037b Rename header converters.hpp back to conversion.hpp. Clean up infrastructure. Beman 2013-05-18 16:14:30 -04:00
  • de91bcd571 Cleanup residue from prior changes. Beman 2013-05-18 15:09:51 -04:00
  • c0fc4cdf8c Somewhat more interesting results after redoing loop based on iteration count rather than time. Release builds particularly interesting. Beman 2013-05-18 10:27:18 -04:00
  • 2b18459db0 Speed_test working, although not yielding useful results. Beman 2013-05-18 08:28:27 -04:00
  • 90eea0566c Fix misplaced namespace endian Beman 2013-05-18 08:27:37 -04:00
  • b587bab1db Add speed_test infrastructure. Beman 2013-05-17 13:19:45 -04:00
  • 4a2ccdcfc8 Fix failure to define BOOST_ENDIAN_INTRINSIC_MSG when user defines BOOST_ENDIAN_NO_INTRINSICS Beman 2013-05-16 17:48:47 -04:00
  • 9a1d520572 Use a more robust detection of __builtin_bswap funtions for Clang. Fix Clang lack of __builtin_bswap16 in some releases. To be conservative only, fallback to byteswap.h if __linux__ is defined. Fix intrinsic_test so that <cstdint> isn't required. Beman 2013-05-16 17:22:38 -04:00
  • 4066443d89 Rework intrinsic.hpp to handle GCC and Clang __builtin_bswap* if available. Add test program. Beman 2013-05-16 10:40:18 -04:00
  • 88268249a9 Remove inclusion of unreferenced headers. Add comment about Microsoft/Visual Studio availability of intrinsics. Beman 2013-05-15 15:38:34 -04:00
  • 8b4bd2adfc Add synonyms based on names popularized by BSD, e.g. OS X, Linux. Beman 2013-05-15 08:51:05 -04:00
  • 09b361e161 Simulated function template partial specialization working. converter_test and pair_test passing. Beman 2013-05-14 17:59:50 -04:00