Commit graph

700 commits

Author SHA1 Message Date
kortschak
fbb66ddc52 Fix build
goleveldb is broken against go1.2 since de350e, so we cannot support
go1.2. This will change when the goleveldb is changed to again support
go1.2.
2014-07-06 09:23:47 +09:30
kortschak
d489e3da07 Drop testing dependencies 2014-07-05 22:12:56 +09:30
kortschak
1c181429da Purge goconvey and mock
These packages really impact on test readability with crazy action at a
distance. In addition to this removal of goconvey reduced the test run
time for leveldb on average by about 40-50%.
2014-07-05 22:00:46 +09:30
59eca7eb47 Update A+C to match Github (for documentation bits too) 2014-07-03 21:27:24 -04:00
kortschak
3f6cfc98d5 Clean up testing code
Ugh on the error comparison.
2014-07-04 10:29:14 +09:30
kortschak
eb3fd17e1d More consistent formatting
(If only I could point gofmt at everything.)
2014-07-04 10:04:59 +09:30
kortschak
02eb9d051f Simplify test code 2014-07-04 09:52:20 +09:30
e4df9488e7 merge rename_fix 2014-07-03 16:02:54 -04:00
468d943039 dbIt to iter 2014-07-03 15:59:50 -04:00
70f622aefe Merge pull request #51 from barakmich/prefix_string
Prefix vs String for graph.Direction
2014-07-03 15:54:29 -04:00
62d8ebec8a Update test in light of graph iterator types 2014-07-03 15:52:00 -04:00
f6fb8d8f67 Merge pull request #48 from kortschak/enumerate
Enumerate iterator types
2014-07-03 14:40:37 -04:00
50bd7d04ef convert to prefix byte 2014-07-03 13:32:58 -04:00
kortschak
859164d714 Remove goconvey dependency 2014-07-03 20:25:59 +09:30
kortschak
03fb6e367a Remove dependency on goconvey 2014-07-03 19:00:21 +09:30
kortschak
102402a13b Clean tests
Remove goconvey dependency and improve clarity of intention.
2014-07-03 17:57:04 +09:30
kortschak
c2fd33f9d0 Fix missed test messages 2014-07-03 17:55:22 +09:30
kortschak
c8e5ac1916 Add documentation around Type registration 2014-07-03 15:25:21 +09:30
kortschak
cd46452b63 Enumerate iterator types 2014-07-03 09:57:31 +09:30
7b87e08e89 Convert to Prefix/String in graph.Triple 2014-07-02 19:56:16 -04:00
1f67913ed9 fix test 2014-07-02 14:05:34 -04:00
1e2ff472ed Merge remote branch 'kortschak/tables' for #47
Conflicts:
	query/gremlin/functional_test.go
2014-07-02 13:51:13 -04:00
5b207947ce Merge pull request #46 from kortschak/reduction
Reduce the complexity of names and types in graph.{Iterator,TripleStore}
2014-07-02 13:34:28 -04:00
kortschak
ef7c793510 Use table driven test
This simplifies reasoning about the tests by not hiding logic behind a
DSL.
2014-07-02 21:57:31 +09:30
kortschak
447a835b93 Rename AddValue 2014-07-02 12:17:33 +09:30
kortschak
d87e227ff3 Rename TSVal 2014-07-02 12:13:15 +09:30
kortschak
a1453da84e Don't indirect map values
We already have reference behaviour, so this is not necessary.

This change highlighted fairly baroque architecture in mql that deserves
some attention; the use of channels is somewhat confusing.

Also rename LastResult to Result.
2014-07-02 12:08:49 +09:30
kortschak
b89d4f392c Reduce TripleStore interface names 2014-07-02 11:40:33 +09:30
kortschak
8576f66d20 Reduce graph.Iterator method names 2014-07-02 11:02:09 +09:30
e4fb5d2bb8 And remove newline 2014-07-01 11:48:00 -04:00
692d803836 Fix symlink for following the instructions 2014-07-01 11:41:37 -04:00
29416465ad Merge pull request #44 from kortschak/iterator
Move iterators into their own package
2014-06-30 22:02:49 -04:00
kortschak
a31a5a170c Remove redundant loggin functions 2014-07-01 10:52:31 +09:30
kortschak
2f2f580858 Remove dead var 2014-07-01 09:46:15 +09:30
kortschak
05a7ecdbb6 Cleaning and TODOs 2014-07-01 09:35:58 +09:30
kortschak
1768e593a8 Move iterators into separate package
Also reduce API exposure and use standard library more - and fix bugs I
previously introduces in mongo.
2014-07-01 09:21:32 +09:30
88be6bee37 Merge pull request #41 from kortschak/enumerated
Yep! Replace string type with graph.Direction
2014-06-29 23:32:30 -04:00
kortschak
12c8769744 Retain correct copyright notice 2014-06-30 12:58:37 +09:30
kortschak
0a03cec497 Replace string type with graph.Direction
This conversion is not complete as there are still uses of string
directions via the Direction.String method in leveldb.
2014-06-30 12:41:03 +09:30
cd11053c98 Merge pull request #40 from barakmich/mql_bug_21
Fix #21 and test the correct semantics
2014-06-29 18:29:02 -07:00
3adfe96ff3 Add test for semantics from #21 2014-06-29 21:22:59 -04:00
18c4c555b5 Fix #21 and change the MQL semantics slightly to match the original MQL 2014-06-29 21:20:54 -04:00
18c56be950 Merge pull request #36 from kortschak/remove-lists
Remove lists
2014-06-29 09:50:41 -07:00
81447d2b12 Merge pull request #37 from jaywgraves/patch-1
fix gremlin documentation for In and Both
2014-06-29 08:59:30 -07:00
Jay Graves
91e18f2978 fix gremlin documentation for In and Both
this was likely a copy/paste from Out.
feel free to change the wording to fit your style.
2014-06-29 10:14:05 -05:00
kortschak
bed8d3813a Remove uses of container/list 2014-06-29 14:38:28 +09:30
kortschak
bc77744449 Remove trivial container/list usage 2014-06-29 13:15:35 +09:30
82f3fc7bfa Canonicalize leveldb internal iterator 2014-06-28 16:47:37 -04:00
44ae0b523e Fix the obvious copy bug 2014-06-28 16:13:20 -04:00
075ea36f1b Merge pull request #32 from barakmich/master
Fix build by only testing Go >= v1.2
2014-06-28 13:02:53 -07:00