/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.16  
changed lines
  Added in v.136

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26