Permalink
Commits on Jul 5, 2012
  1. Fix (println 1 1) => "11\n" instead of "1 1\n"

    brandonbloom committed with David Nolen Jun 21, 2012
Commits on Jul 4, 2012
  1. * src/clj/cljs/core.clj: cleanup protocol dispatch and type_satisifie…

    …s_ handling of undefined
    David Nolen committed Jul 4, 2012
  2. * src/clj/cljs/core.clj: general fix for CLJS-330, protocol dispatch …

    …should handle undefined by coercing to nil
    David Nolen committed Jul 4, 2012
  3. Add tests for default values for map lookups.

    emezeske committed with David Nolen Jul 3, 2012
  4. * src/clj/cljs/compiler.clj: fix bug around fns whose only non-zero a…

    …rity is variadic (i.e. hash-set). was emitting a false - false does not get emitted as empty string like nil does.
    David Nolen committed Jul 4, 2012
  5. CLJS-332: have UUID's = impl check that the other object is also a UU…

    …ID instance
    michalmarczyk committed with David Nolen Jul 3, 2012
  6. 'block-children' helper function should return nil when given a nil a…

    …rgument. Fixes #331
    jonase committed with David Nolen Jul 3, 2012
  7. CLJS-330: fix (hash js/undefined)

    michalmarczyk committed with David Nolen Jul 3, 2012
Commits on Jul 2, 2012
  1. * src/cljs/cljs/core.cljs: fix typo

    David Nolen committed Jul 2, 2012
Commits on Jun 29, 2012
  1. CLJS-324: implement cljs.core/format as wrapper for goog.string.format

    Also adds printf (copy & paste from Clojure).
    michalmarczyk committed with David Nolen Jun 28, 2012
  2. CLJS-328: fix :require spec handling in ns

    Fixes singleton vector handling in :require specs so that all specs in
    the following snippet are equivalent:
    
    (ns foo
      (:require [bar.quux :as bar.quux]
                [bar.quux]
                bar.quux))
    michalmarczyk committed with David Nolen Jun 28, 2012
Commits on Jun 25, 2012
  1. hash-set and faster set construction

    brandonbloom committed with David Nolen Jun 25, 2012
  2. CLJS-325: copy over destructure, let, loop to cljs.core to fix destru…

    …cturing
    
    Copy & paste from clojure.core with adjustments to make things work
    again and remove some metadata.
    michalmarczyk committed with David Nolen Jun 25, 2012
Commits on Jun 23, 2012
  1. * src/clj/cljs/closure.clj: CLJS-323: add compiler build :warnings tr…

    …ue option
    David Nolen committed Jun 23, 2012
Commits on Jun 19, 2012
  1. CLJS-322: introduce cljs.core/obj-map

    obj-map is guaranteed to produce ObjMap instances (of arbitrary size).
    michalmarczyk committed with David Nolen Jun 18, 2012
  2. Import memfn macro and add tests

    brandonbloom committed with David Nolen Jun 18, 2012
  3. Fix (= (js/Date.) nil

    Also cleans up time macro, which was passing .getTime an extra arg.
    brandonbloom committed with David Nolen Jun 6, 2012
Commits on Jun 15, 2012
  1. Decouple analyzer from compiler

    The analyzer is now living in it's own file, with all related
    functions. The rest of the compiler has been updated so that
    references to the analyze part of the compiler now references
    the analyzer namespace.
    raph-amiard committed with David Nolen Jun 15, 2012
  2. Use load instead of require to load core cljs macros

    Loading now happens dynamically and once when the
    analyzer is first ran.
    Also provides macros to facilitate overriding of the
    default path provided (defaults to cljs/core).
    raph-amiard committed with David Nolen Jun 15, 2012
Commits on Jun 14, 2012
  1. * src/clj/cljs/compiler.clj: CLJS-315: resolve-var and resolve-existi…

    …ng-var should never emit :name as string
    David Nolen committed Jun 14, 2012
Commits on Jun 13, 2012
  1. Using empty-env function in rhino repl too

    raph-amiard committed with David Nolen Jun 13, 2012
  2. Encapsulating namespace access and env creation

    raph-amiard committed with David Nolen Jun 13, 2012
  3. Cleaner binding

    fogus committed Jun 13, 2012
  4. CLJS-272: support :refer and skipping :as in :require

    The :as alias part of a :require spec can now be omitted.
    Alternatively, a symbol naming the namespace to be required without an
    alias can be specified without wrapping it in a vector.
    
    Additionally, :require accepts a :refer option with :use-like effect.
    
    (ns foo.core
      (:require
        ;; bar-fn will be available unqualified
        [lib.bar :as bar :refer [bar-fn]]
        ;; :as lib.baz is implicit
        [lib.baz]
        ;; likewise
        lib.quux))
    
    Either, both or none of :as, :refer may be specified in each :require
    spec.
    
    :require-macros supports the same options.
    
    :use / :use-macros is now supported by rewriting the specs as :require
    / :require-macros specs with :refer.
    
    :require / :require-macros now produce problem-specific error
    messages which include the offending spec.
    
    Tests are provided for :refer and the new handling of :use.
    michalmarczyk committed with David Nolen Jun 12, 2012
Commits on Jun 11, 2012
  1. fix rename-to-js regex

    Bronsa committed with David Nolen Jun 11, 2012
  2. Use specific path-munging function for ns resolution

    raph-amiard committed with David Nolen Jun 8, 2012
Commits on Jun 8, 2012
  1. Merge branch 'cljs-305-proto-inline'

    David Nolen committed Jun 8, 2012
  2. Merge branch 'fix-resolve-var' into cljs-305-proto-inline

    Conflicts:
    	src/clj/cljs/core.clj
    
    * src/clj/cljs/core.clj: merge
    David Nolen committed Jun 8, 2012
  3. * src/clj/cljs/core.clj: we have property access, use it. less string…

    … manipulation in deftype.
    David Nolen committed Jun 8, 2012