/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.79  
changed lines
  Added in v.282

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26