6675 Commits

Author SHA1 Message Date
Torin Sandall bb239eb414 Fix URL in RELEASE.md 2016-07-14 12:30:10 -07:00
Torin Sandall 40bdf44a54 Update ROADMAP.md 2016-07-14 12:29:26 -07:00
Torin Sandall 13658f0f28 Regenerate parser with latest copy of pigeon 2016-07-14 12:27:29 -07:00
Torin Sandall b96a6318e2 Prepare v0.1.1 development 2016-07-14 12:15:37 -07:00
Torin Sandall d73c3bfe8b Prepare v0.1.0 release 2016-07-14 12:12:45 -07:00
Torin Sandall c1b9010add Merge pull request #69 from tsandall/master
Update download links for v0.1.0
2016-07-14 12:12:37 -07:00
Torin Sandall 692dbb074f Update download links for v0.1.0 2016-07-14 11:56:53 -07:00
Torin Sandall 381e8159ee Merge pull request #67 from tsandall/master
Update Get OPA Go Source example to use go get
2016-07-14 11:32:24 -07:00
Torin Sandall e42b761ff4 Update Get OPA Go Source example to use go get 2016-07-14 11:05:29 -07:00
Torin Sandall 3f06e0fa62 Merge pull request #66 from tsandall/add-parser
Add generated parser code
2016-07-14 11:00:05 -07:00
Torin Sandall 460694e863 Merge pull request #64 from mikol/master
Slack coming soon in footer
2016-07-14 10:46:18 -07:00
Torin Sandall 5e835a7e2f Add generated parser code
This is required to use "go get github.com/open-policy-agent/opa".
2016-07-14 10:42:58 -07:00
Mikol Graves 4299072cc9 Slack coming soon in footer 2016-07-14 10:37:18 -07:00
Torin Sandall a22244b1bb Merge pull request #62 from mikol/master
Midsummer site refresh
2016-07-14 10:28:05 -07:00
Mikol Graves c7d7ec80e3 Minor fixes per @tsandall 2016-07-14 09:57:04 -07:00
Mikol Graves 1fdce14755 Midsummer site refresh 2016-07-13 17:39:21 -07:00
Mikol Graves 1c50349195 Midsummer site refresh 2016-07-13 17:37:59 -07:00
Torin Sandall 5b45cf7249 Fix data-model-dependencies.svg link 2016-07-13 15:18:08 -07:00
Torin Sandall 60a6210f0d Merge pull request #61 from tsandall/master
Update data-model-depedencies.svg labels
2016-07-13 15:15:25 -07:00
Torin Sandall dff5b137fc Update data-model-dependencies.svg link 2016-07-13 15:05:58 -07:00
Torin Sandall 364bc39f3b Update data-model-depedencies.svg labels
Changing base document producer labels from "app" to "service" and "user" to
reflect changes in document coming soon.
2016-07-13 15:03:27 -07:00
Torin Sandall 2942b214ff Merge pull request #60 from tsandall/master
Roadmap cleanup
2016-07-12 19:21:08 -07:00
Torin Sandall 8b7f377ab4 Roadmap cleanup
A few items from Future were already done and planning for next release is to
be determined.
2016-07-12 19:19:59 -07:00
Torin Sandall 95ec747daf Fix goreportcard report page link 2016-07-12 10:28:02 -07:00
Torin Sandall cd4be9f2b3 Add goreportcard badge to README 2016-07-12 10:27:18 -07:00
Torin Sandall c89add303c Merge pull request #58 from tsandall/benchmark
Initial topdown optimizations
2016-07-12 10:21:50 -07:00
Torin Sandall 058974419a Optimization: Avoid slice copies in hotspots 2016-07-12 08:49:39 -07:00
Torin Sandall 7918c47612 Optimization: Avoid plug on indexing check
Avoid plugging expressions when it is known beforehand that indexing cannot be
used for the expression.
2016-07-12 08:49:39 -07:00
Torin Sandall 1ecb93ad3d Optimization: Remove copying of bindings
Instead of copying the bindings each time a binding is added, return an object
that can be used to undo the binding at the end of the proof.
2016-07-12 08:49:38 -07:00
Torin Sandall 15d4bbf612 Optimization: Defer unification until needed
Before, variables were unified each time a binding was added. This required
iterating all of the bindings and plugging with the new value. Most of the
time bindings are not changed so this incurred the plug overhead for no
reason.
2016-07-12 08:49:38 -07:00
Torin Sandall 645c6bc0c8 Optimization: Improve string and var term hashing
Use siphash for more efficient string hashing and avoid copy in string to byte
conversion.
2016-07-12 08:49:38 -07:00
Torin Sandall d1ac1d024d Vendoring: Add siphash and update dependencies 2016-07-11 15:32:38 -07:00
Torin Sandall ef12b496cc Run performance benchmark after a successful build 2016-07-11 15:32:38 -07:00
Torin Sandall 52b6684a8c Add scheduler benchmark 2016-07-11 08:54:59 -07:00
Torin Sandall 747580ae4a Add Load utility alongside Dump 2016-07-09 15:37:01 -07:00
Torin Sandall 804e616c6d Check float64 conversion 2016-07-09 14:14:19 -07:00
Torin Sandall 787ee135df Update dump command to accept path 2016-07-09 13:24:55 -07:00
Torin Sandall 7423ce4ea8 Merge pull request #57 from tsandall/error-improvements
Improve error messages
2016-07-06 18:05:58 -07:00
Torin Sandall 30aa306d49 Error message improvements
These changes add some helpers to obtain contextual information for error
mesasages. Specifically, the Location values on all AST nodes can be used to
format error messages that include line, column, and filename.

Also, add compiler step to check that built-ins are provided with the correct
number of arguments. The built-in implementations in topdown assume this is
the case and will index into the term slice without checking.
2016-07-05 11:39:25 -07:00
Torin Sandall 0aa873ebb4 Reject non-string import path values 2016-06-30 16:33:44 -07:00
Torin Sandall 99928b536a Set filename on Location objects 2016-06-30 16:33:44 -07:00
Torin Sandall edab7bcc7f Update parser extension to take filename 2016-06-30 16:33:44 -07:00
Torin Sandall fdbe6954e4 Merge pull request #56 from tsandall/builtin-max
New built-in: max
2016-06-30 16:06:42 -07:00
Torin Sandall 21fb448d52 Add built-in section to docs 2016-06-30 15:39:42 -07:00
Torin Sandall 878f42b131 Add max built-in
Also, refactored aggregate/reduce built-ins along the same lines as arithmetic
built-ins to avoid boilerplate.
2016-06-30 15:00:49 -07:00
Torin Sandall 75c41b702a Merge pull request #55 from tsandall/builtin-abs-value
Add absolute value built-in
2016-06-28 17:00:34 -07:00
Torin Sandall b14f1853f6 Add absolute value built-in
Also, refactor arithmetic built-ins to avoid boilerplate.
2016-06-28 15:22:54 -07:00
Torin Sandall a7f451e685 Merge pull request #52 from tsandall/nested-refs
Nested References
2016-06-28 14:39:01 -07:00
Torin Sandall 792a744532 Merge pull request #54 from tsandall/master
Fix seccomp setting in example
2016-06-28 14:10:42 -07:00
Torin Sandall dd8bf4a7d9 Fix seccomp setting in example
Docker 1.10 supports ":" as the separator while Docker 1.11 supports both "="
and ":'.
2016-06-28 14:08:05 -07:00