Permalink
Commits on Sep 24, 2016
  1. fix regexp-matching bug

    In a pattern like
    
     a*b
    
    a naive attempt to match will take quadratic time on an input that
    contains all "a"s an no "b". To improve that case, the regexp compiler
    detects that a match will require a "b" and checks the input for a "b"
    to enable linear-time failure.
    
    That optimization mishandled `(?!...)` and `(?<!...)` patterns,
    treating the must-not-match subpatterns as things that must match.
    So,
    
      (regexp-match "a*(?!b)" "aaaxy")
    
    returned false, because the input doesn't contain "b".
    
    Thie commit repairs the optimization.
    
    Closes #1468
    mflatt committed Sep 24, 2016
Commits on Sep 23, 2016
  1. Add margin-note relating quote-source-file to __FILE__ and __file__.

    tonyg committed Sep 23, 2016
Commits on Sep 15, 2016
  1. fix optimizer bug

    Fix a regression relative to v6.4 caused by a refactoring of the
    compiler between v6.4 and v6.5. The refactoring lost information about
    letrecs that are converted internally to let* when a mutable variable
    is involved, and it ends up allocating a closure before the box of a
    mutable variable that is referenced by the closure. Something like
    `with-continuation-mark` is needed around the closure's `lambda` to
    prevent other optimizations from hiding the bug.
    
    Closes #1462
    mflatt committed Sep 15, 2016
  2. fix optimizer bug

    Closes #1461
    
    Thanks to Gustavo for tracking down the problem.
    mflatt committed Sep 15, 2016
  3. in-directory: sort entries

    Make `in-directory` more like `directory-list` by sorting
    directory content.
    mflatt committed Sep 11, 2016
  4. Merge pull request #1460 from jbclements/add-xml-attribute-encode

    add xml-attribute-encode function
    jeapostrophe committed on GitHub Sep 15, 2016
Commits on Sep 14, 2016
  1. docs for xml-attribute-encode

    jbclements committed Sep 14, 2016
  2. add xml-attribute-encode function

    jbclements committed Sep 14, 2016
Commits on Sep 12, 2016
  1. syntax/srcloc: disarm and rearm when rebuilding syntax (#1448)

    AlexKnauth committed with rmculpepper Sep 12, 2016
  2. add more codes to lookup-errno, relax contract (#1433)

    lookup-errno now returns #f when given an unknown symbol instead
    of raising a contract error. It should not return #f for any
    symbol that it previously accepted.
    rmculpepper committed on GitHub Sep 12, 2016
  3. Propagate srcloc information in wrap-expr/c from syntax/contract (#1418)

    lexi-lambda committed with rmculpepper Sep 12, 2016
Commits on Sep 9, 2016
  1. bring line lengths down below recommended widths

    rfindler committed Sep 7, 2016
  2. fix `chaperone-of?` on bytecode-unmashaled hash tables

    Closes #1456
    mflatt committed Sep 9, 2016
Commits on Sep 8, 2016
  1. Add some examples for the JSON docs

    takikawa committed Sep 8, 2016
Commits on Sep 7, 2016
  1. fix typo in the syntax-arm docs (#1447)

    AlexKnauth committed on GitHub Sep 7, 2016
  2. Make `sql-null?` a struct predicate. (#1450)

    This allows Typed Racket to know that it's pure and safe to use
    as an opaque value.
    samth committed with rmculpepper Sep 7, 2016
Commits on Sep 6, 2016
  1. add vector-sort to racket/vector (#1398)

    * add vector interface to private/sort.rkt
    andmkent committed with samth Sep 6, 2016
Commits on Sep 5, 2016
  1. procedure-rename: don't convert procs into methods or methods into procs

    AlexKnauth committed with rfindler Sep 3, 2016
Commits on Sep 2, 2016
  1. Merge pull request #1446 from AlexKnauth/cdot-left-assoc

    make cdot reader left associative
    jeapostrophe committed on GitHub Sep 2, 2016
Commits on Sep 1, 2016
  1. update read-cdot documentation

    AlexKnauth committed Sep 1, 2016
  2. fix `dynamic-require` on certain forms of re-export from `#%kernel`

    Closes #1445
    mflatt committed Sep 1, 2016
  3. make read-cdot group datums from left-to-right

    so that X.Y.Z is read as (#%dot (#%dot X Y) Z)
    AlexKnauth committed Sep 1, 2016
Commits on Aug 30, 2016
  1. add index for 'chmod'

    bennn committed Aug 29, 2016
  2. Increase timeout.

    samth committed on GitHub Aug 30, 2016
  3. doc typo: nonnegative-exact -> exact-nonnegative

    stchang committed on GitHub Aug 30, 2016
  4. fix validation of known structure mutators

    Specifically, fix the case where the structure type for the mutator
    includes "auto" fields (with no corresponding constructor argument).
    mflatt committed Aug 30, 2016
Commits on Aug 29, 2016
  1. misc minor improvments to unconstrained-domain->

     - add an optimization based on procedure-result-arity
     - make it generate less code
     - fix a few bugs
    rfindler committed Aug 29, 2016
  2. Error rather than return weird #%dot

    jeapostrophe committed Aug 29, 2016
  3. Fix handling of dots at end, maybe should be an error. Closes PR1439

    jeapostrophe committed Aug 29, 2016
  4. Allow concurrent execution of these tests, thanks for the catch Sam

    jeapostrophe committed Aug 29, 2016
Commits on Aug 25, 2016
  1. struct is preferred

    changed 'make-struct' to struct
    spdegabrielle committed with stamourv Aug 25, 2016
Commits on Aug 24, 2016
  1. setup-plt -> raco setup

    Survived unnoticed for 6+ years.
    stamourv committed Aug 24, 2016
  2. fix box/c-as-expression

    closes PR 15341
    rfindler committed Aug 24, 2016