/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.18  
changed lines
  Added in v.144

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26