/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 18 by teichmann, Thu Aug 9 12:24:04 2007 UTC revision 81 by teichmann, Thu Aug 23 09:52:47 2007 UTC
# Line 1  Line 1 
1    2007-08-23 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/model/nodecomponents.py: Added a depth()
4              method to determine the depth of particular tree item.
5    
6            * tools/formed/formed/plugins/names/filter.py: Added an
7              HTML export filters. TODO: needs more work.
8    
9            * tools/formed/formed/config.py: Install the new HTML filter.
10    
11    2007-08-23 Torsten Irlaender <[email protected]>
12    
13            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
14              to extract fields and options in the XFA Data in teh PDF. This
15              script might me handy to indicate changes between the different
16              formular versions.
17            
18    2007-08-23 Sascha L. Teichmann <[email protected]>
19    
20            * tools/formed/formed/main.py: Add an 'all' mode to
21              select all modes. ;-)
22    
23    2007-08-22 Sascha L. Teichmann <[email protected]>
24    
25            * tools/formed/test-data/simple.xml,
26              tools/formed/formed/model/data.py,
27              tools/formed/formed/plugins/web/plugin.py,
28              tools/formed/formed/plugins/web/renderer.py,
29              tools/formed/formed/io/document.py,
30              tools/formed/formed/main.py: Removed support for switch nodes.
31              BEWARE: This breaks compatibility with older documents!
32    
33    2007-08-22 Sascha L. Teichmann <[email protected]>
34    
35            * tools/formed/formed/plugins/web/plugin.py: Uses the
36              getSelectedMode() from main now.
37    
38            * tools/formed/formed/main.py: selected mode is now hold
39              in main.
40    
41            * tools/formed/formed/config.py: removed selected mode from
42              env configuration.
43    
44    2007-08-22 Sascha L. Teichmann <[email protected]>
45    
46            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
47              table are now alphabetically sorted.
48    
49    2007-08-22 Sascha L. Teichmann <[email protected]>
50    
51            * tools/formed/formed/model/nodecomponents.py: Added code to
52              establish the new 'modes' recursively.
53    
54            * tools/formed/formed/plugins/plugin.py: Pass main instead
55              of cfg on plug-in start-up.
56    
57            * tools/formed/formed/plugins/web/plugin.py: Use the new
58              'modes' attribute for rendering.
59    
60            * tools/formed/formed/plugins/web/renderer.py: Use decorators
61              to check the new modes.
62    
63            * tools/formed/formed/main.py: Adjusted to new infrastructure.
64    
65    2007-08-22 Sascha L. Teichmann <[email protected]>
66    
67            * tools/formed/formed/model/nodecomponents.py: Added an
68              attribute 'modes' to NodeComponents.
69    
70    2007-08-22 Sascha L. Teichmann <[email protected]>
71    
72            * tools/formed/formed/model/data.py: Small cosmetic cleanups
73    
74    2007-08-21 Sascha L. Teichmann <[email protected]>
75    
76            * tools/formed/formed/plugins/web/renderer.py: Another fix
77              for the hidden field. Argh!
78    
79    2007-08-21 Sascha L. Teichmann <[email protected]>
80    
81            * tools/formed/formed/plugins/web/renderer.py: Fixed double
82              generation of hidden page field.
83    
84    2007-08-21 Sascha L. Teichmann <[email protected]>
85    
86            * tools/formed/formed/plugins/web/semantic.py: Added semantic
87              checks for radio groups.
88    
89    2007-08-21 Sascha L. Teichmann <[email protected]>
90    
91            * tools/formed/formed/plugins/web/semantic.py: Added semantic
92              checks for choices.
93    
94    2007-08-21      Frank Koormann <[email protected]>
95    
96            * contrib/convert-formedtree2html.xsl: Display switch nodes as
97            alternatives.
98            
99    2007-08-21      Frank Koormann <[email protected]>
100    
101            * contrib/convert-formedtree2html.xsl:
102            Replace technical types with readable descriptions
103    
104    2007-08-21 Sascha L. Teichmann <[email protected]>
105    
106            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
107              issues. 'action' looks for all widgets on a page now, goes
108                    through all passed parameters, tries to match them with the
109                    widgets of the page and put them into the semantic box.
110                    Afterwards a list of untouched page parameters are left
111                    which will be deleted from the semantic box.
112    
113            * tools/formed/formed/plugins/web/semantic.py: Simplified.
114              The NodeComponent is passed as an argument now.
115    
116            * tools/formed/formed/plugins/web/renderer.py: Generate a
117              hidden field to store the name of the page.
118    
119    2007-08-21 Sascha L. Teichmann <[email protected]>
120    
121            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
122              issue with incoming UTF-8 data.
123    
124    2007-08-21 Sascha L. Teichmann <[email protected]>
125    
126            * tools/formed/test-data/simple.xml: Improve test for widgets
127              in switches.
128    
129            * tools/formed/formed/model/data.py: Added a method to find all
130              widgets in a given page. Fixed a bug when walking in switch
131                    with a given mode.
132    
133            * tools/formed/formed/plugins/web/plugin.py: Simple test for
134              listing all widgets in page.
135    
136    2007-08-21 Torsten Irlaender <[email protected]>
137    
138            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
139              latin-1
140    
141    2007-08-21 Sascha L. Teichmann <[email protected]>
142    
143            * tools/formed/formed/model/data.py: Added mode parameter to
144              walk.
145                    
146            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
147              walk() with usage of the new mode parameter. Added a method to
148                    give children in a given mode.
149    
150            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
151              new Switch.childrenInMode() method.
152    
153    2007-08-21 Sascha L. Teichmann <[email protected]>
154    
155            * tools/formed/formed/plugins/web/semantic.py: Add checks for
156              texts and text areas.
157    
158            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
159              to UTF-8 in generated form.
160    
161    2007-08-20 Sascha L. Teichmann <[email protected]>
162    
163            * tools/formed/formed/plugins/web/semantic.py: Added semantic
164              tests for dates.
165    
166    2007-08-20 Sascha L. Teichmann <[email protected]>        
167    
168            * tools/formed/test-data/simple.xml: Tweak a bit for integer
169              range test.
170    
171            * tools/formed/formed/model/nodecomponents.py: Added a method
172              to find a tree item for a given name.
173    
174            * tools/formed/formed/plugins/web/semantic.py: New: Box for
175              semantic checking. Has check for integers.
176    
177            * tools/formed/formed/plugins/web/plugin.py: Use semantic
178              check.
179    
180    2007-08-20      Torsten Irlaender <[email protected]>
181    
182            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
183              selection-field generation (Removed quote)
184    
185    2007-08-18      Sascha L. Teichmann <[email protected]>
186    
187            * tools/formed/formed/plugins/web/plugin.py,
188              tools/formed/formed/plugins/web/renderer.py: Added a
189              simple cookie based session management to the HTML
190              renderer. This submit parameters are stored in the
191              session now. This will ease testing the constraint
192              tests which need to be written soon.
193                    
194              BEWARE: The session management is _not_ made for production!
195              Denial of service attacks are too easy, and the
196              cryptographical strength of the session id is doubtful.
197    
198    2007-08-18      Sascha L. Teichmann <[email protected]>
199    
200            * tools/formed/formed/plugins/web/renderer.py: Escaping text
201              coming from the document tree now when inserting it into the
202              HTML output.
203    
204    2007-08-18      Sascha L. Teichmann <[email protected]>
205    
206            * tools/formed/formed/plugins/plugin.py: Added a new kind
207              of plug-in: Filter. They have a short and a long description
208              and can be hooked automatically into the new 'Filters'
209              sub menu under 'Extra'. They got called when the user
210              selects their respective menu item.
211                    
212            * tools/formed/formed/config.py: Contains the list of
213              installed filters.
214    
215            * tools/formed/formed/main.py: Builds the Extra->Filters
216              sub menu during gui initialization. The hard wired code
217              for make unique and formular name/description -> name
218              is removed because they are implemented as filters now.
219    
220            * tools/formed/formed/model/nodecomponents.py,
221              tools/formed/formed/model/data.py: Removed the make
222              unique and formular name/description -> name code.
223    
224            * tools/formed/formed/plugins/names,
225              tools/formed/formed/plugins/names/__init__.py,
226              tools/formed/formed/plugins/names/filter.py: Added. Contains
227              the make unique and formular name/description -> name code
228              in form of filters.
229    
230            * tools/formed/test-data/simple.xml: Modified to be a better
231              test for the formular name/description -> name filter.
232    
233    2007-08-18      Sascha L. Teichmann <[email protected]>
234    
235            * tools/formed/formed.py, tools/formed/formed/main.py: First
236              command line argument is interpreted as filename of document
237              to be loaded at program startup.
238    
239    2007-08-17      Frank Koormann <[email protected]>
240    
241            * contrib/convert-formedtree2html.xsl:
242            Heading level depending on depth of group node.
243            In case of radio/choice/check only list of options.
244    
245    2007-08-17      Torsten Irlaender <[email protected]>
246    
247            * contrib/convert-formedtree2html.xsl: Output is now generated with
248              HTML doc-string and charset information in the meta-header.
249    
250    2007-08-17      Torsten Irlaender <[email protected]>
251    
252            * contrib/convert-formedtree2html.xsl: Added small script for
253              exporting the formed tree to html
254    
255    2007-08-17      Torsten Irlaender <[email protected]>
256    
257            * tools/formed/model/nodecomponents.py: Added function to rename
258              the set the name of the node to the formularname. The formularname
259              gets shorten to <=64 by removing vowels and is stored lowercase.
260              If the name is not unique and additional id value is appended.
261            
262            * tools/formed/formed/model/data.py: Overwritten renaming-function for
263              bool-leafs
264    
265            * tools/formed/formed/main.py: Added menuitem for renaming the names
266              of the element
267    
268    2007-08-16      Sascha L. Teichmann <[email protected]>
269    
270            * tools/formed/formed/main.py: Swaped order of
271              'Make names unique' and 'Selected mode...' in Extra
272                    menu and put a separator between them.
273    
274    2007-08-15      Sascha L. Teichmann <[email protected]>
275    
276            * tools/formed/formed/model/data.py: SwitchNodes can add
277              their modes to a given set now.
278    
279            * tools/formed/formed/plugins/plugin.py: Simplified
280              the plug-in interface. Only the reference to the
281                    global configuration is passed at setup time.
282    
283            * tools/formed/formed/plugins/web/plugin.py: Adjusted
284              to new plug-in setup. The traveral mode is now taken
285                    from the global configuration each time a rendering
286                    is triggered. The FORMED parameter is now named
287                    'doc.mode' instead of 'web.mode'. The parameter
288                    is not needed any more because it can be configured
289                    at runtime.
290    
291            * tools/formed/formed/main.py: Adjusted to new plugin
292              setup. Added a new menu item Extra->Select Mode...
293                    to select the traversal mode. It is stored in the
294                    global config.
295    
296            * tools/formed/formed/config.py: Simplified. Only uses
297              one env dictionary to store global configuration parameters.
298    
299            * tools/formed/formed/ui/controls.py: Add a control to
300              select one item from a list of given strings.
301    
302    2007-08-15      Sascha L. Teichmann <[email protected]>
303    
304            * tools/formed/formed/plugins/web/plugin.py,
305              tools/formed/formed/plugins/web/renderer.py: Added parameter
306                    print out in web plugin.
307    
308    2007-08-15      Torsten Irlaender <[email protected]>
309    
310            * contrib/convert-formedtree2csv.xsl: Added small script for
311              exporting the formed tree to csv
312    
313    2007-08-14      Sascha L. Teichmann <[email protected]>
314    
315            * tools/formed/formed/model/data.py,
316              tools/formed/formed/model/nodecomponents.py,
317              tools/formed/formed/io/document.py: Added a 'switch' node.
318    
319            * tools/formed/formed/plugins/web/renderer.py:Render the
320              new 'switch' node.
321    
322            * tools/formed/formed/plugins/web/plugin.py,
323              tools/formed/formed/config.py: Added a 'web.mode' parameter
324                    to FORMED environment variable.
325                    e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
326                    Defaults to 'default'.
327    
328            * tools/formed/test-data/simple.xml: Added test for switch.
329    
330    2007-08-14      Sascha L. Teichmann <[email protected]>
331    
332            * tools/formed/formed/model/nodecomponents.py: Added an
333              attribute 'formularname' to base class of node components.
334    
335    2007-08-13      Sascha L. Teichmann <[email protected]>
336    
337            * tools/formed/formed/io/document.py,
338              tools/formed/formed/model/data.py,
339              tools/formed/formed/model/nodecomponents.py: Added an item
340                    to model external item lists.
341    
342            * tools/formed/formed/plugins/web/renderer.py: Render new item
343              list.
344            * tools/formed/formed/main.py: Added a forgotten 'self.'
345    
346            * contrib/extract-xfa-items.sh: Modified to generate
347              documents to be loadable from new item lists
348    
349    2007-08-13      Sascha L. Teichmann <[email protected]>
350    
351            * tools/formed/formed/main.py: Fixed typo
352    
353    2007-08-13      Sascha L. Teichmann <[email protected]>
354    
355            * contrib/extract-xfa-items.sh: New. Can be used to extract longer
356              choice item lists for a given field from XFA files. e.g. with
357                    './contrib/extract-xfa-items.sh Muttersprache alles.xml'
358    
359    2007-08-12      Sascha L. Teichmann <[email protected]>
360    
361            * tools/formed/formed/model/data.py,
362              tools/formed/formed/plugins/web/renderer.py,
363                    tools/formed/formed/io/document.py: Changed the structure
364                    of choice constructs. The idea to hold the different items
365                    of a particular choice in a semicolon separated list was bad.
366                    Now choices are groups and  the option items are modelled as
367                    embedded bools. (mainly Torsten Irländer's idea).
368    
369                    WARNING: this makes old document files containing choices incompatible!!!
370                    Use the following XSLT to reestablish compatibility.
371                    
372            * contrib/itemize-choices.xsl: New converts old to new structure.
373              Needs exslt.org's string extensions (which xsltproc includes)
374    
375            * tools/formed/test-data/simple.xml: Ajusted to new structure
376    
377            * tools/formed/formed/plugins/web/plugin.py: remove debug output
378    
379            * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
380              node finding code. It now uses the walk() generator, too.
381    
382    2007-08-12      Sascha L. Teichmann <[email protected]>
383    
384            * tools/formed/formed/main.py: Added a clone item on the toolbar which
385              copies the currently selected item and appends it after the selection.
386    
387            * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
388              of the tree.
389                    
390            * tools/formed/formed/ui/controls.py: Added a getSelected method.
391    
392            * tools/formed/formed/model/misc.py: Fixed a programming bug.
393              forgot a 'self.' prefix.
394    
395    2007-08-12      Sascha L. Teichmann <[email protected]>
396    
397            * tools/formed/formed/model/nodecomponents.py: Added a method to append
398              a second document to the current.
399    
400            * tools/formed/formed/main.py: Added an 'Import' file menu item to load
401              a second document to be appended to the current.
402    
403    2007-08-12      Sascha L. Teichmann <[email protected]>
404    
405            * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
406              a new document when triggered.
407    
408    2007-08-12      Sascha L. Teichmann <[email protected]>
409    
410            * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
411              items in the document tree. Added a method to eliminated duplicated names
412                    in document tree.
413    
414            * tools/formed/formed/model/misc.py: Added update mechanism for id generator
415              after names collisions are eliminated.
416    
417            * tools/formed/formed/main.py: Added an 'Extra' menu with item
418              'Make names   unique'.
419    
420    2007-08-11      Sascha L. Teichmann <[email protected]>
421    
422            * tools/formed/formed/model/data.py,
423              tools/formed/formed/plugins/web/renderer.py: Removed support
424                    for 'text' attributes in bool items. They were never really
425                    used and the 'description' attributes fulfill the same
426                    purpose.
427    
428            * contrib/remove-bool-text.xsl: Transform to remove the
429              'text' attributes from bool items. Apply with:
430                    'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
431    
432            * tools/formed/test-data/simple.xml: Removed 'text' attributes
433              from bool items.
434    
435    2007-08-11      Sascha L. Teichmann <[email protected]>
436    
437            * contrib/convert-choices.xsl: Simpified.
438    
439    2007-08-11      Sascha L. Teichmann <[email protected]>
440    
441            * tools/formed/formed/model/data.py: Removed 'options' attribute
442              from ChoiceLeaf. Use 'value' instead, please!
443    
444            * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
445              instead of 'options' to render choices.
446    
447            * contrib/convert-choices.xsl: Added to convert document files
448              which use the choice 'option' attribute to usage of 'value'.
449                    Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
450    
451    2007-08-10      Sascha L. Teichmann <[email protected]>
452    
453            * tools/formed/formed/plugins/web/renderer.py: radio buttons
454              are selected by 'checked' and not by 'selected'. Fixed.
455    
456    2007-08-10      Sascha L. Teichmann <[email protected]>
457    
458            * tools/formed/formed/model/data.py: ChoiceLeafs are now
459              initialized with size = 1.
460    
461    2007-08-10      Sascha L. Teichmann <[email protected]>
462    
463            * tools/formed/formed/model/data.py: TextLeafs are now
464              initialized with size = 40, maxlength = 60
465    
466    2007-08-10      Sascha L. Teichmann <[email protected]>
467    
468            * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
469              are renderered with description now.
470    
471    2007-08-10      Sascha L. Teichmann <[email protected]>
472    
473            * tools/formed/formed/plugins/web/renderer.py: Added rendering
474              for date items. Added missing ids for texts and textareas.
475    
476    2007-08-10      Sascha L. Teichmann <[email protected]>
477    
478            * tools/formed/formed/config.py: Evaluate the environment
479              variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
480    
481            * tools/formed/formed/plugins/plugin.py: Give a reference
482              to the config at setup time.
483    
484            * tools/formed/formed/plugins/web/plugin.py: To determine
485              the port look at FORMED dictionary first. Key is 'web.port'.
486                    e.g. FORMED='web.port:8888'
487    
488            * tools/formed/formed/main.py: Call the plugin setup with
489              the reference to the config.
490    
491    2007-08-10      Sascha L. Teichmann <[email protected]>
492    
493            * tools/formed/test-data/simple.xml: removed 'text' attributes from
494              info tags. Use the 'value' attributes for same purpose now, please!
495    
496            * tools/formed/formed/model/data.py: removed text attributes from
497              InfoLeaf.
498    
499            * tools/formed/formed/plugins/web/renderer.py: Rendering of info
500              now uses the 'value' instead of the 'text' attributes.
501    
502    2007-08-09      Sascha L. Teichmann <[email protected]>
503    
504            * tools/formed/formed/model/data.py: next/prevPage() are
505              methods of PageNode now.
506    
507            * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
508              is method of Document now.
509    
510            * tools/formed/formed/plugins/web/plugin.py: Factored out
511              the HTML renderer.
512    
513            * tools/formed/formed/plugins/web/renderer.py: New: contains
514              the HTML renderer now.
515    
516            * tools/formed/test-data/simple.xml: Fixed typo
517    
518    2007-08-09      Sascha L. Teichmann <[email protected]>
519    
520            * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
521              in calculation of width of bounded int fields.
522    
523    2007-08-09      Sascha L. Teichmann <[email protected]>
524    
525            * tools/formed/test-data/simple.xml: Make demo Int fancier.
526    
527            * tools/formed/formed/model/data.py: Added attributes to IntLeaf
528    
529            * tools/formed/formed/plugins/web/plugin.py: Added rendering for
530              Ints
531    
532    2007-08-09      Sascha L. Teichmann <[email protected]>
533    
534            * tools/formed/test-data/simple.xml: Added demo textarea
535    
536            * tools/formed/formed/model/data.py: Added TextAreaLeaf
537    
538            * tools/formed/formed/io/document.py: register builder
539              for loading of textareas
540    
541            * tools/formed/formed/plugins/web/plugin.py: Added rendering
542              for textareas.
543    
544  2007-08-09      Sascha L. Teichmann <[email protected]>  2007-08-09      Sascha L. Teichmann <[email protected]>
545    
546          * tools/formed/test-data/simple.xml: Make demo choice fancier.          * tools/formed/test-data/simple.xml: Make demo choice fancier.

Legend:
Removed from v.18  
changed lines
  Added in v.81

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26