Skip to content
Commits on Feb 4, 2016
  1. @mfikes @swannodette
  2. @mfikes @swannodette

    CLJS-1551: Self-host: assert-args dormant in macros

    mfikes committed with swannodette
    Since self-host must call macros defined in a different compilation
    stage, the assert-args macro used in if-let and other macros must be
    defined in a different namespace entirely (they can't be in cljs.core
    because this namespace is already being compiled as a macros namespace
    at this point). Introduce a cljs.support namespace for this purpose,
    and to keep things simple, also arrange to have non-bootstrap use this
    namespace for the purpose of assert-args.
  3. @mfikes @swannodette

    CLJS-1552: doc for & should match fn

    mfikes committed with swannodette
    Currently `(doc &)` produces `(empty)` doc as if fn is a special form.
    This revision simply delegates to doc so that `(doc &)` is converted
    to `(doc fn)`. This results in the intended doc for the fn macro to
    be displayed.
  4. @mfikes @swannodette
  5. @mfikes @swannodette
  6. @mfikes @swannodette

    CLJS-1542: Self-host: cljs/compile-str not handling errors properly

    mfikes committed with swannodette
    If you use cljs.js/compile-str on a form that cannot be analyzed, then
    the analysis error is wrapped, but inadvertently passed on to
    compilation as an AST structure. This results in the compiler derailing
    because it tries to process a nil :op.
    
    The fix is to employ the same pattern used in cljs.js/eval-str, namely:
    Wrap successful analysis in a {:value ast} map, and then additionally
    check for an :error key in the result and cb early, otherwise extract
    the :value and continue on to compilation.
  7. @viebel @swannodette

    CLJS-1318: Fix typo in documentation of `specify`

    viebel committed with swannodette
    In the docstring of specify, replace `specify` by `specify!`
  8. @mfikes @swannodette

    CLJS-620: Warnings are generated when using a macro in argument position

    mfikes committed with swannodette
    If the analyzer is about to emit a "use of undeclared Var" warning,
    first check to see if there is a macro present with the same name, and,
    in that case, change the emitted diagnostic to instead display
    a "can't take value of macro" warning.
Commits on Jan 24, 2016
  1. @swannodette
Commits on Jan 19, 2016
  1. @zharinov @swannodette

    CLJS-1547: Wrong output encoding when compile with goog.LOCALE

    zharinov committed with swannodette
    Closure Compiler uses ASCII by default because of legacy reasons.
    Non-ASCII characters are escaped.
    It may lead to larger builds when using i18n facilities.
    
    Also, when using goog.i18n with custom goog.LOCALE option,
    REPL users can see formatted dates in legacy encodings
    of their languages (for example, CP1252 for goog.LOCALE="ru").
    
    This patch provides UTF-8 encoding by default.
    Possible options are:
     * US-ASCII (current default)
     * ISO-8859-1
     * UTF-8 (proposed default)
     * UTF-16BE
     * UTF-16LE
     * UTF-16
    (https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html)
Commits on Jan 18, 2016
  1. @mfikes @swannodette

    CLJS-1546: cljs.core/run! does not always return nil

    mfikes committed with swannodette
    The cljs.core/run! function only returns nil if the proc function
    passed to it returns nil, but the docstring for run! indicates that it
    returns nil.
    
    Fixes this issue by explicitly returning nil. This also makes the
    ClojureScript implementation of run! match that in Clojure 1.8.
    
    Adds unit tests for run!, copying tests from Clojure that exhibit the
    bug, while also adding a test for the primary functionality.
Commits on Jan 8, 2016
  1. @swannodette

    1.7.228

    swannodette committed
Commits on Jan 6, 2016
  1. @mfikes @swannodette

    CLJS-1538: Type hint some cljs.core predicates

    mfikes committed with swannodette
    Add type hints to predicates that directly delegate
    to instance? or satisfies?
  2. @swannodette
  3. @swannodette
  4. @swannodette

    CLJS-1539: Parallel compilation fails on circular dependencies

    swannodette committed
    cljs.js-deps/dependency-order-visit now checks for circular dependencies as well
  5. @swannodette
  6. @swannodette
Commits on Jan 5, 2016
  1. @swannodette
  2. @swannodette
Commits on Jan 2, 2016
  1. @mfikes @swannodette

    CLJS-1529: Typo in IIndexed docstring

    mfikes committed with swannodette
    "idexed" -> "indexed"
    
    Signed-off-by: Mike Fikes <mike@fikesfarm.com>
  2. @mfikes @swannodette

    CLJS-1528: Doc for IEmptyableCollection refers to count

    mfikes committed with swannodette
    Change typo reference from "count" to "empty."
    
    Signed-off-by: Mike Fikes <mike@fikesfarm.com>
  3. @mfikes @swannodette

    CLJS-1530: Mismatch between rseq param and docstring

    mfikes committed with swannodette
    Rename param from coll to rev to match docstring.
    
    This is also consistent with Clojure, which uses
    rev for the reversible parameter name.
  4. @mfikes @swannodette

    CLJS-1532: Mismatch between instance? params and docstring

    mfikes committed with swannodette
    - Rename params to match those used in
      docstring (matching Clojure).
    - Also, for consistency use same param
      namings in macro.
  5. @mfikes @swannodette

    CLJS-1531: realized? for lazy-seq

    mfikes committed with swannodette
    - Add support for IPending to LazySeq.
    - Change param from d to x in places (no longer just delay)
    - Unit test via lazy-seq built with cons cells
Commits on Dec 31, 2015
  1. @mfikes @swannodette

    CLJS-1527: Doc for *print-length* copy of *print-dup*

    mfikes committed with swannodette
    Copy over docstring from Clojure.
  2. @mfikes @swannodette

    CLJS-1525: Mismatch between param and doc for number?

    mfikes committed with swannodette
    Change the parameter to x to match the docstring.
    
    (The name x is used in Clojure and in other
    functions near number? in cljs.core)
Commits on Dec 30, 2015
  1. @swannodette
Commits on Dec 23, 2015
  1. @swannodette

    update developers list

    swannodette committed
  2. @swannodette

    fix issue where files in JARs would get copied to out without correct…

    swannodette committed
    … timestamping
    
    add more logging
    
    minor code cleanup and comments for readability
  3. @swannodette
  4. @borkdude @swannodette

    CLJS-1463: (js-debugger) should generate nil-returning expression

    borkdude committed with swannodette
    js-debugger macro can now be used in last position of an (implicit)
    do. Previously this was not possible, because "return debugger;" was
    generated, resulting in an js syntax error.
  5. @gfredericks @swannodette
  6. @mfikes @swannodette

    CLJS-1313: REPL support for libs compiler opts

    mfikes committed with swannodette
    Does module processing and dependency index
    setup if :libs or :foreign-libs is passed to REPL.
Commits on Dec 22, 2015
  1. @swannodette
Something went wrong with that request. Please try again.