/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.3  
changed lines
  Added in v.127

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26