/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.23  
changed lines
  Added in v.59

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26