/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 101 - (hide annotations)
Mon Aug 27 17:47:57 2007 UTC (17 years, 6 months ago) by torsten
File size: 30216 byte(s)
Added missing Changenote

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26