/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.8  
changed lines
  Added in v.135

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26