/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26