/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.12  
changed lines
  Added in v.109

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26