I'm very interested what everybody thinks about
this
(radical) change in the design?
I do not see where are decorators. The class Page and GenericStructure does not have any
variable or method related to them.
Note that I loaded the last version of Smallwiki2 from cincom's Store.
* I implemented a more robust way of looking up pages
trough a path.
The new lookup has been taken out of the Structure hierarchy and is put
into a visitor. It supports (unix-)paths starting at current position
'abc/def', paths starting at the root of the wiki '/abc/def', relative
paths '../abc' and all combinations of those. There are a lot of tests.
I think this will make everything much more easy to use, especially for
the end users.
Yep, it sounds fine. Are there some test? It would help me to have a look at it.
* What is more, is that I updated the wiki syntax with
better support
for tables: At ESUG I was asked if it is possible to align table-cells
different to the default behaviour given in the css-stylesheets.
SmallWiki 2 now supports an extended table syntax, maybe someone wants
to back-port this to SmallWiki 1?
<table> := <table_row>+
<table_row> := <table_cell>+ <cr>
<table_cell> := "|" <table_content> # default
| "|{" <table_content> # left
| "||" <table_content> # center
| "|}" <table_content> # right
Yup! ParserTests shows that pretty well. Good job!
Mhh, all these changes made break the whole
command-pattern, the
context hierarchy and all the views of course. There will be some work
needed to adapt the changes.
I feel a bit lost. Why do you want to implement the command pattern? Having undo-redo
mechanism is quite easy to implement with it. Instead of the action mechanism present in
Smallwiki1 ?
Yes, this is a very good idea! I'm willing to
spend one day a week to
do pair-programming on SmallWiki. Sometime by the end of the next week
would be fine.
Unfortunately I cannot really spend one day a week. I will try to spend time when I can
because I like and trust in Smallwiki.
Note that I leave tomorrow evening. I will be able to check my emails this week, but I
cannot bound the latency of my answers :-)
Cheers,
Alexandre
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.