1 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-17 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Implemented |
4 |
|
usage of 'containers' and 'target' attributes. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified import. |
7 |
|
|
8 |
|
* tools/formed/formed/plugins/web/renderer.py: Use |
9 |
|
new ViewRenderer. |
10 |
|
|
11 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/model/nodecomponents.py: Added attributes |
14 |
|
'target' to NodeComponent and 'containers' to Node. |
15 |
|
|
16 |
|
* tools/formed/formed/plugins/web/view_renderer.py: New. Aimed |
17 |
|
to be a replacement for form_renderer. Not ready yet! |
18 |
|
|
19 |
|
* ChangeLog: Fixed some indention glitches. |
20 |
|
|
21 |
|
2007-09-13 Torsten Irlaender <[email protected]> |
22 |
|
|
23 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed bug in the |
24 |
|
renaming algorithm. |
25 |
|
|
26 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
27 |
|
|
28 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed header |
29 |
|
from formular navigation to "Fallakte Inhalt" |
30 |
|
|
31 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
32 |
|
|
33 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad |
34 |
|
values (dates) were not pretty printed. |
35 |
|
|
36 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to |
37 |
|
label rendering for choicelists. |
38 |
|
|
39 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that |
42 |
|
choicelist did not get selected when the value is set to "0" |
43 |
|
|
44 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added |
47 |
|
"getPrintableData" method, for the formdata Class which will return |
48 |
|
the description rather than the value of element in the ID. This is |
49 |
|
need for displaying the choises in a right way. |
50 |
|
|
51 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed string |
52 |
|
"Fallnummer" into "Kundennummer" in the templates. Added |
53 |
|
Kundennummer to the dataset digest output. Bound in the new |
54 |
|
"getPrintableData" call for the digest. |
55 |
|
|
56 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
57 |
|
|
58 |
|
* tools/formed/formed/plugins/export/data.py: The import/export |
59 |
|
of data is now implemented with filters (the most consequent |
60 |
|
way in terms of design of FormEd). The support of the 'persistent' |
61 |
|
FORMED env-variable support has been removed. |
62 |
|
|
63 |
|
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
64 |
|
filter file dialog to double as import dialog. |
65 |
|
|
66 |
|
* tools/formed/formed/main.py: Removed the the FORMED-var support |
67 |
|
for persistence. |
68 |
|
|
69 |
|
* tools/formed/formed/config.py: Add the two new filters to the filters |
70 |
|
list. |
71 |
|
|
72 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
75 |
|
Removed pickle/unpickle stuff. |
76 |
|
|
77 |
|
* tools/formed/formed/main.py: Uses the new XML persistence. |
78 |
|
|
79 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
80 |
|
not converted to int indices. |
81 |
|
|
82 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
85 |
|
with pickle/unpickle. |
86 |
|
|
87 |
|
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
88 |
|
Set to a file name it is tried to unpickle a MemoryDataStore from |
89 |
|
that file. When exiting the program this file is used to store the |
90 |
|
current MemoryDataStore state. The storing only works if you exit |
91 |
|
the program through the Menu File->Exit. |
92 |
|
usage: FORMED=persistent:test.db ./formed.sh |
93 |
|
|
94 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
95 |
|
|
96 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
97 |
|
application on the welcome page from "Formed" to "WASKA" |
98 |
|
|
99 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
100 |
|
|
101 |
|
* tools/formed/formed/plugins/web/plugin.py, |
102 |
|
* tools/formed/formed/plugins/web/controllers.py, |
103 |
|
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
104 |
|
The infopage provides information on all project participants. |
105 |
|
|
106 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
107 |
|
|
108 |
|
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
109 |
|
issues with error messages (once again). |
110 |
|
|
111 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
114 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
115 |
|
icons in error and confirmation dialogs. |
116 |
|
|
117 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
118 |
|
|
119 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
120 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
121 |
|
|
122 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
123 |
|
|
124 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
125 |
|
debug output for help. |
126 |
|
|
127 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
128 |
|
check for bools. |
129 |
|
|
130 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
131 |
|
HTML output of data for bools. |
132 |
|
|
133 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
134 |
|
|
135 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
136 |
|
textfields for int values. Changed Label for submitbuttons to |
137 |
|
"Speichern" |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/web/plugin.py, |
140 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
141 |
|
NotImplementedHandler to show up a dummysite for not implemented |
142 |
|
functions. |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
145 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
146 |
|
labels of some context menus. Error messages are now generated |
147 |
|
dynamically depending on num errors. Formular navigation has now |
148 |
|
colored indication for errors. |
149 |
|
|
150 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
151 |
|
|
152 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
153 |
|
algorithm for the formular navigation to get rid of the problem |
154 |
|
that some of the items within the navigation are not linked. Now |
155 |
|
structural group elements are linked with the next page found in the |
156 |
|
formular structure. |
157 |
|
|
158 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
159 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
160 |
|
div and formtag. |
161 |
|
|
162 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
163 |
|
menu in the conformation dialog when creating a new dataset. |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
166 |
|
rendering the default welcome page. Changed rendering of the |
167 |
|
overview and the digest table of the datasets. Added icon for |
168 |
|
confirmation dialog, moved the icon in the <h1> tags. |
169 |
|
|
170 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
173 |
|
generation cleanup. Added error icons to formelements |
174 |
|
|
175 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
176 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
177 |
|
|
178 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
179 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
180 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
181 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
182 |
|
old obsolete OverviewRenderer. |
183 |
|
|
184 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
185 |
|
|
186 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
187 |
|
page in page navigation. |
188 |
|
|
189 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
190 |
|
|
191 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
192 |
|
displaying formdata when changing datasets. Loading the right |
193 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
194 |
|
Left some commented code because not all sideeffects of the changes |
195 |
|
are tested yet. |
196 |
|
|
197 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
198 |
|
now uses the correct data out of the formdata. |
199 |
|
|
200 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
201 |
|
|
202 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
203 |
|
print format data (dates e.g) |
204 |
|
|
205 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
206 |
|
|
207 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
208 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
209 |
|
No clue why this works. |
210 |
|
|
211 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
212 |
|
|
213 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
214 |
|
problem with radio groups, too. |
215 |
|
|
216 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
217 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
218 |
|
really removed when deleting a dataset. |
219 |
|
|
220 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
221 |
|
|
222 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
223 |
|
ErrorStats which provides Information on remaining errors per page. |
224 |
|
|
225 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
226 |
|
the renderer methods from controllers.py to renderers.py. |
227 |
|
|
228 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
229 |
|
handlers |
230 |
|
|
231 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
232 |
|
|
233 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
234 |
|
choices are generated from the document tree now. This brings |
235 |
|
the state storage of select boxes in HTML to live. |
236 |
|
|
237 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
238 |
|
|
239 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
240 |
|
range checking of integers. |
241 |
|
|
242 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
243 |
|
ErrorItem to track errors. They are stored in the session. |
244 |
|
|
245 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
246 |
|
|
247 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
248 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
249 |
|
|
250 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
251 |
|
written 'errot' in renderer for textareas. |
252 |
|
|
253 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
254 |
|
|
255 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
256 |
|
|
257 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
258 |
|
method. Could be cheaper for some implementations of help. |
259 |
|
|
260 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
261 |
|
FormData to have distinct getData(), getHelp() and getError() |
262 |
|
methods. Various bug fixes. |
263 |
|
|
264 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
265 |
|
new FormData (trivial by now). |
266 |
|
|
267 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
268 |
|
some bug fixes. |
269 |
|
|
270 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
271 |
|
|
272 |
|
* tools/formed/formed/model/memory.py, |
273 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
274 |
|
to dataset abstraction. This is a bit of a workaround to bring |
275 |
|
global access across pages for rule checking to work. |
276 |
|
|
277 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
278 |
|
the compiled version was not stored in the RuleLeaf. |
279 |
|
|
280 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
281 |
|
convert the expression string to ascii for compilation. |
282 |
|
|
283 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
284 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
285 |
|
with integer handler. |
286 |
|
|
287 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
288 |
|
stuff. When a submit is done extract the rules from the tree document |
289 |
|
that are effected by the modified variables and check them. |
290 |
|
|
291 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
292 |
|
when dealing with templates. |
293 |
|
|
294 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
295 |
|
* tools/formed/formed/plugins/web/controllers.py, |
296 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
297 |
|
functions into renderer.py. New render classes are: |
298 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
299 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
300 |
|
|
301 |
|
Note: The new methods are only called from selected handlers. Other |
302 |
|
handlers call the renderes in the old way. |
303 |
|
|
304 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
305 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
306 |
|
renderer.py to form_renderer.py. This file will contain formular |
307 |
|
specfic render methods in the future. |
308 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
309 |
|
which will contain general render methods. |
310 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
311 |
|
rendering into renderer.py or form_renderer.py. This file will only |
312 |
|
contain teh handlers in the future. |
313 |
|
|
314 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
315 |
|
* tools/formed/formed/plugins/web/renderer.py, |
316 |
|
tools/formed/formed/plugins/web/controller.py: |
317 |
|
Renderes now get an instance of the formdata object to provide |
318 |
|
access the data needed to render various infoboxes etc. Handler |
319 |
|
instanciate the formdata. |
320 |
|
|
321 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
322 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
323 |
|
getFormData interface to work. Added two small semantic fixes, but |
324 |
|
did not manage to get it up. Need to exime this a little bit more |
325 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
326 |
|
around the menus on the right side to be able to assign different |
327 |
|
styles. Added dataset actions while editing a dataset. |
328 |
|
|
329 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
330 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
331 |
|
removing unwanted del method |
332 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
333 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
334 |
|
templates as well for larger information units like the dataset summary. |
335 |
|
|
336 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
337 |
|
|
338 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
339 |
|
method to document to find index of page. |
340 |
|
|
341 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
342 |
|
to fetch data from semantic box. |
343 |
|
|
344 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
345 |
|
FormData implementation to support DB and semantic box. |
346 |
|
|
347 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
348 |
|
|
349 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
350 |
|
error message. |
351 |
|
|
352 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
353 |
|
dataset from backend each time a page is up to edit. |
354 |
|
|
355 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
356 |
|
|
357 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
358 |
|
returns "Page not found" if given page is None. |
359 |
|
|
360 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
361 |
|
to avoid crashing when ask for a non-existent page. |
362 |
|
|
363 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
364 |
|
|
365 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
366 |
|
|
367 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
368 |
|
|
369 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
370 |
|
and renderers. |
371 |
|
|
372 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
373 |
|
and renderers now. TODO: Move renderers to renderer.py |
374 |
|
|
375 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
376 |
|
|
377 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
378 |
|
and bound in the the new added functions to create, edit, delete and |
379 |
|
show formdata. |
380 |
|
|
381 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
382 |
|
|
383 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
384 |
|
simple linear scan for dataset lookup now. |
385 |
|
|
386 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
387 |
|
of different sizes. |
388 |
|
|
389 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
390 |
|
|
391 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
392 |
|
fuction |
393 |
|
|
394 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
395 |
|
to the DataSet interface |
396 |
|
|
397 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
398 |
|
renderes for create, update, delete and show actions on formular data. |
399 |
|
|
400 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
401 |
|
|
402 |
* tools/formed/formed/plugins/web/server.py: The mapping |
* tools/formed/formed/plugins/web/server.py: The mapping |
403 |
to methods is now driven by regualar expressions and |
to methods is now driven by regualar expressions and |
404 |
a dictionary. Response objects are now able to send |
a dictionary. Response objects are now able to send |
405 |
error codes. |
error codes. |
406 |
|
|
407 |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
408 |
when help in Formdata is None. Moved text for help into |
when help in Formdata is None. Moved text for help into |
409 |
a top level '''...''' variable. |
a top level '''...''' variable. |
410 |
|
|
411 |
* tools/formed/test-data/simple.xml: Added test for help. |
* tools/formed/test-data/simple.xml: Added test for help. |
412 |
|
|
414 |
|
|
415 |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
416 |
table driven mapping of reguest handling. TODO: split the |
table driven mapping of reguest handling. TODO: split the |
417 |
WebPlugIn.pageHandler() method further to smaller handlers. |
WebPlugIn.pageHandler() method further to smaller handlers. |
418 |
Smaller clean ups and better exception handling. |
Smaller clean ups and better exception handling. |
419 |
|
|
420 |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
421 |
and do not catch them. |
and do not catch them. |
422 |
|
|
423 |
2007-09-04 Torsten Irlaender <[email protected]> |
2007-09-04 Torsten Irlaender <[email protected]> |
424 |
|
|
425 |
* tools/formed/formed/plugins/web/renderer.py, |
* tools/formed/formed/plugins/web/renderer.py, |
426 |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
429 |
within a <div> tag. |
within a <div> tag. |
430 |
Modified the error messages. |
Modified the error messages. |
431 |
|
|
432 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
433 |
|
|
434 |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
435 |
the server-side caching more clean. Fixes a bug with |
the server-side caching more clean. Fixes a bug with |
436 |
serving static content. |
serving static content. |
437 |
|
|
438 |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
439 |
|
|
440 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
441 |
|
|
442 |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
443 |
to "application/xhtml+xml" when serving help texts. |
to "application/xhtml+xml" when serving help texts. |
444 |
|
|
445 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
446 |
|
|
447 |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
448 |
pairwise differences between all modes. |
pairwise differences between all modes. |
449 |
|
|
450 |
* tools/formed/formed/config.py: Use new export filter. |
* tools/formed/formed/config.py: Use new export filter. |
451 |
|
|
452 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
453 |
|
|
454 |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
455 |
XHTML document for id'ed divs and builds a help lookup. |
XHTML document for id'ed divs and builds a help lookup. |
463 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
464 |
texts now. |
texts now. |
465 |
|
|
466 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
467 |
|
|
468 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
469 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
470 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
471 |
attributes. |
attributes. |
472 |
|
|
473 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
474 |
|
|
475 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
476 |
errors in template |
errors in template |
477 |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
478 |
pageerrors variable |
pageerrors variable |
479 |
|
|
480 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
481 |
|
|
482 |
* tools/formed/formed/plugins/export/html.py |
* tools/formed/formed/plugins/export/html.py |
483 |
(RecursiveExporter): Added annotation to export |
(RecursiveExporter): Added annotation to export |
484 |
(fillRow()): Renamed old fillNine to this more generic name. |
(fillRow()): Renamed old fillNine to this more generic name. |
485 |
|
|
486 |
|
|
487 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
488 |
|
|
489 |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
490 |
from model.misc now. |
from model.misc now. |
491 |
|
|
492 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
493 |
|
|
494 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
495 |
'annotation' attribute to node components. This is to |
'annotation' attribute to node components. This is to |
496 |
enable FormEd document authors to add comments to groups |
enable FormEd document authors to add comments to groups |
497 |
and fields. |
and fields. |
498 |
|
|
499 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
500 |
|
|
501 |
* tools/formed/formed/model/nodecomponents.py |
* tools/formed/formed/model/nodecomponents.py |
502 |
(NodeComponent.getParent): New method to get node components parent. |
(NodeComponent.getParent): New method to get node components parent. |
504 |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
505 |
as simple list instead of collection of bools. |
as simple list instead of collection of bools. |
506 |
|
|
507 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
508 |
|
|
509 |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
510 |
from persistent storage details. |
from persistent storage details. |
514 |
|
|
515 |
* tools/formed/formed/main.py: Holds a memory data store now. |
* tools/formed/formed/main.py: Holds a memory data store now. |
516 |
|
|
517 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
518 |
|
|
519 |
* tools/formed/formed/plugins/export/sql.py, |
* tools/formed/formed/plugins/export/sql.py, |
520 |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
521 |
for FileDialogFilter sub classes. |
for FileDialogFilter sub classes. |
522 |
|
|
523 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
524 |
|
|
525 |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
526 |
tree traversals is a common task. To ease this a decorator function |
tree traversals is a common task. To ease this a decorator function |
527 |
checkMode in union with sub classing ModeChecker can be used. |
checkMode in union with sub classing ModeChecker can be used. |
528 |
To make it work simply subclass from ModeChecker and add the decorator |
To make it work simply subclass from ModeChecker and add the decorator |
529 |
to the methods that need mode tracking. Before you start the recursion |
to the methods that need mode tracking. Before you start the recursion |
530 |
call self.prepareDescent(). |
call self.prepareDescent(). |
531 |
|
|
532 |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
533 |
now which replace the old. TODO: Make the web renderer use the new scheme |
now which replace the old. TODO: Make the web renderer use the new scheme |
534 |
too. |
too. |
535 |
|
|
536 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
537 |
|
|
538 |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
539 |
|
|
540 |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
541 |
uses new FileDialogFilter base class too. |
uses new FileDialogFilter base class too. |
542 |
|
|
543 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
544 |
|
|
545 |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
546 |
need a file dialog. Till now each of them pulled up its |
need a file dialog. Till now each of them pulled up its |
547 |
own. This was silly code replication. Now there is an abstract |
own. This was silly code replication. Now there is an abstract |
548 |
base class 'FileDialogFilter' which implements the common |
base class 'FileDialogFilter' which implements the common |
549 |
behavior. The file exporters should subclass it. |
behavior. The file exporters should subclass it. |
550 |
|
|
551 |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
552 |
exporters from the new base class. TODO: Subclass the HTML |
exporters from the new base class. TODO: Subclass the HTML |
553 |
exporter too. |
exporter too. |
554 |
|
|
555 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
556 |
|
|
557 |
* tools/formed/formed/plugins/export/html.py: Make mode check |
* tools/formed/formed/plugins/export/html.py: Make mode check |
558 |
work (again). |
work (again). |
559 |
|
|
560 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
561 |
|
|
562 |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
563 |
exprt works now in a recursive way. This change was needed because |
exprt works now in a recursive way. This change was needed because |
565 |
full hirachically document stuctures. (nested lists) |
full hirachically document stuctures. (nested lists) |
566 |
TODO: Fix modechecking |
TODO: Fix modechecking |
567 |
|
|
568 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
569 |
|
|
570 |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
571 |
now in recursive way. This change was needed because the structure |
now in recursive way. This change was needed because the structure |
572 |
of the formedtree has changed to be able to render full hirachically |
of the formedtree has changed to be able to render full hirachically |
573 |
document stuctures. (nested lists) |
document stuctures. (nested lists) |
574 |
|
|
575 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
576 |
|
|
577 |
* tools/formed/formed/model/nodecomponents.py: use discard() |
* tools/formed/formed/model/nodecomponents.py: use discard() |
578 |
instead of remove on sets. |
instead of remove on sets. |
583 |
* tools/formed/formed/config.py: Added the new exporter |
* tools/formed/formed/config.py: Added the new exporter |
584 |
to the list of export filters. |
to the list of export filters. |
585 |
|
|
586 |
2007-08-30 Sascha L. Teichmann <[email protected]> |
2007-08-30 Sascha L. Teichmann <[email protected]> |
587 |
|
|
588 |
* tools/formed/formed/model/data.py: Fixed a bug in |
* tools/formed/formed/model/data.py: Fixed a bug in |
589 |
Page.allWidgets() |
Page.allWidgets() |
593 |
|
|
594 |
* tools/formed/formed/config.py: Add the new SP exporter. |
* tools/formed/formed/config.py: Add the new SP exporter. |
595 |
|
|
596 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
597 |
|
|
598 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
599 |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
600 |
to get the errors for a whole page in te formular. These errors can |
to get the errors for a whole page in te formular. These errors can |
601 |
now be displayed on the top of the formular. |
now be displayed on the top of the formular. |
602 |
|
|
603 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
604 |
|
|
605 |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
606 |
of the getFromData interface and prepared the rederer for generating |
of the getFromData interface and prepared the rederer for generating |
607 |
nice error messages |
nice error messages |
608 |
|
|
609 |
2007-08-28 Frank Koormann <[email protected]> |
2007-08-28 Frank Koormann <[email protected]> |
610 |
|
|
611 |
* tools/formed/formed/plugins/export/sql.py |
* tools/formed/formed/plugins/export/sql.py |
612 |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
613 |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
614 |
|
|
615 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
616 |
|
|
617 |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
618 |
function to generated valid quotes within the sql statements |
function to generated valid quotes within the sql statements |
619 |
|
|
620 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
621 |
|
|
622 |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
623 |
for repeat tables. |
for repeat tables. |
624 |
|
|
625 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
626 |
|
|
627 |
* tools/formed/formed/plugins/export/sql.py: When generating |
* tools/formed/formed/plugins/export/sql.py: When generating |
628 |
an extra table check in a table of same content exists. In |
an extra table check in a table of same content exists. In |
629 |
this case reference the existing table. |
this case reference the existing table. |
630 |
|
|
631 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
632 |
|
|
633 |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
634 |
_real_ SQL and respect repeat groups. |
_real_ SQL and respect repeat groups. |
638 |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
639 |
instead of expensive += string concat in some places. |
instead of expensive += string concat in some places. |
640 |
|
|
641 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
642 |
|
|
643 |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
644 |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
645 |
|
|
646 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
647 |
|
|
648 |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
649 |
* tools/formed/model/data.py: Implements Formadata interface to |
* tools/formed/model/data.py: Implements Formadata interface to |
651 |
attribute of the groupnode. Field-label generation slightly changed. |
attribute of the groupnode. Field-label generation slightly changed. |
652 |
Added error indication to textfields |
Added error indication to textfields |
653 |
|
|
654 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
655 |
|
|
656 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
657 |
tools/formed/formed/io/document.py: Removed support |
tools/formed/formed/io/document.py: Removed support |
658 |
of logical groups. |
of logical groups. |
659 |
|
|
660 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
661 |
|
|
662 |
* tools/formed/formed/io/document.py: Avoid saving empty |
* tools/formed/formed/io/document.py: Avoid saving empty |
663 |
attributes. |
attributes. |
664 |
|
|
665 |
* tools/formed/test-data/simple.xml: Applied. |
* tools/formed/test-data/simple.xml: Applied. |
666 |
|
|
667 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
668 |
|
|
669 |
* tools/formed/formed/model/data.py: Added 'repeat' and |
* tools/formed/formed/model/data.py: Added 'repeat' and |
670 |
'invisible' attributes to group. TODO: remove logical group. |
'invisible' attributes to group. TODO: remove logical group. |
671 |
|
|
672 |
2007-08-27 Torsten Irlaender <[email protected]> |
2007-08-27 Torsten Irlaender <[email protected]> |
673 |
|
|
674 |
* tools/formed/plugins/web/plugin.py, |
* tools/formed/plugins/web/plugin.py, |
675 |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
676 |
depending tags in the html generation. |
depending tags in the html generation. |
677 |
|
|
678 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
679 |
|
|
680 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
681 |
tools/formed/formed/io/document.py: Added a logical group. |
tools/formed/formed/io/document.py: Added a logical group. |
682 |
It has an attribute 'repeat' to indicate that it might |
It has an attribute 'repeat' to indicate that it might |
683 |
be worthy an external table in DB schema. |
be worthy an external table in DB schema. |
684 |
|
|
685 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
686 |
|
|
687 |
* tools/formed/formed/plugins/web/plugin.py: Support |
* tools/formed/formed/plugins/web/plugin.py: Support |
688 |
serving of static content. |
serving of static content. |
690 |
* tools/formed/formed/plugins/web/server.py: Removed |
* tools/formed/formed/plugins/web/server.py: Removed |
691 |
old send code. |
old send code. |
692 |
|
|
693 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
694 |
|
|
695 |
* tools/formed/formed/plugins/web/plugin.py: Use new |
* tools/formed/formed/plugins/web/plugin.py: Use new |
696 |
Response object. Fix typo. |
Response object. Fix typo. |
698 |
* tools/formed/formed/plugins/web/server.py: support |
* tools/formed/formed/plugins/web/server.py: support |
699 |
response object to serve different MIME types. |
response object to serve different MIME types. |
700 |
|
|
701 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
702 |
|
|
703 |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
704 |
to FORMED environment variable to specify the |
to FORMED environment variable to specify the |
705 |
root of the static content. |
root of the static content. |
706 |
|
|
707 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
708 |
|
|
709 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
710 |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
711 |
|
|
712 |
* tools/formed/formed/plugins/web/www, |
* tools/formed/formed/plugins/web/www, |
713 |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
714 |
a template for the HTML output. |
a template for the HTML output. |
715 |
|
|
716 |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
717 |
mode issues. Introduces CSS support. Simplified the action |
mode issues. Introduces CSS support. Simplified the action |
718 |
handling. |
handling. |
719 |
|
|
720 |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
721 |
nagivation code. |
nagivation code. |
722 |
|
|
723 |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
724 |
|
|
725 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
726 |
|
|
727 |
* tools/formed/formed/model/data.py: Added missing broadcast |
* tools/formed/formed/model/data.py: Added missing broadcast |
728 |
parameter to setAttribute() of RuleLeaf. |
parameter to setAttribute() of RuleLeaf. |
736 |
* tools/formed/formed/plugins/web/server.py: New. Contains |
* tools/formed/formed/plugins/web/server.py: New. Contains |
737 |
the HTTP server code now. |
the HTTP server code now. |
738 |
|
|
739 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
740 |
|
|
741 |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
742 |
|
|
743 |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
744 |
expression evaluator. To avoid the problem of eval()ing |
expression evaluator. To avoid the problem of eval()ing |
745 |
arbitrary python expressions I've decided to use a very |
arbitrary python expressions I've decided to use a very |
746 |
basic and limited stack machine to support rule checking. |
basic and limited stack machine to support rule checking. |
747 |
|
|
748 |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
749 |
|
|
751 |
|
|
752 |
* tools/formed/formed/model/nodecomponents.py: Add a method |
* tools/formed/formed/model/nodecomponents.py: Add a method |
753 |
to find all items of a given type in document for a given |
to find all items of a given type in document for a given |
754 |
mode. Usefull to find all rules in the tree. |
mode. Usefull to find all rules in the tree. |
755 |
|
|
756 |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
757 |
to attribute table to report exceptions when setting a value |
to attribute table to report exceptions when setting a value |
758 |
from GUI. Useful to report compilation errors when setting |
from GUI. Useful to report compilation errors when setting |
759 |
expr of rule leafs. |
expr of rule leafs. |
760 |
|
|
761 |
* tools/formed/formed/main.py: Added a method to track exceptions |
* tools/formed/formed/main.py: Added a method to track exceptions |
762 |
from the attribute table and pop up dialogs if they occur. |
from the attribute table and pop up dialogs if they occur. |
763 |
Added a counter of rule modifications in tree. Useful if you |
Added a counter of rule modifications in tree. Useful if you |
764 |
want build cached data structures like rule sets and you want |
want build cached data structures like rule sets and you want |
765 |
to know if they are still valid. |
to know if they are still valid. |
766 |
|
|
767 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
768 |
|
|
769 |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
770 |
for checkbox values. (Syntax error). |
for checkbox values. (Syntax error). |
772 |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
773 |
generation |
generation |
774 |
|
|
775 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
776 |
|
|
777 |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
778 |
making the formularnames more database friendly. Added some more |
making the formularnames more database friendly. Added some more |
780 |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
781 |
separated class, and some fixes in sql generation. |
separated class, and some fixes in sql generation. |
782 |
|
|
783 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
784 |
|
|
785 |
* tools/formed/formed/plugins/export/html.py: Print lengths |
* tools/formed/formed/plugins/export/html.py: Print lengths |
786 |
of external choice list. |
of external choice list. |
787 |
|
|
788 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
789 |
|
|
790 |
* tools/formed/formed/main.py: Little workaround for |
* tools/formed/formed/main.py: Little workaround for |
791 |
mode selection if someone adds an removes a mode. |
mode selection if someone adds an removes a mode. |
792 |
|
|
793 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
794 |
|
|
795 |
* tools/formed/test-data/simple.xml: Better test case for |
* tools/formed/test-data/simple.xml: Better test case for |
796 |
mode depended leaf items. |
mode depended leaf items. |
800 |
|
|
801 |
* tools/formed/formed/plugins/export/html.py: Use effective |
* tools/formed/formed/plugins/export/html.py: Use effective |
802 |
mode. TODO: the 'all' modus return false results sometimes. |
mode. TODO: the 'all' modus return false results sometimes. |
803 |
Cause: The modes are only cumulated over time. Removal is |
Cause: The modes are only cumulated over time. Removal is |
804 |
not done. |
not done. |
805 |
|
|
806 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
807 |
|
|
808 |
* tools/formed/formed/plugins/export/html.py: Dump the items |
* tools/formed/formed/plugins/export/html.py: Dump the items |
809 |
of radio groups and choices too. |
of radio groups and choices too. |
810 |
|
|
811 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
812 |
|
|
813 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
814 |
by formular names to make the naming more database friendly. |
by formular names to make the naming more database friendly. |
815 |
Now only alphanumeric and underscore chars is allowed. |
Now only alphanumeric and underscore chars is allowed. |
816 |
|
|
817 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
818 |
|
|
819 |
* tools/formed/formed/plugins/export/html.py: Tweaked |
* tools/formed/formed/plugins/export/html.py: Tweaked |
820 |
HTML table exporter a bit to be on par with the XSLT |
HTML table exporter a bit to be on par with the XSLT |
821 |
script. TODO: Dump items in radio and choice groups. |
script. TODO: Dump items in radio and choice groups. |
822 |
|
|
823 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
824 |
|
|
825 |
* tools/formed/formed/plugins/names/filter.py: Removed |
* tools/formed/formed/plugins/names/filter.py: Removed |
826 |
HTML and SQL exporters. |
HTML and SQL exporters. |
829 |
tools/formed/formed/plugins/export/__init__.py, |
tools/formed/formed/plugins/export/__init__.py, |
830 |
tools/formed/formed/plugins/export/sql.py, |
tools/formed/formed/plugins/export/sql.py, |
831 |
tools/formed/formed/plugins/export/html.py: New: Contain |
tools/formed/formed/plugins/export/html.py: New: Contain |
832 |
the HTML and the SQL exporters now. |
the HTML and the SQL exporters now. |
833 |
|
|
834 |
* tools/formed/formed/config.py: Use exporters from different |
* tools/formed/formed/config.py: Use exporters from different |
835 |
package now. |
package now. |
836 |
|
|
837 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
838 |
|
|
839 |
* tools/formed/formed/plugins/names/filter.py: Added an |
* tools/formed/formed/plugins/names/filter.py: Added an |
840 |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
843 |
|
|
844 |
* tools/formed/formed/config.py: Install the new SQL filter. |
* tools/formed/formed/config.py: Install the new SQL filter. |
845 |
|
|
846 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
847 |
|
|
848 |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
849 |
method to determine the depth of particular tree item. |
method to determine the depth of particular tree item. |
853 |
|
|
854 |
* tools/formed/formed/config.py: Install the new HTML filter. |
* tools/formed/formed/config.py: Install the new HTML filter. |
855 |
|
|
856 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
857 |
|
|
858 |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
859 |
to extract fields and options in the XFA Data in teh PDF. This |
to extract fields and options in the XFA Data in teh PDF. This |
860 |
script might me handy to indicate changes between the different |
script might me handy to indicate changes between the different |
861 |
formular versions. |
formular versions. |
862 |
|
|
863 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
864 |
|
|
865 |
* tools/formed/formed/main.py: Add an 'all' mode to |
* tools/formed/formed/main.py: Add an 'all' mode to |
866 |
select all modes. ;-) |
select all modes. ;-) |
867 |
|
|
868 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
869 |
|
|
870 |
* tools/formed/test-data/simple.xml, |
* tools/formed/test-data/simple.xml, |
871 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
875 |
tools/formed/formed/main.py: Removed support for switch nodes. |
tools/formed/formed/main.py: Removed support for switch nodes. |
876 |
BEWARE: This breaks compatibility with older documents! |
BEWARE: This breaks compatibility with older documents! |
877 |
|
|
878 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
879 |
|
|
880 |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
881 |
getSelectedMode() from main now. |
getSelectedMode() from main now. |
886 |
* tools/formed/formed/config.py: removed selected mode from |
* tools/formed/formed/config.py: removed selected mode from |
887 |
env configuration. |
env configuration. |
888 |
|
|
889 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
890 |
|
|
891 |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
892 |
table are now alphabetically sorted. |
table are now alphabetically sorted. |
893 |
|
|
894 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
895 |
|
|
896 |
* tools/formed/formed/model/nodecomponents.py: Added code to |
* tools/formed/formed/model/nodecomponents.py: Added code to |
897 |
establish the new 'modes' recursively. |
establish the new 'modes' recursively. |
907 |
|
|
908 |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
909 |
|
|
910 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
911 |
|
|
912 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
913 |
attribute 'modes' to NodeComponents. |
attribute 'modes' to NodeComponents. |
914 |
|
|
915 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
916 |
|
|
917 |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
918 |
|
|
919 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
920 |
|
|
921 |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
922 |
for the hidden field. Argh! |
for the hidden field. Argh! |
923 |
|
|
924 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
925 |
|
|
926 |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
927 |
generation of hidden page field. |
generation of hidden page field. |
928 |
|
|
929 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
930 |
|
|
931 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
932 |
checks for radio groups. |
checks for radio groups. |
933 |
|
|
934 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
935 |
|
|
936 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
937 |
checks for choices. |
checks for choices. |
946 |
* contrib/convert-formedtree2html.xsl: |
* contrib/convert-formedtree2html.xsl: |
947 |
Replace technical types with readable descriptions |
Replace technical types with readable descriptions |
948 |
|
|
949 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
950 |
|
|
951 |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
952 |
issues. 'action' looks for all widgets on a page now, goes |
issues. 'action' looks for all widgets on a page now, goes |
953 |
through all passed parameters, tries to match them with the |
through all passed parameters, tries to match them with the |
954 |
widgets of the page and put them into the semantic box. |
widgets of the page and put them into the semantic box. |
955 |
Afterwards a list of untouched page parameters are left |
Afterwards a list of untouched page parameters are left |
956 |
which will be deleted from the semantic box. |
which will be deleted from the semantic box. |
957 |
|
|
958 |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
959 |
The NodeComponent is passed as an argument now. |
The NodeComponent is passed as an argument now. |
961 |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
962 |
hidden field to store the name of the page. |
hidden field to store the name of the page. |
963 |
|
|
964 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
965 |
|
|
966 |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
967 |
issue with incoming UTF-8 data. |
issue with incoming UTF-8 data. |
968 |
|
|
969 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
970 |
|
|
971 |
* tools/formed/test-data/simple.xml: Improve test for widgets |
* tools/formed/test-data/simple.xml: Improve test for widgets |
972 |
in switches. |
in switches. |
973 |
|
|
974 |
* tools/formed/formed/model/data.py: Added a method to find all |
* tools/formed/formed/model/data.py: Added a method to find all |
975 |
widgets in a given page. Fixed a bug when walking in switch |
widgets in a given page. Fixed a bug when walking in switch |
976 |
with a given mode. |
with a given mode. |
977 |
|
|
978 |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
979 |
listing all widgets in page. |
listing all widgets in page. |
980 |
|
|
981 |
2007-08-21 Torsten Irlaender <[email protected]> |
2007-08-21 Torsten Irlaender <[email protected]> |
982 |
|
|
983 |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
984 |
latin-1 |
latin-1 |
985 |
|
|
986 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
987 |
|
|
988 |
* tools/formed/formed/model/data.py: Added mode parameter to |
* tools/formed/formed/model/data.py: Added mode parameter to |
989 |
walk. |
walk. |
990 |
|
|
991 |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
992 |
walk() with usage of the new mode parameter. Added a method to |
walk() with usage of the new mode parameter. Added a method to |
993 |
give children in a given mode. |
give children in a given mode. |
994 |
|
|
995 |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
996 |
new Switch.childrenInMode() method. |
new Switch.childrenInMode() method. |
997 |
|
|
998 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
999 |
|
|
1000 |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
1001 |
texts and text areas. |
texts and text areas. |
1003 |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
1004 |
to UTF-8 in generated form. |
to UTF-8 in generated form. |
1005 |
|
|
1006 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
1007 |
|
|
1008 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
1009 |
tests for dates. |
tests for dates. |
1010 |
|
|
1011 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
1012 |
|
|
1013 |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
1014 |
range test. |
range test. |
1022 |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
1023 |
check. |
check. |
1024 |
|
|
1025 |
2007-08-20 Torsten Irlaender <[email protected]> |
2007-08-20 Torsten Irlaender <[email protected]> |
1026 |
|
|
1027 |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
1028 |
selection-field generation (Removed quote) |
selection-field generation (Removed quote) |
1035 |
renderer. This submit parameters are stored in the |
renderer. This submit parameters are stored in the |
1036 |
session now. This will ease testing the constraint |
session now. This will ease testing the constraint |
1037 |
tests which need to be written soon. |
tests which need to be written soon. |
1038 |
|
|
1039 |
BEWARE: The session management is _not_ made for production! |
BEWARE: The session management is _not_ made for production! |
1040 |
Denial of service attacks are too easy, and the |
Denial of service attacks are too easy, and the |
1041 |
cryptographical strength of the session id is doubtful. |
cryptographical strength of the session id is doubtful. |
1053 |
and can be hooked automatically into the new 'Filters' |
and can be hooked automatically into the new 'Filters' |
1054 |
sub menu under 'Extra'. They got called when the user |
sub menu under 'Extra'. They got called when the user |
1055 |
selects their respective menu item. |
selects their respective menu item. |
1056 |
|
|
1057 |
* tools/formed/formed/config.py: Contains the list of |
* tools/formed/formed/config.py: Contains the list of |
1058 |
installed filters. |
installed filters. |
1059 |
|
|
1114 |
|
|
1115 |
* tools/formed/formed/main.py: Swaped order of |
* tools/formed/formed/main.py: Swaped order of |
1116 |
'Make names unique' and 'Selected mode...' in Extra |
'Make names unique' and 'Selected mode...' in Extra |
1117 |
menu and put a separator between them. |
menu and put a separator between them. |
1118 |
|
|
1119 |
2007-08-15 Sascha L. Teichmann <[email protected]> |
2007-08-15 Sascha L. Teichmann <[email protected]> |
1120 |
|
|
1123 |
|
|
1124 |
* tools/formed/formed/plugins/plugin.py: Simplified |
* tools/formed/formed/plugins/plugin.py: Simplified |
1125 |
the plug-in interface. Only the reference to the |
the plug-in interface. Only the reference to the |
1126 |
global configuration is passed at setup time. |
global configuration is passed at setup time. |
1127 |
|
|
1128 |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
1129 |
to new plug-in setup. The traveral mode is now taken |
to new plug-in setup. The traveral mode is now taken |
1130 |
from the global configuration each time a rendering |
from the global configuration each time a rendering |
1131 |
is triggered. The FORMED parameter is now named |
is triggered. The FORMED parameter is now named |
1132 |
'doc.mode' instead of 'web.mode'. The parameter |
'doc.mode' instead of 'web.mode'. The parameter |
1133 |
is not needed any more because it can be configured |
is not needed any more because it can be configured |
1134 |
at runtime. |
at runtime. |
1135 |
|
|
1136 |
* tools/formed/formed/main.py: Adjusted to new plugin |
* tools/formed/formed/main.py: Adjusted to new plugin |
1137 |
setup. Added a new menu item Extra->Select Mode... |
setup. Added a new menu item Extra->Select Mode... |
1138 |
to select the traversal mode. It is stored in the |
to select the traversal mode. It is stored in the |
1139 |
global config. |
global config. |
1140 |
|
|
1141 |
* tools/formed/formed/config.py: Simplified. Only uses |
* tools/formed/formed/config.py: Simplified. Only uses |
1142 |
one env dictionary to store global configuration parameters. |
one env dictionary to store global configuration parameters. |
1148 |
|
|
1149 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
1150 |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
1151 |
print out in web plugin. |
print out in web plugin. |
1152 |
|
|
1153 |
2007-08-15 Torsten Irlaender <[email protected]> |
2007-08-15 Torsten Irlaender <[email protected]> |
1154 |
|
|
1166 |
|
|
1167 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
1168 |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
1169 |
to FORMED environment variable. |
to FORMED environment variable. |
1170 |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
1171 |
Defaults to 'default'. |
Defaults to 'default'. |
1172 |
|
|
1173 |
* tools/formed/test-data/simple.xml: Added test for switch. |
* tools/formed/test-data/simple.xml: Added test for switch. |
1174 |
|
|
1182 |
* tools/formed/formed/io/document.py, |
* tools/formed/formed/io/document.py, |
1183 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
1184 |
tools/formed/formed/model/nodecomponents.py: Added an item |
tools/formed/formed/model/nodecomponents.py: Added an item |
1185 |
to model external item lists. |
to model external item lists. |
1186 |
|
|
1187 |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
1188 |
list. |
list. |
1199 |
|
|
1200 |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
1201 |
choice item lists for a given field from XFA files. e.g. with |
choice item lists for a given field from XFA files. e.g. with |
1202 |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
1203 |
|
|
1204 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
2007-08-12 Sascha L. Teichmann <[email protected]> |
1205 |
|
|
1206 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1207 |
tools/formed/formed/plugins/web/renderer.py, |
tools/formed/formed/plugins/web/renderer.py, |
1208 |
tools/formed/formed/io/document.py: Changed the structure |
tools/formed/formed/io/document.py: Changed the structure |
1209 |
of choice constructs. The idea to hold the different items |
of choice constructs. The idea to hold the different items |
1210 |
of a particular choice in a semicolon separated list was bad. |
of a particular choice in a semicolon separated list was bad. |
1211 |
Now choices are groups and the option items are modelled as |
Now choices are groups and the option items are modelled as |
1212 |
embedded bools. (mainly Torsten Irländer's idea). |
embedded bools. (mainly Torsten Irländer's idea). |
1213 |
|
|
1214 |
WARNING: this makes old document files containing choices incompatible!!! |
WARNING: this makes old document files containing choices incompatible!!! |
1215 |
Use the following XSLT to reestablish compatibility. |
Use the following XSLT to reestablish compatibility. |
1216 |
|
|
1217 |
* contrib/itemize-choices.xsl: New converts old to new structure. |
* contrib/itemize-choices.xsl: New converts old to new structure. |
1218 |
Needs exslt.org's string extensions (which xsltproc includes) |
Needs exslt.org's string extensions (which xsltproc includes) |
1219 |
|
|
1231 |
|
|
1232 |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
1233 |
of the tree. |
of the tree. |
1234 |
|
|
1235 |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
1236 |
|
|
1237 |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
1254 |
|
|
1255 |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
1256 |
items in the document tree. Added a method to eliminated duplicated names |
items in the document tree. Added a method to eliminated duplicated names |
1257 |
in document tree. |
in document tree. |
1258 |
|
|
1259 |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
1260 |
after names collisions are eliminated. |
after names collisions are eliminated. |
1266 |
|
|
1267 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1268 |
tools/formed/formed/plugins/web/renderer.py: Removed support |
tools/formed/formed/plugins/web/renderer.py: Removed support |
1269 |
for 'text' attributes in bool items. They were never really |
for 'text' attributes in bool items. They were never really |
1270 |
used and the 'description' attributes fulfill the same |
used and the 'description' attributes fulfill the same |
1271 |
purpose. |
purpose. |
1272 |
|
|
1273 |
* contrib/remove-bool-text.xsl: Transform to remove the |
* contrib/remove-bool-text.xsl: Transform to remove the |
1274 |
'text' attributes from bool items. Apply with: |
'text' attributes from bool items. Apply with: |
1275 |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
1276 |
|
|
1277 |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
1278 |
from bool items. |
from bool items. |
1291 |
|
|
1292 |
* contrib/convert-choices.xsl: Added to convert document files |
* contrib/convert-choices.xsl: Added to convert document files |
1293 |
which use the choice 'option' attribute to usage of 'value'. |
which use the choice 'option' attribute to usage of 'value'. |
1294 |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
1295 |
|
|
1296 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2007-08-10 Sascha L. Teichmann <[email protected]> |
1297 |
|
|
1328 |
|
|
1329 |
* tools/formed/formed/plugins/web/plugin.py: To determine |
* tools/formed/formed/plugins/web/plugin.py: To determine |
1330 |
the port look at FORMED dictionary first. Key is 'web.port'. |
the port look at FORMED dictionary first. Key is 'web.port'. |
1331 |
e.g. FORMED='web.port:8888' |
e.g. FORMED='web.port:8888' |
1332 |
|
|
1333 |
* tools/formed/formed/main.py: Call the plugin setup with |
* tools/formed/formed/main.py: Call the plugin setup with |
1334 |
the reference to the config. |
the reference to the config. |
1408 |
|
|
1409 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1410 |
tools/formed/formed/model/nodecomponents.py: Added new |
tools/formed/formed/model/nodecomponents.py: Added new |
1411 |
attributes. |
attributes. |
1412 |
|
|
1413 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1414 |
for checkboxes and radio buttons. |
for checkboxes and radio buttons. |
1437 |
|
|
1438 |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
1439 |
version of a recursive HTML renderer based on the document |
version of a recursive HTML renderer based on the document |
1440 |
tree. |
tree. |
1441 |
|
|
1442 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1443 |
|
|
1466 |
|
|
1467 |
* tools/formed/formed/main.py: Added event route document -> |
* tools/formed/formed/main.py: Added event route document -> |
1468 |
attribute table to get informed when selected item is delete |
attribute table to get informed when selected item is delete |
1469 |
or an attribute is changed from the outside. |
or an attribute is changed from the outside. |
1470 |
|
|
1471 |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
1472 |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
1473 |
of 3 argument. Uses icons+tooltips for tree navigation now. |
of 3 argument. Uses icons+tooltips for tree navigation now. |
1474 |
|
|
1475 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2007-08-07 Sascha L. Teichmann <[email protected]> |
1476 |
|
|
1518 |
|
|
1519 |
* tools/formed/formed/ui/controls.py: Establish sort order |
* tools/formed/formed/ui/controls.py: Establish sort order |
1520 |
by indices of children in parent instead of alphanum. |
by indices of children in parent instead of alphanum. |
1521 |
Code to move items up and down the document tree. |
Code to move items up and down the document tree. |
1522 |
|
|
1523 |
* tools/formed/formed/io/document.py: Added missing imports. |
* tools/formed/formed/io/document.py: Added missing imports. |
1524 |
|
|
1531 |
|
|
1532 |
* tools/formed/formed/main.py, |
* tools/formed/formed/main.py, |
1533 |
tools/formed/formed/ui/controls.py: Added control to |
tools/formed/formed/ui/controls.py: Added control to |
1534 |
move items around in tree. Has no effect by now. |
move items around in tree. Has no effect by now. |
1535 |
|
|
1536 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2007-08-05 Sascha L. Teichmann <[email protected]> |
1537 |
|
|
1547 |
|
|
1548 |
* tools/formed/*: initial check-in of the Formular Editor. |
* tools/formed/*: initial check-in of the Formular Editor. |
1549 |
Not working yet. Only can load, view and store formular XML files. |
Not working yet. Only can load, view and store formular XML files. |
1550 |
Start it with 'tools/formed/formed.sh'. |
Start it with 'tools/formed/formed.sh'. |