/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26