[phobos] [D-Programming-Language/phobos] 56a47f: a start on std.regex conversion

GitHub via phobos phobos at puremagic.com
Wed Apr 23 11:31:40 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 56a47fd2764ee8ff0ad669ddc494b9f50b09ef8b
      https://github.com/D-Programming-Language/phobos/commit/56a47fd2764ee8ff0ad669ddc494b9f50b09ef8b
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  a start on std.regex conversion

few steps more


  Commit: e713d7bf75369c5542f04150e3450f6c4997237b
      https://github.com/D-Programming-Language/phobos/commit/e713d7bf75369c5542f04150e3450f6c4997237b
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  hacks on the way to integrate new uni into std.regex


  Commit: 421fbfae3f02cf931697fb250db92cb756de0f0f
      https://github.com/D-Programming-Language/phobos/commit/421fbfae3f02cf931697fb250db92cb756de0f0f
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  workaround internal error


  Commit: 4c9e63b9ec7e3e2173f3e39f42c330e8c3d50ce5
      https://github.com/D-Programming-Language/phobos/commit/4c9e63b9ec7e3e2173f3e39f42c330e8c3d50ce5
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  adjust Tries back to 2-level


  Commit: 4692a8a15ca6751be5ffcae4da7725b124e6cc2b
      https://github.com/D-Programming-Language/phobos/commit/4692a8a15ca6751be5ffcae4da7725b124e6cc2b
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  another minor tweak, always use tries not sets for now


  Commit: 6ad8de8e6ac32c9f01a21848cfaf1b39698429da
      https://github.com/D-Programming-Language/phobos/commit/6ad8de8e6ac32c9f01a21848cfaf1b39698429da
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  hack our way to make ctRegex work, some tests disabled


  Commit: f33ba75ebfebab3d8f244b70224a68b1d37a1307
      https://github.com/D-Programming-Language/phobos/commit/f33ba75ebfebab3d8f244b70224a68b1d37a1307
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  Kickstart not quite ready, casefolding too. Otherwise looks fine


  Commit: dee35f6b53ac013e0f04e1a955799af33895f087
      https://github.com/D-Programming-Language/phobos/commit/dee35f6b53ac013e0f04e1a955799af33895f087
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/uni.d

  Log Message:
  -----------
  introduce simpleCaseFolding to support case-insensitive regex


  Commit: 5a90d786ab807de033738064e22f43882b1aa271
      https://github.com/D-Programming-Language/phobos/commit/5a90d786ab807de033738064e22f43882b1aa271
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/uni.d

  Log Message:
  -----------
  fix range violation for non-existant sets of length < 2


  Commit: 48e7c9a9ade106cf97a72ed08b75b21cce771fa6
      https://github.com/D-Programming-Language/phobos/commit/48e7c9a9ade106cf97a72ed08b75b21cce771fa6
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/uni.d

  Log Message:
  -----------
  make simpleCaseFoldings CTFE-able


  Commit: 2bb2afab43e07cb77183448c4e8667d73c027d72
      https://github.com/D-Programming-Language/phobos/commit/2bb2afab43e07cb77183448c4e8667d73c027d72
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  get our case-insensitive regex back


  Commit: a091d96e8dfd0edfd42b0ce80592b3ba29d408ec
      https://github.com/D-Programming-Language/phobos/commit/a091d96e8dfd0edfd42b0ce80592b3ba29d408ec
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  reanble kickstarter engine in std.regex


  Commit: e6c969195b6627071a2b14dd96edf046da7c2ef0
      https://github.com/D-Programming-Language/phobos/commit/e6c969195b6627071a2b14dd96edf046da7c2ef0
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M posix.mak
    R std/internal/uni.d
    R std/internal/uni_tab.d
    M win32.mak
    M win64.mak

  Log Message:
  -----------
  Get rid of internal.uni, internal.uni_tab

Saving amount to ~290Kb on 32bit.


  Commit: be961d35aaaa826f5f0746e6eaf15e37152e5738
      https://github.com/D-Programming-Language/phobos/commit/be961d35aaaa826f5f0746e6eaf15e37152e5738
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  fix 64bit bitrot


  Commit: 1fa74e5d895b94005347ae959772613ac9fe90b2
      https://github.com/D-Programming-Language/phobos/commit/1fa74e5d895b94005347ae959772613ac9fe90b2
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  fix issue 11784

Actually add a test case, the issue was fixed as part of the set
of commits that precede this one.


  Commit: 20f3e6d89040fa80521b625108fee4352e3324ae
      https://github.com/D-Programming-Language/phobos/commit/20f3e6d89040fa80521b625108fee4352e3324ae
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  Eanble kickstart engine for Thompson as well


  Commit: 1a4d897587a26091b9780f949348a7a86c243bd3
      https://github.com/D-Programming-Language/phobos/commit/1a4d897587a26091b9780f949348a7a86c243bd3
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d
    M std/uni.d

  Log Message:
  -----------
  Enable again linear scans for small sets in std.regex


  Commit: 6f004740aaa6d32af4125366b6d68aea771ff3c6
      https://github.com/D-Programming-Language/phobos/commit/6f004740aaa6d32af4125366b6d68aea771ff3c6
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/uni.d

  Log Message:
  -----------
  Enable latent optimizations in std.uni

Simplify set construction.


  Commit: c9f1c42ed3a8bb92e48bf400ce2f31f434a99905
      https://github.com/D-Programming-Language/phobos/commit/c9f1c42ed3a8bb92e48bf400ce2f31f434a99905
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/uni.d

  Log Message:
  -----------
  Use direct slicing for CowArray, makes for faster debug builds/CTFE code.

Also use Gallop search policy for CodepointSets, as it's closer to
to the common cases for merging charsets.


  Commit: cef454d43280346c52197f785171bb400ef169ec
      https://github.com/D-Programming-Language/phobos/commit/cef454d43280346c52197f785171bb400ef169ec
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  Workaround curious CTFE bug


  Commit: d9e8adacaa76f0c3af9ac89e79bee3c1157ce7c9
      https://github.com/D-Programming-Language/phobos/commit/d9e8adacaa76f0c3af9ac89e79bee3c1157ce7c9
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  Re-adjust test cases for C-T version

Cover even more, but in 5 separate compiler runs.
Few cases still hit CTFE bugs


  Commit: 5baa7ca53c20222b8040f99245610aa2d249efe6
      https://github.com/D-Programming-Language/phobos/commit/5baa7ca53c20222b8040f99245610aa2d249efe6
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  fix issue 10798 ctRegex unicode set ops unimplemented


  Commit: 5cd162bdaf9a1e922c4da9df10c165c2780a5c63
      https://github.com/D-Programming-Language/phobos/commit/5cd162bdaf9a1e922c4da9df10c165c2780a5c63
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M posix.mak
    R std/internal/uni.d
    R std/internal/uni_tab.d
    M std/regex.d
    M std/uni.d
    M win32.mak
    M win64.mak

  Log Message:
  -----------
  Merge pull request #2001 from DmitryOlshansky/uni-meets-regex

New std.uni meets std.regex


Compare: https://github.com/D-Programming-Language/phobos/compare/79903eb19956...5cd162bdaf9a


More information about the phobos mailing list