1 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
4 |
|
latin-1 |
5 |
|
|
6 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
9 |
|
walk. |
10 |
|
|
11 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
12 |
|
walk() with usage of the new mode parameter. Added a method to |
13 |
|
give children in a given mode. |
14 |
|
|
15 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
16 |
|
new Switch.childrenInMode() method. |
17 |
|
|
18 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
19 |
|
|
20 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
21 |
|
texts and text areas. |
22 |
|
|
23 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
24 |
|
to UTF-8 in generated form. |
25 |
|
|
26 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
27 |
|
|
28 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
29 |
|
tests for dates. |
30 |
|
|
31 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
32 |
|
|
33 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
34 |
|
range test. |
35 |
|
|
36 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
37 |
|
to find a tree item for a given name. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
40 |
|
semantic checking. Has check for integers. |
41 |
|
|
42 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
43 |
|
check. |
44 |
|
|
45 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
46 |
|
|
47 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
48 |
|
selection-field generation (Removed quote) |
49 |
|
|
50 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
51 |
|
|
52 |
|
* tools/formed/formed/plugins/web/plugin.py, |
53 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
54 |
|
simple cookie based session management to the HTML |
55 |
|
renderer. This submit parameters are stored in the |
56 |
|
session now. This will ease testing the constraint |
57 |
|
tests which need to be written soon. |
58 |
|
|
59 |
|
BEWARE: The session management is _not_ made for production! |
60 |
|
Denial of service attacks are too easy, and the |
61 |
|
cryptographical strength of the session id is doubtful. |
62 |
|
|
63 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
64 |
|
|
65 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
66 |
|
coming from the document tree now when inserting it into the |
67 |
|
HTML output. |
68 |
|
|
69 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
72 |
|
of plug-in: Filter. They have a short and a long description |
73 |
|
and can be hooked automatically into the new 'Filters' |
74 |
|
sub menu under 'Extra'. They got called when the user |
75 |
|
selects their respective menu item. |
76 |
|
|
77 |
|
* tools/formed/formed/config.py: Contains the list of |
78 |
|
installed filters. |
79 |
|
|
80 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
81 |
|
sub menu during gui initialization. The hard wired code |
82 |
|
for make unique and formular name/description -> name |
83 |
|
is removed because they are implemented as filters now. |
84 |
|
|
85 |
|
* tools/formed/formed/model/nodecomponents.py, |
86 |
|
tools/formed/formed/model/data.py: Removed the make |
87 |
|
unique and formular name/description -> name code. |
88 |
|
|
89 |
|
* tools/formed/formed/plugins/names, |
90 |
|
tools/formed/formed/plugins/names/__init__.py, |
91 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
92 |
|
the make unique and formular name/description -> name code |
93 |
|
in form of filters. |
94 |
|
|
95 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
96 |
|
test for the formular name/description -> name filter. |
97 |
|
|
98 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
99 |
|
|
100 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
101 |
|
command line argument is interpreted as filename of document |
102 |
|
to be loaded at program startup. |
103 |
|
|
104 |
|
2007-08-17 Frank Koormann <[email protected]> |
105 |
|
|
106 |
|
* contrib/convert-formedtree2html.xsl: |
107 |
|
Heading level depending on depth of group node. |
108 |
|
In case of radio/choice/check only list of options. |
109 |
|
|
110 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
111 |
|
|
112 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
113 |
|
HTML doc-string and charset information in the meta-header. |
114 |
|
|
115 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
116 |
|
|
117 |
|
* contrib/convert-formedtree2html.xsl: Added small script for |
118 |
|
exporting the formed tree to html |
119 |
|
|
120 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
121 |
|
|
122 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
123 |
|
the set the name of the node to the formularname. The formularname |
124 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
125 |
|
If the name is not unique and additional id value is appended. |
126 |
|
|
127 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
128 |
|
bool-leafs |
129 |
|
|
130 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
131 |
|
of the element |
132 |
|
|
133 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
134 |
|
|
135 |
|
* tools/formed/formed/main.py: Swaped order of |
136 |
|
'Make names unique' and 'Selected mode...' in Extra |
137 |
|
menu and put a separator between them. |
138 |
|
|
139 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
140 |
|
|
141 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
142 |
|
their modes to a given set now. |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
145 |
|
the plug-in interface. Only the reference to the |
146 |
|
global configuration is passed at setup time. |
147 |
|
|
148 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
149 |
|
to new plug-in setup. The traveral mode is now taken |
150 |
|
from the global configuration each time a rendering |
151 |
|
is triggered. The FORMED parameter is now named |
152 |
|
'doc.mode' instead of 'web.mode'. The parameter |
153 |
|
is not needed any more because it can be configured |
154 |
|
at runtime. |
155 |
|
|
156 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
157 |
|
setup. Added a new menu item Extra->Select Mode... |
158 |
|
to select the traversal mode. It is stored in the |
159 |
|
global config. |
160 |
|
|
161 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
162 |
|
one env dictionary to store global configuration parameters. |
163 |
|
|
164 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
165 |
|
select one item from a list of given strings. |
166 |
|
|
167 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
168 |
|
|
169 |
|
* tools/formed/formed/plugins/web/plugin.py, |
170 |
|
tools/formed/formed/plugins/web/renderer.py: Added parameter |
171 |
|
print out in web plugin. |
172 |
|
|
173 |
|
2007-08-15 Torsten Irlaender <[email protected]> |
174 |
|
|
175 |
|
* contrib/convert-formedtree2csv.xsl: Added small script for |
176 |
|
exporting the formed tree to csv |
177 |
|
|
178 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
179 |
|
|
180 |
|
* tools/formed/formed/model/data.py, |
181 |
|
tools/formed/formed/model/nodecomponents.py, |
182 |
|
tools/formed/formed/io/document.py: Added a 'switch' node. |
183 |
|
|
184 |
|
* tools/formed/formed/plugins/web/renderer.py:Render the |
185 |
|
new 'switch' node. |
186 |
|
|
187 |
|
* tools/formed/formed/plugins/web/plugin.py, |
188 |
|
tools/formed/formed/config.py: Added a 'web.mode' parameter |
189 |
|
to FORMED environment variable. |
190 |
|
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
191 |
|
Defaults to 'default'. |
192 |
|
|
193 |
|
* tools/formed/test-data/simple.xml: Added test for switch. |
194 |
|
|
195 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
196 |
|
|
197 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
198 |
|
attribute 'formularname' to base class of node components. |
199 |
|
|
200 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
201 |
|
|
202 |
|
* tools/formed/formed/io/document.py, |
203 |
|
tools/formed/formed/model/data.py, |
204 |
|
tools/formed/formed/model/nodecomponents.py: Added an item |
205 |
|
to model external item lists. |
206 |
|
|
207 |
|
* tools/formed/formed/plugins/web/renderer.py: Render new item |
208 |
|
list. |
209 |
|
* tools/formed/formed/main.py: Added a forgotten 'self.' |
210 |
|
|
211 |
|
* contrib/extract-xfa-items.sh: Modified to generate |
212 |
|
documents to be loadable from new item lists |
213 |
|
|
214 |
2007-08-13 Sascha L. Teichmann <[email protected]> |
2007-08-13 Sascha L. Teichmann <[email protected]> |
215 |
|
|
216 |
* tools/formed/formed/main.py: Fixed typo |
* tools/formed/formed/main.py: Fixed typo |