/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 40 by teichmann, Mon Aug 13 16:01:14 2007 UTC revision 95 by teichmann, Sun Aug 26 20:44:47 2007 UTC
# Line 1  Line 1 
1    2007-08-26 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/model/data.py,
4              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
5    
6            * tools/formed/formed/plugins/web/www,
7              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
8                    a template for the HTML output.
9    
10            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
11              mode issues. Introduces CSS support. Simplified the action
12                    handling.
13    
14            * tools/formed/formed/plugins/web/renderer.py: Removed the
15              nagivation code.
16    
17            * tools/formed/formed/plugins/web/server.py: Added missing import.
18    
19    2007-08-26 Sascha L. Teichmann <[email protected]>
20    
21            * tools/formed/formed/model/data.py: Added missing broadcast
22              parameter to setAttribute() of RuleLeaf.
23    
24            * tools/formed/formed/plugins/web/plugin.py: Factorize
25              HTTP server code out to separate module.
26    
27            * tools/formed/formed/plugins/web/renderer.py: Removed
28              needless -1 from pop()
29    
30            * tools/formed/formed/plugins/web/server.py: New. Contains
31              the HTTP server code now.
32    
33    2007-08-26 Sascha L. Teichmann <[email protected]>
34    
35            * tools/formed/test-data/simple.xml: Modified to contain a rule.
36    
37            * tools/formed/formed/model/expr.py: Added. A simple RPN
38              expression evaluator. To avoid the problem of eval()ing
39                    arbitrary python expressions I've decided to use a very
40                    basic and limited stack machine to support rule checking.
41    
42            * tools/formed/formed/model/data.py: Added a RuleLeaf.
43    
44            * tools/formed/formed/io/document.py: Added factories for rules.
45    
46            * tools/formed/formed/model/nodecomponents.py: Add a method
47              to find all items of a given type in document for a given
48                    mode. Usefull to find all rules in the tree.
49    
50            * tools/formed/formed/ui/controls.py: Added a listener mechanism
51              to attribute table to report exceptions when setting a value
52                    from GUI. Useful to report compilation errors when setting
53                    expr of rule leafs.
54    
55            * tools/formed/formed/main.py: Added a method to track exceptions
56              from the attribute table and pop up dialogs if they occur.
57                    Added a counter of rule modifications in tree. Useful if you
58                    want build cached data structures like rule sets and you want
59                    to know if they are still valid.
60    
61    2007-08-24 Torsten Irlaender <[email protected]>
62    
63            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
64              for checkbox values. (Syntax error).
65    
66            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
67              generation  
68    
69    2007-08-24 Torsten Irlaender <[email protected]>
70    
71            * tools/formed/formed/plugins/names/filter.py: Separated Class for
72              making the formularnames more database friendly. Added some more
73              checks.
74            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
75              separated class, and some fixes in sql generation.
76    
77    2007-08-24 Sascha L. Teichmann <[email protected]>
78    
79            * tools/formed/formed/plugins/export/html.py: Print lengths
80              of external choice list.
81    
82    2007-08-24 Sascha L. Teichmann <[email protected]>
83    
84            * tools/formed/formed/main.py: Little workaround for
85              mode selection if someone adds an removes a mode.
86    
87    2007-08-24 Sascha L. Teichmann <[email protected]>
88    
89            * tools/formed/test-data/simple.xml: Better test case for
90              mode depended leaf items.
91    
92            * tools/formed/formed/model/nodecomponents.py: Added a method
93              to calculate the effective mode of an item.
94    
95            * tools/formed/formed/plugins/export/html.py: Use effective
96              mode. TODO: the 'all' modus return false results sometimes.
97                    Cause: The modes are only cumulated over time. Removal is
98                    not done.
99    
100    2007-08-24 Sascha L. Teichmann <[email protected]>
101    
102            * tools/formed/formed/plugins/export/html.py: Dump the items
103              of radio groups and choices too.
104    
105    2007-08-24 Torsten Irlaender <[email protected]>
106    
107            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
108              by formular names to make the naming more database friendly.
109              Now only alphanumeric and underscore chars is allowed.
110    
111    2007-08-24 Sascha L. Teichmann <[email protected]>
112    
113            * tools/formed/formed/plugins/export/html.py: Tweaked
114              HTML table exporter a bit to be on par with the XSLT
115                    script. TODO: Dump items in radio and choice groups.
116    
117    2007-08-23 Sascha L. Teichmann <[email protected]>
118    
119            * tools/formed/formed/plugins/names/filter.py: Removed
120              HTML and SQL exporters.
121    
122            * tools/formed/formed/plugins/export,
123              tools/formed/formed/plugins/export/__init__.py,
124              tools/formed/formed/plugins/export/sql.py,
125              tools/formed/formed/plugins/export/html.py: New: Contain
126                    the HTML and the SQL exporters now.
127    
128            * tools/formed/formed/config.py: Use exporters from different
129              package now.
130    
131    2007-08-23 Torsten Irlaender <[email protected]>
132    
133            * tools/formed/formed/plugins/names/filter.py: Added an
134              pseudo SQL export filters. TODO: Move HTML and SQL filter
135              in a new file (formed/plugins/export/htmlexport.py and
136              sqlexport.py?)
137    
138            * tools/formed/formed/config.py: Install the new SQL filter.
139    
140    2007-08-23 Sascha L. Teichmann <[email protected]>
141    
142            * tools/formed/formed/model/nodecomponents.py: Added a depth()
143              method to determine the depth of particular tree item.
144    
145            * tools/formed/formed/plugins/names/filter.py: Added an
146              HTML export filters. TODO: needs more work.
147    
148            * tools/formed/formed/config.py: Install the new HTML filter.
149    
150    2007-08-23 Torsten Irlaender <[email protected]>
151    
152            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
153              to extract fields and options in the XFA Data in teh PDF. This
154              script might me handy to indicate changes between the different
155              formular versions.
156            
157    2007-08-23 Sascha L. Teichmann <[email protected]>
158    
159            * tools/formed/formed/main.py: Add an 'all' mode to
160              select all modes. ;-)
161    
162    2007-08-22 Sascha L. Teichmann <[email protected]>
163    
164            * tools/formed/test-data/simple.xml,
165              tools/formed/formed/model/data.py,
166              tools/formed/formed/plugins/web/plugin.py,
167              tools/formed/formed/plugins/web/renderer.py,
168              tools/formed/formed/io/document.py,
169              tools/formed/formed/main.py: Removed support for switch nodes.
170              BEWARE: This breaks compatibility with older documents!
171    
172    2007-08-22 Sascha L. Teichmann <[email protected]>
173    
174            * tools/formed/formed/plugins/web/plugin.py: Uses the
175              getSelectedMode() from main now.
176    
177            * tools/formed/formed/main.py: selected mode is now hold
178              in main.
179    
180            * tools/formed/formed/config.py: removed selected mode from
181              env configuration.
182    
183    2007-08-22 Sascha L. Teichmann <[email protected]>
184    
185            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
186              table are now alphabetically sorted.
187    
188    2007-08-22 Sascha L. Teichmann <[email protected]>
189    
190            * tools/formed/formed/model/nodecomponents.py: Added code to
191              establish the new 'modes' recursively.
192    
193            * tools/formed/formed/plugins/plugin.py: Pass main instead
194              of cfg on plug-in start-up.
195    
196            * tools/formed/formed/plugins/web/plugin.py: Use the new
197              'modes' attribute for rendering.
198    
199            * tools/formed/formed/plugins/web/renderer.py: Use decorators
200              to check the new modes.
201    
202            * tools/formed/formed/main.py: Adjusted to new infrastructure.
203    
204    2007-08-22 Sascha L. Teichmann <[email protected]>
205    
206            * tools/formed/formed/model/nodecomponents.py: Added an
207              attribute 'modes' to NodeComponents.
208    
209    2007-08-22 Sascha L. Teichmann <[email protected]>
210    
211            * tools/formed/formed/model/data.py: Small cosmetic cleanups
212    
213    2007-08-21 Sascha L. Teichmann <[email protected]>
214    
215            * tools/formed/formed/plugins/web/renderer.py: Another fix
216              for the hidden field. Argh!
217    
218    2007-08-21 Sascha L. Teichmann <[email protected]>
219    
220            * tools/formed/formed/plugins/web/renderer.py: Fixed double
221              generation of hidden page field.
222    
223    2007-08-21 Sascha L. Teichmann <[email protected]>
224    
225            * tools/formed/formed/plugins/web/semantic.py: Added semantic
226              checks for radio groups.
227    
228    2007-08-21 Sascha L. Teichmann <[email protected]>
229    
230            * tools/formed/formed/plugins/web/semantic.py: Added semantic
231              checks for choices.
232    
233    2007-08-21      Frank Koormann <[email protected]>
234    
235            * contrib/convert-formedtree2html.xsl: Display switch nodes as
236            alternatives.
237            
238    2007-08-21      Frank Koormann <[email protected]>
239    
240            * contrib/convert-formedtree2html.xsl:
241            Replace technical types with readable descriptions
242    
243    2007-08-21 Sascha L. Teichmann <[email protected]>
244    
245            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
246              issues. 'action' looks for all widgets on a page now, goes
247                    through all passed parameters, tries to match them with the
248                    widgets of the page and put them into the semantic box.
249                    Afterwards a list of untouched page parameters are left
250                    which will be deleted from the semantic box.
251    
252            * tools/formed/formed/plugins/web/semantic.py: Simplified.
253              The NodeComponent is passed as an argument now.
254    
255            * tools/formed/formed/plugins/web/renderer.py: Generate a
256              hidden field to store the name of the page.
257    
258    2007-08-21 Sascha L. Teichmann <[email protected]>
259    
260            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
261              issue with incoming UTF-8 data.
262    
263    2007-08-21 Sascha L. Teichmann <[email protected]>
264    
265            * tools/formed/test-data/simple.xml: Improve test for widgets
266              in switches.
267    
268            * tools/formed/formed/model/data.py: Added a method to find all
269              widgets in a given page. Fixed a bug when walking in switch
270                    with a given mode.
271    
272            * tools/formed/formed/plugins/web/plugin.py: Simple test for
273              listing all widgets in page.
274    
275    2007-08-21 Torsten Irlaender <[email protected]>
276    
277            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
278              latin-1
279    
280    2007-08-21 Sascha L. Teichmann <[email protected]>
281    
282            * tools/formed/formed/model/data.py: Added mode parameter to
283              walk.
284                    
285            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
286              walk() with usage of the new mode parameter. Added a method to
287                    give children in a given mode.
288    
289            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
290              new Switch.childrenInMode() method.
291    
292    2007-08-21 Sascha L. Teichmann <[email protected]>
293    
294            * tools/formed/formed/plugins/web/semantic.py: Add checks for
295              texts and text areas.
296    
297            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
298              to UTF-8 in generated form.
299    
300    2007-08-20 Sascha L. Teichmann <[email protected]>
301    
302            * tools/formed/formed/plugins/web/semantic.py: Added semantic
303              tests for dates.
304    
305    2007-08-20 Sascha L. Teichmann <[email protected]>        
306    
307            * tools/formed/test-data/simple.xml: Tweak a bit for integer
308              range test.
309    
310            * tools/formed/formed/model/nodecomponents.py: Added a method
311              to find a tree item for a given name.
312    
313            * tools/formed/formed/plugins/web/semantic.py: New: Box for
314              semantic checking. Has check for integers.
315    
316            * tools/formed/formed/plugins/web/plugin.py: Use semantic
317              check.
318    
319    2007-08-20      Torsten Irlaender <[email protected]>
320    
321            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
322              selection-field generation (Removed quote)
323    
324    2007-08-18      Sascha L. Teichmann <[email protected]>
325    
326            * tools/formed/formed/plugins/web/plugin.py,
327              tools/formed/formed/plugins/web/renderer.py: Added a
328              simple cookie based session management to the HTML
329              renderer. This submit parameters are stored in the
330              session now. This will ease testing the constraint
331              tests which need to be written soon.
332                    
333              BEWARE: The session management is _not_ made for production!
334              Denial of service attacks are too easy, and the
335              cryptographical strength of the session id is doubtful.
336    
337    2007-08-18      Sascha L. Teichmann <[email protected]>
338    
339            * tools/formed/formed/plugins/web/renderer.py: Escaping text
340              coming from the document tree now when inserting it into the
341              HTML output.
342    
343    2007-08-18      Sascha L. Teichmann <[email protected]>
344    
345            * tools/formed/formed/plugins/plugin.py: Added a new kind
346              of plug-in: Filter. They have a short and a long description
347              and can be hooked automatically into the new 'Filters'
348              sub menu under 'Extra'. They got called when the user
349              selects their respective menu item.
350                    
351            * tools/formed/formed/config.py: Contains the list of
352              installed filters.
353    
354            * tools/formed/formed/main.py: Builds the Extra->Filters
355              sub menu during gui initialization. The hard wired code
356              for make unique and formular name/description -> name
357              is removed because they are implemented as filters now.
358    
359            * tools/formed/formed/model/nodecomponents.py,
360              tools/formed/formed/model/data.py: Removed the make
361              unique and formular name/description -> name code.
362    
363            * tools/formed/formed/plugins/names,
364              tools/formed/formed/plugins/names/__init__.py,
365              tools/formed/formed/plugins/names/filter.py: Added. Contains
366              the make unique and formular name/description -> name code
367              in form of filters.
368    
369            * tools/formed/test-data/simple.xml: Modified to be a better
370              test for the formular name/description -> name filter.
371    
372    2007-08-18      Sascha L. Teichmann <[email protected]>
373    
374            * tools/formed/formed.py, tools/formed/formed/main.py: First
375              command line argument is interpreted as filename of document
376              to be loaded at program startup.
377    
378    2007-08-17      Frank Koormann <[email protected]>
379    
380            * contrib/convert-formedtree2html.xsl:
381            Heading level depending on depth of group node.
382            In case of radio/choice/check only list of options.
383    
384    2007-08-17      Torsten Irlaender <[email protected]>
385    
386            * contrib/convert-formedtree2html.xsl: Output is now generated with
387              HTML doc-string and charset information in the meta-header.
388    
389    2007-08-17      Torsten Irlaender <[email protected]>
390    
391            * contrib/convert-formedtree2html.xsl: Added small script for
392              exporting the formed tree to html
393    
394    2007-08-17      Torsten Irlaender <[email protected]>
395    
396            * tools/formed/model/nodecomponents.py: Added function to rename
397              the set the name of the node to the formularname. The formularname
398              gets shorten to <=64 by removing vowels and is stored lowercase.
399              If the name is not unique and additional id value is appended.
400            
401            * tools/formed/formed/model/data.py: Overwritten renaming-function for
402              bool-leafs
403    
404            * tools/formed/formed/main.py: Added menuitem for renaming the names
405              of the element
406    
407    2007-08-16      Sascha L. Teichmann <[email protected]>
408    
409            * tools/formed/formed/main.py: Swaped order of
410              'Make names unique' and 'Selected mode...' in Extra
411                    menu and put a separator between them.
412    
413    2007-08-15      Sascha L. Teichmann <[email protected]>
414    
415            * tools/formed/formed/model/data.py: SwitchNodes can add
416              their modes to a given set now.
417    
418            * tools/formed/formed/plugins/plugin.py: Simplified
419              the plug-in interface. Only the reference to the
420                    global configuration is passed at setup time.
421    
422            * tools/formed/formed/plugins/web/plugin.py: Adjusted
423              to new plug-in setup. The traveral mode is now taken
424                    from the global configuration each time a rendering
425                    is triggered. The FORMED parameter is now named
426                    'doc.mode' instead of 'web.mode'. The parameter
427                    is not needed any more because it can be configured
428                    at runtime.
429    
430            * tools/formed/formed/main.py: Adjusted to new plugin
431              setup. Added a new menu item Extra->Select Mode...
432                    to select the traversal mode. It is stored in the
433                    global config.
434    
435            * tools/formed/formed/config.py: Simplified. Only uses
436              one env dictionary to store global configuration parameters.
437    
438            * tools/formed/formed/ui/controls.py: Add a control to
439              select one item from a list of given strings.
440    
441    2007-08-15      Sascha L. Teichmann <[email protected]>
442    
443            * tools/formed/formed/plugins/web/plugin.py,
444              tools/formed/formed/plugins/web/renderer.py: Added parameter
445                    print out in web plugin.
446    
447    2007-08-15      Torsten Irlaender <[email protected]>
448    
449            * contrib/convert-formedtree2csv.xsl: Added small script for
450              exporting the formed tree to csv
451    
452    2007-08-14      Sascha L. Teichmann <[email protected]>
453    
454            * tools/formed/formed/model/data.py,
455              tools/formed/formed/model/nodecomponents.py,
456              tools/formed/formed/io/document.py: Added a 'switch' node.
457    
458            * tools/formed/formed/plugins/web/renderer.py:Render the
459              new 'switch' node.
460    
461            * tools/formed/formed/plugins/web/plugin.py,
462              tools/formed/formed/config.py: Added a 'web.mode' parameter
463                    to FORMED environment variable.
464                    e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
465                    Defaults to 'default'.
466    
467            * tools/formed/test-data/simple.xml: Added test for switch.
468    
469    2007-08-14      Sascha L. Teichmann <[email protected]>
470    
471            * tools/formed/formed/model/nodecomponents.py: Added an
472              attribute 'formularname' to base class of node components.
473    
474  2007-08-13      Sascha L. Teichmann <[email protected]>  2007-08-13      Sascha L. Teichmann <[email protected]>
475    
476          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,

Legend:
Removed from v.40  
changed lines
  Added in v.95

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26