/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.11  
changed lines
  Added in v.264

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26