/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 107 by teichmann, Wed Aug 29 10:32:33 2007 UTC revision 194 by torsten, Thu Sep 27 10:18:08 2007 UTC
# Line 1  Line 1 
1  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-09-27      Torsten Irlaender <[email protected]>
2            * tools/formed/formed/plugins/names/filter.py: Pages are now included
3              in the rename by formular name  algorithm
4    
5    2007-09-26      Sascha L. Teichmann <[email protected]>
6    
7            * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
8              TODO: rewrite Page.allWidgets().
9    
10            * tools/formed/formed/model/nodecomponents.py: Added a method
11              Node.firstLevel(criterion) to walk a defined line in the tree.
12    
13            * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
14              build views and respective joins.
15    
16    2007-09-26      Sascha L. Teichmann <[email protected]>
17    
18            * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
19              FORMED environment variable. If set to true tidylib is used to
20              filter HTML content to be W3C valid. To use this feature install
21              uTidylib.
22    
23            * tools/formed/formed/plugins/web/server.py: Check if MIME type is
24              text/html and filters content through tidy if requested.
25    
26    2007-09-25      Torsten Irlaender <[email protected]>
27    
28            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
29              cleanup of the form generation code.
30    
31    2007-09-21      Sascha L. Teichmann <[email protected]>
32    
33            * tools/formed/formed/plugins/export/sql.py: Added generation time
34              and DROP TABLE statements to schema export.
35    
36    2007-09-20      Sascha L. Teichmann <[email protected]>
37    
38            * tools/formed/formed/plugins/export/sql.py: The tables are generated
39              in correct topolocial order now.
40    
41    2007-09-20      Sascha L. Teichmann <[email protected]>
42    
43            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
44              a document with items that are in given mode.
45    
46            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
47              trees depending on selected modes.
48    
49            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
50              Fixed clone issue with RuleNodes.
51    
52            * tools/formed/formed/config.py: Use new plug-in.
53    
54    2007-09-17      Sascha L. Teichmann <[email protected]>
55    
56            * tools/formed/formed/plugins/web/view_renderer.py: Make the
57              view renderer a real view renderer. It takes a list of
58              items now and not only a single page.
59    
60            * tools/formed/formed/plugins/web/renderer.py: Feed a list
61              of items to the view renderer.
62    
63    2007-09-17      Torsten Irlaender <[email protected]>
64    
65            * tools/formed/formed/plugins/web/view_renderer.py:
66              Small tweaks in rendering bools.
67              RadioNodes (with all its children) can now be placed in a container.
68              The radiobools will not get a surrounding <div> anymore.
69              I am not sure if the new way results in the wanted behaivor, but the
70              rendering results are much better now :)
71              Maybe we need a similar approach for checkboxes?
72              Rendering groups is still broken in some way.
73    
74    2007-09-17      Sascha L. Teichmann <[email protected]>
75    
76            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
77              a few bugs: Do not render empty containers, do not
78              generate misplaced <br class="newline"> in choices.
79              Add a nameless container to catch the items that are
80              nor explicitly assigned to a target. Removed FormData.
81    
82            * tools/formed/formed/plugins/web/renderer.py: Removed
83              a needless import
84    
85    2007-09-17      Sascha L. Teichmann <[email protected]>
86    
87            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
88              usage of 'containers' and 'target' attributes.
89    
90            * tools/formed/formed/plugins/web/controllers.py: Modified import.
91    
92            * tools/formed/formed/plugins/web/renderer.py: Use
93              new ViewRenderer.
94    
95    2007-09-17      Sascha L. Teichmann <[email protected]>
96    
97            * tools/formed/formed/model/nodecomponents.py: Added attributes
98              'target' to NodeComponent and 'containers' to Node.
99    
100            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
101              to be a replacement for form_renderer. Not ready yet!
102    
103            * ChangeLog: Fixed some indention glitches.
104    
105    2007-09-13      Torsten Irlaender <[email protected]>
106    
107            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
108              renaming algorithm.
109    
110    2007-09-12      Torsten Irlaender <[email protected]>
111    
112            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
113              from formular navigation to "Fallakte Inhalt"
114    
115    2007-09-12      Torsten Irlaender <[email protected]>
116    
117            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
118              values (dates)  were not pretty printed.
119    
120            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
121              label rendering for choicelists.
122    
123    2007-09-12      Torsten Irlaender <[email protected]>
124    
125            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
126              choicelist did not get selected when the value is set to "0"
127    
128    2007-09-12      Torsten Irlaender <[email protected]>
129    
130            * tools/formed/formed/plugins/web/form_renderer.py: Added
131              "getPrintableData" method, for the formdata Class which will return
132              the description rather than the value of element in the ID. This is
133              need for displaying the choises in a right way.
134            
135            * tools/formed/formed/plugins/web/renderer.py: Changed string
136              "Fallnummer" into "Kundennummer" in the templates. Added
137              Kundennummer to the dataset digest output. Bound in the new
138              "getPrintableData" call for the digest.
139    
140    2007-10-11      Sascha L. Teichmann <[email protected]>
141    
142            * tools/formed/formed/plugins/export/data.py: The import/export
143              of data is now implemented with filters (the most consequent
144              way in terms of design of FormEd). The support of the 'persistent'
145              FORMED env-variable support has been removed.
146    
147            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
148              filter file dialog to double as import dialog.
149    
150            * tools/formed/formed/main.py: Removed the the FORMED-var support
151              for persistence.
152            
153            * tools/formed/formed/config.py: Add the two new filters to the filters
154              list.
155    
156    2007-10-11      Sascha L. Teichmann <[email protected]>
157    
158            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
159              Removed pickle/unpickle stuff.
160    
161            * tools/formed/formed/main.py: Uses the new XML persistence.
162    
163            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
164              not converted to int indices.
165    
166    2007-09-11      Sascha L. Teichmann <[email protected]>
167    
168            * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
169              with pickle/unpickle.
170    
171            * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
172              Set to a file name it is tried to unpickle a MemoryDataStore from
173              that file. When exiting the program this file is used to store the
174              current MemoryDataStore state. The storing only works if you exit
175              the program through the Menu File->Exit.
176              usage: FORMED=persistent:test.db ./formed.sh
177    
178    2007-09-11      Torsten Irlaender <[email protected]>
179    
180            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
181              application on the welcome page from "Formed" to "WASKA"
182    
183    2007-09-11      Torsten Irlaender <[email protected]>
184    
185            * tools/formed/formed/plugins/web/plugin.py,
186            * tools/formed/formed/plugins/web/controllers.py,
187            * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
188              The infopage provides information on all project participants.
189    
190    2007-09-11      Sascha L. Teichmann <[email protected]>
191    
192            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
193              issues with error messages (once again).
194    
195    2007-09-11      Torsten Irlaender <[email protected]>
196    
197            * tools/formed/formed/plugins/web/form_renderer.py,
198            * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
199              icons in error and confirmation dialogs.
200    
201    2007-09-11      Sascha L. Teichmann <[email protected]>
202    
203            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
204              generation for ints, texts and textareas. Fixed h depths of infos.
205    
206    2007-09-11      Sascha L. Teichmann <[email protected]>
207    
208            * tools/formed/formed/plugins/web/form_renderer.py: Removed
209              debug output for help.
210    
211            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
212              check for bools.
213    
214            * tools/formed/formed/plugins/web/controllers.py:  Added correct
215              HTML output of data for bools.
216    
217    2007-09-11      Torsten Irlaender <[email protected]>
218    
219            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
220              textfields for int values. Changed Label for submitbuttons to
221              "Speichern"
222    
223            * tools/formed/formed/plugins/web/plugin.py,
224              tools/formed/formed/plugins/web/controllers.py: Added new
225              NotImplementedHandler to show up a dummysite for not implemented
226              functions.
227    
228            * tools/formed/formed/plugins/web/renderer.py: Added
229              NotImplementedRenderer. Various small fixes. Mostly renaming the
230              labels of some context menus. Error messages are now generated
231              dynamically depending on num errors. Formular navigation has now
232              colored indication for errors.
233    
234    2007-09-11      Torsten Irlaender <[email protected]>
235    
236            * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
237              algorithm for the formular navigation to get rid of the problem
238              that some of the items within the navigation are not linked.  Now
239              structural group elements are linked with the next page found in the
240              formular structure.
241    
242    2007-09-10      Torsten Irlaender <[email protected]>
243            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
244              div and formtag.
245    
246            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
247              menu in the conformation dialog when creating a new dataset.
248    
249            * tools/formed/formed/plugins/web/renderer.py: Fixed error when
250              rendering the default welcome page. Changed rendering of the
251              overview and the digest table of the datasets. Added icon for
252              confirmation dialog, moved the icon in the <h1> tags.  
253    
254    2007-09-10      Torsten Irlaender <[email protected]>
255    
256            * tools/formed/formed/plugins/web/form_renderer.py: Some html
257              generation cleanup. Added error icons to formelements
258    
259            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
260              of ErrorStatus. Fixed generated of the help tags in the formular
261    
262            * tools/formed/formed/plugins/web/renderer.py: Added error icon for
263              pageerrors. An "!" now indicates errors on pages in the formular
264              navigation. Added new <div> "content" around confirmation dialogss.
265              Links in confimation dialogs are now rendered as buttons. Removed
266              old obsolete OverviewRenderer.
267    
268    2007-09-10      Sascha L. Teichmann <[email protected]>
269    
270            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
271              page in page navigation.
272    
273    2007-09-10      Torsten Irlaender <[email protected]>
274    
275            * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
276              displaying formdata when changing datasets. Loading the right
277              formdata was not handled in a correct way. Hope it is all fixed now.
278              Left some commented code because not all sideeffects of the changes
279              are tested yet.
280    
281            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
282              now uses the correct data out of the formdata.
283    
284    2007-09-10      Sascha L. Teichmann <[email protected]>
285    
286            * tools/formed/formed/plugins/web/controllers.py: Pretty
287              print format data (dates e.g)
288    
289    2007-09-10      Sascha L. Teichmann <[email protected]>
290    
291            * tools/formed/formed/plugins/web/controllers.py: Modified
292              ErrorStats a bit to avoid mysterious extra error on page.
293              No clue why this works.
294    
295    2007-09-10      Sascha L. Teichmann <[email protected]>
296    
297            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
298              problem with radio groups, too.
299    
300    2007-09-10      Torsten Irlaender <[email protected]>
301            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
302              really removed when deleting a dataset.
303            
304    2007-09-10      Torsten Irlaender <[email protected]>
305    
306            * tools/formed/formed/plugins/web/controllers.py: Added new Class
307              ErrorStats which provides Information on remaining errors per page.
308    
309            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
310              the renderer methods from controllers.py to renderers.py.
311    
312            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
313              handlers
314    
315    2007-09-10      Sascha L. Teichmann <[email protected]>
316    
317            * tools/formed/formed/plugins/web/form_renderer.py: values for
318              choices are generated from the document tree now. This brings
319              the state storage of select boxes in HTML to live.
320    
321    2007-09-09      Sascha L. Teichmann <[email protected]>
322    
323            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
324              range checking of integers.
325    
326            * tools/formed/formed/plugins/web/controllers.py: Added class
327              ErrorItem to track errors. They are stored in the session.
328    
329    2007-09-09      Sascha L. Teichmann <[email protected]>
330    
331            * tools/formed/formed/model/nodecomponents.py: Fixed returning
332              wrong index in Document.indexOfcomponentByClassAndName.
333    
334            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
335              written 'errot' in renderer for textareas.
336    
337            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
338    
339    2007-09-09      Sascha L. Teichmann <[email protected]>
340    
341            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
342              method. Could be cheaper for some implementations of help.
343    
344            * tools/formed/formed/plugins/web/form_renderer.py: Modified
345              FormData to have distinct getData(), getHelp() and getError()
346              methods. Various bug fixes.
347    
348            * tools/formed/formed/plugins/web/controllers.py: Implements the
349              new FormData (trivial by now).
350    
351            * tools/formed/formed/plugins/web/renderer.py: New FormData and
352              some bug fixes.
353    
354    2007-09-09      Sascha L. Teichmann <[email protected]>
355    
356            * tools/formed/formed/model/memory.py,
357              tools/formed/formed/model/persistent.py: Add a getValue() method
358              to dataset abstraction. This is a bit of a workaround to bring
359              global access across pages for rule checking to work.
360    
361            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
362              the compiled version was not stored in the RuleLeaf.
363    
364            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
365              convert the expression string to ascii for compilation.
366    
367            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
368              valid data is stored to the dataset immediately now. Fixed a bug
369              with integer handler.
370    
371            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
372              stuff. When a submit is done extract the rules from the tree document
373              that are effected by the modified variables and check them.
374    
375            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
376              when dealing with templates.
377    
378    2007-09-07      Torsten Irlaender <[email protected]>
379            * tools/formed/formed/plugins/web/controllers.py,
380              tools/formed/formed/plugins/web/renderer.py: Moved more render
381              functions into renderer.py. New render classes are:
382              DataSetDigestRenderer, DataSetNavigationRenderer,
383              DataSetFormularRenderer, ConfirmationDialogRenderer
384    
385              Note: The new methods are only called from selected handlers. Other
386              handlers call the renderes in the old way.
387    
388    2007-09-07      Torsten Irlaender <[email protected]>
389            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
390              renderer.py to form_renderer.py. This file will contain formular
391              specfic render methods in the future.
392            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
393              which will contain general render methods.
394            * tools/formed/formed/plugins/web/controllers.py: Began to move all
395              rendering into renderer.py or form_renderer.py. This file will only
396              contain teh handlers in the future.
397    
398    2007-09-07      Torsten Irlaender <[email protected]>
399            * tools/formed/formed/plugins/web/renderer.py,
400              tools/formed/formed/plugins/web/controller.py:
401              Renderes now get an instance of the formdata object to provide
402              access the data needed to render various infoboxes etc. Handler
403              instanciate the formdata.
404            
405    2007-09-06      Torsten Irlaender <[email protected]>
406            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
407              getFormData interface to work. Added two small semantic fixes, but
408              did not manage to get it up. Need to exime this a little bit more
409            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
410              around the menus on the right side to be able to assign different
411              styles. Added dataset actions while editing a dataset.
412            
413    2007-09-05      Torsten Irlaender <[email protected]>
414            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
415              removing unwanted del method
416            * tools/formed/formed/plugins/web/controllers.py: Implemented
417              confiration dialogs for create, delete, and select aof datasets. Started to use
418              templates as well for larger information units like the dataset summary.
419            
420    2007-09-05      Sascha L. Teichmann <[email protected]>
421    
422            * tools/formed/formed/model/nodecomponents.py: Added a
423              method to document to find index of page.
424    
425            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
426              to fetch data from semantic box.
427    
428            * tools/formed/formed/plugins/web/controllers.py: Added new
429              FormData implementation to support DB and semantic box.
430    
431    2007-09-05      Sascha L. Teichmann <[email protected]>
432    
433            * tools/formed/formed/plugins/web/renderer.py: escaped
434              error message.
435    
436            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
437              dataset from backend each time a page is up to edit.
438    
439    2007-09-05      Sascha L. Teichmann <[email protected]>
440    
441            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
442              returns "Page not found" if given page is None.
443    
444            * tools/formed/formed/plugins/web/controllers.py: Added checks
445              to avoid crashing when ask for a non-existent page.
446    
447    2007-09-05      Sascha L. Teichmann <[email protected]>
448    
449            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
450    
451    2007-09-05      Sascha L. Teichmann <[email protected]>
452    
453            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
454              and renderers.
455    
456            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
457              and renderers now. TODO: Move renderers to renderer.py
458    
459    2007-09-05      Torsten Irlaender <[email protected]>
460    
461            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
462              and bound in the the new added functions to create, edit, delete and
463              show formdata.
464            
465    2007-09-05      Sascha L. Teichmann <[email protected]>
466    
467            * tools/formed/formed/model/memory.py: Removed bisect and use a
468              simple linear scan for dataset lookup now.
469    
470            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
471              of different sizes.
472    
473    2007-09-05      Torsten Irlaender <[email protected]>
474    
475            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
476              fuction
477              
478            * tools/formed/formed/plugins/web/persistent.py: Added store() method
479              to the DataSet interface
480    
481            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
482              renderes for create, update, delete and show actions on formular data.
483    
484    2007-09-04      Sascha L. Teichmann <[email protected]>
485    
486            * tools/formed/formed/plugins/web/server.py: The mapping
487              to methods is now driven by regualar expressions and
488              a dictionary. Response objects are now able to send
489              error codes.
490    
491            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
492              when help in Formdata is None. Moved text for help into
493              a top level '''...''' variable.
494    
495            * tools/formed/test-data/simple.xml: Added test for help.
496    
497            * tools/formed/formed/plugins/web/help.py: extra None check.
498    
499            * tools/formed/formed/plugins/web/plugin.py: Uses the new
500              table driven mapping of reguest handling. TODO: split the
501              WebPlugIn.pageHandler() method further to smaller handlers.
502              Smaller clean ups and better exception handling.
503    
504            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
505              and do not catch them.
506    
507    2007-09-04      Torsten Irlaender <[email protected]>
508    
509            * tools/formed/formed/plugins/web/renderer.py,
510            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
511              the HelpProvider and inserted help icons to the html output.
512              Added decorator for Formelemnts, so textfields, choices etc. are now
513              within a <div> tag.
514              Modified the error messages.
515    
516    2007-09-04      Sascha L. Teichmann <[email protected]>
517    
518            * tools/formed/formed/plugins/web/cache.py: New. Implements
519              the server-side caching more clean. Fixes a bug with
520              serving static content.
521    
522            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
523    
524    2007-09-04      Sascha L. Teichmann <[email protected]>
525    
526            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
527              to "application/xhtml+xml" when serving help texts.
528    
529    2007-09-03      Sascha L. Teichmann <[email protected]>
530    
531            * tools/formed/formed/plugins/export/diff.py: New. Exports
532              pairwise differences between all modes.
533    
534            * tools/formed/formed/config.py: Use new export filter.
535    
536    2007-09-03      Sascha L. Teichmann <[email protected]>
537    
538            * tools/formed/formed/plugins/web/help.py: New. Parses an
539              XHTML document for id'ed divs and builds a help lookup.
540    
541            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
542              the help content frame.
543    
544            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
545              help text index.
546    
547            * tools/formed/formed/plugins/web/plugin.py: Serves the help
548              texts now.
549    
550    2007-09-03      Torsten Irlaender <[email protected]>
551    
552            * tools/formed/formed/plugins/web/plugin.py: Only visible group
553              elements will be rendered in the formular navigation.
554              Formular pages in the navigation now have their own css-style
555              attributes.
556    
557    2007-09-03      Torsten Irlaender <[email protected]>
558    
559            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
560              errors in template
561            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
562              pageerrors variable
563    
564    2007-09-03      Frank Koormann <[email protected]>
565    
566            * tools/formed/formed/plugins/export/html.py
567            (RecursiveExporter): Added annotation to export
568            (fillRow()): Renamed old fillNine to this more generic name.
569            
570    
571    2007-09-03      Sascha L. Teichmann <[email protected]>
572    
573            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
574              from model.misc now.
575    
576    2007-09-03      Sascha L. Teichmann <[email protected]>
577    
578            * tools/formed/formed/model/nodecomponents.py: Added an
579              'annotation' attribute to node components. This is to
580              enable FormEd document authors to add comments to groups
581              and fields.
582    
583    2007-09-03      Frank Koormann <[email protected]>
584    
585            * tools/formed/formed/model/nodecomponents.py
586            (NodeComponent.getParent): New method to get node components parent.
587    
588            * tools/formed/formed/plugins/export/html.py: Export Choice option
589            as simple list instead of collection of bools.
590    
591    2007-09-02      Sascha L. Teichmann <[email protected]>
592    
593            * tools/formed/formed/model/persistent.py: Interfaces to abstract
594              from persistent storage details.
595    
596            * tools/formed/formed/model/memory.py: In core implementation
597              of the persistent interfaces.
598    
599            * tools/formed/formed/main.py: Holds a memory data store now.
600    
601    2007-09-02      Sascha L. Teichmann <[email protected]>
602    
603            * tools/formed/formed/plugins/export/sql.py,
604              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
605              for FileDialogFilter sub classes.
606    
607    2007-09-02      Sascha L. Teichmann <[email protected]>
608    
609            * tools/formed/formed/model/misc.py: Checking the mode in recursive
610              tree traversals is a common task. To ease this a decorator function
611              checkMode in union with sub classing ModeChecker can be used.
612              To make it work simply subclass from ModeChecker and add the decorator
613              to the methods that need mode tracking. Before you start the recursion
614              call self.prepareDescent().
615    
616            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
617              now which replace the old. TODO: Make the web renderer use the new scheme
618              too.
619    
620    2007-09-02      Sascha L. Teichmann <[email protected]>
621    
622            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
623    
624            * tools/formed/formed/plugins/export/html.py: HTML table exporter
625              uses new FileDialogFilter base class too.
626    
627    2007-09-02      Sascha L. Teichmann <[email protected]>
628    
629            * tools/formed/formed/plugins/ui/*: New. All file exporters
630              need a file dialog. Till now each of them pulled up its
631              own. This was silly code replication. Now there is an abstract
632              base class 'FileDialogFilter' which implements the common
633              behavior. The file exporters should subclass it.
634    
635            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
636              exporters from the new base class. TODO: Subclass the HTML
637              exporter too.
638    
639    2007-08-31      Sascha L. Teichmann <[email protected]>
640    
641            * tools/formed/formed/plugins/export/html.py: Make mode check
642              work (again).
643    
644    2007-08-31      Torsten Irlaender <[email protected]>
645    
646            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
647              exprt works now in a recursive way. This change was needed because
648              the structure of the formedtree has changed to be able to render
649              full hirachically document stuctures. (nested lists)
650              TODO: Fix modechecking
651    
652    2007-08-31      Torsten Irlaender <[email protected]>
653    
654            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
655              now in recursive way. This change was needed because the structure
656              of the formedtree has changed to be able to render full hirachically
657              document stuctures. (nested lists)
658    
659    2007-08-31      Sascha L. Teichmann <[email protected]>
660    
661            * tools/formed/formed/model/nodecomponents.py: use discard()
662              instead of remove on sets.
663    
664            * tools/formed/formed/plugins/export/sql.py: Added an
665              exporter for table views.
666    
667            * tools/formed/formed/config.py: Added the new exporter
668              to the list of export filters.
669    
670    2007-08-30      Sascha L. Teichmann <[email protected]>
671    
672            * tools/formed/formed/model/data.py: Fixed a bug in
673              Page.allWidgets()
674    
675            * tools/formed/formed/plugins/export/sql.py: Added an exporter
676              for stored procudeures.
677    
678            * tools/formed/formed/config.py: Add the new SP exporter.
679    
680    2007-08-29      Torsten Irlaender <[email protected]>
681    
682            * tools/formed/formed/plugins/web/plugin.py,
683              tools/formed/formed/plugins/web/error_renderer.py: Added interface
684              to get the errors for a whole page in te formular. These errors can
685              now be displayed on the top of the formular.
686    
687    2007-08-29      Torsten Irlaender <[email protected]>
688    
689            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
690              of the getFromData interface and prepared the rederer for generating
691              nice error messages
692    
693    2007-08-28      Frank Koormann <[email protected]>
694    
695            * tools/formed/formed/plugins/export/sql.py
696            (SchemaCreator.createSchema, SchemaCreator._createGroup):
697            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
698    
699    2007-08-28      Torsten Irlaender <[email protected]>
700    
701            * tools/formed/formed/plugins/export/sql.py: Added small helper
702              function to generated valid quotes within the sql statements
703    
704    2007-08-29      Sascha L. Teichmann <[email protected]>
705    
706            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
707              for repeat tables.
708              
709    2007-08-29      Sascha L. Teichmann <[email protected]>
710    
711            * tools/formed/formed/plugins/export/sql.py: When generating
712              an extra table check in a table of same content exists. In
713              this case reference the existing table.
714    
715    2007-08-29      Sascha L. Teichmann <[email protected]>
716    
717          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
718            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 8  Line 722 
722          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
723            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
724    
725  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
726    
727          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
728            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
729    
730  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
731    
732          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
733          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 21  Line 735 
735            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
736            Added error indication to textfields            Added error indication to textfields
737    
738  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
739    
740          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
741            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
742                  of logical groups.            of logical groups.
743    
744  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
745    
746          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
747            attributes.            attributes.
748    
749          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
750    
751  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
752    
753          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
754            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
755    
756  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
757    
758          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
759            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
760            depending tags in the html generation.            depending tags in the html generation.
761    
762  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
763    
764          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
765            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
766                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
767                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
768    
769  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
770    
771          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
772            serving of static content.            serving of static content.
# Line 60  Line 774 
774          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
775            old send code.            old send code.
776    
777  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
778    
779          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
780            Response object. Fix typo.            Response object. Fix typo.
# Line 68  Line 782 
782          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
783            response object to serve different MIME types.            response object to serve different MIME types.
784    
785  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
786    
787          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
788            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
789                  root of the static content.            root of the static content.
790    
791  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
792    
793          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
794            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
795    
796          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
797            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
798                  a template for the HTML output.            a template for the HTML output.
799    
800          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
801            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
802                  handling.            handling.
803    
804          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
805            nagivation code.            nagivation code.
806    
807          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
808    
809  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
810    
811          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
812            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 106  Line 820 
820          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
821            the HTTP server code now.            the HTTP server code now.
822    
823  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
824    
825          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
826    
827          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
828            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
829                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
830                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
831    
832          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
833    
# Line 121  Line 835 
835    
836          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
837            to find all items of a given type in document for a given            to find all items of a given type in document for a given
838                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
839    
840          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
841            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
842                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
843                  expr of rule leafs.            expr of rule leafs.
844    
845          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
846            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
847                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
848                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
849                  to know if they are still valid.            to know if they are still valid.
850    
851  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
852    
853          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
854            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 142  Line 856 
856          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
857            generation              generation  
858    
859  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
860    
861          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
862            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 150  Line 864 
864          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
865            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
866    
867  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
868    
869          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
870            of external choice list.            of external choice list.
871    
872  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
873    
874          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
875            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
876    
877  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
878    
879          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
880            mode depended leaf items.            mode depended leaf items.
# Line 170  Line 884 
884    
885          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
886            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
887                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
888                  not done.            not done.
889    
890  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
891    
892          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
893            of radio groups and choices too.            of radio groups and choices too.
894    
895  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
896    
897          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
898            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
899            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
900    
901  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
902    
903          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
904            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
905                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
906    
907  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
908    
909          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
910            HTML and SQL exporters.            HTML and SQL exporters.
# Line 199  Line 913 
913            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
914            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
915            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
916                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
917    
918          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
919            package now.            package now.
920    
921  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
922    
923          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
924            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 213  Line 927 
927    
928          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
929    
930  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
931    
932          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
933            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 223  Line 937 
937    
938          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
939    
940  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
941    
942          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
943            to extract fields and options in the XFA Data in teh PDF. This            to extract fields and options in the XFA Data in teh PDF. This
944            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
945            formular versions.            formular versions.
946                    
947  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
948    
949          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
950            select all modes. ;-)            select all modes. ;-)
951    
952  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
953    
954          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
955            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 245  Line 959 
959            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
960            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
961    
962  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
963    
964          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
965            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 256  Line 970 
970          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
971            env configuration.            env configuration.
972    
973  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
974    
975          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
976            table are now alphabetically sorted.            table are now alphabetically sorted.
977    
978  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
979    
980          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
981            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 277  Line 991 
991    
992          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
993    
994  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
995    
996          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
997            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
998    
999  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1000    
1001          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
1002    
1003  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1004    
1005          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
1006            for the hidden field. Argh!            for the hidden field. Argh!
1007    
1008  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1009    
1010          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
1011            generation of hidden page field.            generation of hidden page field.
1012    
1013  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1014    
1015          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1016            checks for radio groups.            checks for radio groups.
1017    
1018  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1019    
1020          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1021            checks for choices.            checks for choices.
# Line 316  Line 1030 
1030          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
1031          Replace technical types with readable descriptions          Replace technical types with readable descriptions
1032    
1033  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1034    
1035          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1036            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
1037                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
1038                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
1039                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
1040                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
1041    
1042          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
1043            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 331  Line 1045 
1045          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
1046            hidden field to store the name of the page.            hidden field to store the name of the page.
1047    
1048  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1049    
1050          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1051            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
1052    
1053  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1054    
1055          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
1056            in switches.            in switches.
1057    
1058          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
1059            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
1060                  with a given mode.            with a given mode.
1061    
1062          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
1063            listing all widgets in page.            listing all widgets in page.
1064    
1065  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
1066    
1067          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1068            latin-1            latin-1
1069    
1070  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1071    
1072          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
1073            walk.            walk.
1074                              
1075          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1076            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
1077                  give children in a given mode.            give children in a given mode.
1078    
1079          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1080            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
1081    
1082  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1083    
1084          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
1085            texts and text areas.            texts and text areas.
# Line 373  Line 1087 
1087          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1088            to UTF-8 in generated form.            to UTF-8 in generated form.
1089    
1090  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
1091    
1092          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1093            tests for dates.            tests for dates.
1094    
1095  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
1096    
1097          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
1098            range test.            range test.
# Line 392  Line 1106 
1106          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
1107            check.            check.
1108    
1109  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
1110    
1111          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1112            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 405  Line 1119 
1119            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1120            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1121            tests which need to be written soon.            tests which need to be written soon.
1122                              
1123            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1124            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1125            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 423  Line 1137 
1137            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1138            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1139            selects their respective menu item.            selects their respective menu item.
1140                              
1141          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1142            installed filters.            installed filters.
1143    
# Line 484  Line 1198 
1198    
1199          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1200            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1201                  menu and put a separator between them.            menu and put a separator between them.
1202    
1203  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1204    
# Line 493  Line 1207 
1207    
1208          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1209            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1210                  global configuration is passed at setup time.            global configuration is passed at setup time.
1211    
1212          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1213            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1214                  from the global configuration each time a rendering            from the global configuration each time a rendering
1215                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1216                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1217                  is not needed any more because it can be configured            is not needed any more because it can be configured
1218                  at runtime.            at runtime.
1219    
1220          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1221            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1222                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1223                  global config.            global config.
1224    
1225          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1226            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 518  Line 1232 
1232    
1233          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1234            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1235                  print out in web plugin.            print out in web plugin.
1236    
1237  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1238    
# Line 536  Line 1250 
1250    
1251          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1252            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1253                  to FORMED environment variable.            to FORMED environment variable.
1254                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1255                  Defaults to 'default'.            Defaults to 'default'.
1256    
1257          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1258    
# Line 552  Line 1266 
1266          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1267            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1268            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1269                  to model external item lists.            to model external item lists.
1270    
1271          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1272            list.            list.
# Line 569  Line 1283 
1283    
1284          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1285            choice item lists for a given field from XFA files. e.g. with            choice item lists for a given field from XFA files. e.g. with
1286                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1287    
1288  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1289    
1290          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1291            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1292                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1293                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1294                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1295                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1296                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1297    
1298                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1299                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1300                              
1301          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1302            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1303    
# Line 601  Line 1315 
1315    
1316          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1317            of the tree.            of the tree.
1318                              
1319          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1320    
1321          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 624  Line 1338 
1338    
1339          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1340            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1341                  in document tree.            in document tree.
1342    
1343          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1344            after names collisions are eliminated.            after names collisions are eliminated.
# Line 636  Line 1350 
1350    
1351          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1352            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1353                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1354                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1355                  purpose.            purpose.
1356    
1357          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1358            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1359                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1360    
1361          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1362            from bool items.            from bool items.
# Line 661  Line 1375 
1375    
1376          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1377            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1378                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1379    
1380  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1381    
# Line 698  Line 1412 
1412    
1413          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1414            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1415                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1416    
1417          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1418            the reference to the config.            the reference to the config.
# Line 778  Line 1492 
1492    
1493          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1494            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
1495                  attributes.            attributes.
1496    
1497          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
1498            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 807  Line 1521 
1521    
1522          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
1523            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
1524                  tree.            tree.
1525    
1526  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
1527    
# Line 836  Line 1550 
1550    
1551          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
1552            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
1553                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
1554    
1555          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1556            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1557                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
1558    
1559  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
1560    
# Line 888  Line 1602 
1602    
1603          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
1604            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
1605                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
1606    
1607          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
1608    
# Line 901  Line 1615 
1615    
1616          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
1617            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
1618                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
1619    
1620  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
1621    
# Line 917  Line 1631 
1631    
1632          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
1633            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
1634                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.107  
changed lines
  Added in v.194

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26