Subversion Repositories wimsdev

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
17864 301 d 15 h bpr /trunk/wims/src/OefMsg2wims/ [formatage]  
17221 704 d 16 h bpr /trunk/wims/ xhtml->html5 (br)  
14813 1640 d 16 h bpr /trunk/wims/src/OefMsg2wims/ [msg2wims] replace <small><i> by blokquote balise.  
13380 2171 d 11 h bpr /trunk/wims/src/OefMsg2wims/ [src] increase the length of the titles in oef exercises and documents  
12247 2408 d 4 h bpr /trunk/wims/src/OefMsg2wims/ [formatage]  
8353 3619 d 15 h bpr /trunk/wims/src/OefMsg2wims/ [minor/clean] clean and help  
8195 3671 d 17 h bpr /trunk/wims/src/ [major/clean] clean differents definitions of errors (give differents names)
delete error1 error2 error3 which do not seem useful.
- clean Makefile
 
8148 3682 d 17 h bpr /trunk/wims/src/ [minor/] Msg2wims and Oef2wims are now in the same directory  
8135 3683 d 17 h bpr /trunk/wims/src/ [minor/] replace the include of c files on Msg2wims and Oef2wims  
8125 3685 d 11 h bpr /trunk/wims/src/ [minor/clean] change names : Oef2wims/lines.c -> Oef2wims/oeflines.c
Msg2wims/lines.c -> Msg2wims/msglines.c
 
8086 3705 d 12 h bpr /trunk/wims/src/ [major/] (Dominique Bernardi :)The string_modify() routine declared in libwims.h has two implementations, one in Lib/lines.c and the other in Msg2wims/lines.c. The second one was called string_modify2 and substituted to the first one when appropriate using the preprocessor directive

#define string_modify string_modify2

Now the standard implementation is named string_modify1 and the alternative string_modify2 as before.
They are both called as string_modify() via a function pointer. This pointer and the two functions are declared in libwims.h.

The clients of the wims library can call string_modify(), which invokes string_modify1().
Other programs (like Msg2wims) must define the pointer like this:

void (*string_modify)(char *start, char *bad_beg, char *bad_end, char *good,..) = string_modify2;
(or string_modify1 as the case may be).
 
8085 3705 d 13 h bpr /trunk/wims/src/Msg2wims/ [minor/spaces]  
5898 4345 d 13 h bpr /trunk/wims/src/Msg2wims/ [minor/html] in document, replace the insertion of <p> in case of a blank line by <br/> (no need to
close it somewhere).
 
5821 4360 d 17 h bpr /trunk/wims/ [minor/comments] add comments + delete tabulations not in the code  
10 6284 d 11 h reyssat /trunk/wims/src/ partial (src) import of 3.62