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