/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.25  
changed lines
  Added in v.133

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26