/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.4  
changed lines
  Added in v.174

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26