Permalink
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…

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

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

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

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

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

    raph-amiard committed with David Nolen Jun 15, 2012
    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.
  2. Use load instead of require to load core cljs macros

    raph-amiard committed with David Nolen Jun 15, 2012
    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).
Commits on Jun 14, 2012
  1. * src/clj/cljs/compiler.clj: CLJS-315: resolve-var and resolve-existi…

    David Nolen committed Jun 14, 2012
    …ng-var should never emit :name as string
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

    michalmarczyk committed with David Nolen Jun 12, 2012
    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.
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

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

    David Nolen committed Jun 8, 2012
    … manipulation in deftype.
  4. * src/clj/cljs/core.clj: fix fast path protocols

    David Nolen committed Jun 8, 2012
  5. * src/clj/cljs/compiler.clj: resolve-var now consistently returns a p…

    David Nolen committed Jun 8, 2012
    …roperly namespaced symbol
  6. CLJS-129: Fix browser-connected REPL namespace loading

    brentonashworth committed Jun 8, 2012
    The browser-connected REPL keeps track of all of the namespaces it has
    loaded and will only load them once. Some namespaces will have already
    been loaded when the host page was loaded in the browser. This fixes
    how we attempt to determine what has already been loaded. Instead of
    asking the browser what has been loaded, which is not reliable, we
    allow namespaces to be loaded a second time. If loading a namespace a
    second time will cause problems, the namespace can be passed to
    repl-env to be ignored. See doc string for cljs.repl.browser/repl-env.
  7. * src/clj/cljs/compiler.clj: comments about the various protocol keys…

    David Nolen committed Jun 8, 2012
    …. add :protocol-impl :protocol-inline to the analysis environment when analyzing fn methods
  8. * src/clj/cljs/compiler.clj: propagate :protocol-impl

    David Nolen committed Jun 8, 2012
  9. * src/clj/cljs/compiler.clj: mark defrecord and deftype as :type true…

    David Nolen committed Jun 8, 2012
    … in namespaces atom