Permalink
Commits on Jul 12, 2016
  1. Release v2.0.0

    committed Jul 12, 2016
  2. Align API closer to Array semantics

    * Switch this.size and this.length to match Array semantics.
    * Update README with swapped size and length.
    
    PR-URL: #24
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    wherget committed with Jun 21, 2016
Commits on Jun 21, 2016
  1. Make sortedIndex capture 0-size on non full buffer

    PR-URL: #17
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    gyeates committed with Sep 23, 2014
Commits on Aug 17, 2015
  1. Release 1.1.1

    committed Aug 17, 2015
  2. added missing main into bower.json

    PR-URL: #22
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Rudy GRONDIN committed with Jul 20, 2015
Commits on Dec 23, 2014
  1. Add few bower fields

    Another PR (#19) had a few
    additional fields for the bower.json file that have been added.
    committed Dec 23, 2014
Commits on Dec 19, 2014
  1. Create bower.json

    Add support for bower
    
    PR-URL: #8
    [trev.norris@gmail.com Change current version to 1.1.0]
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    ProLoser committed with Jun 24, 2013
Commits on Dec 3, 2014
  1. Now working on 1.1.0

    committed Dec 3, 2014
  2. Add slice utility

    PR-URL: #15
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    gyeates committed with Aug 13, 2014
Commits on Aug 19, 2014
  1. Simplify sum and average

    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    gyeates committed with Aug 13, 2014
Commits on Aug 12, 2014
  1. Working on 1.0.0

    At a point where minor improvements and bug fixes are coming in.
    committed Aug 12, 2014
  2. Add binary sortedIndex

    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    gyeates committed with Aug 12, 2014
Commits on Jul 17, 2014
  1. Add error msg to ensure valid Buffer object

    On initialization it was possible to pass an invalid object, which was
    ignored. Instead throw and tell the user the usage was incorrect.
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    iamolivinius committed with Jul 16, 2014
Commits on Jul 15, 2014
  1. Adds math tests for avg, sum, median

    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    iamolivinius committed with Jul 7, 2014
  2. Adds median() method

    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    iamolivinius committed with Jul 7, 2014
Commits on Jun 16, 2014
  1. add tests for sum() and avg()

    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    shimondoodkin committed with Jun 12, 2014
  2. add calculate sum() and average avg()

    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    shimondoodkin committed with Jun 12, 2014
Commits on Jul 5, 2013
  1. Allow pop'd values to be gc'd

    Changed .pop to remove the reference to the object. Also changed the
    default value of .overflow to null. Changed how the default value of
    rotateLeft/Right is detected.
    
    The .pop method should remove the reference from the buffer, because
    otherwise if it's a buffer of objects they'll never be garbage collected.
    Since overflow is a function object, it makes sense that it starts out as
    null. The methods rotateLeft and rotateRight should support receiving 0
    (!cntr would evaluate to true and change it to 1 otherwise).
    Matheus28 committed with Jul 5, 2013
Commits on Jan 11, 2013
  1. Add isFull()

    Returns true/false whether the buffer is full.
    
    Resolves GH-7
    committed Jan 11, 2013
  2. Add license

    Resolves GH-6
    committed Jan 11, 2013
Commits on Dec 13, 2012
Commits on Dec 1, 2012
  1. Finished adding most tests

    There are still a few tests that need to be added, but the majority of
    them are there. Also added couple comments about solidifying API.
    committed Dec 1, 2012
  2. Fig fill bug

    Forgot to set size after fill.
    committed Dec 1, 2012
Commits on Nov 30, 2012
  1. Finish adding mutator tests

    committed Nov 30, 2012
Commits on Nov 26, 2012
  1. Now working on 0.1.5

    committed Nov 26, 2012
  2. Fix typo of repo location

    committed Nov 26, 2012
Commits on Nov 23, 2012
  1. Fixes for vows

    * Since no longer deleting data from buffer, changed tests to use
      toArray
    * toArray() wasn't decreasing size
    committed Nov 23, 2012
  2. Add speed tests

    Speed tests now support pre-run functions to setup test properly.
    committed Nov 23, 2012
  3. Whitespace fixes

    * Fix whitespace throughout repo
    * Remove one unused variable from CBuffer()
    committed Nov 23, 2012
  4. No need to delete poped/shifted items

    Since resizing the circular buffer will remove the ability of CBuffer
    methods from accessing the data, and by removing the deletion of those
    items, time is saved.
    committed Nov 23, 2012
  5. Add `npm test` command

    committed Nov 23, 2012
  6. Now working on v0.1.4

    committed Nov 23, 2012
  7. Merge pull request #3 from dotnetCarpenter/remove-extraneous-code

    Context argument should be left as undefined
    committed Nov 23, 2012
Commits on Nov 22, 2012
  1. According to ECMAScript 262, the context argument to every, forEach a…

    …nd some should be undefined if not supplied. As an named argument not supplied to a function is always undefined there should be no need to check for that argument. Hence the function should run in an undefined context which in turn means it will run in the global context, which the caller code should be ignorant of as no context was supplied. <- CBuffer argumentation ;) I have removed the extraneous code but found no tests to verify that CBuffer hasn't changed behavior other than my sane thinking think it should not. http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.18
    dotnetCarpenter committed Nov 22, 2012
Commits on Oct 8, 2012
  1. bump to version 0.1.3

    committed Oct 8, 2012