Merge branch 'hotfix-0.4.1' into develop
Update version and add warning for README on develop branch
Add a boolToInt function in util.go
Delete everything from query_test.go. Start writing a robust query tester which calculates expected results for any query without touching the database.
Add an orderedIntersect method in util.go
Merge branch hotfix-0.4.2
Finish writing query tester. Test first query (a find all query)
Add some more tests to query_test.go
Major improvements in testing code. Some tests fail. Code is largely not contiguous. Still work in progress.
implement and test single filter combined with single order of the same field name
Clean up query_test.go
Implement and test filtering combined with orders with different field names.
huge refactoring around transactions and queries. Using a new automatic data dependency resolution model within transactions so all queries use a single transaction and cannot be interrupted by other queries.
Use the new ZRANGEBYLEX operators for getting ids on string queries. Requires redis version >= 2.8.9.
Add note about redis and go version dependency to README
Remove some extraneous comments in query_test.go
Implement and test Limit and Offset modifiers, including combining them with other modifiers. Thousands of generated query combos now pass.
Remove transaction mutex. It was only necessary for the string indexing hack. But with the newer versions of redis we dont need the hack.
Replace fmt.Sprintf style error messages with fmt.Errorf
Dont compile model specs in zoom.Init. Specs are compiled automatically after calls to zoom.Register so not needed. Init can no longer cause a panic.