/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.105  
changed lines
  Added in v.204

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26