/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.21  
changed lines
  Added in v.131

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26