/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.29  
changed lines
  Added in v.66

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26