/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.19  
changed lines
  Added in v.122

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26