/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.28  
changed lines
  Added in v.117

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26