1 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* formed/formed/plugins/export/rules_sh.py (sql_OperatorUnary): |
4 |
|
Put parentheses around the comparison for the KNOWN operator in |
5 |
|
the generated SQL to ensure correct evaluation order. |
6 |
|
|
7 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* formed/formed/plugins/export/rules_sh.py (binary_operator_map): |
10 |
|
New. Map binary formed expr operators to their SQL counterparts. |
11 |
|
(sql_OperatorBinary): Use binary_operator_map instead of a cascade |
12 |
|
of if-statements with lots of code duplication. Also, put |
13 |
|
parentheses around the resulting SQL expression to make sure the |
14 |
|
expression is correctly. This fixes a problem with WASKO tagging |
15 |
|
rules, where the a FormEd expression of the form like "2 1 1980 |
16 |
|
date 1 1 1980 date - 93 *" would be incorrectly converted to the |
17 |
|
SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date" |
18 |
|
|
19 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
|
* formed/formed/plugins/export/rules_sh.py: Fix formatting. |
22 |
|
|
23 |
|
2010-11-15 Torsten Irlaender <[email protected]> |
24 |
|
|
25 |
|
* formed/formed/model/data.py: Do not set attribute "repeat" for |
26 |
|
Repeat-Groups. |
27 |
|
|
28 |
|
2010-11-10 Torsten Irlaender <[email protected]> |
29 |
|
|
30 |
|
* formed/formed/plugins/modify/rules.py: Fixed date sequence rule |
31 |
|
checks for date in future. |
32 |
|
|
33 |
|
2010-11-08 Roland Geider <[email protected]> |
34 |
|
|
35 |
|
* formed/formed/plugins/export/xsd.py: validate formedtree.xml |
36 |
|
|
37 |
|
2010-11-08 Roland Geider <[email protected]> |
38 |
|
|
39 |
|
* formed/formed/model/data.py, |
40 |
|
formed/formed/plugins/export/xsd.py, |
41 |
|
formed/formed/config.py: issue1131: generate XSD for case exports |
42 |
|
|
43 |
2010-10-21 Torsten Irlaender <[email protected]> |
2010-10-21 Torsten Irlaender <[email protected]> |
44 |
|
|
45 |
* formed/formed/plugins/export/rules_sh.py: Added new LE-Operator |
* formed/formed/plugins/export/rules_sh.py: Added new LE-Operator |