/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.27  
changed lines
  Added in v.208

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26