Permalink
Commits on Mar 24, 2017
Commits on Mar 17, 2017
  1. CLJS-1964: Validate that `:target :nodejs` and no optimizations requi…

    …res a `:main` option to be present
    anmonteiro committed with swannodette Mar 1, 2017
  2. CLJS-1973: Add support for `:npm-deps` in upstream `deps.cljs`

    This patch addresses the second part of the solution outlined in the following
    design doc:
    https://github.com/clojure/clojurescript/wiki/Enhanced-Node.js-Modules-Support
    
    It adds support for specifying a `:npm-deps` option in upstream `deps.cljs`
    files, as well as very basic conflict handling.
    anmonteiro committed with swannodette Mar 11, 2017
  3. CLJS-1978: port CLJ-2035

    anmonteiro committed with swannodette Mar 14, 2017
  4. CLJS-1976: hash-map assoc stackoverflow

    create-node (and possibly other internal functions) assume that hash
    values collide when their values are equal. Because it is possible
    to return a hash value of more than 32 bits, it is possible to have a
    hash collision where hashes are unequal, causing undefined behavior.
    In this case, it caused a stackoverflow during hash-map and set
    assoc! and assoc.
    
    This patch forces the hash function to truncate all hash values from
    dates and -hash implementations to 32 bits.
    favila committed with swannodette Mar 13, 2017
Commits on Mar 10, 2017
  1. CLJ-1868 - Output simpler dependency rel paths when compiling with Cl…

    …osure libs
    
    Until now compiler did not parse input paths for Closure dependencies correctly
    and as a result the output paths contained full absolute path as its part.
    That path contained charachters like : and ! that were ok on unix machines
    but caused problem on windows machines. With this fix the compiler will
    output correct rel paths.
    28 committed with swannodette Feb 2, 2017
  2. CLJS-1967: Missing ^boolean for removed-leaf? in THM impl

    Also uses the provided 'val' field of Box type rather than getting and
    setting a new '0' field.
    thomasmulvaney committed with swannodette Mar 7, 2017
  3. CLJS-1960: Require CommonJS modules directly from a ClojureScript nam…

    …espace
    
    This patch addresses the first part of the solution outlined in the following
    design doc:
    https://github.com/clojure/clojurescript/wiki/Enhanced-Node.js-Modules-Support
    
    It makes possible to specify, install and require Node.js dependencies directly
    from ClojureScript namespaces. Future work can make it possible to support
    specifying these dependencies in `deps.cljs` files and handling conflict
    resolution between upstream foreign dependencies and foreign dependencies
    specified directly in the compiler options.
    anmonteiro committed with swannodette Feb 24, 2017
Commits on Mar 1, 2017
Commits on Feb 25, 2017
  1. 1.9.494

    swannodette committed Feb 25, 2017
Commits on Feb 24, 2017
  1. 1.9.493

    swannodette committed Feb 24, 2017
  2. CLJS-1948: Possible race condition in compiler w/ parallel-build true

    the issue was that duplicate compiler inputs could appear. We were using distinct before but for various reasons this is not good enough. We now use :provides as the uniquely identifying bit about a compiler input.
    swannodette committed Feb 24, 2017
  3. CLJS-1928: Self-host: Macro namespace alias in keyword

    Also consult macros namespaces in
    analysis cache when setting up alias
    map.
    mfikes committed with swannodette Feb 3, 2017
  4. CLJS-1941: `cljs.compiler/cljs-files-in` shouldn't return `.cljc` fil…

    …es if a `.cljs` file exists for the namespace
    anmonteiro committed with swannodette Feb 14, 2017
  5. CLJS-1940: Undeclared var warning when invoking a protocol method on …

    …a `js` interop form
    
    Now that we propagate js type hint we to exclude when doing type resolution for protocol fn invokes
    swannodette committed Feb 24, 2017
Commits on Feb 22, 2017
Commits on Feb 20, 2017
  1. CLJS-1945: cljs.spec/every-impl kind-fn kind-form dead code

    Copy over code deletion from Clojure 386e7e6 that was missed in
    ClojureScript 1a297c5.
    mfikes committed with swannodette Feb 18, 2017
  2. CLJS-1944: Can't spec generate non-vector collections

    We need to not default gen-into as [], otherwise kind will not be used
    when in the gen* implementation.
    
    The fix involves simply copying over a missed change when
    Clojure 23e3ec3f8 was copied as ClojureScript cd43ec9.
    mfikes committed with swannodette Feb 18, 2017
  3. CLJS-1946: Self-hosted: don't emit `goog.require` calls for foreign l…

    …ibs if optimizations different than `:none`
    anmonteiro committed with swannodette Feb 19, 2017
Commits on Feb 15, 2017