695 Commits

Author SHA1 Message Date
Ben Johnson
9af8da5df3 Merge pull request #525 from MJDSys/appveyor
Add appveyor.yml.
2016-02-28 13:35:43 -07:00
Ben Johnson
ae7352740a Merge pull request #524 from abhigupta912/mbuckets
Add mbuckets to list of projects using Bolt
2016-02-28 13:31:34 -07:00
Matthew Dawson
8a783fcb7e Add appveyor.yml.
Add an initial appveryor.yml to test on AppVeyor's Windows CI.
2016-02-27 23:34:11 -05:00
Abhishek Gupta
620e49540e Add mbuckets to list of projects using Bolt 2016-02-27 14:22:38 +05:30
Ben Johnson
6fa1249006 Merge pull request #520 from bobintornado/project-list
Update README.md
2016-02-24 08:47:52 -07:00
Bob Cao
add6474f61 Update README.md 2016-02-24 17:01:39 +08:00
Ben Johnson
2f846c3551 Merge pull request #508 from hermanschaaf/patch-1
Add Go Report Card to list of projects using Bolt
2016-02-06 08:59:41 -07:00
Herman Schaaf
187ee33aae Add Go Report Card to list of projects using Bolt 2016-02-06 16:33:50 +08:00
Ben Johnson
ee4a0888a9 Merge pull request #492 from boltdb/revert-491-arm64
Revert "Remove erroneous build constraint from arm64"
2016-01-19 17:55:44 -07:00
Ben Johnson
ad7482f549 Revert "Remove erroneous build constraint from arm64" 2016-01-19 17:40:29 -07:00
Ben Johnson
209a181292 Merge pull request #491 from crawford/arm64
Remove erroneous build constraint from arm64
2016-01-19 16:37:15 -07:00
Alex Crawford
8fe5ed6b41 Remove erroneous build constraint from arm64
This was preventing ARM64 targets from building.
2016-01-19 15:15:53 -08:00
Ben Johnson
6465994716 Merge pull request #487 from darklynx/add_project
added Request Baskets to projects list
2016-01-14 13:11:52 -08:00
Vladimir L
33a45fc8fd added Request Baskets to projects list 2016-01-14 21:54:57 +01:00
Ben Johnson
8f6dd95b53 Merge pull request #486 from tcyrus/tcyrus-patch-1
Update README.md
2016-01-14 11:05:19 -08:00
Timothy Cyrus
109049bcfb Update README.md 2016-01-12 14:41:22 -05:00
Ben Johnson
4030e7fbc1 Merge pull request #484 from etelej/master
Add bucket check to db.View in readme.md
2016-01-11 18:59:16 -08:00
Peter Etelej
769f43bec3 Add bucket check to db.View in readme.md
Add 'Assume bucket exists and has keys' comments on db.View calls
accessing bucket keys in examples of db.View in readme.md code examples.
Fixes #484
2016-01-12 05:28:15 +03:00
Ben Johnson
ed54c4790c Merge pull request #478 from TrevorSStone/master
Add documentation to Readme for mobile support (iOS/Android)
2016-01-11 16:02:03 -07:00
Ben Johnson
02c43da2b0 Merge pull request #481 from gyuho/boltdb_typo
*: fixes minor typos
2016-01-11 15:59:14 -07:00
Ben Johnson
db0771a655 Merge pull request #482 from gyuho/bolt_db_test_fix
*: fix test print format
2016-01-11 15:58:33 -07:00
Ben Johnson
d8b06c0a77 Merge branch 'xiang90-grow' 2016-01-11 15:42:16 -07:00
Ben Johnson
a122e1c02b add AllocSize, minor grow() refactor
This commit moves `overAllocation` to a configurable `DB.AllocSize`
field and performs minor cosmetic clean up.
2016-01-11 15:40:23 -07:00
Ben Johnson
694a82a959 Merge branch 'grow' of https://github.com/xiang90/bolt into xiang90-grow 2016-01-11 14:47:01 -07:00
Gyu-Ho Lee
42ab7c097f *: fix test print format 2016-01-08 00:31:45 -08:00
Gyu-Ho Lee
cf93cb8694 *: fixes minor typos 2016-01-07 23:33:40 -08:00
Ben Johnson
25b28102db Merge pull request #479 from azazeal/master
Wrong threadCount passed to TestSimulate_1op_1p
2016-01-07 13:50:34 -07:00
Panagiotis Siatras
cd49fd6393 Merge pull request #1 from azazeal/fix-simulation_test-threadCount
FIX: Incorrect threadCount in simulation_test.go
2016-01-07 21:15:50 +02:00
Panagiotis Siatras
7d03ba92d0 FIX: Incorrect threadCount in simulation_test.go
TestSimulate_1op_1p should pass 1 as the threadCount instead of 100
2016-01-07 21:15:00 +02:00
Trevor Stone
4171c1783c add table of contents entry from mobile 2016-01-03 19:23:43 -08:00
Trevor Stone
e04ef19dab Fix Readme typo and line length 2016-01-03 19:03:55 -08:00
Trevor Stone
b231437add Add mobile instructions to the Readme 2016-01-03 19:00:53 -08:00
Ben Johnson
34a0fa5307 Merge pull request #477 from benbjohnson/testing
Test suite refactoring
2016-01-02 22:34:41 -07:00
Ben Johnson
8b08bd4a80 test suite refactoring
This commit refactors the test suite to make it cleaner and to use the
standard testing library better. The `assert()`, `equals()`, and `ok()`
functions have been removed and some test names have been changed for
clarity.

No functionality has been changed.
2016-01-02 21:30:31 -07:00
Ben Johnson
2c56b2a28a Merge pull request #474 from elithrar/patch-1
[docs] Add table of contents
2015-12-31 11:54:59 -07:00
Matt Silverlock
d6ce6a9a80 [docs] Add table of contents
- Generated and tweaked a TOC using [doctoc](https://github.com/thlorenz/doctoc)
- (removed generated headers and fixed broken ampersand conversion)
2015-12-31 08:04:02 -08:00
Ben Johnson
f1153131c9 Merge pull request #471 from rhcarvalho/patch-1
Update min mmap size in godoc
2015-12-30 08:34:08 -07:00
Ben Johnson
343cdc2b4e Merge pull request #472 from gyuho/initial_mmap
Introduce InitialMmapSize to prevent deadlock
2015-12-30 08:33:30 -07:00
Gyu-Ho Lee
082efcc23e Introduce InitialMmapSize to prevent deadlock
InitialMmapSize is the initial mmap size of the database in bytes.
Read transaction won't block write transaction if InitialMmapSize
is large enough to handle mmap size.

Copied from https://github.com/boltdb/bolt/pull/432.
2015-12-21 15:36:00 -08:00
Rodolfo Carvalho
b766067f68 Update min mmap size in godoc 2015-12-17 00:19:41 +01:00
Ben Johnson
827f56dfb2 Merge pull request #470 from ReadmeCritic/master
Update README URLs based on HTTP redirects
2015-12-14 09:52:45 -07:00
ReadmeCritic
6179274f76 Update README URLs based on HTTP redirects 2015-12-14 07:44:42 -08:00
Ben Johnson
6d4e6a3ead Merge branch 'rhcarvalho-db-open-errors' 2015-12-10 21:37:07 -07:00
Rodolfo Carvalho
058a7ab347 Make bolt.Open return the documented errors
- ErrInvalid is returned when a data file is not a Bolt-formatted
  database.
- ErrVersionMismatch is returned when the data file was created with a
  different version of Bolt.
- ErrChecksum is returned when either meta page checksum does not match.

Also:
- Do not wrap errors from os.Stat, so that a caller could handle os.Stat
  errors just like it can handle errors from os.Open that bolt.Open
  might return.
- Name tests consistently, following the pattern "TestOpen_*".
- Remove deferred calls to `os.Remove(path)`.
  The calls are not only unnecessary, but also in all cases `os.Remove`
  returns an error that is ignored. All those calls are meant to remove
  a file that was already removed by `tmpfile()`.
- Combine "bad path" tests and use filepath.Join to build the path.
2015-12-10 18:39:03 +01:00
Ben Johnson
b34b35ea8d Merge pull request #467 from boltdb/readme-coalescer
README
2015-12-05 20:28:01 -07:00
Ben Johnson
f27abf2cc7 README
Replace reference to the coalescer with a reference to `DB.Batch()`.

Fixes #465.
2015-12-05 20:27:15 -07:00
Ben Johnson
0dfebeb660 Merge pull request #463 from rhcarvalho/fix-stats
Fix `bolt stats` output
2015-12-05 14:03:15 -07:00
Rodolfo Carvalho
10b100fe0f Fix bolt stats output 2015-12-05 19:56:31 +01:00
Ben Johnson
7bf163794f Merge pull request #462 from rhcarvalho/patch-readme
Put backticks around function name in description
2015-12-05 11:43:10 -07:00
Rodolfo Carvalho
a2144ebbf1 Put backticks around function name in description 2015-12-05 19:00:07 +01:00