/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 397 by roland, Tue Sep 14 07:41:39 2010 UTC revision 429 by bh, Wed Nov 24 17:09:57 2010 UTC
# Line 1  Line 1 
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]>
59    
60            * formed/formed/plugins/export/rules_sh.py: Ignore rules if any fields
61              in the rule are in a repeat group
62    
63    2010-10-11  Roland Geider <[email protected]>
64    
65            * formed/plugins/export/rules_sh.py: Added support to more opperators
66              to be able to export the WASKO case
67    
68    2010-10-06  Torsten Irlaender <[email protected]>
69    
70            * formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed
71            gerating SQL for Rules
72            * formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date
73            function.
74    
75    2010-10-05  Torsten Irländer <[email protected]>
76    
77            * formed/formed/model/data.py: Fixed error when setting tag attribute.
78            * formed/formed/plugins/export/rules_sh.py: Added generating exporting
79              tagging-xml
80            * formed/formed/plugins/modify/rules.py: Do not generate automatic
81              tagids for rules.
82    
83    2010-10-04  Torsten Irländer <[email protected]>
84    
85            * formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute
86            "tag" for rule-leafs
87            * formed/formed/config.py: Added export rules as XML to Menu
88            * formed/formed/plugins/modify/rules.py
89            (GenerateRequiredRules.generateDateSequenceRules): Generate automatic
90            tag ids for date-sequence rules
91    
92    2010-09-30  Torsten Irländer <[email protected]>
93    
94            * formed/formed/plugins/export/rules_sh.py
95            (ExportRulesAsSH.doExport): Filter out duplicted rules.
96    
97    2010-09-20  Frank Koormann   <[email protected]>
98    
99            * formed/formed/plugins/export/latex.py (RecursiveExporter):
100            Add "required"-field information to output and include
101            choice list contents.
102    
103    2010-09-16  Bernhard Herzog  <[email protected]>
104    
105            Avoid database deadlocks that can happen when database clients try
106            to work with the same case using two separate database
107            connections.  See mpuls/issue1145 for details.
108    
109            * formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the
110            computation of the new json structure description into the new
111            database function compute_case_structure
112            (TRIGGER_TMPL): Change the trigger functions to immediately update
113            the cached json structure description instead of just setting the
114            modified flag.  This avoids the lazy recomputation that makes what
115            seems like a read-only access (calling get_case_structure) into a
116            writing access (updates of the cache).  The writes lock the row in
117            the case_structure table which prevent other connections from
118            accessing the same case.  As part of this, the delete triggers are
119            now AFTER triggers because the repeat groups instance must have
120            been removed when the structure is recomputed.
121            (SUBSELECT_TMPL): Since the delete trigger is now an after
122            trigger, we need to change the way the master id is computed.  We
123            cannot join with the repeatgroup table in question because the row
124            has already been deleted.  However, we can use the master_id
125            column of the OLD row to select the row of the parent table.
126            (create_triggers): Avoid the inner joins with the current repeat
127            group for the above mentioned reasons.  In the very common case of
128            repeat groups which are direct children of the master_tbl, we can
129            compare the master_tbl.id directly with the row's master_id.
130    
131  2010-09-14 Roland Geider <[email protected]>  2010-09-14 Roland Geider <[email protected]>
132    
133          * formed/formed/plugins/export/xsd.py: issue1131: update XSD for new          * formed/formed/plugins/export/xsd.py: issue1131: update XSD for new

Legend:
Removed from v.397  
changed lines
  Added in v.429

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26