/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7 by teichmann, Tue Aug 7 13:55:03 2007 UTC revision 113 by torsten, Thu Aug 30 15:52:54 2007 UTC
# Line 1  Line 1 
1    2007-08-29 Torsten Irlaender <[email protected]>
2    
3            * tools/formed/formed/plugins/web/plugin.py,
4              tools/formed/formed/plugins/web/error_renderer.py: Added interface
5              to get the errors for a whole page in te formular. These errors can
6              now be displayed on the top of the formular.
7    
8    2007-08-29 Torsten Irlaender <[email protected]>
9    
10            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
11              of the getFromData interface and prepared the rederer for generating
12              nice error messages
13    
14    2007-08-28 Frank Koormann <[email protected]>
15    
16            * tools/formed/formed/plugins/export/sql.py
17            (SchemaCreator.createSchema, SchemaCreator._createGroup):
18            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
19    
20    2007-08-28 Torsten Irlaender <[email protected]>
21    
22            * tools/formed/formed/plugins/export/sql.py: Added small helper
23              function to generated valid quotes within the sql statements
24    
25    2007-08-29 Sascha L. Teichmann <[email protected]>
26    
27            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
28              for repeat tables.
29              
30    2007-08-29 Sascha L. Teichmann <[email protected]>
31    
32            * tools/formed/formed/plugins/export/sql.py: When generating
33              an extra table check in a table of same content exists. In
34                    this case reference the existing table.
35    
36    2007-08-29 Sascha L. Teichmann <[email protected]>
37    
38            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
39              _real_ SQL and respect repeat groups.
40    
41            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
42    
43            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
44              instead of expensive += string concat in some places.
45    
46    2007-08-29 Sascha L. Teichmann <[email protected]>
47    
48            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
49              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
50    
51    2007-08-28 Torsten Irlaender <[email protected]>
52    
53            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
54            * tools/formed/model/data.py: Implements Formadata interface to
55              textfields. Fieldset generated depends now on the "invisible"
56              attribute of the groupnode. Field-label generation slightly changed.
57              Added error indication to textfields
58    
59    2007-08-28 Sascha L. Teichmann <[email protected]>
60    
61            * tools/formed/formed/model/data.py,
62              tools/formed/formed/io/document.py: Removed support
63                    of logical groups.
64    
65    2007-08-28 Sascha L. Teichmann <[email protected]>
66    
67            * tools/formed/formed/io/document.py: Avoid saving empty
68              attributes.
69    
70            * tools/formed/test-data/simple.xml: Applied.
71    
72    2007-08-28 Sascha L. Teichmann <[email protected]>
73    
74            * tools/formed/formed/model/data.py: Added 'repeat' and
75              'invisible' attributes to group. TODO: remove logical group.
76    
77    2007-08-27 Torsten Irlaender <[email protected]>
78    
79            * tools/formed/plugins/web/plugin.py,
80              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
81              depending tags in the html generation.
82    
83    2007-08-27 Sascha L. Teichmann <[email protected]>
84    
85            * tools/formed/formed/model/data.py,
86              tools/formed/formed/io/document.py: Added a logical group.
87                    It has an attribute 'repeat' to indicate that it might
88                    be worthy an external table in DB schema.
89    
90    2007-08-27 Sascha L. Teichmann <[email protected]>
91    
92            * tools/formed/formed/plugins/web/plugin.py: Support
93              serving of static content.
94    
95            * tools/formed/formed/plugins/web/server.py: Removed
96              old send code.
97    
98    2007-08-27 Sascha L. Teichmann <[email protected]>
99    
100            * tools/formed/formed/plugins/web/plugin.py: Use new
101              Response object. Fix typo.
102    
103            * tools/formed/formed/plugins/web/server.py: support
104              response object to serve different MIME types.
105    
106    2007-08-27 Sascha L. Teichmann <[email protected]>
107    
108            * tools/formed/formed/plugins/web/plugin.py: Add web.path
109              to FORMED environment  variable to specify the
110                    root of the static content.
111    
112    2007-08-26 Sascha L. Teichmann <[email protected]>
113    
114            * tools/formed/formed/model/data.py,
115              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
116    
117            * tools/formed/formed/plugins/web/www,
118              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
119                    a template for the HTML output.
120    
121            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
122              mode issues. Introduces CSS support. Simplified the action
123                    handling.
124    
125            * tools/formed/formed/plugins/web/renderer.py: Removed the
126              nagivation code.
127    
128            * tools/formed/formed/plugins/web/server.py: Added missing import.
129    
130    2007-08-26 Sascha L. Teichmann <[email protected]>
131    
132            * tools/formed/formed/model/data.py: Added missing broadcast
133              parameter to setAttribute() of RuleLeaf.
134    
135            * tools/formed/formed/plugins/web/plugin.py: Factorize
136              HTTP server code out to separate module.
137    
138            * tools/formed/formed/plugins/web/renderer.py: Removed
139              needless -1 from pop()
140    
141            * tools/formed/formed/plugins/web/server.py: New. Contains
142              the HTTP server code now.
143    
144    2007-08-26 Sascha L. Teichmann <[email protected]>
145    
146            * tools/formed/test-data/simple.xml: Modified to contain a rule.
147    
148            * tools/formed/formed/model/expr.py: Added. A simple RPN
149              expression evaluator. To avoid the problem of eval()ing
150                    arbitrary python expressions I've decided to use a very
151                    basic and limited stack machine to support rule checking.
152    
153            * tools/formed/formed/model/data.py: Added a RuleLeaf.
154    
155            * tools/formed/formed/io/document.py: Added factories for rules.
156    
157            * tools/formed/formed/model/nodecomponents.py: Add a method
158              to find all items of a given type in document for a given
159                    mode. Usefull to find all rules in the tree.
160    
161            * tools/formed/formed/ui/controls.py: Added a listener mechanism
162              to attribute table to report exceptions when setting a value
163                    from GUI. Useful to report compilation errors when setting
164                    expr of rule leafs.
165    
166            * tools/formed/formed/main.py: Added a method to track exceptions
167              from the attribute table and pop up dialogs if they occur.
168                    Added a counter of rule modifications in tree. Useful if you
169                    want build cached data structures like rule sets and you want
170                    to know if they are still valid.
171    
172    2007-08-24 Torsten Irlaender <[email protected]>
173    
174            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
175              for checkbox values. (Syntax error).
176    
177            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
178              generation  
179    
180    2007-08-24 Torsten Irlaender <[email protected]>
181    
182            * tools/formed/formed/plugins/names/filter.py: Separated Class for
183              making the formularnames more database friendly. Added some more
184              checks.
185            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
186              separated class, and some fixes in sql generation.
187    
188    2007-08-24 Sascha L. Teichmann <[email protected]>
189    
190            * tools/formed/formed/plugins/export/html.py: Print lengths
191              of external choice list.
192    
193    2007-08-24 Sascha L. Teichmann <[email protected]>
194    
195            * tools/formed/formed/main.py: Little workaround for
196              mode selection if someone adds an removes a mode.
197    
198    2007-08-24 Sascha L. Teichmann <[email protected]>
199    
200            * tools/formed/test-data/simple.xml: Better test case for
201              mode depended leaf items.
202    
203            * tools/formed/formed/model/nodecomponents.py: Added a method
204              to calculate the effective mode of an item.
205    
206            * tools/formed/formed/plugins/export/html.py: Use effective
207              mode. TODO: the 'all' modus return false results sometimes.
208                    Cause: The modes are only cumulated over time. Removal is
209                    not done.
210    
211    2007-08-24 Sascha L. Teichmann <[email protected]>
212    
213            * tools/formed/formed/plugins/export/html.py: Dump the items
214              of radio groups and choices too.
215    
216    2007-08-24 Torsten Irlaender <[email protected]>
217    
218            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
219              by formular names to make the naming more database friendly.
220              Now only alphanumeric and underscore chars is allowed.
221    
222    2007-08-24 Sascha L. Teichmann <[email protected]>
223    
224            * tools/formed/formed/plugins/export/html.py: Tweaked
225              HTML table exporter a bit to be on par with the XSLT
226                    script. TODO: Dump items in radio and choice groups.
227    
228    2007-08-23 Sascha L. Teichmann <[email protected]>
229    
230            * tools/formed/formed/plugins/names/filter.py: Removed
231              HTML and SQL exporters.
232    
233            * tools/formed/formed/plugins/export,
234              tools/formed/formed/plugins/export/__init__.py,
235              tools/formed/formed/plugins/export/sql.py,
236              tools/formed/formed/plugins/export/html.py: New: Contain
237                    the HTML and the SQL exporters now.
238    
239            * tools/formed/formed/config.py: Use exporters from different
240              package now.
241    
242    2007-08-23 Torsten Irlaender <[email protected]>
243    
244            * tools/formed/formed/plugins/names/filter.py: Added an
245              pseudo SQL export filters. TODO: Move HTML and SQL filter
246              in a new file (formed/plugins/export/htmlexport.py and
247              sqlexport.py?)
248    
249            * tools/formed/formed/config.py: Install the new SQL filter.
250    
251    2007-08-23 Sascha L. Teichmann <[email protected]>
252    
253            * tools/formed/formed/model/nodecomponents.py: Added a depth()
254              method to determine the depth of particular tree item.
255    
256            * tools/formed/formed/plugins/names/filter.py: Added an
257              HTML export filters. TODO: needs more work.
258    
259            * tools/formed/formed/config.py: Install the new HTML filter.
260    
261    2007-08-23 Torsten Irlaender <[email protected]>
262    
263            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
264              to extract fields and options in the XFA Data in teh PDF. This
265              script might me handy to indicate changes between the different
266              formular versions.
267            
268    2007-08-23 Sascha L. Teichmann <[email protected]>
269    
270            * tools/formed/formed/main.py: Add an 'all' mode to
271              select all modes. ;-)
272    
273    2007-08-22 Sascha L. Teichmann <[email protected]>
274    
275            * tools/formed/test-data/simple.xml,
276              tools/formed/formed/model/data.py,
277              tools/formed/formed/plugins/web/plugin.py,
278              tools/formed/formed/plugins/web/renderer.py,
279              tools/formed/formed/io/document.py,
280              tools/formed/formed/main.py: Removed support for switch nodes.
281              BEWARE: This breaks compatibility with older documents!
282    
283    2007-08-22 Sascha L. Teichmann <[email protected]>
284    
285            * tools/formed/formed/plugins/web/plugin.py: Uses the
286              getSelectedMode() from main now.
287    
288            * tools/formed/formed/main.py: selected mode is now hold
289              in main.
290    
291            * tools/formed/formed/config.py: removed selected mode from
292              env configuration.
293    
294    2007-08-22 Sascha L. Teichmann <[email protected]>
295    
296            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
297              table are now alphabetically sorted.
298    
299    2007-08-22 Sascha L. Teichmann <[email protected]>
300    
301            * tools/formed/formed/model/nodecomponents.py: Added code to
302              establish the new 'modes' recursively.
303    
304            * tools/formed/formed/plugins/plugin.py: Pass main instead
305              of cfg on plug-in start-up.
306    
307            * tools/formed/formed/plugins/web/plugin.py: Use the new
308              'modes' attribute for rendering.
309    
310            * tools/formed/formed/plugins/web/renderer.py: Use decorators
311              to check the new modes.
312    
313            * tools/formed/formed/main.py: Adjusted to new infrastructure.
314    
315    2007-08-22 Sascha L. Teichmann <[email protected]>
316    
317            * tools/formed/formed/model/nodecomponents.py: Added an
318              attribute 'modes' to NodeComponents.
319    
320    2007-08-22 Sascha L. Teichmann <[email protected]>
321    
322            * tools/formed/formed/model/data.py: Small cosmetic cleanups
323    
324    2007-08-21 Sascha L. Teichmann <[email protected]>
325    
326            * tools/formed/formed/plugins/web/renderer.py: Another fix
327              for the hidden field. Argh!
328    
329    2007-08-21 Sascha L. Teichmann <[email protected]>
330    
331            * tools/formed/formed/plugins/web/renderer.py: Fixed double
332              generation of hidden page field.
333    
334    2007-08-21 Sascha L. Teichmann <[email protected]>
335    
336            * tools/formed/formed/plugins/web/semantic.py: Added semantic
337              checks for radio groups.
338    
339    2007-08-21 Sascha L. Teichmann <[email protected]>
340    
341            * tools/formed/formed/plugins/web/semantic.py: Added semantic
342              checks for choices.
343    
344    2007-08-21      Frank Koormann <[email protected]>
345    
346            * contrib/convert-formedtree2html.xsl: Display switch nodes as
347            alternatives.
348            
349    2007-08-21      Frank Koormann <[email protected]>
350    
351            * contrib/convert-formedtree2html.xsl:
352            Replace technical types with readable descriptions
353    
354    2007-08-21 Sascha L. Teichmann <[email protected]>
355    
356            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
357              issues. 'action' looks for all widgets on a page now, goes
358                    through all passed parameters, tries to match them with the
359                    widgets of the page and put them into the semantic box.
360                    Afterwards a list of untouched page parameters are left
361                    which will be deleted from the semantic box.
362    
363            * tools/formed/formed/plugins/web/semantic.py: Simplified.
364              The NodeComponent is passed as an argument now.
365    
366            * tools/formed/formed/plugins/web/renderer.py: Generate a
367              hidden field to store the name of the page.
368    
369    2007-08-21 Sascha L. Teichmann <[email protected]>
370    
371            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
372              issue with incoming UTF-8 data.
373    
374    2007-08-21 Sascha L. Teichmann <[email protected]>
375    
376            * tools/formed/test-data/simple.xml: Improve test for widgets
377              in switches.
378    
379            * tools/formed/formed/model/data.py: Added a method to find all
380              widgets in a given page. Fixed a bug when walking in switch
381                    with a given mode.
382    
383            * tools/formed/formed/plugins/web/plugin.py: Simple test for
384              listing all widgets in page.
385    
386    2007-08-21 Torsten Irlaender <[email protected]>
387    
388            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
389              latin-1
390    
391    2007-08-21 Sascha L. Teichmann <[email protected]>
392    
393            * tools/formed/formed/model/data.py: Added mode parameter to
394              walk.
395                    
396            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
397              walk() with usage of the new mode parameter. Added a method to
398                    give children in a given mode.
399    
400            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
401              new Switch.childrenInMode() method.
402    
403    2007-08-21 Sascha L. Teichmann <[email protected]>
404    
405            * tools/formed/formed/plugins/web/semantic.py: Add checks for
406              texts and text areas.
407    
408            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
409              to UTF-8 in generated form.
410    
411    2007-08-20 Sascha L. Teichmann <[email protected]>
412    
413            * tools/formed/formed/plugins/web/semantic.py: Added semantic
414              tests for dates.
415    
416    2007-08-20 Sascha L. Teichmann <[email protected]>        
417    
418            * tools/formed/test-data/simple.xml: Tweak a bit for integer
419              range test.
420    
421            * tools/formed/formed/model/nodecomponents.py: Added a method
422              to find a tree item for a given name.
423    
424            * tools/formed/formed/plugins/web/semantic.py: New: Box for
425              semantic checking. Has check for integers.
426    
427            * tools/formed/formed/plugins/web/plugin.py: Use semantic
428              check.
429    
430    2007-08-20      Torsten Irlaender <[email protected]>
431    
432            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
433              selection-field generation (Removed quote)
434    
435    2007-08-18      Sascha L. Teichmann <[email protected]>
436    
437            * tools/formed/formed/plugins/web/plugin.py,
438              tools/formed/formed/plugins/web/renderer.py: Added a
439              simple cookie based session management to the HTML
440              renderer. This submit parameters are stored in the
441              session now. This will ease testing the constraint
442              tests which need to be written soon.
443                    
444              BEWARE: The session management is _not_ made for production!
445              Denial of service attacks are too easy, and the
446              cryptographical strength of the session id is doubtful.
447    
448    2007-08-18      Sascha L. Teichmann <[email protected]>
449    
450            * tools/formed/formed/plugins/web/renderer.py: Escaping text
451              coming from the document tree now when inserting it into the
452              HTML output.
453    
454    2007-08-18      Sascha L. Teichmann <[email protected]>
455    
456            * tools/formed/formed/plugins/plugin.py: Added a new kind
457              of plug-in: Filter. They have a short and a long description
458              and can be hooked automatically into the new 'Filters'
459              sub menu under 'Extra'. They got called when the user
460              selects their respective menu item.
461                    
462            * tools/formed/formed/config.py: Contains the list of
463              installed filters.
464    
465            * tools/formed/formed/main.py: Builds the Extra->Filters
466              sub menu during gui initialization. The hard wired code
467              for make unique and formular name/description -> name
468              is removed because they are implemented as filters now.
469    
470            * tools/formed/formed/model/nodecomponents.py,
471              tools/formed/formed/model/data.py: Removed the make
472              unique and formular name/description -> name code.
473    
474            * tools/formed/formed/plugins/names,
475              tools/formed/formed/plugins/names/__init__.py,
476              tools/formed/formed/plugins/names/filter.py: Added. Contains
477              the make unique and formular name/description -> name code
478              in form of filters.
479    
480            * tools/formed/test-data/simple.xml: Modified to be a better
481              test for the formular name/description -> name filter.
482    
483    2007-08-18      Sascha L. Teichmann <[email protected]>
484    
485            * tools/formed/formed.py, tools/formed/formed/main.py: First
486              command line argument is interpreted as filename of document
487              to be loaded at program startup.
488    
489    2007-08-17      Frank Koormann <[email protected]>
490    
491            * contrib/convert-formedtree2html.xsl:
492            Heading level depending on depth of group node.
493            In case of radio/choice/check only list of options.
494    
495    2007-08-17      Torsten Irlaender <[email protected]>
496    
497            * contrib/convert-formedtree2html.xsl: Output is now generated with
498              HTML doc-string and charset information in the meta-header.
499    
500    2007-08-17      Torsten Irlaender <[email protected]>
501    
502            * contrib/convert-formedtree2html.xsl: Added small script for
503              exporting the formed tree to html
504    
505    2007-08-17      Torsten Irlaender <[email protected]>
506    
507            * tools/formed/model/nodecomponents.py: Added function to rename
508              the set the name of the node to the formularname. The formularname
509              gets shorten to <=64 by removing vowels and is stored lowercase.
510              If the name is not unique and additional id value is appended.
511            
512            * tools/formed/formed/model/data.py: Overwritten renaming-function for
513              bool-leafs
514    
515            * tools/formed/formed/main.py: Added menuitem for renaming the names
516              of the element
517    
518    2007-08-16      Sascha L. Teichmann <[email protected]>
519    
520            * tools/formed/formed/main.py: Swaped order of
521              'Make names unique' and 'Selected mode...' in Extra
522                    menu and put a separator between them.
523    
524    2007-08-15      Sascha L. Teichmann <[email protected]>
525    
526            * tools/formed/formed/model/data.py: SwitchNodes can add
527              their modes to a given set now.
528    
529            * tools/formed/formed/plugins/plugin.py: Simplified
530              the plug-in interface. Only the reference to the
531                    global configuration is passed at setup time.
532    
533            * tools/formed/formed/plugins/web/plugin.py: Adjusted
534              to new plug-in setup. The traveral mode is now taken
535                    from the global configuration each time a rendering
536                    is triggered. The FORMED parameter is now named
537                    'doc.mode' instead of 'web.mode'. The parameter
538                    is not needed any more because it can be configured
539                    at runtime.
540    
541            * tools/formed/formed/main.py: Adjusted to new plugin
542              setup. Added a new menu item Extra->Select Mode...
543                    to select the traversal mode. It is stored in the
544                    global config.
545    
546            * tools/formed/formed/config.py: Simplified. Only uses
547              one env dictionary to store global configuration parameters.
548    
549            * tools/formed/formed/ui/controls.py: Add a control to
550              select one item from a list of given strings.
551    
552    2007-08-15      Sascha L. Teichmann <[email protected]>
553    
554            * tools/formed/formed/plugins/web/plugin.py,
555              tools/formed/formed/plugins/web/renderer.py: Added parameter
556                    print out in web plugin.
557    
558    2007-08-15      Torsten Irlaender <[email protected]>
559    
560            * contrib/convert-formedtree2csv.xsl: Added small script for
561              exporting the formed tree to csv
562    
563    2007-08-14      Sascha L. Teichmann <[email protected]>
564    
565            * tools/formed/formed/model/data.py,
566              tools/formed/formed/model/nodecomponents.py,
567              tools/formed/formed/io/document.py: Added a 'switch' node.
568    
569            * tools/formed/formed/plugins/web/renderer.py:Render the
570              new 'switch' node.
571    
572            * tools/formed/formed/plugins/web/plugin.py,
573              tools/formed/formed/config.py: Added a 'web.mode' parameter
574                    to FORMED environment variable.
575                    e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
576                    Defaults to 'default'.
577    
578            * tools/formed/test-data/simple.xml: Added test for switch.
579    
580    2007-08-14      Sascha L. Teichmann <[email protected]>
581    
582            * tools/formed/formed/model/nodecomponents.py: Added an
583              attribute 'formularname' to base class of node components.
584    
585    2007-08-13      Sascha L. Teichmann <[email protected]>
586    
587            * tools/formed/formed/io/document.py,
588              tools/formed/formed/model/data.py,
589              tools/formed/formed/model/nodecomponents.py: Added an item
590                    to model external item lists.
591    
592            * tools/formed/formed/plugins/web/renderer.py: Render new item
593              list.
594            * tools/formed/formed/main.py: Added a forgotten 'self.'
595    
596            * contrib/extract-xfa-items.sh: Modified to generate
597              documents to be loadable from new item lists
598    
599    2007-08-13      Sascha L. Teichmann <[email protected]>
600    
601            * tools/formed/formed/main.py: Fixed typo
602    
603    2007-08-13      Sascha L. Teichmann <[email protected]>
604    
605            * contrib/extract-xfa-items.sh: New. Can be used to extract longer
606              choice item lists for a given field from XFA files. e.g. with
607                    './contrib/extract-xfa-items.sh Muttersprache alles.xml'
608    
609    2007-08-12      Sascha L. Teichmann <[email protected]>
610    
611            * tools/formed/formed/model/data.py,
612              tools/formed/formed/plugins/web/renderer.py,
613                    tools/formed/formed/io/document.py: Changed the structure
614                    of choice constructs. The idea to hold the different items
615                    of a particular choice in a semicolon separated list was bad.
616                    Now choices are groups and  the option items are modelled as
617                    embedded bools. (mainly Torsten Irländer's idea).
618    
619                    WARNING: this makes old document files containing choices incompatible!!!
620                    Use the following XSLT to reestablish compatibility.
621                    
622            * contrib/itemize-choices.xsl: New converts old to new structure.
623              Needs exslt.org's string extensions (which xsltproc includes)
624    
625            * tools/formed/test-data/simple.xml: Ajusted to new structure
626    
627            * tools/formed/formed/plugins/web/plugin.py: remove debug output
628    
629            * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
630              node finding code. It now uses the walk() generator, too.
631    
632    2007-08-12      Sascha L. Teichmann <[email protected]>
633    
634            * tools/formed/formed/main.py: Added a clone item on the toolbar which
635              copies the currently selected item and appends it after the selection.
636    
637            * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
638              of the tree.
639                    
640            * tools/formed/formed/ui/controls.py: Added a getSelected method.
641    
642            * tools/formed/formed/model/misc.py: Fixed a programming bug.
643              forgot a 'self.' prefix.
644    
645    2007-08-12      Sascha L. Teichmann <[email protected]>
646    
647            * tools/formed/formed/model/nodecomponents.py: Added a method to append
648              a second document to the current.
649    
650            * tools/formed/formed/main.py: Added an 'Import' file menu item to load
651              a second document to be appended to the current.
652    
653    2007-08-12      Sascha L. Teichmann <[email protected]>
654    
655            * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
656              a new document when triggered.
657    
658    2007-08-12      Sascha L. Teichmann <[email protected]>
659    
660            * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
661              items in the document tree. Added a method to eliminated duplicated names
662                    in document tree.
663    
664            * tools/formed/formed/model/misc.py: Added update mechanism for id generator
665              after names collisions are eliminated.
666    
667            * tools/formed/formed/main.py: Added an 'Extra' menu with item
668              'Make names   unique'.
669    
670    2007-08-11      Sascha L. Teichmann <[email protected]>
671    
672            * tools/formed/formed/model/data.py,
673              tools/formed/formed/plugins/web/renderer.py: Removed support
674                    for 'text' attributes in bool items. They were never really
675                    used and the 'description' attributes fulfill the same
676                    purpose.
677    
678            * contrib/remove-bool-text.xsl: Transform to remove the
679              'text' attributes from bool items. Apply with:
680                    'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
681    
682            * tools/formed/test-data/simple.xml: Removed 'text' attributes
683              from bool items.
684    
685    2007-08-11      Sascha L. Teichmann <[email protected]>
686    
687            * contrib/convert-choices.xsl: Simpified.
688    
689    2007-08-11      Sascha L. Teichmann <[email protected]>
690    
691            * tools/formed/formed/model/data.py: Removed 'options' attribute
692              from ChoiceLeaf. Use 'value' instead, please!
693    
694            * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
695              instead of 'options' to render choices.
696    
697            * contrib/convert-choices.xsl: Added to convert document files
698              which use the choice 'option' attribute to usage of 'value'.
699                    Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
700    
701    2007-08-10      Sascha L. Teichmann <[email protected]>
702    
703            * tools/formed/formed/plugins/web/renderer.py: radio buttons
704              are selected by 'checked' and not by 'selected'. Fixed.
705    
706    2007-08-10      Sascha L. Teichmann <[email protected]>
707    
708            * tools/formed/formed/model/data.py: ChoiceLeafs are now
709              initialized with size = 1.
710    
711    2007-08-10      Sascha L. Teichmann <[email protected]>
712    
713            * tools/formed/formed/model/data.py: TextLeafs are now
714              initialized with size = 40, maxlength = 60
715    
716    2007-08-10      Sascha L. Teichmann <[email protected]>
717    
718            * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
719              are renderered with description now.
720    
721    2007-08-10      Sascha L. Teichmann <[email protected]>
722    
723            * tools/formed/formed/plugins/web/renderer.py: Added rendering
724              for date items. Added missing ids for texts and textareas.
725    
726    2007-08-10      Sascha L. Teichmann <[email protected]>
727    
728            * tools/formed/formed/config.py: Evaluate the environment
729              variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
730    
731            * tools/formed/formed/plugins/plugin.py: Give a reference
732              to the config at setup time.
733    
734            * tools/formed/formed/plugins/web/plugin.py: To determine
735              the port look at FORMED dictionary first. Key is 'web.port'.
736                    e.g. FORMED='web.port:8888'
737    
738            * tools/formed/formed/main.py: Call the plugin setup with
739              the reference to the config.
740    
741    2007-08-10      Sascha L. Teichmann <[email protected]>
742    
743            * tools/formed/test-data/simple.xml: removed 'text' attributes from
744              info tags. Use the 'value' attributes for same purpose now, please!
745    
746            * tools/formed/formed/model/data.py: removed text attributes from
747              InfoLeaf.
748    
749            * tools/formed/formed/plugins/web/renderer.py: Rendering of info
750              now uses the 'value' instead of the 'text' attributes.
751    
752    2007-08-09      Sascha L. Teichmann <[email protected]>
753    
754            * tools/formed/formed/model/data.py: next/prevPage() are
755              methods of PageNode now.
756    
757            * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
758              is method of Document now.
759    
760            * tools/formed/formed/plugins/web/plugin.py: Factored out
761              the HTML renderer.
762    
763            * tools/formed/formed/plugins/web/renderer.py: New: contains
764              the HTML renderer now.
765    
766            * tools/formed/test-data/simple.xml: Fixed typo
767    
768    2007-08-09      Sascha L. Teichmann <[email protected]>
769    
770            * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
771              in calculation of width of bounded int fields.
772    
773    2007-08-09      Sascha L. Teichmann <[email protected]>
774    
775            * tools/formed/test-data/simple.xml: Make demo Int fancier.
776    
777            * tools/formed/formed/model/data.py: Added attributes to IntLeaf
778    
779            * tools/formed/formed/plugins/web/plugin.py: Added rendering for
780              Ints
781    
782    2007-08-09      Sascha L. Teichmann <[email protected]>
783    
784            * tools/formed/test-data/simple.xml: Added demo textarea
785    
786            * tools/formed/formed/model/data.py: Added TextAreaLeaf
787    
788            * tools/formed/formed/io/document.py: register builder
789              for loading of textareas
790    
791            * tools/formed/formed/plugins/web/plugin.py: Added rendering
792              for textareas.
793    
794    2007-08-09      Sascha L. Teichmann <[email protected]>
795    
796            * tools/formed/test-data/simple.xml: Make demo choice fancier.
797    
798            * tools/formed/formed/model/data.py: Added attributes for texts
799            
800            * tools/formed/formed/plugins/web/plugin.py: Added rendering
801              for texts
802    
803    2007-08-09      Sascha L. Teichmann <[email protected]>
804    
805            * tools/formed/test-data/simple.xml: Make demo choice fancier.
806    
807            * tools/formed/formed/model/data.py: Added attributes for choices.
808    
809            * tools/formed/formed/plugins/web/plugin.py: Added rendering
810              for choices
811    
812    2007-08-09      Sascha L. Teichmann <[email protected]>
813    
814            * tools/formed/formed/model/data.py,
815              tools/formed/formed/model/nodecomponents.py: Added new
816                    attributes.
817    
818            * tools/formed/formed/plugins/web/plugin.py: Added rendering
819              for checkboxes and radio buttons.
820    
821    2007-08-08      Sascha L. Teichmann <[email protected]>
822    
823            * tools/formed/test-data/simple.xml: Added some descriptions
824    
825            * tools/formed/formed/model/data.py: set attributes in constructors
826              directly.
827    
828            * tools/formed/formed/model/nodecomponents.py: Added description
829              attribute in the NodeComponent base class.
830    
831            * tools/formed/formed/plugins/web/plugin.py: Render description
832              as legend in fieldset for GroupNodes.
833    
834    2007-08-08      Sascha L. Teichmann <[email protected]>
835    
836            * tools/formed/formed/plugins/web/plugin.py: make UTF-8
837              output work.
838    
839    2007-08-08      Sascha L. Teichmann <[email protected]>
840    
841            * tools/formed/formed/model/data.py: Added get/setText() method
842    
843            * tools/formed/formed/plugins/web/plugin.py: Added a first
844              version of a recursive HTML renderer based on the document
845                    tree.
846    
847    2007-08-08      Sascha L. Teichmann <[email protected]>
848    
849            * tools/formed/formed/plugins/*: New: plug-in infrastructure.
850            
851            * tools/formed/formed/plugins/web/*: new: A simple web server
852              which is intended to serve pages of the current formular.
853    
854            * tools/formed/formed/main.py: start the plug-ins
855    
856            * tools/formed/formed/config.py: configuration class. Used
857              for the plug-ins.
858    
859    2007-08-08      Sascha L. Teichmann <[email protected]>
860    
861            * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
862              issue with zero length tree paths.
863    
864            * tools/formed/formed/model/misc.py: New: contains a class
865              for generating unique ids.
866    
867            * tools/formed/formed/main.py: Added an instance of an
868              unique id generator for naming of new made tree items.
869    
870    2007-08-07      Sascha L. Teichmann <[email protected]>
871    
872            * tools/formed/formed/main.py: Added event route document ->
873              attribute table to get informed when selected item is delete
874                    or an attribute is changed from the outside.
875    
876            * tools/formed/formed/ui/controls.py: Fixed. In older versions of
877              wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
878                    of 3 argument. Uses icons+tooltips for tree navigation now.
879    
880    2007-08-07      Sascha L. Teichmann <[email protected]>
881    
882            * tools/formed/formed/model/nodecomponents.py: Set name
883              attribute in base class.
884    
885            * tools/formed/formed/io/document.py: Added a table
886              names -> classes.
887    
888            * tools/formed/formed/main.py: Added a toolbar. Added code
889              to create and delete tree items.
890    
891            * tools/formed/formed/ui/controls.py: Added code to
892              insert and delete new tree items.
893    
894  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
895    
896          * tools/formed/formed/model/nodecomponents.py: Fixed event          * tools/formed/formed/model/nodecomponents.py: Fixed event

Legend:
Removed from v.7  
changed lines
  Added in v.113

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26