/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.36  
changed lines
  Added in v.139

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26