Permalink
Commits on Aug 12, 2017
  1. Merge pull request #7064 from kinke/ctfe

    Make more Phobos math primitives CTFE-able
    WalterBright committed on GitHub Aug 12, 2017
Commits on Aug 11, 2017
  1. Fix CTFloat.isInfinity() (ignore real_t padding bytes)

    kinke committed Aug 11, 2017
Commits on Aug 10, 2017
  1. Make std.math.{isNaN,isInfinity,isFinite} CTFE-able

    These are important primitives, used by a multitude of std.math functions.
    They are implemented by bitcasting the floating-point value to an
    array of shorts, then checking the exponent bits etc. The interpreter
    apparently doesn't support CTFE bitcasts of values > 64 bits, e.g.,
    80-bit host real_t values, so this prevented CTFE-ability of these
    function templates until now.
    
    [Bitcasts of CTFE real_t values would be poison for cross-compilers if the
    host real_t type doesn't match the target real type.]
    
    So detect these 3 templates as builtins and use existing CTFloat
    functionality as CTFE implementations.
    kinke committed Aug 5, 2017
  2. bump VERSION to v2.075.1

    MartinNowak committed Aug 10, 2017
  3. Merge pull request #7076 from WalterBright/fix17388

    fix Issue 17388 - [scope] e[] should be treated like &e as far as sco…
    merged-on-behalf-of: Martin Nowak <code@dawg.eu>
    dlang-bot committed on GitHub Aug 10, 2017
  4. fix Issue 17388 - [scope] e[] should be treated like &e as far as sco…

    …pe goes
    WalterBright committed Aug 10, 2017
  5. Merge pull request #7075 from ibuclaw/vectorfish

    fix Issue 17735 - AssertError@ddmd/target.d(357): unhandled op using fish operators
    merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
    dlang-bot committed on GitHub Aug 10, 2017
  6. Merge pull request #7066 from ibuclaw/issue17721

    fix Issue 17721 - Wrong expression type using vector extensions with shift operands
    merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
    dlang-bot committed on GitHub Aug 10, 2017
Commits on Aug 9, 2017
  1. Merge pull request #7074 from JohanEngelen/lexertestfix

    Gag errors during testing Lexer with malformed input.
    merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>
    dlang-bot committed on GitHub Aug 9, 2017
  2. fix Issue 17721 - Wrong expression type using vector extensions with …

    …shift operands
    ibuclaw committed Aug 6, 2017
  3. fix Issue 17735 - AssertError@ddmd/target.d(357): unhandled op using …

    …fish operators
    ibuclaw committed Aug 9, 2017
  4. Gag errors during testing Lexer with malformed input.

    JohanEngelen committed Aug 9, 2017
  5. add Spec links to expression.d

    WalterBright committed Aug 5, 2017
Commits on Aug 8, 2017
  1. Merge pull request #7023 from tgehr/fix17688

    fix Issue 17688 - ICE with static foreach directly inside switch
    merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
    dlang-bot committed on GitHub Aug 8, 2017
  2. Merge pull request #7067 from ibuclaw/issue17722

    fix Issue 17722 - Wrong diagnostic using __traits(compiles, e1 && e2) expressions
    merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
    dlang-bot committed on GitHub Aug 8, 2017
  3. Merge pull request #7050 from JohanEngelen/lexerfuzz1

    Fix Lexer memory access beyond the given buffer when malformed input is passed.
    merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
    dlang-bot committed on GitHub Aug 8, 2017
  4. Remove remnant of testing.

    JohanEngelen committed Aug 8, 2017
  5. Merge pull request #7030 from CyberShadow/pull-20170726-092337

    Fix license and source links
    WalterBright committed on GitHub Aug 8, 2017
  6. Add a few more access violation testcases.

    JohanEngelen committed Aug 8, 2017
  7. Complete rework of patch.

    Instead of verifying `p <= end`, make sure we never advance beyond the terminating character.
    JohanEngelen committed Aug 2, 2017
  8. Lexer: remove null-terminated requirement and return TOKeof upon end …

    …of stream. The same effect is fullfilled by the endoffset.
    JohanEngelen committed Jul 31, 2017
  9. Fix Lexer memory access beyond the given buffer when malformed input …

    …is passed.
    
    This change also enforces that the buffer is really null-terminated (or EOF), and that the terminating null character is included in the buffer interval that the Lexer should lex.
    When a string is passed, the implicit null-terminator is necessary and the code must be modified:
    +    string text = "int"; // the test relies on this string begin null-terminated
    -    scope Lexer lex1 = new Lexer(null, text.ptr, 0, text.length, 0, 0);
    +    scope Lexer lex1 = new Lexer(null, text.ptr, 0, text.length+1, 0, 0);
    JohanEngelen committed Jul 31, 2017
  10. Add links to DDMD documentation pages on dlang.org

    CyberShadow committed Aug 8, 2017
  11. Merge pull request #6994 from luismarques/d16

    Add MSP430, D_P16 version identifiers
    merged-on-behalf-of: Martin Nowak <code@dawg.eu>
    dlang-bot committed on GitHub Aug 8, 2017
  12. fix Issue 17722 - Wrong diagnostic using __traits(compiles, e1 && e2)…

    … expressions
    ibuclaw committed Aug 6, 2017
  13. Merge pull request #7025 from WalterBright/fix17428

    fix Issue 17428 - [scope] class field assignment allows to escape sco…
    merged-on-behalf-of: Rainer Schuetze <rainers@users.noreply.github.com>
    dlang-bot committed on GitHub Aug 8, 2017
  14. Remove underscores from URLs, thus making them clickable

    CyberShadow committed Aug 8, 2017
Commits on Aug 7, 2017
  1. fix Issue 17428 - [scope] class field assignment allows to escape sco…

    …pe parameters
    WalterBright committed Jul 26, 2017
  2. Merge pull request #7024 from tgehr/fix17689

    fix Issue 17689 - finally clause leaks declarations
    merged-on-behalf-of: Rainer Schuetze <rainers@users.noreply.github.com>
    dlang-bot committed on GitHub Aug 7, 2017
  3. Change formatting.

    tgehr committed Aug 7, 2017
  4. fix Issue 17688 - ICE with static foreach directly inside switch

    tgehr committed Jul 26, 2017
  5. bump VERSION to v2.075.1-b1

    MartinNowak committed Aug 7, 2017