Subversion Repositories wimsdev

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
14712 1947 d 8 h bpr /trunk/wims/src/ [improvment] the command ''sort nocase'' takes in account the accented letters as in a dictionary  
13783 2283 d 16 h bpr /trunk/wims/src/ [src] fix html2iso  
13771 2285 d 17 h obado /trunk/wims/ [bugfix/docs] add "zip" and "tgz" extensions to href links in wims docs.
+ replace the adm/doc/primitives/href.phtml by a link to scripts/docu/primitives/href.phtml as it was exactly the same.
+ add some missing chars in htmlsymbs for html2iso conversion
 
13766 2287 d 5 h bpr /trunk/wims/src/Lib/ [typo] translation table from html  
13757 2287 d 17 h bpr /trunk/wims/ [workinprogress] add a wims command to translate html characters for latex print.
(name is not definitive).
 
12884 2582 d 16 h obado /trunk/wims/src/ Add "actcolor" variable in config.c so it can generate the defaults.conf file properly
+ delete a duplicated line
 
12260 2682 d 5 h bpr /trunk/wims/src/Lib/ [formatage]  
12258 2682 d 16 h bpr /trunk/wims/src/ [src] kill msg errors for string litteral encoding  
11118 3108 d 13 h georgesk /trunk/wims/src/Lib/ removed warnings about non-idented 'if' clauses  
10805 3275 d 15 h bpr /trunk/wims/src/Lib/ [src] fix in code c : substract -1 to a pointer is not specified and can have bad effects in some systems
with optimisation O2 (explicitly macosx !).
 
10200 3330 d 4 h bpr /trunk/wims/src/Lib/ [src] delete a hack for pp-1==NULL (give an error sometimes).  
8880 3713 d 6 h bpr /trunk/wims/src/ [clean] transfer of *bufprep(char *p) char *parend(char *p) in Lib/liblines.c  
8863 3713 d 13 h bpr /trunk/wims/src/ [clean] string_modify3 and *strip_trailing_spaces2 are in common. (not sure that it compiles
after this commit)
 
8861 3716 d 17 h bpr /trunk/wims/src/ [minor] warning for abs  
8647 3776 d 8 h bpr /trunk/wims/src/Lib/ [nospace] add insecable blank in spaces for command nospace;  
8195 3950 d 16 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
 
8160 3957 d 13 h bpr /trunk/wims/src/Lib/ [minor/clean] delete include *.c for Lib  
8122 3964 d 10 h bpr /trunk/wims/src/ [minor/] - change name: Lib/lines.c -> Lib/liblines.c
- in Misc/mathexp use -lwims
 
8100 3973 d 13 h bpr /trunk/wims/src/ [major/clean] clean the c code :
- change the name of some functions similar but different to keep code equivalent to the old one (strip_trailing_spaces find_matching mkdirs singlespace deaccent wordchr string_modify search_list)
- delete #include "../Lib/basicstr.c", comment functions which are at the same time in Lib and in some other file.c and add
lopt=-L$(wims_home)/lib -lwims -lm $(rpath) in the Makefile
(in Interfaces, Misc/oncechar, Misc/translator, Misc/dicsort, Misc/modind, Misc/ccsum, Texgif/texgif.c)
 
8086 3984 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).
 

Show All