/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26