/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26