/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.116  
changed lines
  Added in v.230

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26