/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 223 - (hide annotations)
Sat Feb 2 16:54:15 2008 UTC (17 years ago) by teichmann
File size: 65132 byte(s)
FormEd / SQL schema exporter:
    Added update rule for master table and repeat groups.
    Granted update right to :cm_ka_group.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26