/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26