Hi,
after quite a long time without having a chance to continue on
SmallWiki I restarted today morning. I wanted to implement the RSS
viewer, but unfortunately all the Cincom web-pages and also Cincom
StORE seems to be down. Therefor I started out with some cosmetic
changes to SmallWiki.
- The html-renderer does a double-dispatching to determine the type of
the parameter you give. The following examples are all equivalent and
should demonstrate the use of this feature. Of course all the old code
still works.
html bold: [ html text: 100 factorial printString ].
html bold: 100 factorial.
html bold: [ html text: 'bla' ].
html bold: 'bla'.
html bold: [ ].
html bold: nil.
- The 'SmallWiki Examples' have been updated to run with the current
implementation.
- A server-bug has been fixed to disallow caching of SmallWiki pages.
Before that fix some browsers had problems determining changes of a
page and wrong pages could be sent when SmallWiki ran behind a proxy.
- There has been a link added to the stack-trace called 'Open
Debugger', that opens the current exception in a debugger in the image.
This is quite useful when developing new extensions. However the
implementation is quite tricky and involves some crazy tricks with
contexts, as the exception must be kept and prepared to be reraised
within a different context in a different process at a later time. It
works well with VisualWorks 7.1, but probably not with older versions.
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org