/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 185 - (hide annotations)
Mon Sep 17 16:30:44 2007 UTC (17 years, 5 months ago) by teichmann
File size: 56251 byte(s)
web plug-in: Fixed a few smaller bugs in the layout engine.
1 teichmann 183 2007-09-17 Sascha L. Teichmann <[email protected]>
2    
3 teichmann 185 * tools/formed/formed/plugins/web/view_renderer.py: Fixed
4     a few bugs: Do not render empty containers, do not
5     generate misplaced <br class="newline"> in choices.
6     Add a nameless container to catch the items that are
7     nor explicitly assigned to a target. Removed FormData.
8    
9     * tools/formed/formed/plugins/web/renderer.py: Removed
10     a needless import
11    
12     2007-09-17 Sascha L. Teichmann <[email protected]>
13    
14 teichmann 184 * tools/formed/formed/plugins/web/view_renderer.py: Implemented
15     usage of 'containers' and 'target' attributes.
16    
17     * tools/formed/formed/plugins/web/controllers.py: Modified import.
18    
19     * tools/formed/formed/plugins/web/renderer.py: Use
20     new ViewRenderer.
21    
22     2007-09-17 Sascha L. Teichmann <[email protected]>
23    
24 teichmann 183 * tools/formed/formed/model/nodecomponents.py: Added attributes
25     'target' to NodeComponent and 'containers' to Node.
26    
27     * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
28     to be a replacement for form_renderer. Not ready yet!
29    
30     * ChangeLog: Fixed some indention glitches.
31    
32     2007-09-13 Torsten Irlaender <[email protected]>
33    
34 torsten 182 * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
35     renaming algorithm.
36    
37 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
38    
39 torsten 181 * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
40     from formular navigation to "Fallakte Inhalt"
41    
42 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
43    
44 torsten 180 * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
45     values (dates) were not pretty printed.
46 teichmann 183
47 torsten 180 * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
48     label rendering for choicelists.
49    
50 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
51    
52 torsten 179 * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
53     choicelist did not get selected when the value is set to "0"
54    
55 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
56    
57 torsten 178 * tools/formed/formed/plugins/web/form_renderer.py: Added
58     "getPrintableData" method, for the formdata Class which will return
59     the description rather than the value of element in the ID. This is
60     need for displaying the choises in a right way.
61    
62     * tools/formed/formed/plugins/web/renderer.py: Changed string
63     "Fallnummer" into "Kundennummer" in the templates. Added
64     Kundennummer to the dataset digest output. Bound in the new
65     "getPrintableData" call for the digest.
66    
67 teichmann 183 2007-10-11 Sascha L. Teichmann <[email protected]>
68 teichmann 176
69 teichmann 177 * tools/formed/formed/plugins/export/data.py: The import/export
70     of data is now implemented with filters (the most consequent
71 teichmann 183 way in terms of design of FormEd). The support of the 'persistent'
72     FORMED env-variable support has been removed.
73    
74 teichmann 177 * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
75     filter file dialog to double as import dialog.
76    
77     * tools/formed/formed/main.py: Removed the the FORMED-var support
78     for persistence.
79    
80     * tools/formed/formed/config.py: Add the two new filters to the filters
81     list.
82    
83 teichmann 183 2007-10-11 Sascha L. Teichmann <[email protected]>
84 teichmann 177
85 teichmann 176 * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
86     Removed pickle/unpickle stuff.
87    
88     * tools/formed/formed/main.py: Uses the new XML persistence.
89    
90     * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
91     not converted to int indices.
92    
93 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
94 teichmann 175
95     * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
96     with pickle/unpickle.
97    
98     * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
99     Set to a file name it is tried to unpickle a MemoryDataStore from
100 teichmann 183 that file. When exiting the program this file is used to store the
101     current MemoryDataStore state. The storing only works if you exit
102     the program through the Menu File->Exit.
103     usage: FORMED=persistent:test.db ./formed.sh
104 teichmann 175
105 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
106 teichmann 175
107 torsten 174 * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
108     application on the welcome page from "Formed" to "WASKA"
109    
110 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
111 teichmann 175
112 torsten 172 * tools/formed/formed/plugins/web/plugin.py,
113     * tools/formed/formed/plugins/web/controllers.py,
114     * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
115     The infopage provides information on all project participants.
116    
117 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
118 teichmann 171
119     * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
120     issues with error messages (once again).
121    
122 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
123 teichmann 171
124 torsten 170 * tools/formed/formed/plugins/web/form_renderer.py,
125     * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
126     icons in error and confirmation dialogs.
127    
128 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
129 teichmann 168
130 teichmann 169 * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
131     generation for ints, texts and textareas. Fixed h depths of infos.
132    
133 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
134 teichmann 169
135 teichmann 168 * tools/formed/formed/plugins/web/form_renderer.py: Removed
136     debug output for help.
137    
138     * tools/formed/formed/plugins/web/semantic.py: Added forgotten
139     check for bools.
140    
141     * tools/formed/formed/plugins/web/controllers.py: Added correct
142     HTML output of data for bools.
143    
144 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
145 teichmann 168
146 torsten 167 * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
147     textfields for int values. Changed Label for submitbuttons to
148     "Speichern"
149 teichmann 168
150 torsten 167 * tools/formed/formed/plugins/web/plugin.py,
151     tools/formed/formed/plugins/web/controllers.py: Added new
152     NotImplementedHandler to show up a dummysite for not implemented
153     functions.
154 teichmann 168
155 torsten 167 * tools/formed/formed/plugins/web/renderer.py: Added
156     NotImplementedRenderer. Various small fixes. Mostly renaming the
157     labels of some context menus. Error messages are now generated
158     dynamically depending on num errors. Formular navigation has now
159     colored indication for errors.
160    
161 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
162 teichmann 168
163 torsten 166 * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
164     algorithm for the formular navigation to get rid of the problem
165     that some of the items within the navigation are not linked. Now
166     structural group elements are linked with the next page found in the
167     formular structure.
168    
169 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
170 torsten 165 * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
171     div and formtag.
172 teichmann 168
173 torsten 165 * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
174     menu in the conformation dialog when creating a new dataset.
175 teichmann 168
176 torsten 165 * tools/formed/formed/plugins/web/renderer.py: Fixed error when
177     rendering the default welcome page. Changed rendering of the
178     overview and the digest table of the datasets. Added icon for
179     confirmation dialog, moved the icon in the <h1> tags.
180    
181 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
182 teichmann 168
183 torsten 164 * tools/formed/formed/plugins/web/form_renderer.py: Some html
184     generation cleanup. Added error icons to formelements
185 teichmann 168
186 torsten 164 * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
187     of ErrorStatus. Fixed generated of the help tags in the formular
188 teichmann 168
189 torsten 164 * tools/formed/formed/plugins/web/renderer.py: Added error icon for
190     pageerrors. An "!" now indicates errors on pages in the formular
191     navigation. Added new <div> "content" around confirmation dialogss.
192     Links in confimation dialogs are now rendered as buttons. Removed
193     old obsolete OverviewRenderer.
194    
195 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
196 teichmann 163
197     * tools/formed/formed/plugins/web/renderer.py: Highlight selected
198     page in page navigation.
199    
200 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
201 teichmann 163
202 torsten 162 * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
203     displaying formdata when changing datasets. Loading the right
204     formdata was not handled in a correct way. Hope it is all fixed now.
205     Left some commented code because not all sideeffects of the changes
206     are tested yet.
207 teichmann 163
208 torsten 162 * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
209     now uses the correct data out of the formdata.
210    
211 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
212 teichmann 159
213 teichmann 161 * tools/formed/formed/plugins/web/controllers.py: Pretty
214     print format data (dates e.g)
215    
216 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
217 teichmann 161
218 teichmann 160 * tools/formed/formed/plugins/web/controllers.py: Modified
219     ErrorStats a bit to avoid mysterious extra error on page.
220 teichmann 183 No clue why this works.
221 teichmann 160
222 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
223 teichmann 160
224 teichmann 159 * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
225     problem with radio groups, too.
226    
227 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
228 torsten 158 * tools/formed/formed/plugins/web/controllers.py: Sessions are now
229     really removed when deleting a dataset.
230    
231 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
232 teichmann 159
233 torsten 157 * tools/formed/formed/plugins/web/controllers.py: Added new Class
234     ErrorStats which provides Information on remaining errors per page.
235 teichmann 159
236 torsten 157 * tools/formed/formed/plugins/web/renderers.py: Finished movement of
237     the renderer methods from controllers.py to renderers.py.
238 teichmann 159
239 torsten 157 * tools/formed/formed/plugins/web/plugin.py: Removed render_session
240     handlers
241 teichmann 153
242 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
243 torsten 157
244 teichmann 156 * tools/formed/formed/plugins/web/form_renderer.py: values for
245     choices are generated from the document tree now. This brings
246 teichmann 183 the state storage of select boxes in HTML to live.
247 teichmann 156
248 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
249 teichmann 156
250 teichmann 155 * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
251     range checking of integers.
252    
253     * tools/formed/formed/plugins/web/controllers.py: Added class
254     ErrorItem to track errors. They are stored in the session.
255    
256 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
257 teichmann 155
258 teichmann 154 * tools/formed/formed/model/nodecomponents.py: Fixed returning
259     wrong index in Document.indexOfcomponentByClassAndName.
260    
261     * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
262     written 'errot' in renderer for textareas.
263    
264     * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
265    
266 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
267 teichmann 154
268 teichmann 153 * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
269     method. Could be cheaper for some implementations of help.
270    
271     * tools/formed/formed/plugins/web/form_renderer.py: Modified
272     FormData to have distinct getData(), getHelp() and getError()
273 teichmann 183 methods. Various bug fixes.
274 teichmann 153
275     * tools/formed/formed/plugins/web/controllers.py: Implements the
276     new FormData (trivial by now).
277    
278     * tools/formed/formed/plugins/web/renderer.py: New FormData and
279     some bug fixes.
280    
281 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
282 teichmann 152
283     * tools/formed/formed/model/memory.py,
284     tools/formed/formed/model/persistent.py: Add a getValue() method
285 teichmann 183 to dataset abstraction. This is a bit of a workaround to bring
286     global access across pages for rule checking to work.
287 teichmann 152
288     * tools/formed/formed/model/data.py: Fixed: When setting a new expression
289     the compiled version was not stored in the RuleLeaf.
290    
291     * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
292     convert the expression string to ascii for compilation.
293    
294     * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
295     valid data is stored to the dataset immediately now. Fixed a bug
296 teichmann 183 with integer handler.
297 teichmann 152
298     * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
299     stuff. When a submit is done extract the rules from the tree document
300 teichmann 183 that are effected by the modified variables and check them.
301 teichmann 152
302     * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
303     when dealing with templates.
304    
305 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
306 torsten 151 * tools/formed/formed/plugins/web/controllers.py,
307     tools/formed/formed/plugins/web/renderer.py: Moved more render
308     functions into renderer.py. New render classes are:
309     DataSetDigestRenderer, DataSetNavigationRenderer,
310     DataSetFormularRenderer, ConfirmationDialogRenderer
311    
312     Note: The new methods are only called from selected handlers. Other
313     handlers call the renderes in the old way.
314    
315 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
316 torsten 150 * tools/formed/formed/plugins/web/form_renderer.py: Renamed
317     renderer.py to form_renderer.py. This file will contain formular
318     specfic render methods in the future.
319     * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
320     which will contain general render methods.
321     * tools/formed/formed/plugins/web/controllers.py: Began to move all
322     rendering into renderer.py or form_renderer.py. This file will only
323     contain teh handlers in the future.
324    
325 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
326 torsten 148 * tools/formed/formed/plugins/web/renderer.py,
327     tools/formed/formed/plugins/web/controller.py:
328     Renderes now get an instance of the formdata object to provide
329     access the data needed to render various infoboxes etc. Handler
330     instanciate the formdata.
331    
332 teichmann 183 2007-09-06 Torsten Irlaender <[email protected]>
333 torsten 147 * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
334     getFormData interface to work. Added two small semantic fixes, but
335     did not manage to get it up. Need to exime this a little bit more
336     * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
337     around the menus on the right side to be able to assign different
338     styles. Added dataset actions while editing a dataset.
339    
340 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
341 torsten 146 * tools/formed/formed/model/memory.py: Fixed deleting datasets by
342     removing unwanted del method
343     * tools/formed/formed/plugins/web/controllers.py: Implemented
344     confiration dialogs for create, delete, and select aof datasets. Started to use
345     templates as well for larger information units like the dataset summary.
346    
347 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
348 teichmann 141
349 teichmann 145 * tools/formed/formed/model/nodecomponents.py: Added a
350     method to document to find index of page.
351    
352     * tools/formed/formed/plugins/web/semantic.py: Added getValue()
353     to fetch data from semantic box.
354    
355     * tools/formed/formed/plugins/web/controllers.py: Added new
356     FormData implementation to support DB and semantic box.
357    
358 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
359 teichmann 145
360 teichmann 144 * tools/formed/formed/plugins/web/renderer.py: escaped
361     error message.
362    
363     * tools/formed/formed/plugins/web/controllers.py: Don't fetch
364     dataset from backend each time a page is up to edit.
365    
366 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
367 teichmann 144
368 teichmann 143 * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
369     returns "Page not found" if given page is None.
370    
371     * tools/formed/formed/plugins/web/controllers.py: Added checks
372     to avoid crashing when ask for a non-existent page.
373    
374 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
375 teichmann 143
376 teichmann 142 * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
377    
378 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
379 teichmann 142
380 teichmann 141 * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
381     and renderers.
382    
383     * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
384     and renderers now. TODO: Move renderers to renderer.py
385    
386 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
387 teichmann 141
388 torsten 140 * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
389 teichmann 141 and bound in the the new added functions to create, edit, delete and
390     show formdata.
391 torsten 140
392 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
393 teichmann 139
394     * tools/formed/formed/model/memory.py: Removed bisect and use a
395     simple linear scan for dataset lookup now.
396    
397     * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
398     of different sizes.
399    
400 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
401 torsten 138
402     * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
403     fuction
404 teichmann 183
405 torsten 138 * tools/formed/formed/plugins/web/persistent.py: Added store() method
406     to the DataSet interface
407 teichmann 139
408 torsten 138 * tools/formed/formed/plugins/web/renderer.py: Added handlers and
409     renderes for create, update, delete and show actions on formular data.
410    
411 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
412 torsten 136
413 teichmann 137 * tools/formed/formed/plugins/web/server.py: The mapping
414     to methods is now driven by regualar expressions and
415 teichmann 183 a dictionary. Response objects are now able to send
416     error codes.
417 teichmann 137
418     * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
419     when help in Formdata is None. Moved text for help into
420 teichmann 183 a top level '''...''' variable.
421 teichmann 137
422     * tools/formed/test-data/simple.xml: Added test for help.
423    
424     * tools/formed/formed/plugins/web/help.py: extra None check.
425    
426     * tools/formed/formed/plugins/web/plugin.py: Uses the new
427     table driven mapping of reguest handling. TODO: split the
428 teichmann 183 WebPlugIn.pageHandler() method further to smaller handlers.
429     Smaller clean ups and better exception handling.
430 teichmann 137
431     * tools/formed/formed/plugins/web/cache.py: Report OSErrors
432     and do not catch them.
433    
434 teichmann 183 2007-09-04 Torsten Irlaender <[email protected]>
435 teichmann 137
436 torsten 136 * tools/formed/formed/plugins/web/renderer.py,
437     * tools/formed/formed/plugins/web/plugin.py: Added Interface to
438     the HelpProvider and inserted help icons to the html output.
439     Added decorator for Formelemnts, so textfields, choices etc. are now
440     within a <div> tag.
441     Modified the error messages.
442    
443 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
444 teichmann 134
445 teichmann 135 * tools/formed/formed/plugins/web/cache.py: New. Implements
446     the server-side caching more clean. Fixes a bug with
447 teichmann 183 serving static content.
448 teichmann 135
449     * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
450    
451 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
452 teichmann 135
453 teichmann 134 * tools/formed/formed/plugins/web/plugin.py: Set MIME type
454     to "application/xhtml+xml" when serving help texts.
455    
456 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
457 teichmann 132
458 teichmann 133 * tools/formed/formed/plugins/export/diff.py: New. Exports
459     pairwise differences between all modes.
460    
461     * tools/formed/formed/config.py: Use new export filter.
462    
463 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
464 teichmann 133
465     * tools/formed/formed/plugins/web/help.py: New. Parses an
466 teichmann 132 XHTML document for id'ed divs and builds a help lookup.
467    
468     * tools/formed/formed/plugins/web/www/help.tmpl: Template for
469     the help content frame.
470    
471     * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
472     help text index.
473    
474     * tools/formed/formed/plugins/web/plugin.py: Serves the help
475     texts now.
476    
477 teichmann 183 2007-09-03 Torsten Irlaender <[email protected]>
478 teichmann 132
479 torsten 131 * tools/formed/formed/plugins/web/plugin.py: Only visible group
480     elements will be rendered in the formular navigation.
481     Formular pages in the navigation now have their own css-style
482     attributes.
483    
484 teichmann 183 2007-09-03 Torsten Irlaender <[email protected]>
485 teichmann 132
486 torsten 130 * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
487     errors in template
488     * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
489     pageerrors variable
490    
491 teichmann 183 2007-09-03 Frank Koormann <[email protected]>
492 frank 129
493     * tools/formed/formed/plugins/export/html.py
494     (RecursiveExporter): Added annotation to export
495     (fillRow()): Renamed old fillNine to this more generic name.
496    
497    
498 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
499 teichmann 127
500 teichmann 128 * tools/formed/formed/plugins/web/renderer.py: Using the decorator
501     from model.misc now.
502    
503 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
504 teichmann 128
505 teichmann 127 * tools/formed/formed/model/nodecomponents.py: Added an
506     'annotation' attribute to node components. This is to
507 teichmann 183 enable FormEd document authors to add comments to groups
508     and fields.
509 teichmann 127
510 teichmann 183 2007-09-03 Frank Koormann <[email protected]>
511 frank 126
512     * tools/formed/formed/model/nodecomponents.py
513     (NodeComponent.getParent): New method to get node components parent.
514    
515     * tools/formed/formed/plugins/export/html.py: Export Choice option
516     as simple list instead of collection of bools.
517    
518 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
519 teichmann 120
520 teichmann 124 * tools/formed/formed/model/persistent.py: Interfaces to abstract
521     from persistent storage details.
522    
523     * tools/formed/formed/model/memory.py: In core implementation
524     of the persistent interfaces.
525    
526     * tools/formed/formed/main.py: Holds a memory data store now.
527    
528 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
529 teichmann 124
530 teichmann 123 * tools/formed/formed/plugins/export/sql.py,
531     tools/formed/formed/plugins/export/html.py: Fixed constructor chains
532 teichmann 183 for FileDialogFilter sub classes.
533 teichmann 123
534 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
535 teichmann 123
536 teichmann 122 * tools/formed/formed/model/misc.py: Checking the mode in recursive
537     tree traversals is a common task. To ease this a decorator function
538 teichmann 183 checkMode in union with sub classing ModeChecker can be used.
539     To make it work simply subclass from ModeChecker and add the decorator
540     to the methods that need mode tracking. Before you start the recursion
541     call self.prepareDescent().
542 teichmann 122
543     * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
544     now which replace the old. TODO: Make the web renderer use the new scheme
545 teichmann 183 too.
546 teichmann 122
547 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
548 teichmann 122
549 teichmann 121 * tools/formed/formed/plugins/export/sql.py: Removed needless import.
550    
551     * tools/formed/formed/plugins/export/html.py: HTML table exporter
552     uses new FileDialogFilter base class too.
553    
554 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
555 teichmann 121
556 teichmann 120 * tools/formed/formed/plugins/ui/*: New. All file exporters
557     need a file dialog. Till now each of them pulled up its
558 teichmann 183 own. This was silly code replication. Now there is an abstract
559     base class 'FileDialogFilter' which implements the common
560     behavior. The file exporters should subclass it.
561 teichmann 120
562     * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
563     exporters from the new base class. TODO: Subclass the HTML
564 teichmann 183 exporter too.
565 teichmann 120
566 teichmann 183 2007-08-31 Sascha L. Teichmann <[email protected]>
567 teichmann 119
568     * tools/formed/formed/plugins/export/html.py: Make mode check
569     work (again).
570    
571 teichmann 183 2007-08-31 Torsten Irlaender <[email protected]>
572 torsten 117
573 torsten 118 * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
574     exprt works now in a recursive way. This change was needed because
575     the structure of the formedtree has changed to be able to render
576     full hirachically document stuctures. (nested lists)
577     TODO: Fix modechecking
578    
579 teichmann 183 2007-08-31 Torsten Irlaender <[email protected]>
580 torsten 118
581 torsten 117 * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
582     now in recursive way. This change was needed because the structure
583     of the formedtree has changed to be able to render full hirachically
584     document stuctures. (nested lists)
585    
586 teichmann 183 2007-08-31 Sascha L. Teichmann <[email protected]>
587 teichmann 115
588 teichmann 116 * tools/formed/formed/model/nodecomponents.py: use discard()
589     instead of remove on sets.
590    
591     * tools/formed/formed/plugins/export/sql.py: Added an
592     exporter for table views.
593    
594     * tools/formed/formed/config.py: Added the new exporter
595     to the list of export filters.
596    
597 teichmann 183 2007-08-30 Sascha L. Teichmann <[email protected]>
598 teichmann 116
599 teichmann 115 * tools/formed/formed/model/data.py: Fixed a bug in
600     Page.allWidgets()
601    
602     * tools/formed/formed/plugins/export/sql.py: Added an exporter
603     for stored procudeures.
604    
605     * tools/formed/formed/config.py: Add the new SP exporter.
606    
607 teichmann 183 2007-08-29 Torsten Irlaender <[email protected]>
608 frank 111
609 torsten 113 * tools/formed/formed/plugins/web/plugin.py,
610     tools/formed/formed/plugins/web/error_renderer.py: Added interface
611     to get the errors for a whole page in te formular. These errors can
612     now be displayed on the top of the formular.
613    
614 teichmann 183 2007-08-29 Torsten Irlaender <[email protected]>
615 torsten 113
616 torsten 112 * tools/formed/formed/plugins/web/renderer.py: Finished implementation
617     of the getFromData interface and prepared the rederer for generating
618     nice error messages
619    
620 teichmann 183 2007-08-28 Frank Koormann <[email protected]>
621 torsten 112
622 frank 111 * tools/formed/formed/plugins/export/sql.py
623     (SchemaCreator.createSchema, SchemaCreator._createGroup):
624     Fixed typo in created DDS (PRIMRAY -> PRIMARY)
625    
626 teichmann 183 2007-08-28 Torsten Irlaender <[email protected]>
627 torsten 110
628     * tools/formed/formed/plugins/export/sql.py: Added small helper
629     function to generated valid quotes within the sql statements
630    
631 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
632 teichmann 106
633 teichmann 109 * tools/formed/formed/plugins/export/sql.py: Added foreign keys
634     for repeat tables.
635    
636 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
637 teichmann 109
638 teichmann 108 * tools/formed/formed/plugins/export/sql.py: When generating
639     an extra table check in a table of same content exists. In
640 teichmann 183 this case reference the existing table.
641 teichmann 108
642 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
643 teichmann 108
644 teichmann 107 * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
645     _real_ SQL and respect repeat groups.
646    
647     * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
648    
649     * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
650     instead of expensive += string concat in some places.
651    
652 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
653 teichmann 107
654 teichmann 106 * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
655     to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
656    
657 teichmann 183 2007-08-28 Torsten Irlaender <[email protected]>
658 torsten 105
659     * tools/formed/plugins/web/renderer.py: Added Formdata interface.
660     * tools/formed/model/data.py: Implements Formadata interface to
661     textfields. Fieldset generated depends now on the "invisible"
662     attribute of the groupnode. Field-label generation slightly changed.
663     Added error indication to textfields
664    
665 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
666 teichmann 102
667 teichmann 104 * tools/formed/formed/model/data.py,
668     tools/formed/formed/io/document.py: Removed support
669 teichmann 183 of logical groups.
670 teichmann 104
671 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
672 teichmann 104
673 teichmann 103 * tools/formed/formed/io/document.py: Avoid saving empty
674     attributes.
675    
676     * tools/formed/test-data/simple.xml: Applied.
677    
678 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
679 teichmann 103
680 teichmann 102 * tools/formed/formed/model/data.py: Added 'repeat' and
681     'invisible' attributes to group. TODO: remove logical group.
682    
683 teichmann 183 2007-08-27 Torsten Irlaender <[email protected]>
684 teichmann 96
685 torsten 101 * tools/formed/plugins/web/plugin.py,
686     tools/formed/plugins/web/renderer.py: Started to include stylesheet
687     depending tags in the html generation.
688    
689 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
690 torsten 101
691 teichmann 99 * tools/formed/formed/model/data.py,
692     tools/formed/formed/io/document.py: Added a logical group.
693 teichmann 183 It has an attribute 'repeat' to indicate that it might
694     be worthy an external table in DB schema.
695 teichmann 99
696 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
697 teichmann 99
698 teichmann 98 * tools/formed/formed/plugins/web/plugin.py: Support
699     serving of static content.
700    
701     * tools/formed/formed/plugins/web/server.py: Removed
702     old send code.
703    
704 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
705 teichmann 98
706 teichmann 97 * tools/formed/formed/plugins/web/plugin.py: Use new
707     Response object. Fix typo.
708    
709     * tools/formed/formed/plugins/web/server.py: support
710     response object to serve different MIME types.
711    
712 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
713 teichmann 97
714 teichmann 96 * tools/formed/formed/plugins/web/plugin.py: Add web.path
715     to FORMED environment variable to specify the
716 teichmann 183 root of the static content.
717 teichmann 96
718 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
719 teichmann 93
720 teichmann 95 * tools/formed/formed/model/data.py,
721     tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
722    
723     * tools/formed/formed/plugins/web/www,
724     tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
725 teichmann 183 a template for the HTML output.
726 teichmann 95
727     * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
728     mode issues. Introduces CSS support. Simplified the action
729 teichmann 183 handling.
730 teichmann 95
731     * tools/formed/formed/plugins/web/renderer.py: Removed the
732     nagivation code.
733    
734     * tools/formed/formed/plugins/web/server.py: Added missing import.
735    
736 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
737 teichmann 95
738 teichmann 94 * tools/formed/formed/model/data.py: Added missing broadcast
739     parameter to setAttribute() of RuleLeaf.
740    
741     * tools/formed/formed/plugins/web/plugin.py: Factorize
742     HTTP server code out to separate module.
743    
744     * tools/formed/formed/plugins/web/renderer.py: Removed
745     needless -1 from pop()
746    
747     * tools/formed/formed/plugins/web/server.py: New. Contains
748     the HTTP server code now.
749    
750 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
751 teichmann 94
752 teichmann 93 * tools/formed/test-data/simple.xml: Modified to contain a rule.
753    
754     * tools/formed/formed/model/expr.py: Added. A simple RPN
755     expression evaluator. To avoid the problem of eval()ing
756 teichmann 183 arbitrary python expressions I've decided to use a very
757     basic and limited stack machine to support rule checking.
758 teichmann 93
759     * tools/formed/formed/model/data.py: Added a RuleLeaf.
760    
761     * tools/formed/formed/io/document.py: Added factories for rules.
762    
763     * tools/formed/formed/model/nodecomponents.py: Add a method
764     to find all items of a given type in document for a given
765 teichmann 183 mode. Usefull to find all rules in the tree.
766 teichmann 93
767     * tools/formed/formed/ui/controls.py: Added a listener mechanism
768     to attribute table to report exceptions when setting a value
769 teichmann 183 from GUI. Useful to report compilation errors when setting
770     expr of rule leafs.
771 teichmann 93
772     * tools/formed/formed/main.py: Added a method to track exceptions
773     from the attribute table and pop up dialogs if they occur.
774 teichmann 183 Added a counter of rule modifications in tree. Useful if you
775     want build cached data structures like rule sets and you want
776     to know if they are still valid.
777 teichmann 93
778 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
779 torsten 90
780 torsten 92 * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
781     for checkbox values. (Syntax error).
782    
783     * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
784     generation
785    
786 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
787 torsten 92
788 torsten 90 * tools/formed/formed/plugins/names/filter.py: Separated Class for
789     making the formularnames more database friendly. Added some more
790     checks.
791     * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
792     separated class, and some fixes in sql generation.
793    
794 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
795 teichmann 86
796 teichmann 89 * tools/formed/formed/plugins/export/html.py: Print lengths
797     of external choice list.
798    
799 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
800 teichmann 89
801 teichmann 88 * tools/formed/formed/main.py: Little workaround for
802     mode selection if someone adds an removes a mode.
803    
804 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
805 teichmann 88
806 teichmann 87 * tools/formed/test-data/simple.xml: Better test case for
807     mode depended leaf items.
808    
809     * tools/formed/formed/model/nodecomponents.py: Added a method
810     to calculate the effective mode of an item.
811    
812     * tools/formed/formed/plugins/export/html.py: Use effective
813     mode. TODO: the 'all' modus return false results sometimes.
814 teichmann 183 Cause: The modes are only cumulated over time. Removal is
815     not done.
816 teichmann 87
817 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
818 teichmann 87
819 teichmann 86 * tools/formed/formed/plugins/export/html.py: Dump the items
820     of radio groups and choices too.
821    
822 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
823 torsten 85
824     * tools/formed/formed/plugins/names/filter.py: Modified the renaming
825     by formular names to make the naming more database friendly.
826     Now only alphanumeric and underscore chars is allowed.
827    
828 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
829 teichmann 84
830     * tools/formed/formed/plugins/export/html.py: Tweaked
831     HTML table exporter a bit to be on par with the XSLT
832 teichmann 183 script. TODO: Dump items in radio and choice groups.
833 teichmann 84
834 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
835 teichmann 83
836     * tools/formed/formed/plugins/names/filter.py: Removed
837     HTML and SQL exporters.
838    
839     * tools/formed/formed/plugins/export,
840     tools/formed/formed/plugins/export/__init__.py,
841     tools/formed/formed/plugins/export/sql.py,
842     tools/formed/formed/plugins/export/html.py: New: Contain
843 teichmann 183 the HTML and the SQL exporters now.
844 teichmann 83
845     * tools/formed/formed/config.py: Use exporters from different
846     package now.
847    
848 teichmann 183 2007-08-23 Torsten Irlaender <[email protected]>
849 torsten 82
850     * tools/formed/formed/plugins/names/filter.py: Added an
851     pseudo SQL export filters. TODO: Move HTML and SQL filter
852     in a new file (formed/plugins/export/htmlexport.py and
853     sqlexport.py?)
854    
855     * tools/formed/formed/config.py: Install the new SQL filter.
856    
857 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
858 teichmann 81
859     * tools/formed/formed/model/nodecomponents.py: Added a depth()
860     method to determine the depth of particular tree item.
861    
862     * tools/formed/formed/plugins/names/filter.py: Added an
863     HTML export filters. TODO: needs more work.
864    
865     * tools/formed/formed/config.py: Install the new HTML filter.
866    
867 teichmann 183 2007-08-23 Torsten Irlaender <[email protected]>
868 torsten 80
869     * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
870     to extract fields and options in the XFA Data in teh PDF. This
871     script might me handy to indicate changes between the different
872     formular versions.
873    
874 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
875 teichmann 73
876 teichmann 79 * tools/formed/formed/main.py: Add an 'all' mode to
877     select all modes. ;-)
878    
879 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
880 teichmann 79
881 teichmann 78 * tools/formed/test-data/simple.xml,
882     tools/formed/formed/model/data.py,
883     tools/formed/formed/plugins/web/plugin.py,
884     tools/formed/formed/plugins/web/renderer.py,
885     tools/formed/formed/io/document.py,
886     tools/formed/formed/main.py: Removed support for switch nodes.
887     BEWARE: This breaks compatibility with older documents!
888    
889 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
890 teichmann 78
891 teichmann 77 * tools/formed/formed/plugins/web/plugin.py: Uses the
892     getSelectedMode() from main now.
893    
894     * tools/formed/formed/main.py: selected mode is now hold
895     in main.
896    
897     * tools/formed/formed/config.py: removed selected mode from
898     env configuration.
899    
900 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
901 teichmann 77
902 teichmann 76 * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
903     table are now alphabetically sorted.
904    
905 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
906 teichmann 76
907 teichmann 75 * tools/formed/formed/model/nodecomponents.py: Added code to
908     establish the new 'modes' recursively.
909    
910     * tools/formed/formed/plugins/plugin.py: Pass main instead
911     of cfg on plug-in start-up.
912    
913     * tools/formed/formed/plugins/web/plugin.py: Use the new
914     'modes' attribute for rendering.
915    
916     * tools/formed/formed/plugins/web/renderer.py: Use decorators
917     to check the new modes.
918    
919     * tools/formed/formed/main.py: Adjusted to new infrastructure.
920    
921 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
922 teichmann 75
923 teichmann 74 * tools/formed/formed/model/nodecomponents.py: Added an
924     attribute 'modes' to NodeComponents.
925    
926 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
927 teichmann 74
928 teichmann 73 * tools/formed/formed/model/data.py: Small cosmetic cleanups
929    
930 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
931 frank 67
932 teichmann 72 * tools/formed/formed/plugins/web/renderer.py: Another fix
933     for the hidden field. Argh!
934    
935 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
936 teichmann 72
937 teichmann 71 * tools/formed/formed/plugins/web/renderer.py: Fixed double
938     generation of hidden page field.
939    
940 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
941 teichmann 71
942 teichmann 69 * tools/formed/formed/plugins/web/semantic.py: Added semantic
943 teichmann 70 checks for radio groups.
944    
945 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
946 teichmann 70
947     * tools/formed/formed/plugins/web/semantic.py: Added semantic
948 teichmann 69 checks for choices.
949    
950     2007-08-21 Frank Koormann <[email protected]>
951    
952 frank 68 * contrib/convert-formedtree2html.xsl: Display switch nodes as
953     alternatives.
954    
955 teichmann 69 2007-08-21 Frank Koormann <[email protected]>
956 frank 68
957 frank 67 * contrib/convert-formedtree2html.xsl:
958     Replace technical types with readable descriptions
959    
960 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
961 teichmann 64
962 teichmann 66 * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
963     issues. 'action' looks for all widgets on a page now, goes
964 teichmann 183 through all passed parameters, tries to match them with the
965     widgets of the page and put them into the semantic box.
966     Afterwards a list of untouched page parameters are left
967     which will be deleted from the semantic box.
968 teichmann 66
969     * tools/formed/formed/plugins/web/semantic.py: Simplified.
970     The NodeComponent is passed as an argument now.
971    
972     * tools/formed/formed/plugins/web/renderer.py: Generate a
973     hidden field to store the name of the page.
974    
975 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
976 teichmann 66
977 teichmann 65 * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
978     issue with incoming UTF-8 data.
979    
980 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
981 teichmann 65
982 teichmann 64 * tools/formed/test-data/simple.xml: Improve test for widgets
983     in switches.
984    
985     * tools/formed/formed/model/data.py: Added a method to find all
986     widgets in a given page. Fixed a bug when walking in switch
987 teichmann 183 with a given mode.
988 teichmann 64
989     * tools/formed/formed/plugins/web/plugin.py: Simple test for
990     listing all widgets in page.
991    
992 teichmann 183 2007-08-21 Torsten Irlaender <[email protected]>
993 torsten 63
994     * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
995     latin-1
996    
997 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
998 teichmann 61
999 teichmann 62 * tools/formed/formed/model/data.py: Added mode parameter to
1000     walk.
1001 teichmann 183
1002 teichmann 62 * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1003     walk() with usage of the new mode parameter. Added a method to
1004 teichmann 183 give children in a given mode.
1005 teichmann 62
1006     * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1007     new Switch.childrenInMode() method.
1008    
1009 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1010 teichmann 62
1011 teichmann 61 * tools/formed/formed/plugins/web/semantic.py: Add checks for
1012     texts and text areas.
1013    
1014     * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1015     to UTF-8 in generated form.
1016    
1017 teichmann 183 2007-08-20 Sascha L. Teichmann <[email protected]>
1018 teichmann 60
1019     * tools/formed/formed/plugins/web/semantic.py: Added semantic
1020     tests for dates.
1021    
1022 teichmann 183 2007-08-20 Sascha L. Teichmann <[email protected]>
1023 teichmann 59
1024     * tools/formed/test-data/simple.xml: Tweak a bit for integer
1025     range test.
1026    
1027     * tools/formed/formed/model/nodecomponents.py: Added a method
1028     to find a tree item for a given name.
1029    
1030     * tools/formed/formed/plugins/web/semantic.py: New: Box for
1031     semantic checking. Has check for integers.
1032    
1033     * tools/formed/formed/plugins/web/plugin.py: Use semantic
1034     check.
1035    
1036 teichmann 183 2007-08-20 Torsten Irlaender <[email protected]>
1037 torsten 58
1038     * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1039     selection-field generation (Removed quote)
1040    
1041 teichmann 54 2007-08-18 Sascha L. Teichmann <[email protected]>
1042    
1043 teichmann 57 * tools/formed/formed/plugins/web/plugin.py,
1044     tools/formed/formed/plugins/web/renderer.py: Added a
1045     simple cookie based session management to the HTML
1046     renderer. This submit parameters are stored in the
1047     session now. This will ease testing the constraint
1048     tests which need to be written soon.
1049 teichmann 183
1050 teichmann 57 BEWARE: The session management is _not_ made for production!
1051     Denial of service attacks are too easy, and the
1052     cryptographical strength of the session id is doubtful.
1053    
1054     2007-08-18 Sascha L. Teichmann <[email protected]>
1055    
1056 teichmann 56 * tools/formed/formed/plugins/web/renderer.py: Escaping text
1057     coming from the document tree now when inserting it into the
1058 teichmann 57 HTML output.
1059 teichmann 56
1060     2007-08-18 Sascha L. Teichmann <[email protected]>
1061    
1062 teichmann 55 * tools/formed/formed/plugins/plugin.py: Added a new kind
1063     of plug-in: Filter. They have a short and a long description
1064 teichmann 57 and can be hooked automatically into the new 'Filters'
1065     sub menu under 'Extra'. They got called when the user
1066     selects their respective menu item.
1067 teichmann 183
1068 teichmann 55 * tools/formed/formed/config.py: Contains the list of
1069     installed filters.
1070    
1071     * tools/formed/formed/main.py: Builds the Extra->Filters
1072     sub menu during gui initialization. The hard wired code
1073 teichmann 57 for make unique and formular name/description -> name
1074     is removed because they are implemented as filters now.
1075 teichmann 55
1076     * tools/formed/formed/model/nodecomponents.py,
1077     tools/formed/formed/model/data.py: Removed the make
1078 teichmann 57 unique and formular name/description -> name code.
1079 teichmann 55
1080     * tools/formed/formed/plugins/names,
1081     tools/formed/formed/plugins/names/__init__.py,
1082 teichmann 57 tools/formed/formed/plugins/names/filter.py: Added. Contains
1083     the make unique and formular name/description -> name code
1084     in form of filters.
1085 teichmann 55
1086     * tools/formed/test-data/simple.xml: Modified to be a better
1087     test for the formular name/description -> name filter.
1088    
1089     2007-08-18 Sascha L. Teichmann <[email protected]>
1090    
1091 teichmann 54 * tools/formed/formed.py, tools/formed/formed/main.py: First
1092     command line argument is interpreted as filename of document
1093 teichmann 57 to be loaded at program startup.
1094 teichmann 54
1095 frank 53 2007-08-17 Frank Koormann <[email protected]>
1096    
1097     * contrib/convert-formedtree2html.xsl:
1098     Heading level depending on depth of group node.
1099     In case of radio/choice/check only list of options.
1100    
1101 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
1102 torsten 50
1103 torsten 52 * contrib/convert-formedtree2html.xsl: Output is now generated with
1104     HTML doc-string and charset information in the meta-header.
1105    
1106 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
1107 torsten 52
1108 torsten 50 * contrib/convert-formedtree2html.xsl: Added small script for
1109     exporting the formed tree to html
1110    
1111 torsten 49 2007-08-17 Torsten Irlaender <[email protected]>
1112    
1113     * tools/formed/model/nodecomponents.py: Added function to rename
1114     the set the name of the node to the formularname. The formularname
1115     gets shorten to <=64 by removing vowels and is stored lowercase.
1116     If the name is not unique and additional id value is appended.
1117    
1118     * tools/formed/formed/model/data.py: Overwritten renaming-function for
1119     bool-leafs
1120    
1121     * tools/formed/formed/main.py: Added menuitem for renaming the names
1122     of the element
1123    
1124 teichmann 47 2007-08-16 Sascha L. Teichmann <[email protected]>
1125    
1126     * tools/formed/formed/main.py: Swaped order of
1127     'Make names unique' and 'Selected mode...' in Extra
1128 teichmann 183 menu and put a separator between them.
1129 teichmann 47
1130 teichmann 45 2007-08-15 Sascha L. Teichmann <[email protected]>
1131    
1132 teichmann 46 * tools/formed/formed/model/data.py: SwitchNodes can add
1133     their modes to a given set now.
1134    
1135     * tools/formed/formed/plugins/plugin.py: Simplified
1136     the plug-in interface. Only the reference to the
1137 teichmann 183 global configuration is passed at setup time.
1138 teichmann 46
1139     * tools/formed/formed/plugins/web/plugin.py: Adjusted
1140     to new plug-in setup. The traveral mode is now taken
1141 teichmann 183 from the global configuration each time a rendering
1142     is triggered. The FORMED parameter is now named
1143     'doc.mode' instead of 'web.mode'. The parameter
1144     is not needed any more because it can be configured
1145     at runtime.
1146 teichmann 46
1147     * tools/formed/formed/main.py: Adjusted to new plugin
1148     setup. Added a new menu item Extra->Select Mode...
1149 teichmann 183 to select the traversal mode. It is stored in the
1150     global config.
1151 teichmann 46
1152     * tools/formed/formed/config.py: Simplified. Only uses
1153     one env dictionary to store global configuration parameters.
1154    
1155     * tools/formed/formed/ui/controls.py: Add a control to
1156     select one item from a list of given strings.
1157    
1158     2007-08-15 Sascha L. Teichmann <[email protected]>
1159    
1160 teichmann 45 * tools/formed/formed/plugins/web/plugin.py,
1161     tools/formed/formed/plugins/web/renderer.py: Added parameter
1162 teichmann 183 print out in web plugin.
1163 teichmann 45
1164 torsten 44 2007-08-15 Torsten Irlaender <[email protected]>
1165 teichmann 45
1166 torsten 44 * contrib/convert-formedtree2csv.xsl: Added small script for
1167     exporting the formed tree to csv
1168    
1169 teichmann 41 2007-08-14 Sascha L. Teichmann <[email protected]>
1170    
1171 teichmann 42 * tools/formed/formed/model/data.py,
1172     tools/formed/formed/model/nodecomponents.py,
1173     tools/formed/formed/io/document.py: Added a 'switch' node.
1174    
1175     * tools/formed/formed/plugins/web/renderer.py:Render the
1176     new 'switch' node.
1177    
1178     * tools/formed/formed/plugins/web/plugin.py,
1179     tools/formed/formed/config.py: Added a 'web.mode' parameter
1180 teichmann 183 to FORMED environment variable.
1181     e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1182     Defaults to 'default'.
1183 teichmann 42
1184     * tools/formed/test-data/simple.xml: Added test for switch.
1185    
1186     2007-08-14 Sascha L. Teichmann <[email protected]>
1187    
1188 teichmann 41 * tools/formed/formed/model/nodecomponents.py: Added an
1189     attribute 'formularname' to base class of node components.
1190    
1191 teichmann 38 2007-08-13 Sascha L. Teichmann <[email protected]>
1192    
1193 teichmann 40 * tools/formed/formed/io/document.py,
1194     tools/formed/formed/model/data.py,
1195     tools/formed/formed/model/nodecomponents.py: Added an item
1196 teichmann 183 to model external item lists.
1197 teichmann 40
1198     * tools/formed/formed/plugins/web/renderer.py: Render new item
1199     list.
1200     * tools/formed/formed/main.py: Added a forgotten 'self.'
1201    
1202     * contrib/extract-xfa-items.sh: Modified to generate
1203     documents to be loadable from new item lists
1204    
1205     2007-08-13 Sascha L. Teichmann <[email protected]>
1206    
1207 teichmann 39 * tools/formed/formed/main.py: Fixed typo
1208    
1209     2007-08-13 Sascha L. Teichmann <[email protected]>
1210    
1211 teichmann 38 * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1212     choice item lists for a given field from XFA files. e.g. with
1213 teichmann 183 './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1214 teichmann 38
1215 teichmann 33 2007-08-12 Sascha L. Teichmann <[email protected]>
1216    
1217 teichmann 37 * tools/formed/formed/model/data.py,
1218     tools/formed/formed/plugins/web/renderer.py,
1219 teichmann 183 tools/formed/formed/io/document.py: Changed the structure
1220     of choice constructs. The idea to hold the different items
1221     of a particular choice in a semicolon separated list was bad.
1222     Now choices are groups and the option items are modelled as
1223     embedded bools. (mainly Torsten Irländer's idea).
1224 teichmann 37
1225 teichmann 183 WARNING: this makes old document files containing choices incompatible!!!
1226     Use the following XSLT to reestablish compatibility.
1227    
1228 teichmann 37 * contrib/itemize-choices.xsl: New converts old to new structure.
1229     Needs exslt.org's string extensions (which xsltproc includes)
1230    
1231     * tools/formed/test-data/simple.xml: Ajusted to new structure
1232    
1233     * tools/formed/formed/plugins/web/plugin.py: remove debug output
1234    
1235     * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
1236     node finding code. It now uses the walk() generator, too.
1237    
1238     2007-08-12 Sascha L. Teichmann <[email protected]>
1239    
1240 teichmann 36 * tools/formed/formed/main.py: Added a clone item on the toolbar which
1241     copies the currently selected item and appends it after the selection.
1242    
1243     * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1244     of the tree.
1245 teichmann 183
1246 teichmann 36 * tools/formed/formed/ui/controls.py: Added a getSelected method.
1247    
1248     * tools/formed/formed/model/misc.py: Fixed a programming bug.
1249     forgot a 'self.' prefix.
1250    
1251     2007-08-12 Sascha L. Teichmann <[email protected]>
1252    
1253 teichmann 35 * tools/formed/formed/model/nodecomponents.py: Added a method to append
1254     a second document to the current.
1255    
1256     * tools/formed/formed/main.py: Added an 'Import' file menu item to load
1257     a second document to be appended to the current.
1258    
1259     2007-08-12 Sascha L. Teichmann <[email protected]>
1260    
1261 teichmann 34 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
1262     a new document when triggered.
1263    
1264     2007-08-12 Sascha L. Teichmann <[email protected]>
1265    
1266 teichmann 33 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1267     items in the document tree. Added a method to eliminated duplicated names
1268 teichmann 183 in document tree.
1269 teichmann 33
1270     * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1271     after names collisions are eliminated.
1272    
1273     * tools/formed/formed/main.py: Added an 'Extra' menu with item
1274     'Make names unique'.
1275    
1276 teichmann 30 2007-08-11 Sascha L. Teichmann <[email protected]>
1277    
1278 teichmann 32 * tools/formed/formed/model/data.py,
1279     tools/formed/formed/plugins/web/renderer.py: Removed support
1280 teichmann 183 for 'text' attributes in bool items. They were never really
1281     used and the 'description' attributes fulfill the same
1282     purpose.
1283 teichmann 32
1284     * contrib/remove-bool-text.xsl: Transform to remove the
1285     'text' attributes from bool items. Apply with:
1286 teichmann 183 'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1287 teichmann 32
1288     * tools/formed/test-data/simple.xml: Removed 'text' attributes
1289     from bool items.
1290    
1291     2007-08-11 Sascha L. Teichmann <[email protected]>
1292    
1293 teichmann 31 * contrib/convert-choices.xsl: Simpified.
1294    
1295     2007-08-11 Sascha L. Teichmann <[email protected]>
1296    
1297 teichmann 30 * tools/formed/formed/model/data.py: Removed 'options' attribute
1298     from ChoiceLeaf. Use 'value' instead, please!
1299    
1300     * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
1301     instead of 'options' to render choices.
1302    
1303     * contrib/convert-choices.xsl: Added to convert document files
1304     which use the choice 'option' attribute to usage of 'value'.
1305 teichmann 183 Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1306 teichmann 30
1307 teichmann 23 2007-08-10 Sascha L. Teichmann <[email protected]>
1308    
1309 teichmann 29 * tools/formed/formed/plugins/web/renderer.py: radio buttons
1310     are selected by 'checked' and not by 'selected'. Fixed.
1311    
1312     2007-08-10 Sascha L. Teichmann <[email protected]>
1313    
1314 teichmann 28 * tools/formed/formed/model/data.py: ChoiceLeafs are now
1315     initialized with size = 1.
1316    
1317     2007-08-10 Sascha L. Teichmann <[email protected]>
1318    
1319 teichmann 27 * tools/formed/formed/model/data.py: TextLeafs are now
1320     initialized with size = 40, maxlength = 60
1321    
1322     2007-08-10 Sascha L. Teichmann <[email protected]>
1323    
1324 teichmann 26 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
1325     are renderered with description now.
1326    
1327     2007-08-10 Sascha L. Teichmann <[email protected]>
1328    
1329 teichmann 25 * tools/formed/formed/plugins/web/renderer.py: Added rendering
1330     for date items. Added missing ids for texts and textareas.
1331    
1332     2007-08-10 Sascha L. Teichmann <[email protected]>
1333    
1334 teichmann 24 * tools/formed/formed/config.py: Evaluate the environment
1335     variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
1336    
1337     * tools/formed/formed/plugins/plugin.py: Give a reference
1338     to the config at setup time.
1339    
1340     * tools/formed/formed/plugins/web/plugin.py: To determine
1341     the port look at FORMED dictionary first. Key is 'web.port'.
1342 teichmann 183 e.g. FORMED='web.port:8888'
1343 teichmann 24
1344     * tools/formed/formed/main.py: Call the plugin setup with
1345     the reference to the config.
1346    
1347     2007-08-10 Sascha L. Teichmann <[email protected]>
1348    
1349 teichmann 23 * tools/formed/test-data/simple.xml: removed 'text' attributes from
1350     info tags. Use the 'value' attributes for same purpose now, please!
1351    
1352     * tools/formed/formed/model/data.py: removed text attributes from
1353     InfoLeaf.
1354    
1355     * tools/formed/formed/plugins/web/renderer.py: Rendering of info
1356     now uses the 'value' instead of the 'text' attributes.
1357    
1358 teichmann 17 2007-08-09 Sascha L. Teichmann <[email protected]>
1359 teichmann 10
1360 teichmann 22 * tools/formed/formed/model/data.py: next/prevPage() are
1361     methods of PageNode now.
1362    
1363     * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
1364     is method of Document now.
1365    
1366     * tools/formed/formed/plugins/web/plugin.py: Factored out
1367     the HTML renderer.
1368    
1369     * tools/formed/formed/plugins/web/renderer.py: New: contains
1370     the HTML renderer now.
1371    
1372     * tools/formed/test-data/simple.xml: Fixed typo
1373    
1374     2007-08-09 Sascha L. Teichmann <[email protected]>
1375    
1376 teichmann 21 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
1377     in calculation of width of bounded int fields.
1378    
1379     2007-08-09 Sascha L. Teichmann <[email protected]>
1380    
1381 teichmann 20 * tools/formed/test-data/simple.xml: Make demo Int fancier.
1382    
1383     * tools/formed/formed/model/data.py: Added attributes to IntLeaf
1384    
1385     * tools/formed/formed/plugins/web/plugin.py: Added rendering for
1386     Ints
1387    
1388     2007-08-09 Sascha L. Teichmann <[email protected]>
1389    
1390 teichmann 19 * tools/formed/test-data/simple.xml: Added demo textarea
1391    
1392     * tools/formed/formed/model/data.py: Added TextAreaLeaf
1393    
1394     * tools/formed/formed/io/document.py: register builder
1395     for loading of textareas
1396    
1397     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1398     for textareas.
1399    
1400     2007-08-09 Sascha L. Teichmann <[email protected]>
1401    
1402 teichmann 18 * tools/formed/test-data/simple.xml: Make demo choice fancier.
1403 teichmann 17
1404 teichmann 18 * tools/formed/formed/model/data.py: Added attributes for texts
1405    
1406     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1407     for texts
1408 teichmann 17
1409 teichmann 18 2007-08-09 Sascha L. Teichmann <[email protected]>
1410    
1411     * tools/formed/test-data/simple.xml: Make demo choice fancier.
1412    
1413     * tools/formed/formed/model/data.py: Added attributes for choices.
1414    
1415 teichmann 17 * tools/formed/formed/plugins/web/plugin.py: Added rendering
1416     for choices
1417    
1418     2007-08-09 Sascha L. Teichmann <[email protected]>
1419    
1420 teichmann 16 * tools/formed/formed/model/data.py,
1421     tools/formed/formed/model/nodecomponents.py: Added new
1422 teichmann 183 attributes.
1423 teichmann 16
1424     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1425     for checkboxes and radio buttons.
1426    
1427     2007-08-08 Sascha L. Teichmann <[email protected]>
1428    
1429 teichmann 15 * tools/formed/test-data/simple.xml: Added some descriptions
1430    
1431     * tools/formed/formed/model/data.py: set attributes in constructors
1432     directly.
1433    
1434     * tools/formed/formed/model/nodecomponents.py: Added description
1435     attribute in the NodeComponent base class.
1436    
1437     * tools/formed/formed/plugins/web/plugin.py: Render description
1438     as legend in fieldset for GroupNodes.
1439    
1440     2007-08-08 Sascha L. Teichmann <[email protected]>
1441    
1442 teichmann 14 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
1443     output work.
1444    
1445     2007-08-08 Sascha L. Teichmann <[email protected]>
1446    
1447 teichmann 12 * tools/formed/formed/model/data.py: Added get/setText() method
1448    
1449     * tools/formed/formed/plugins/web/plugin.py: Added a first
1450     version of a recursive HTML renderer based on the document
1451 teichmann 183 tree.
1452 teichmann 12
1453     2007-08-08 Sascha L. Teichmann <[email protected]>
1454    
1455 teichmann 11 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
1456    
1457     * tools/formed/formed/plugins/web/*: new: A simple web server
1458     which is intended to serve pages of the current formular.
1459    
1460     * tools/formed/formed/main.py: start the plug-ins
1461    
1462     * tools/formed/formed/config.py: configuration class. Used
1463     for the plug-ins.
1464    
1465     2007-08-08 Sascha L. Teichmann <[email protected]>
1466    
1467 teichmann 10 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
1468     issue with zero length tree paths.
1469    
1470     * tools/formed/formed/model/misc.py: New: contains a class
1471     for generating unique ids.
1472    
1473     * tools/formed/formed/main.py: Added an instance of an
1474     unique id generator for naming of new made tree items.
1475    
1476 teichmann 7 2007-08-07 Sascha L. Teichmann <[email protected]>
1477    
1478 teichmann 9 * tools/formed/formed/main.py: Added event route document ->
1479     attribute table to get informed when selected item is delete
1480 teichmann 183 or an attribute is changed from the outside.
1481 teichmann 9
1482     * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1483     wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1484 teichmann 183 of 3 argument. Uses icons+tooltips for tree navigation now.
1485 teichmann 9
1486     2007-08-07 Sascha L. Teichmann <[email protected]>
1487    
1488 teichmann 8 * tools/formed/formed/model/nodecomponents.py: Set name
1489     attribute in base class.
1490    
1491     * tools/formed/formed/io/document.py: Added a table
1492     names -> classes.
1493    
1494     * tools/formed/formed/main.py: Added a toolbar. Added code
1495     to create and delete tree items.
1496    
1497     * tools/formed/formed/ui/controls.py: Added code to
1498     insert and delete new tree items.
1499    
1500     2007-08-07 Sascha L. Teichmann <[email protected]>
1501    
1502 teichmann 7 * tools/formed/formed/model/nodecomponents.py: Fixed event
1503     broadcasting for attribute changes.
1504    
1505     * tools/formed/formed/ui/controls.py: Add a list/table control to
1506     edit the attributes of a selected item.
1507    
1508     * tools/formed/formed/main.py: Added code to bind the new
1509     list/table control.
1510    
1511 teichmann 4 2007-08-06 Sascha L. Teichmann <[email protected]>
1512    
1513 teichmann 6 * tools/formed/formed/main.py: Added event routes to move
1514     items in and out of groups.
1515    
1516     * tools/formed/formed/ui/controls.py: Added code to move
1517     items in and out of groups.
1518    
1519     2007-08-06 Sascha L. Teichmann <[email protected]>
1520    
1521 teichmann 5 * tools/formed/formed/model/nodecomponents.py: Fixed path
1522     calculation to root and event broadcasting
1523    
1524     * tools/formed/formed/io/factories.py: Adjust to new
1525     event broadcasting.
1526    
1527     * tools/formed/formed/main.py: Added code to move items
1528     up and down the document tree.
1529    
1530     * tools/formed/formed/ui/controls.py: Establish sort order
1531     by indices of children in parent instead of alphanum.
1532 teichmann 183 Code to move items up and down the document tree.
1533 teichmann 5
1534     * tools/formed/formed/io/document.py: Added missing imports.
1535    
1536     2007-08-06 Sascha L. Teichmann <[email protected]>
1537    
1538 teichmann 4 * tools/formed/formed.py: Added to avoid problems with
1539     ambiguous absolute module names. Thanks to Bernhard Herzog
1540    
1541     * tools/formed/formed.sh: Starts formed.py now
1542    
1543     * tools/formed/formed/main.py,
1544     tools/formed/formed/ui/controls.py: Added control to
1545 teichmann 183 move items around in tree. Has no effect by now.
1546 teichmann 4
1547 teichmann 2 2007-08-05 Sascha L. Teichmann <[email protected]>
1548    
1549 teichmann 3 * tools/formed/formed/io/parser.py: Adjusted style
1550    
1551     * tools/formed/formed/io/document.py,
1552 teichmann 4 tools/formed/formed/io/factories.py: Simplified factory
1553     model for XML loading.
1554 teichmann 3
1555     2007-08-05 Sascha L. Teichmann <[email protected]>
1556    
1557 teichmann 2 * ChangeLog: started ChangeLog
1558    
1559     * tools/formed/*: initial check-in of the Formular Editor.
1560     Not working yet. Only can load, view and store formular XML files.
1561 teichmann 183 Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26