/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.16  
changed lines
  Added in v.80

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26