Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 18, 2015
  1. @Bronsa

    CLJ-1208: load own namespace in deftype/defrecord class initializer w…

    Bronsa authored Stuart Halloway committed
    …hen :load-ns is true
    
    Signed-off-by: Stuart Halloway <stu@cognitect.com>
Commits on Jul 16, 2015
  1. @richhickey

    tuples

    richhickey authored
Commits on May 12, 2015
  1. @w01fe

    extend-protocol should emit `fn, not 'fn (fixes #1195)

    w01fe authored Stuart Halloway committed
    Signed-off-by: Stuart Halloway <stu@cognitect.com>
Commits on Mar 20, 2015
  1. @puredanger

    Direct iterators for PersistentHashMap, APersistentSet, PersistentQue…

    puredanger authored Stuart Halloway committed
    …ue, and PersistentStructMap, and records. Added new IMapIterable interface for key and val iterators.
    
    Signed-off-by: Stuart Halloway <stu@cognitect.com>
Commits on Oct 7, 2014
  1. @bbatsov

    Fix a typo

    bbatsov authored Stuart Halloway committed
    Signed-off-by: Stuart Halloway <stu@cognitect.com>
Commits on Aug 29, 2014
  1. @jafingerhut

    CLJ-1261: Better error msg for bad fields in defrecord, deftype

    jafingerhut authored Stuart Halloway committed
    Signed-off-by: Stuart Halloway <stu@cognitect.com>
  2. @miner

    CLJ-1388 record equality and map->record factory

    miner authored Stuart Halloway committed
    Signed-off-by: Stuart Halloway <stu@cognitect.com>
Commits on Jan 11, 2014
  1. @devn

    Add record? via IRecord

    devn authored Stuart Halloway committed
    Signed-off-by: Stuart Halloway <stu@cognitect.com>
Commits on Nov 22, 2013
  1. @puredanger @stuarthalloway

    Remove Alpha designation from many features.

    puredanger authored stuarthalloway committed
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Oct 25, 2013
  1. @puredanger @stuarthalloway

    CLJ-1056: improves defprotocol error messages for no args and redefin…

    puredanger authored stuarthalloway committed
    …ed function
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  2. @cldwalker @stuarthalloway

    fix typos in docstrings and docs

    cldwalker authored stuarthalloway committed
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Aug 14, 2013
  1. @amalloy @stuarthalloway

    Fix CLJ-1202.

    amalloy authored stuarthalloway committed
    Emit forms like (. foo (bar)) instead of (. foo bar), so that names
    starting with a - don't look like field accesses.
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Feb 14, 2013
  1. @stuarthalloway
Commits on Dec 10, 2012
  1. @cgrand @richhickey

    make hasheq coherent with equiv for records

    cgrand authored richhickey committed
    Signed-off-by: Rich Hickey <richhickey@gmail.com>
Commits on Oct 20, 2012
  1. @tsdh @stuarthalloway

    Add docstring and :added metadata to definterface.

    tsdh authored stuarthalloway committed
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  2. @tsdh @stuarthalloway

    CLJ-1024: Check for invalid varags/destrucuring uses.

    tsdh authored stuarthalloway committed
    Protocol, interface method declarations don't allow for varags and
    destructuring support.  Currently, for example
    
      (defprotocol FooBar
        (foo [this & more]))
    
    compiles just fine, and & is interpreted as a usual argument that happens to be
    named & without special meaning.  But clearly, the user wanted to specify a
    varags parameter here.  The same applies to definterface.
    
    Similarly, providing method implementations via defrecord, deftype, and reify
    don't allow for varags (but dynamic extenions via extend do).
    
    So this patch makes defprotocol and definterface throw an
    IllegalArgumentException if a user tries to use varargs and destructuring in
    method signatures.
    
    Similarly, defrecord, deftype, and reify throw an IllegalArgumentException if
    any method implementation arglist contains a varargs argument.
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Aug 18, 2012
  1. @Bronsa @stuarthalloway

    Added support for marker protocols

    Bronsa authored stuarthalloway committed
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Jun 16, 2012
  1. @tsdh @stuarthalloway

    Don't use descructuring in defrecord/deftype arglists to get a slight…

    tsdh authored stuarthalloway committed
    …ly better error message when forgetting to specify the fields vector.
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on May 19, 2012
  1. @brentonashworth @stuarthalloway

    CLJ-867: Records implement IHashEq to incorporate record name into ha…

    brentonashworth authored stuarthalloway committed
    …sh code
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Apr 10, 2012
  1. @richhickey
Commits on Mar 30, 2012
  1. @grammati @stuarthalloway

    Docstrings for generated factory functions.

    grammati authored stuarthalloway committed
    Also add to the docstrings of deftype and defrecord to indicate that the
    factories will be generated.
    
    Fixed test that expected public vars to have :added metadata - generated
    factory functions ->Vec, ->ArrayChunk, etc. do not have :added.
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Dec 16, 2011
  1. @stuartsierra

    Fix CLJ-845: Ignoring namespace portion of symbols used to name metho…

    Alexander Taggart authored stuartsierra committed
    …ds in extend-type and extend-protocol.
    
    Signed-off-by: Stuart Sierra <mail@stuartsierra.com>
  2. @stuartsierra

    CLJ-872 Add support for prop lookup, refs CLJS-89

    Michael Fogus and Alan Dipert authored stuartsierra committed
    Signed-off-by: Stuart Sierra <mail@stuartsierra.com>
Commits on Dec 9, 2011
  1. @fogus @stuarthalloway

    Fixes CLJ-837 by allowing any field prefixed with double-underscores …

    fogus authored stuarthalloway committed
    …except __meta and __extmap. Attempting to use these names will throw and assertion error at compile time. Added the restriction on these names to the relevant docstrings and added regression tests.
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  2. @kotarak @stuarthalloway

    Fix docstring of reify

    kotarak authored stuarthalloway committed
    reify always implements IObj. State so and provide
    example of transfer of metadata from for to the
    created object.
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Dec 2, 2011
  1. @kurtharriger @stuarthalloway

    declare record factory functions for use within defrecord implementation

    kurtharriger authored stuarthalloway committed
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on Sep 2, 2011
  1. @stuarthalloway

    CLJ-736 docfix

    stuarthalloway authored
Commits on Jun 21, 2011
  1. @stuartsierra

    Fix CLJ-801: protocol's method cache falls back to using a map when s…

    Alexander Taggart authored stuartsierra committed
    …hift-mask table won't work, instead of throwing an exception.
    
    Signed-off-by: Stuart Sierra <mail@stuartsierra.com>
Commits on May 27, 2011
  1. @fogus @stuarthalloway

    Changes to shore up the shortcomings and fix bugs found in defrecord …

    fogus authored stuarthalloway committed
    …read/print form from 1.3.0-alpha7. See CLJ-800
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Commits on May 18, 2011
  1. @richhickey
Commits on May 13, 2011
  1. @stuarthalloway
  2. @fogus @stuarthalloway

    Changes to support defrecord and deftype literals. See CLJ-374

    fogus authored stuarthalloway committed
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  3. @stuarthalloway
Commits on May 12, 2011
  1. @richhickey
Commits on Nov 30, 2010
  1. @cemerick @stuarthalloway

    properly munge namespaces -> java package names for protocols and def…

    cemerick authored stuarthalloway committed
    …type and friends; fixes CLJ-432
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Something went wrong with that request. Please try again.