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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26