Commit Graph

64 Commits

Author SHA1 Message Date
Beman 05ea08995c Pass through index.html making corrections and editorial changes. 2014-12-15 08:40:35 -05:00
Beman e8530e4563 Add FAQ entry for built-in integer names. 2014-12-11 12:05:31 -05:00
Beman 971ba888d6 Decompose Reversible into EndianReversible and EndianReversibleInplace. 2014-12-11 11:41:44 -05:00
Beman 66a7a0bfac Minor editing tweaks. 2014-12-10 09:58:01 -05:00
Beman c201455c84 Change "in_place" to "inplace". Rationale: shortens names without impacting expressiveness. 2014-12-10 09:39:03 -05:00
Beman 2cbcd6f7d3 Rename "runtime_conditional_reverse" to "conditional_reverse". The differing number of arguments is sufficient to disambiguate the compile-time and run-time overloads. 2014-12-10 09:26:47 -05:00
Beman c8d4ab2d11 Add comment about Requirements so it won't be forgotten. 2014-12-10 08:40:56 -05:00
Beman dcca2835a9 Rename "reverse_endianness" to "endian_reverse". Shorter but still plenty explicit. See bikeshed.txt for alternatives considered. 2014-12-10 08:30:30 -05:00
Beman e4466edf4e Drop the _unless_big and _unless_little functions. KISS. They were confusing, and less confusing names were never found. 2014-12-09 20:43:47 -05:00
Beman 55a65c3806 Revert to again supply the reverse_endianness_in_place template. This has the effect of providing a default reverse_endianness_in_place for user-defined types. Add error checking for UDT's to verify this works as desired. Provide a note in the conversion docs to that effect. 2014-12-09 11:36:42 -05:00
Beman 28fd6ef4b0 Bring docs in sync with implementation. Still somewhat incomplete. 2014-12-09 07:04:48 -05:00
Beman f96cec4f17 Work-in-progress on endian_buffer docs. 2014-12-06 08:16:35 -05:00
Beman b6c9150aea Doc tweeks. 2014-12-05 09:03:17 -05:00
Beman e2045b7ffa Finalize buffer and arithmetic decomposition. Finalize name changes. Finalize test cases. Remove cruft. Docs still to do. 2014-11-26 10:04:33 -05:00
Beman 56103a7bc6 Finish conversion.hpp cleanup after name changes. conversion_test.cpp return-by-value tests reorganized and passing. UTD and in-place tests still to come. Add doc/bikeshed.txt to keep record of naming rationale. 2014-11-24 10:04:23 -05:00
Beman 84faaa7bbf Rename the conversion functions to discourage unthinking use of the in-place versions as these are unsafe in that they effectively break the type system by treating the buffer as an undescriminated union. Remove the synonym functions based on names popularized by BSD, OS X, and Linux since these are permitted to be implemented as macros, which would cause endless difficulties if encountered. 2014-11-20 15:38:25 -05:00
Beman 8a9ea6747d Preliminary doc changes to reflect addition of buffers. 2014-11-19 15:58:15 -05:00
Beman 31f930330d Refine "Choosing between endian types and endian conversion functions" docs. 2014-11-14 09:52:44 -05:00
Beman c755a6b6af Add overall css style sheet for more uniform presentation and ease of maintenance. 2014-11-12 08:26:01 -05:00
Beman c41521cead For the endian types, add stream inserters and extractors as requested during the formal review. 2014-11-11 21:08:08 -05:00
Beman a1be441f8f Initial commit 2014-11-11 10:50:12 -05:00
Beman 4cfeb52325 Fix broken link. 2014-08-15 13:11:37 -04:00
Beman e2e99a2e43 Rename to meet boost file name guidelines. 2014-08-15 12:59:23 -04:00
Beman f489fad5e0 Also add aligned float types. Add docs. No tests yet. 2014-08-13 13:44:28 -04:00
Beman 62943e150e Do a pass through docs, bringing up to date where needed. 2014-08-12 10:34:37 -04:00
Beman 05ac935450 Update done list. 2014-05-16 17:15:01 -06:00
Beman 8c36890e77 Test and doc updates for Pierre Talbot's int8_t/uint8_t reverse_value() and templated reverse() patch. 2014-04-16 13:52:24 -04:00
Beman 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. 2013-09-06 10:36:54 -04:00
Beman 22728f62e2 Add breaking changes heads up 2013-09-01 09:10:00 -04:00
Beman 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. 2013-09-01 08:40:32 -04:00
Beman a40d580782 Get 64-bit builds working. Update timings to reflect 64-bit build. 2013-06-06 08:00:28 -04:00
Beman 944bf285fa Alignment of 64-bit integers on a 32-bit system may be to a 32-bit boundary! 2013-05-30 10:07:43 -04:00
Beman 2fee60f99b Copy from README 2013-05-29 10:37:44 -04:00
Beman db3864b3d4 Fix boo boos detected by inspect program. 2013-05-29 09:40:35 -04:00
Beman 457ed73778 Add more UDT use examples. Link to UDT example in conversion function docs. 2013-05-29 09:04:31 -04:00
Beman 530dbb679b Fix broken links, tweak content. 2013-05-28 21:33:07 -04:00
Beman d188b81207 Spacing and minor content tweak. 2013-05-28 21:11:18 -04:00
Beman 4ed706be76 FAQ corrections. 2013-05-28 20:52:42 -04:00
Beman e6ca50a6a7 Switch to inline style sheet 2013-05-28 17:06:32 -04:00
Beman 6c7e94ad15 Add a bit more explanation of examples. Add Release history. 2013-05-28 16:33:59 -04:00
Beman b541dfb790 Last pass through docs 2013-05-28 11:04:03 -04:00
Beman 9c25d54d38 Finalize index.html discussion. 2013-05-28 09:42:04 -04:00
Beman 01eba9b491 Add timing tables. 2013-05-28 08:02:56 -04:00
Beman a55a44c67b Loop test time work in progress. 2013-05-28 07:37:52 -04:00
Beman 50b5488997 loop_time_test current work-in-progress 2013-05-27 08:53:18 -04:00
Beman 7f9d91e6d2 Rename unaligned integers to fit the floating point pattern. Unifies the naming pattern, deliberately makes the unaligned type names a bit uglier. 2013-05-26 12:05:33 -04:00
Beman dff7c1254e Add unaligned floating point types and supporting infrastructure. 2013-05-26 08:25:10 -04:00
Beman a7ba65f830 Implement, test, float and double endian types. 2013-05-25 12:16:32 -04:00
Beman 41f0c15844 Initial done_list.html. Improve general FAQ. Update example. Add BOOST_NOEXCEPT to types.hpp and cover_operators.hpp. 2013-05-22 13:26:51 -04:00
Beman 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. 2013-05-22 08:14:51 -04:00