Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 1, 2013
  1. Merge pull request #84 from rvagg/multi-read-stream-close

    extracted ReadStream state manager, fixes #82
Commits on Feb 28, 2013
  1. Merge pull request #79 from rvagg/refactor-options

    Lars-Magnus Skog authored
    refactor options for db
Commits on Feb 26, 2013
  1. refactor options for db

    Lars-Magnus Skog authored
    move getOptions() into closure -> we can remove the this._options parameter
    remove options variable from methods, use parameter instead
    this is safe since we always create a new object and extend it
  2. Merge pull request #78 from rvagg/refactor-encodings

    Lars-Magnus Skog authored
    refactor keyEncoding and valueEncoding
Commits on Feb 25, 2013
  1. refactor keyEncoding and valueEncoding

    Lars-Magnus Skog authored
  2. version bump for @0.6.0

  3. update for 0.6.0 release

Commits on Feb 24, 2013
  1. bump version to 0.6.0-rc1

  2. version bump

  3. updated for leveldown@0.1.0 api

  4. unnecessary tmp-test file

  5. use leveldown@0.0.1

Commits on Feb 21, 2013
  1. Merge pull request #76 from rvagg/bail-out-early-in-methods

    Lars-Magnus Skog authored
    use !isOpen() and bail out early in all methods
Commits on Feb 18, 2013
  1. use !isOpen() and bail out early in all methods

    Lars-Magnus Skog authored
    There were different ways of checking the state
    of the db before actually doing something:
    1. Check if open and do something, else bail
    if (isOpen()) {
      // Do stuff
    } else {
      // Bail
    2. Check if closed and bail, else do something
    if (isClosed()) {
      // Bail
    // Do stuff
    I chose number 2 for all methods, but replaced isClosed()
    with !isOpen(). The reasons for this are:
    - Consistency
    - Get rid of a level of indentation
    - No longer internally dependent of the isClosed() method ->
      Easier to remove if we so choose.
  2. Merge pull request #75 from rvagg/feature/limbo-equals-opening

    Lars-Magnus Skog authored
    inLimbo -> isOpening
Commits on Feb 16, 2013
  1. inLimbo -> isOpening

    Lars-Magnus Skog authored
    inLimbo == !isOpen && !isClosed, which is the same as the
    state 'new' or 'opening', but for the same reasons of
    removing the CloseError, we never return the LevelUP object
    in the state 'new', therefore inLimbo really means isOpening
  2. emit error events instead of throwing where possible

    Lars-Magnus Skog authored
  3. namespace all the things

Commits on Feb 15, 2013
  1. version bump for @0.5.4 release

  2. added changelog for 0.4.0+

  3. minor style tweaks

Commits on Feb 14, 2013
Commits on Feb 13, 2013
  1. add script

    Lars-Magnus Skog authored
  2. ensure iterator end & next don't conflict

    Race condition possible when you have a next() executing but end() is
    also called. In the main JS thread we can create a barrier to protect
    against this condition.
Commits on Feb 6, 2013
  1. Merge pull request #70 from rvagg/feature/rm-close-error

    Lars-Magnus Skog authored
    remove CloseError
Commits on Feb 4, 2013
  1. remove CloseError

    Lars-Magnus Skog authored
    The final else case in LevelUP#close() corresponds to the status
    'new', which is the state the database has after the constructor
    has been called. Since we always call LevelUP#open() before
    returning the database object, it's impossible for the user to
    call close() while the database is in the state 'new'. Therefore
    the CloseError() can never happen.
Commits on Feb 3, 2013
  1. Revert "InitializationError -> InitError to reduce line lengths"

    Lars-Magnus Skog authored
    This reverts commit a0a1d78.
  2. InitializationError -> InitError to reduce line lengths

    Lars-Magnus Skog authored
Something went wrong with that request. Please try again.