/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 230 - (hide annotations)
Mon Feb 18 15:03:06 2008 UTC (17 years ago) by teichmann
File size: 66395 byte(s)
Separated CSV export by '\t' now.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26