Commit Graph

  • 9ad75d9f82 Fix list::assign master rexy712 2022-07-22 10:02:32 -07:00
  • eafe6f5a21 Add missing exception specs to basic_string and basic_string_view. Also implement some missing std functionality to them rexy712 2022-07-20 19:13:21 -07:00
  • 2fe6f0b4e1 Add noexcept specification to list rexy712 2022-07-20 17:29:08 -07:00
  • dff3303733 Add string comparisons rexy712 2022-07-20 13:31:11 -07:00
  • a21c7312f5 Change node names to list_node rexy712 2022-07-19 17:43:21 -07:00
  • 11d64d12a0 I couldn't figure out how to make construct_at work with an aggregate. I checked the libstdc++ sources and they call placement new directly, so I'm giving up on that. Changed node over to manual constructors and it seems to work much better. Also made it so list constructors don't call 'assign' because that required stored types to implement assignment operators during construction. rexy712 2022-07-19 17:39:29 -07:00
  • b6a8c83e0b Add list class rexy712 2022-07-19 16:44:34 -07:00
  • c4d83b0310 Update detail::value_iterator to become constant_iterator rexy712 2022-07-19 16:44:25 -07:00
  • 858f7533e6 Make hasallocator take advantage of empty base optimization for simpler code rexy712 2022-07-19 16:43:19 -07:00
  • 43dc4b6654 Add some functionality to make filerd more usable rexy712 2022-07-19 16:42:47 -07:00
  • e636ba47fe Fix insert_impl... again rexy712 2022-07-16 19:55:33 -07:00
  • 13ce1550e2 Fix string_view not checking for oversized needles during in search function rexy712 2022-07-16 18:31:13 -07:00
  • 0ac55f3699 Improve build times by not including functional rexy712 2022-07-15 16:37:42 -07:00
  • 1d06516181 Use correct memcpy rexy712 2022-07-15 16:37:06 -07:00
  • 26b7723f19 Make buffer actually constexpr-able rexy712 2022-07-15 16:36:54 -07:00
  • c054600b05 Add success printout to tests to make it easier for robert to tell if they succeeded or not rexy712 2022-06-30 12:49:48 -07:00
  • eb10cf1375 Make dll builds on msvc output to same directory as tests so they should be able to run without manually copying rexy712 2022-06-30 12:42:43 -07:00
  • 503efeb6b5 Update filerd to use std namespace types/functions. rexy712 2022-06-30 12:22:09 -07:00
  • 6372262304 Fix msvc warnings rexy712 2022-06-30 12:14:46 -07:00
  • 7ee0beb343 Remove some dead code and fix format output when to_chars gives a value other than 'nan' or 'inf' rexy712 2022-06-30 12:14:23 -07:00
  • dfa4202e55 Add some formatting tests rexy712 2022-06-30 11:37:58 -07:00
  • 5eb7821cfc Fix some formatting output issues rexy712 2022-06-30 11:37:46 -07:00
  • d4ab8fb401 List initialize default integer types because I think it looks better rexy712 2022-06-30 10:43:35 -07:00
  • 3c9b318218 Fix warning rexy712 2022-06-30 10:43:10 -07:00
  • 4e764d2205 General header #include cleanup rexy712 2022-06-29 17:59:49 -07:00
  • 50f6f81a05 Simplify print logic and make utf-8, utf-16, and utf-32 encodings detectible rexy712 2022-06-29 17:48:53 -07:00
  • 2f64eb40f0 Fix MSVC build failure rexy712 2022-06-29 17:46:57 -07:00
  • 1165165657 Fix utility not using the correct functions for runtime rexy712 2022-06-29 17:34:26 -07:00
  • 31327248e0 Change buffer to use allocator traits rexy712 2022-06-29 17:32:02 -07:00
  • d9cba881ac Remove excess include rexy712 2022-06-26 14:56:41 -07:00
  • 272b5c1238 Use invoke_result_t in threadpool rexy712 2022-06-26 14:56:24 -07:00
  • 2ecbff1cdd Clean up rexy::hash stuff rexy712 2022-06-26 14:20:44 -07:00
  • fb19bdec67 Macro to check for c++20 support instead of long form writing rexy712 2022-06-26 11:55:56 -07:00
  • 7f47a4cbf8 Make allocator and string_base compat easier to read and remove unneccessary concepts subdirectory rexy712 2022-06-26 11:55:35 -07:00
  • 5a6d7023ac Separate versioning compat in traits rexy712 2022-06-25 09:06:13 -07:00
  • 329a79c3ea Fix c++17 build failure rexy712 2022-06-24 23:02:27 -07:00
  • 5ce29908df Change size_t to std::size_t rexy712 2022-06-23 15:54:09 -07:00
  • 61987d937b Add rsearch to basic_string to find last match in buffer rexy712 2022-06-23 15:39:35 -07:00
  • cdd51a6e3a Remove deprecated string functions. Add replace functions to basic_string. rexy712 2022-06-23 15:03:40 -07:00
  • 2a69be29a6 Some minor cleanup to macros and future standard stuff rexy712 2022-06-22 18:18:38 -07:00
  • 37e02ca871 Fix C++17 build rexy712 2022-06-22 16:43:34 -07:00
  • 3d17d3ec8c Add rexy::format and rexy::print functions rexy712 2022-06-22 13:42:53 -07:00
  • 1bc234cbca Change API macro names to be more consistent. rexy712 2022-06-22 13:42:07 -07:00
  • 24ef556ab7 Improve basic_string type to include more functionality of std::string. Also add option to disable SSO if so desired rexy712 2022-06-22 13:30:00 -07:00
  • 1799c1640b Add insertion functions to basic_string. Add size function to basic_string. rexy712 2022-06-21 19:31:07 -07:00
  • 00355a64c6 Update cx::string to be more level with string_view rexy712 2022-06-19 18:46:02 -07:00
  • e5d8c0f567 Move string_view literal operators to str_literals namespace rexy712 2022-06-19 11:39:54 -07:00
  • d5a0f1927d Add iterators to cx/string and fix including null terminator in length when created from an array rexy712 2022-06-19 11:27:57 -07:00
  • 588835d80a Fix strcmp not using 'if constexpr' and add strncmp rexy712 2022-06-19 11:27:26 -07:00
  • da5eb13d94 Fix not using constexpr-able version of strlen in strings rexy712 2022-06-18 10:38:08 -07:00
  • 6937f1a885 Fix GCC >= 10 -Wstringop-overflow warning when build with -O3 rexy712 2022-06-18 10:33:23 -07:00
  • a2ba8b9eb6 Separate debug defines from debug_print to allow using them in other stuff rexy712 2022-06-17 13:43:30 -07:00
  • 56d680e036 Add substring function to string_view rexy712 2022-06-17 13:41:10 -07:00
  • a7474d5939 Update cx::string to have better c++20 support rexy712 2022-06-17 13:40:48 -07:00
  • 6f07577bf0 Fix abs placement in utility rexy712 2022-06-11 08:49:04 -07:00
  • 35b64db13c Merge remote-tracking branch 'refs/remotes/origin/master' rexy712 2022-06-11 08:47:50 -07:00
  • feca03e9c9 Change utility functions to use more efficient runtime versions when invoked at runtime rexy712 2022-06-11 08:47:47 -07:00
  • 1acce4c588 Add is_nothrow_allocator type trait rexy712 2022-06-08 19:21:49 -07:00
  • e96899ceba Fixed abs just not doing anything rexy712 2022-06-08 16:06:24 -07:00
  • 8ab328fcfe Make string_view trivially copy-able and trivially move-able. Add wstring alias for basic_string<wchar_t>. Add constexpr version of 'abs' function. rexy712 2022-06-08 12:09:52 -07:00
  • fd22069562 Add some iterator manipulation to string_view. Add a push_back function to strings so that they can be used in standard library stuff more rexy712 2022-05-28 16:06:08 -07:00
  • 058ebe026e Fix string hashing header includes rexy712 2022-05-25 12:30:35 -07:00
  • 99b0ac2ed3 Fix storage_for and revert one changed macro to correct constexpr behavior rexy712 2022-05-24 17:35:14 -07:00
  • 2578895b40 More general cleanup of conditional C++20 support. Add Allocator concept and apply it to strings. rexy712 2022-05-24 17:24:55 -07:00
  • 9a55d8594b General code cleanup and allow for more C++20 rexy712 2022-05-24 14:37:41 -07:00
  • 8b6b421c52 Merge branch 'master' of ssh://rexy712.chickenkiller.com:1995/rexy712/rexylib rexy712 2022-05-23 18:26:26 -07:00
  • 5e49ed5f9a Enable header only build rexy712 2022-05-23 18:25:44 -07:00
  • 075a0b0af2 fix buffer append v0.2.1 rexy712 2022-05-22 19:35:13 -07:00
  • 3fc89111ea Remove deprecated class binary and string_view operators. Move string_view into its own files. Update version to 0.2.0. v0.2.0 rexy712 2022-05-22 15:14:34 -07:00
  • e5cf445f19 Fix c++17 string compat rexy712 2022-05-21 23:21:31 -07:00
  • d9f44cfeda Fix missing string comparisons rexy712 2022-05-21 22:42:21 -07:00
  • 1ece6dccca Separated string_view from string_base. Add c++20 string concepts and created a new subfolder for c++17 compatability. rexy712 2022-05-21 12:38:33 -07:00
  • e576229d90 Separated string_view from string_base. Add c++20 string concepts and created a new subfolder for c++17 compatability. rexy712 2022-05-21 12:38:23 -07:00
  • 30bad78580 Add ostream integration to strings rexy712 2022-05-21 09:25:08 -07:00
  • 53378eb6c3 Change hashmap is_valid to contains, separate implementation to separate file. Add iterator constructors to string_view rexy712 2022-05-21 09:12:35 -07:00
  • 54c8e24fab Fix cyclical header inclusion rexy712 2022-04-20 15:56:06 -07:00
  • 7f9a1195fa Make rexy::hash work on c++ standard containers rexy712 2022-04-20 15:38:30 -07:00
  • 11ea9db137 Enable some c++20 constexpr features for strings rexy712 2022-03-20 18:33:01 -07:00
  • adc52a3659 Rename static_string to string_view rexy712 2022-03-20 14:16:18 -07:00
  • a838f1a25a Add storage_for class to take the place of std::aligned_storage but with nice constructors and assignment operators and accessors added rexy712 2022-03-06 19:20:07 -08:00
  • f537cb8bdf Make rexy::buffer capable of holding non trivially destructible types rexy712 2022-03-06 11:12:14 -08:00
  • 2e7d214660 Fix debug_print for clang rexy712 2022-02-24 16:47:28 -08:00
  • bb6cc3e783 Fix missing namespace rexy712 2022-02-24 11:03:51 -08:00
  • 700a3484ac Fix source_location for clang rexy712 2022-02-23 19:57:34 -08:00
  • 7cfe707bc3 Add missing source file and fix license incorrectly saying GPL Affero instead of just GPL rexy712 2022-02-23 16:53:42 -08:00
  • 8a3b5045cd Add some types I've made over the last month or so from other projects rexy712 2022-02-23 16:24:16 -08:00
  • ffcd4962fe Fix clang bug again rexy712 2022-01-16 17:55:20 -08:00
  • 4cdcf6e165 Add missing include rexy712 2022-01-07 23:03:36 -08:00
  • 4f379d75ec Add size query to mpmc_queue rexy712 2021-09-18 15:42:08 -07:00
  • 01e78a1a01 Add thin buffer wrapping class rexy712 2021-06-23 12:51:20 -07:00
  • a17886b706 Fix bug in mpmc_queue causing objects larger than cacheline to fail during compilation v0.1.1 rexy712 2021-06-18 21:46:55 -07:00
  • c5776e8d2f Fix soname rexy712 2021-04-11 19:25:02 -07:00
  • aa63f840f8 Add version directive v0.1.0 rexy712 2021-04-11 19:13:08 -07:00
  • baaec5dfec Fix issue with building tests with static library rexy712 2021-04-11 15:13:38 -07:00
  • 0695bfb72c Change LICENSE for AGPLv3 to GPLv3 rexy712 2021-04-11 14:56:24 -07:00
  • dfe0073f03 Fix missing threadpool from result rexy712 2021-04-11 14:52:45 -07:00
  • 09b2a21742 Add license rexy712 2021-04-09 17:31:30 -07:00
  • 774b9362c0 Add meta.hpp rexy712 2021-04-09 17:26:18 -07:00
  • d135b54f1c Fix incorrect preprocessor include check rexy712 2021-04-06 11:16:31 -07:00
  • f0d9d6f6ab Fix linker flags since threadpool needs pthreads rexy712 2020-09-25 06:12:03 -07:00