/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 217 - (hide annotations)
Fri Nov 16 17:14:15 2007 UTC (17 years, 3 months ago) by frank
File size: 63668 byte(s)
tools/formed/formed/plugins/export/sql.py (createSchema):
	Append only column "bearbeiter_id", standins are modelled by a 
	separate table.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26