/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.81  
changed lines
  Added in v.224

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26