Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: crystal-lang/crystal
base: a8b93366f0d1
Choose a base ref
...
head repository: crystal-lang/crystal
compare: eeac6ac3e4c2
Choose a head ref
  • 6 commits
  • 10 files changed
  • 1 contributor

Commits on May 25, 2017

  1. Extract Sys::Random from SecureRandom

    Extracts the platform specific parts out of SecureRandom into a
    simple API in `sys/random` that should be implemented for each
    platform.
    ysbaddaden committed May 25, 2017
    Copy the full SHA
    0538f66 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0c6135b View commit details
    Browse the repository at this point in the history
  3. Add Random::System

    Allows to generate random numbers using a secure source provided by
    the system. It actually uses the same source as SecureRandom.
    
    Includes changes by Oleh Prypin (@prypin) to try and read as few
    bytes are required from `/dev/urandom`.
    ysbaddaden committed May 25, 2017
    Copy the full SHA
    704a05b View commit details
    Browse the repository at this point in the history

Commits on May 30, 2017

  1. Add skip_file macros to crystal/system implementations

    Protects against glob requires of `crystal/system/**` that would
    fail, since it would load conflicting or incompatible
    implementations.
    ysbaddaden committed May 30, 2017
    Copy the full SHA
    971e4fb View commit details
    Browse the repository at this point in the history
  2. Add :unix compilation flag

    This is automatically set based on the target triple for known unix
    systems. This should eventually simplify skip_file conditions for
    generic UNIX implementations.
    ysbaddaden committed May 30, 2017
    Copy the full SHA
    fde3b75 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #4450 from ysbaddaden/extract-sys-random-namespace

    Crystal::System::Random namespace
    ysbaddaden committed May 30, 2017
    Copy the full SHA
    eeac6ac View commit details
    Browse the repository at this point in the history