/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.12  
changed lines
  Added in v.142

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26