-
Committer:
Michael Hudson-Doyle
-
Date:
2013-01-08 00:49:22 UTC
-
mfrom:
(373.1.21 filter-api)
-
Revision ID:
michael.hudson@linaro.org-20130108004922-z79ori34mr7esswe
Reorganize the filter code and add an API for it.
The reorganization parts:
1. move most of the filter code into a separate file
2. add some developer documentation in comments
3. make it clear that there are multiple representations of filters in the
code, and that it is the "in-memory" representation that is used to
evaluate a filter
The API parts:
1. add a way to express "get me all the results since the last time I queried a filter"
2. make it possible to specify increasing or decreasing ordering for filter matches
3. add the actual api entry points