/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.11  
changed lines
  Added in v.168

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26