/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 172 - (hide annotations)
Tue Sep 11 16:34:41 2007 UTC (17 years, 5 months ago) by torsten
File size: 52059 byte(s)
Added project infopage

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26