/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.8  
changed lines
  Added in v.57

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26