d2434b024d
Merge pull request #180 from bkendall/fix-mongo-cache-no-tests
...
Prevent empty values in cache (using mongo)
2015-02-03 18:58:33 -05:00
327b6aac49
Merge pull request #203 from kortschak/defensive
...
Make graph.Delta zero state invalid for use
2015-02-03 18:53:17 -05:00
88025bdf77
Merge pull request #202 from kortschak/errors
...
Ensure callers get errors when they happen
2015-02-03 18:53:11 -05:00
b878c69969
Merge pull request #195 from varadharajan/fix-hash-size
...
Allocate 82 bytes instead of 62 bytes in LevelDB's CreateKeyFor method
2015-02-03 18:46:03 -05:00
31d9078a64
Merge pull request #192 from bcleenders/quickfix_repl_commands
...
Prevents repl panic, uses primary key generation for all writers
2015-02-03 18:44:47 -05:00
kortschak
46f987ca51
Make graph.Delta zero state invalid for use
...
Previously, an incorrectly initialised Delta (omission of Action) would
result in an Add operation. Make that detectable and return an error.
2015-01-27 08:39:50 +10:30
kortschak
d743de6b87
Add call to loadFn hook
...
Also add error return.
2015-01-26 16:36:31 +10:30
kortschak
9e378302f5
Ensure callers get errors when they happen
...
Previously we silently dropped portions or all of a block when a
duplicate quad is found. We still fail now, but we tell someone.
Fixes #201 .
2015-01-26 14:56:10 +10:30
Varadharajan Mukundan
98d5f3b8d7
In LevelDB's createKeyFor method we allocate size for 3 hashes but append 4 hashes. Eventhough append handles it intelligently, the code is misleading
2015-01-05 18:21:20 +05:30
bcleenders
1df8ca2aef
Renamed variables
2014-12-29 16:18:01 +01:00
bcleenders
679a29d61e
Merge branch 'quickfix_repl_commands' of github.com:bcleenders/cayley into quickfix_repl_commands
2014-12-29 14:34:06 +01:00
bcleenders
4892089672
Adds default for unknown commands
2014-12-29 14:33:46 +01:00
bcleenders
9c9f588e96
Update docs
...
Quads must end with a dot ("."), as specified in the grammar
2014-12-29 14:33:46 +01:00
bcleenders
295a379ed7
Implements helper to split command from arguments
...
Also tests the helper function (ofc...)
2014-12-29 14:33:45 +01:00
bcleenders
18da497f3f
Adds adding/removing using repl to docs
2014-12-29 14:33:44 +01:00
bcleenders
d8ce91efac
Prevents repl panic
2014-12-29 14:33:43 +01:00
bcleenders
1a1904d943
Adds default for unknown commands
2014-12-29 11:02:20 +01:00
bcleenders
07167998ab
Update docs
...
Quads must end with a dot ("."), as specified in the grammar
2014-12-29 00:12:37 +01:00
bcleenders
8efb94d2b7
Implements helper to split command from arguments
...
Also tests the helper function (ofc...)
2014-12-29 00:00:31 +01:00
9088fe376b
Merge pull request #186 from panamafrancis/primarykeys
...
Implementation of the PrimaryKey type
2014-12-28 14:05:58 -08:00
bcleenders
1177852de7
Adds adding/removing using repl to docs
2014-12-24 01:12:20 +01:00
bcleenders
6e62d346c9
Prevents repl panic
2014-12-23 23:22:48 +01:00
dce931c33e
Merge pull request #190 from barakmich/testdeps
...
mathutil is back in line
2014-12-19 13:44:51 -08:00
3e2c2d7ec4
mathutil is back in line
2014-12-19 13:47:30 -05:00
7369596812
Merge pull request #189 from barakmich/testdeps
...
temporary travis fix
2014-12-12 20:43:55 -05:00
6851834207
temporary travis fix
2014-12-12 20:41:36 -05:00
09478bfa64
Merge pull request #188 from kortschak/leveldb
...
Fix leveldb change skew
2014-12-12 10:40:30 -05:00
kortschak
844e811f0f
Fix leveldb change skew
...
Make leveldb match the changes in syndtr/leveldb API due to breakages at
syndtr/goleveldb@63c9e64 .
2014-12-12 08:24:38 +10:30
panamafrancis
abda6cbbb0
Refactoring of Delta.IDs & horizon functionality with a PrimaryKey type, needed for implementing UUID based primary keys for backends such as the appengine datastore \n Tests: at top level and if available per backend, if not then just visual
2014-12-01 23:00:06 +01:00
26ceed35cc
Merge pull request #182 from barakmich/trello
...
Remove the news in the README, add Trello Link
2014-11-14 17:36:57 -05:00
4429714c57
Remove the news in the README, add Trello Link
2014-11-14 17:35:32 -05:00
Bryan Kendall
d275c93ca3
provide a default database for the mongo tests
2014-11-01 17:18:54 -07:00
Bryan Kendall
03c82c7463
prevent cache from storing empty values
2014-11-01 17:18:28 -07:00
8437520018
Merge pull request #162 from kortschak/issue160
...
Issue160
2014-10-15 03:30:37 -04:00
cfa2cc647a
Merge pull request #167 from kortschak/issue165
...
Don't retain results where the value is empty
2014-09-23 20:13:37 -04:00
kortschak
e71d19c851
Don't retain results where the value is empty
...
Empty quad terms are not valid, so we should be able to safely drop any
results where the value is "".
2014-09-24 09:14:59 +09:30
9ae13957b3
Merge pull request #166 from kortschak/issue163
...
Ensure we don't examine empty token
2014-09-23 19:26:03 -04:00
kortschak
887c23e640
Ensure we don't examine empty token
...
Fixes issue #163 .
2014-09-24 08:52:00 +09:30
kortschak
d6191ba468
Add test for issue 160
2014-09-23 09:19:51 +09:30
kortschak
5484d7eb35
Type switch on otto.Value
...
Ugh, this is not documented in otto. Leaving a panic for future cases
where dynamic typing will jump out at us.
Fixes issue #160 .
2014-09-23 08:56:14 +09:30
6308affc69
Merge pull request #152 from kortschak/describe
...
Replace DebugString with a well defined type returned by Describe
2014-09-19 21:38:28 -04:00
kortschak
e2eea6c283
Convert Type fields to use graph.Type
...
Add text encoding methods to replace string storage.
2014-09-05 09:49:15 +09:30
kortschak
62013d3dfc
Replace DebugString with Describe
...
This change makes tree description completely open to mechanical
analysis and ensures consistency between description formats for each of
the iterator types.
Renamed StatsContainer.(Kind -> Type) for consistency.
2014-09-05 09:32:09 +09:30
b5f113203d
Merge pull request #149 from kortschak/lint-vet
...
Delinting, deadcode removal and vetting
2014-09-04 15:29:27 -04:00
kortschak
bf6412b55d
Run go vet
...
Bugs found.
2014-08-28 12:22:37 +09:30
kortschak
8118c8d3cc
Quieten deadcode
2014-08-28 12:04:45 +09:30
kortschak
484bf145a8
Remove non-documentation lint
...
Because of extensive nature of changes, tested all three non-memstore
backends - passed.
2014-08-28 11:51:39 +09:30
6614466d23
Merge pull request #148 from kortschak/renaming
...
Renaming triple-related entities to the quads they actually are (eg, TripleStore -> QuadStore)
2014-08-27 16:36:06 -04:00
kortschak
a22eb42482
Make hashOf a function
2014-08-27 23:25:50 +09:30
kortschak
d8866478df
Add basic support for mongo testing
...
This is not intended to be for general consumption at this stage; it
requires that the tester has a mongod instance running and because of
the time taken to load the db, $GOROOT/src/cmd/go/test.go must be
modified to allow for tests longer than 10 minutes. A future CL may
allow db probing and the use of an existing cayley test dataset.
2014-08-27 23:01:12 +09:30