/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26