/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.30  
changed lines
  Added in v.77

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26