/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.65  
changed lines
  Added in v.210

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26