Commit Graph

134 Commits

Author SHA1 Message Date
Beman
3d814f4f52 Add docs for BOOST_ENDIAN_DEPRECATED_NAMES compatibility. Fix inspect issues. 2015-01-19 07:41:28 -05:00
Beman
e9ae69f3d0 Don another pass through the docs. 2015-01-17 16:53:41 -05:00
Beman
35f4c47a22 Add endian_buffer stream inserter and extractor, beef up buffer_test a bit. 2015-01-17 10:25:29 -05:00
Beman
810f5453a6 Work-in-progress, including various bug fixes and doc updates. 2015-01-14 16:28:30 -05:00
Beman
321d5a087a For X86 and X64 architectures, which permit unaligned loads and stores, unaligned little endian buffer and arithmetic types use regular loads and stores when the size is exact. This makes unaligned little endian buffer and arithmetic types significantly more efficient on these architectures.(Pull request from Jeremy Maitin-Shepard) Docs updated, but timing results have not yet been updated. 2015-01-06 16:57:53 -05:00
Beman
c440b3b7da Update modification date. Explicit updated needed because of FrontPage bug. 2015-01-04 09:26:49 -05:00
Beman
a32c13451b Remove Release History details that are already covered by Mini-review page. Add FAQ for C++03 compiler support. 2015-01-04 09:15:28 -05:00
Beman
08b5a27461 Add examples. 2015-01-04 09:13:15 -05:00
Beman
04d079fa61 Refactor "Choosing the approach" into its own page. It was dominating the main home page, yet is really a topic for study after other material is absorbed. 2015-01-02 10:46:53 -05:00
Beman
ca8b904502 Minor edits. Update TOC. 2014-12-31 10:32:47 -05:00
Beman
48f7363cd7 Minor wording refinements. 2014-12-31 10:15:47 -05:00
Beman
4669f1b04b Add design patterns section 2014-12-31 09:57:16 -05:00
Beman
25143c6b9a Clear Inspection Report problems. 2014-12-17 17:48:54 -05:00
Beman
48ea9cc333 Beef up index.html TOC, add msg to publish.bat. 2014-12-17 16:26:33 -05:00
Beman
79709fe054 Add additional use case 2014-12-17 11:57:35 -05:00
Beman
25a00586a2 Replace local ref to boost.png with full URL so works for gh-pages and other environments where local ref is not available. 2014-12-17 09:21:28 -05:00
Beman
c1e46997c8 Initial commit 2014-12-17 09:19:16 -05:00
Beman
5407a099d3 Add use cases 2014-12-16 11:45:22 -05:00
Beman
fb87b21a0d Minor edits. 2014-12-16 10:17:40 -05:00
Beman
d15b2fdb1c Refined rationale for choice of exact-length types for conversion support. 2014-12-16 08:49:01 -05:00
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
Beman
ddb5936b68 Yet another naming scheme for type synonyms. Aligned type names now exactly follow the <cstdint> pattern, while the unaligned names elide "int". 2013-05-21 07:56:27 -04:00
Beman
c1dff8958c Continue doc refinement. 2013-05-20 15:04:33 -04:00
Beman
ecaabbeba4 Rename integers.html to types.html, mimicing the rename of the header. 2013-05-20 09:12:00 -04:00
Beman
f13a9cd6a4 Rename integers.hpp to types.hpp in case floating point is someday supported. 2013-05-20 09:07:01 -04:00
Beman
ee750c0ec8 Minor edits to conversion docs. Edits plus add Advantages table to index.html. 2013-05-20 08:47:38 -04:00
Beman
6130c5f84c Continue refinement of specs. Add to FAQ. Create function group bookmarks and link to them. 2013-05-19 17:08:42 -04:00
Beman
29d65d2e2f Add FAQ. Update Acknowledgments. Supply ReversibleValue and Reversible requirements. 2013-05-19 11:07:33 -04:00
Beman
e4a92a56b0 Semantics complete. 2013-05-19 08:26:09 -04:00
Beman
0eb9d41ab6 Complete synopsis update. 2013-05-18 17:10:00 -04:00
Beman
ac46dae0cc Start rework of synopsis. 2013-05-18 16:53:27 -04:00
Beman
28c5869fa7 Add do-list item fixing <boost/detail/endian.hpp> licensing issue. 2013-03-25 08:27:37 -04:00
Beman
d131123327 Directory reorg to follow Boost Git practice. 2013-03-18 14:57:23 -04:00
bemandawes
ce427e1ba7 No longer needed as install procedure is changing
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@72119 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-05-23 12:48:36 +00:00
bemandawes
f0e141f087 Endian: add endian_io.hpp, endian_hello_world.cpp, scoped_enum_emulation_test.cpp
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@51735 b8fc166d-592f-0410-95f2-cb63ce0dd405
2009-03-12 15:35:35 +00:00