Commit Graph

  • 3461794a68
    Changed ifunc resolver for _jr_resolv to use the `static const` initialiser in the new macro-based constant expression xsubi endianess resolver. The ifunc resolver always had resolved the correct function at compile-time and consists of a single `jmp` into it, this doesn"t change anything but make it consistent with the constant expression resolver"s methods (which do matter for that one.) master Avril 2021-11-08 09:31:29 +0000
  • 045cb7189b
    Added compile-time (macro) determiation of endianess shift needed for jr_state"s bitfield over xsubi. Reduces code size and removes 2 levels of indirection. Avril 2021-11-08 09:17:59 +0000
  • bd22305f77
    started: Adding read_only access qualifier to params of internal X-TU function protos. Avril 2021-11-08 08:05:09 +0000
  • 8eb88a65b4
    Added attr retain to dynctors. Dunno if this does anything, but it doesn"t complain and still works. Avril 2021-11-08 08:01:38 +0000
  • 4da128e510
    Moved dynctor registration into `rng.cpp` (seems to work in *this* TU too. Why not `rng/sm64.cpp` specifically???? very annoying.) Avril 2021-11-08 07:28:54 +0000
  • 3165ef13fd
    Hack to work arround dynctor not being registered when not defined in `crand.cpp" (no idea why, the symbol exists. looking into it.) Avril 2021-11-08 07:23:25 +0000
  • dfb3d74816
    Added SM64 engine to C hard-coded new API Avril 2021-11-08 05:00:27 +0000
  • 8a0ecc0e32
    XXX: Why is sm64"s dynctor not being called? Avril 2021-11-07 19:47:54 +0000
  • d38f0ebd62
    Cannot register sm64 dyn constructor for some reason... Avril 2021-11-06 20:13:17 +0000
  • 86b855bda3
    Added seeding interface. Avril 2021-11-06 20:08:30 +0000
  • d9e34e7e70
    Start: Seeding API Avril 2021-11-06 00:02:26 +0000
  • e0518f2115
    Attempted a better iterator design but C++ doesn"t make it easy iter Avril 2021-11-05 23:45:33 +0000
  • 3ff3db0e3e
    C++ iterators are absolute retarded shite. Their ```design""" makes no sense. Avril 2021-11-05 17:24:31 +0000
  • b071cbb1ad
    Added `nexta[m]` array handling functions. Avril 2021-11-05 16:10:06 +0000
  • 5a4b68ab3f
    Started implementing next for arrays. Avril 2021-11-05 06:14:41 +0000
  • 1cf5ca05b2 Added noexcept to global dtor & ctor Avril 2021-11-05 02:09:27 +0000
  • 4b988ba83b Added name-based runtime engine lookup. Avril 2021-11-05 02:07:11 +0000
  • ebc16f5638 C API: Added individual primitive types `rng_next_*()` Avril 2021-11-04 23:22:52 +0000
  • 12f5e7dd97
    Better debugging of test program Avril 2021-11-04 20:35:19 +0000
  • 25c86023a9
    Fix common.h type alias issue Avril 2021-11-04 20:09:01 +0000
  • 9ebf0384a5 C API basic test capi Avril 2021-11-04 19:44:44 +0000
  • 29187574be
    C API added Avril 2021-11-04 17:47:11 +0000
  • ed1f1d5f03
    C API: Start `next` shim Avril 2021-11-04 14:23:50 +0000
  • fc70397536
    C API: Type spec and flags (start) Avril 2021-11-03 23:23:03 +0000
  • af095e2a41
    Small cleanup Avril 2021-11-03 05:49:08 +0000
  • c38d58b7fe
    Rework C API shim. Now bridges: librngxx (main library C++ interface) @ rngxx.hpp -> >|capi-bridge.cpp <-> capi-bridge.h <-> capi.c|> -> rngxx.h Avril 2021-11-03 05:44:44 +0000
  • 8cdc9648a0 Merge Avril 2021-11-03 05:25:40 +0000
  • b1bed00dcc
    Fix header names. Again... Avril 2021-11-03 05:24:37 +0000
  • d51eb30b6b
    C API start Avril 2021-11-03 05:21:09 +0000
  • f193acd2ea
    Fixed internal header problems (hopefully...) Avril 2021-11-03 00:27:16 +0000
  • 7733ada38b
    Fixed some namespace pollution issues Avril 2021-11-03 00:16:46 +0000
  • 0ecf0be7a7
    Update makefile Avril 2021-11-02 23:48:00 +0000
  • aea2c6b837
    Merge branch 'lib' Avril 2021-11-02 23:46:16 +0000
  • 5b7983154c
    Fix internal includes being installed lib Avril 2021-11-02 23:44:26 +0000
  • 54dfb64596
    Renamed API header & API header location /include Avril 2021-11-02 23:41:15 +0000
  • df0fbadf3b
    Reorganised /include Avril 2021-11-02 23:37:17 +0000
  • 9fb0030c7a
    Compiles for static + shared libraries Avril 2021-11-02 23:32:14 +0000
  • 2281a57bc9
    Hack to get arround the retarded name-based hiding in derrived class overrides fucking up name base name lookups. Avril 2021-11-02 23:27:06 +0000
  • 9b2b2468cc
    Why can"t I call Random:: functions from an instance of derrived class crand??? Avril 2021-10-02 19:25:00 +0100
  • 5f57115683
    Vectorised next_bytes(), next_v*(). Avril 2021-10-02 15:43:09 +0100
  • acc580e031
    Random: Added `next_*(min, max)` Avril 2021-10-02 14:06:16 +0100
  • 800e0ad13b
    <range.h> util::range: Added out-of-place clamp `T clamped(const)` and `T clamped(&&)`. Avril 2021-10-02 01:32:50 +0100
  • a9bc96294a
    Working util::range type and bounded range-scale API! Avril 2021-10-02 01:27:10 +0100
  • 5d69550fff
    Fucking hell... First "attempt" at range API... it doesn"t look good :/ Avril 2021-10-02 00:07:31 +0100
  • 7eaba3c1b3
    Added `aligned_ptr<T>::container_address([const] Self&) -> [const] Self*` to offset the overloaded unary & and avoid need of `std::addressof`. Avril 2021-10-01 19:08:19 +0100
  • fe55da9a5a
    Improved ergonomics for aligned_ptr pointer handling Avril 2021-10-01 19:01:44 +0100
  • ed966944b8
    Added likeliness annotations to some nullptr checks Avril 2021-10-01 18:52:10 +0100
  • ef25f978ff
    Added attrs to internal-exported C API header Avril 2021-10-01 18:23:20 +0100
  • 595fd74a97
    _jr_st_resolv() now takes pointer to the xsub union instead of the whole state. Avril 2021-10-01 17:56:44 +0100
  • b35c0f705d
    Added internal visibility modifier to internal C APIs Avril 2021-10-01 17:54:37 +0100
  • 8e20b86365 crand::_sample() uniformly distributes between 0..1 Avril 2021-10-01 16:06:13 +0100
  • c21c7e77e9
    crand::next_u64() now correctly returns uniformly between 0..=RANGE_MAX Avril 2021-10-01 16:00:22 +0100
  • b59c0671d2
    Added ranges to Random base. Avril 2021-10-01 15:58:52 +0100
  • 977e32c711
    crand: started integer rng overrides Avril 2021-10-01 15:25:07 +0100
  • c8622410d8
    crand: raw sample ok Avril 2021-10-01 15:20:06 +0100
  • ea4538231e
    Fix incorrect uint48_t sizing. Avril 2021-10-01 13:53:48 +0100
  • 2b24ab0408
    All that aligned_ptr<bullshit> work for nothing huh... Avril 2021-09-30 20:34:12 +0100
  • 3b1628d396
    Added mem::aligned_ptr<T> wrapper Avril 2021-09-30 20:25:27 +0100
  • 5ac7fc5e11 start: c Random subclass (jrand48_r()) Avril 2021-09-29 22:24:49 +0100
  • 7bd7964d98
    Random::iterator<T> skel Avril 2021-09-29 21:24:38 +0100
  • ff8c729ef7 Initial commit Avril 2021-09-29 21:10:22 +0100