/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 21 by teichmann, Thu Aug 9 18:37:33 2007 UTC revision 58 by torsten, Mon Aug 20 13:03:22 2007 UTC
# Line 1  Line 1 
1    2007-08-20      Torsten Irlaender <[email protected]>
2    
3            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
4              selection-field generation (Removed quote)
5    
6    2007-08-18      Sascha L. Teichmann <[email protected]>
7    
8            * tools/formed/formed/plugins/web/plugin.py,
9              tools/formed/formed/plugins/web/renderer.py: Added a
10              simple cookie based session management to the HTML
11              renderer. This submit parameters are stored in the
12              session now. This will ease testing the constraint
13              tests which need to be written soon.
14                    
15              BEWARE: The session management is _not_ made for production!
16              Denial of service attacks are too easy, and the
17              cryptographical strength of the session id is doubtful.
18    
19    2007-08-18      Sascha L. Teichmann <[email protected]>
20    
21            * tools/formed/formed/plugins/web/renderer.py: Escaping text
22              coming from the document tree now when inserting it into the
23              HTML output.
24    
25    2007-08-18      Sascha L. Teichmann <[email protected]>
26    
27            * tools/formed/formed/plugins/plugin.py: Added a new kind
28              of plug-in: Filter. They have a short and a long description
29              and can be hooked automatically into the new 'Filters'
30              sub menu under 'Extra'. They got called when the user
31              selects their respective menu item.
32                    
33            * tools/formed/formed/config.py: Contains the list of
34              installed filters.
35    
36            * tools/formed/formed/main.py: Builds the Extra->Filters
37              sub menu during gui initialization. The hard wired code
38              for make unique and formular name/description -> name
39              is removed because they are implemented as filters now.
40    
41            * tools/formed/formed/model/nodecomponents.py,
42              tools/formed/formed/model/data.py: Removed the make
43              unique and formular name/description -> name code.
44    
45            * tools/formed/formed/plugins/names,
46              tools/formed/formed/plugins/names/__init__.py,
47              tools/formed/formed/plugins/names/filter.py: Added. Contains
48              the make unique and formular name/description -> name code
49              in form of filters.
50    
51            * tools/formed/test-data/simple.xml: Modified to be a better
52              test for the formular name/description -> name filter.
53    
54    2007-08-18      Sascha L. Teichmann <[email protected]>
55    
56            * tools/formed/formed.py, tools/formed/formed/main.py: First
57              command line argument is interpreted as filename of document
58              to be loaded at program startup.
59    
60    2007-08-17      Frank Koormann <[email protected]>
61    
62            * contrib/convert-formedtree2html.xsl:
63            Heading level depending on depth of group node.
64            In case of radio/choice/check only list of options.
65    
66    2007-08-17      Torsten Irlaender <[email protected]>
67    
68            * contrib/convert-formedtree2html.xsl: Output is now generated with
69              HTML doc-string and charset information in the meta-header.
70    
71    2007-08-17      Torsten Irlaender <[email protected]>
72    
73            * contrib/convert-formedtree2html.xsl: Added small script for
74              exporting the formed tree to html
75    
76    2007-08-17      Torsten Irlaender <[email protected]>
77    
78            * tools/formed/model/nodecomponents.py: Added function to rename
79              the set the name of the node to the formularname. The formularname
80              gets shorten to <=64 by removing vowels and is stored lowercase.
81              If the name is not unique and additional id value is appended.
82            
83            * tools/formed/formed/model/data.py: Overwritten renaming-function for
84              bool-leafs
85    
86            * tools/formed/formed/main.py: Added menuitem for renaming the names
87              of the element
88    
89    2007-08-16      Sascha L. Teichmann <[email protected]>
90    
91            * tools/formed/formed/main.py: Swaped order of
92              'Make names unique' and 'Selected mode...' in Extra
93                    menu and put a separator between them.
94    
95    2007-08-15      Sascha L. Teichmann <[email protected]>
96    
97            * tools/formed/formed/model/data.py: SwitchNodes can add
98              their modes to a given set now.
99    
100            * tools/formed/formed/plugins/plugin.py: Simplified
101              the plug-in interface. Only the reference to the
102                    global configuration is passed at setup time.
103    
104            * tools/formed/formed/plugins/web/plugin.py: Adjusted
105              to new plug-in setup. The traveral mode is now taken
106                    from the global configuration each time a rendering
107                    is triggered. The FORMED parameter is now named
108                    'doc.mode' instead of 'web.mode'. The parameter
109                    is not needed any more because it can be configured
110                    at runtime.
111    
112            * tools/formed/formed/main.py: Adjusted to new plugin
113              setup. Added a new menu item Extra->Select Mode...
114                    to select the traversal mode. It is stored in the
115                    global config.
116    
117            * tools/formed/formed/config.py: Simplified. Only uses
118              one env dictionary to store global configuration parameters.
119    
120            * tools/formed/formed/ui/controls.py: Add a control to
121              select one item from a list of given strings.
122    
123    2007-08-15      Sascha L. Teichmann <[email protected]>
124    
125            * tools/formed/formed/plugins/web/plugin.py,
126              tools/formed/formed/plugins/web/renderer.py: Added parameter
127                    print out in web plugin.
128    
129    2007-08-15      Torsten Irlaender <[email protected]>
130    
131            * contrib/convert-formedtree2csv.xsl: Added small script for
132              exporting the formed tree to csv
133    
134    2007-08-14      Sascha L. Teichmann <[email protected]>
135    
136            * tools/formed/formed/model/data.py,
137              tools/formed/formed/model/nodecomponents.py,
138              tools/formed/formed/io/document.py: Added a 'switch' node.
139    
140            * tools/formed/formed/plugins/web/renderer.py:Render the
141              new 'switch' node.
142    
143            * tools/formed/formed/plugins/web/plugin.py,
144              tools/formed/formed/config.py: Added a 'web.mode' parameter
145                    to FORMED environment variable.
146                    e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
147                    Defaults to 'default'.
148    
149            * tools/formed/test-data/simple.xml: Added test for switch.
150    
151    2007-08-14      Sascha L. Teichmann <[email protected]>
152    
153            * tools/formed/formed/model/nodecomponents.py: Added an
154              attribute 'formularname' to base class of node components.
155    
156    2007-08-13      Sascha L. Teichmann <[email protected]>
157    
158            * tools/formed/formed/io/document.py,
159              tools/formed/formed/model/data.py,
160              tools/formed/formed/model/nodecomponents.py: Added an item
161                    to model external item lists.
162    
163            * tools/formed/formed/plugins/web/renderer.py: Render new item
164              list.
165            * tools/formed/formed/main.py: Added a forgotten 'self.'
166    
167            * contrib/extract-xfa-items.sh: Modified to generate
168              documents to be loadable from new item lists
169    
170    2007-08-13      Sascha L. Teichmann <[email protected]>
171    
172            * tools/formed/formed/main.py: Fixed typo
173    
174    2007-08-13      Sascha L. Teichmann <[email protected]>
175    
176            * contrib/extract-xfa-items.sh: New. Can be used to extract longer
177              choice item lists for a given field from XFA files. e.g. with
178                    './contrib/extract-xfa-items.sh Muttersprache alles.xml'
179    
180    2007-08-12      Sascha L. Teichmann <[email protected]>
181    
182            * tools/formed/formed/model/data.py,
183              tools/formed/formed/plugins/web/renderer.py,
184                    tools/formed/formed/io/document.py: Changed the structure
185                    of choice constructs. The idea to hold the different items
186                    of a particular choice in a semicolon separated list was bad.
187                    Now choices are groups and  the option items are modelled as
188                    embedded bools. (mainly Torsten Irländer's idea).
189    
190                    WARNING: this makes old document files containing choices incompatible!!!
191                    Use the following XSLT to reestablish compatibility.
192                    
193            * contrib/itemize-choices.xsl: New converts old to new structure.
194              Needs exslt.org's string extensions (which xsltproc includes)
195    
196            * tools/formed/test-data/simple.xml: Ajusted to new structure
197    
198            * tools/formed/formed/plugins/web/plugin.py: remove debug output
199    
200            * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
201              node finding code. It now uses the walk() generator, too.
202    
203    2007-08-12      Sascha L. Teichmann <[email protected]>
204    
205            * tools/formed/formed/main.py: Added a clone item on the toolbar which
206              copies the currently selected item and appends it after the selection.
207    
208            * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
209              of the tree.
210                    
211            * tools/formed/formed/ui/controls.py: Added a getSelected method.
212    
213            * tools/formed/formed/model/misc.py: Fixed a programming bug.
214              forgot a 'self.' prefix.
215    
216    2007-08-12      Sascha L. Teichmann <[email protected]>
217    
218            * tools/formed/formed/model/nodecomponents.py: Added a method to append
219              a second document to the current.
220    
221            * tools/formed/formed/main.py: Added an 'Import' file menu item to load
222              a second document to be appended to the current.
223    
224    2007-08-12      Sascha L. Teichmann <[email protected]>
225    
226            * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
227              a new document when triggered.
228    
229    2007-08-12      Sascha L. Teichmann <[email protected]>
230    
231            * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
232              items in the document tree. Added a method to eliminated duplicated names
233                    in document tree.
234    
235            * tools/formed/formed/model/misc.py: Added update mechanism for id generator
236              after names collisions are eliminated.
237    
238            * tools/formed/formed/main.py: Added an 'Extra' menu with item
239              'Make names   unique'.
240    
241    2007-08-11      Sascha L. Teichmann <[email protected]>
242    
243            * tools/formed/formed/model/data.py,
244              tools/formed/formed/plugins/web/renderer.py: Removed support
245                    for 'text' attributes in bool items. They were never really
246                    used and the 'description' attributes fulfill the same
247                    purpose.
248    
249            * contrib/remove-bool-text.xsl: Transform to remove the
250              'text' attributes from bool items. Apply with:
251                    'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
252    
253            * tools/formed/test-data/simple.xml: Removed 'text' attributes
254              from bool items.
255    
256    2007-08-11      Sascha L. Teichmann <[email protected]>
257    
258            * contrib/convert-choices.xsl: Simpified.
259    
260    2007-08-11      Sascha L. Teichmann <[email protected]>
261    
262            * tools/formed/formed/model/data.py: Removed 'options' attribute
263              from ChoiceLeaf. Use 'value' instead, please!
264    
265            * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
266              instead of 'options' to render choices.
267    
268            * contrib/convert-choices.xsl: Added to convert document files
269              which use the choice 'option' attribute to usage of 'value'.
270                    Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
271    
272    2007-08-10      Sascha L. Teichmann <[email protected]>
273    
274            * tools/formed/formed/plugins/web/renderer.py: radio buttons
275              are selected by 'checked' and not by 'selected'. Fixed.
276    
277    2007-08-10      Sascha L. Teichmann <[email protected]>
278    
279            * tools/formed/formed/model/data.py: ChoiceLeafs are now
280              initialized with size = 1.
281    
282    2007-08-10      Sascha L. Teichmann <[email protected]>
283    
284            * tools/formed/formed/model/data.py: TextLeafs are now
285              initialized with size = 40, maxlength = 60
286    
287    2007-08-10      Sascha L. Teichmann <[email protected]>
288    
289            * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
290              are renderered with description now.
291    
292    2007-08-10      Sascha L. Teichmann <[email protected]>
293    
294            * tools/formed/formed/plugins/web/renderer.py: Added rendering
295              for date items. Added missing ids for texts and textareas.
296    
297    2007-08-10      Sascha L. Teichmann <[email protected]>
298    
299            * tools/formed/formed/config.py: Evaluate the environment
300              variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
301    
302            * tools/formed/formed/plugins/plugin.py: Give a reference
303              to the config at setup time.
304    
305            * tools/formed/formed/plugins/web/plugin.py: To determine
306              the port look at FORMED dictionary first. Key is 'web.port'.
307                    e.g. FORMED='web.port:8888'
308    
309            * tools/formed/formed/main.py: Call the plugin setup with
310              the reference to the config.
311    
312    2007-08-10      Sascha L. Teichmann <[email protected]>
313    
314            * tools/formed/test-data/simple.xml: removed 'text' attributes from
315              info tags. Use the 'value' attributes for same purpose now, please!
316    
317            * tools/formed/formed/model/data.py: removed text attributes from
318              InfoLeaf.
319    
320            * tools/formed/formed/plugins/web/renderer.py: Rendering of info
321              now uses the 'value' instead of the 'text' attributes.
322    
323    2007-08-09      Sascha L. Teichmann <[email protected]>
324    
325            * tools/formed/formed/model/data.py: next/prevPage() are
326              methods of PageNode now.
327    
328            * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
329              is method of Document now.
330    
331            * tools/formed/formed/plugins/web/plugin.py: Factored out
332              the HTML renderer.
333    
334            * tools/formed/formed/plugins/web/renderer.py: New: contains
335              the HTML renderer now.
336    
337            * tools/formed/test-data/simple.xml: Fixed typo
338    
339  2007-08-09      Sascha L. Teichmann <[email protected]>  2007-08-09      Sascha L. Teichmann <[email protected]>
340    
341          * tools/formed/formed/plugins/web/plugin.py: Fixed a bug          * tools/formed/formed/plugins/web/plugin.py: Fixed a bug

Legend:
Removed from v.21  
changed lines
  Added in v.58

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26