/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.17  
changed lines
  Added in v.123

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26