XForms: 0.86 API changes

Tristan Savatier (tristan@mpegtv.com)
Thu, 12 Jun 1997 22:32:16 -0700

To subscribers of the xforms list from Tristan Savatier <tristan@mpegtv.com> :

I noticed that the API for fl_show_question() changed
from (0.81):

int fl_show_question(const char *s1, const char *s2, const char *s3)

to (0.86):

int fl_show_question(const char *message, int def)

I must admit that the new API (that allows embedded newlines in
the message) is much better than the old one, but I am disapointed
to see that most similar functions still use the old method
of passing 3 strings, like:

void fl_show_alert(const char *s1,const char *s2,const char *s3,int c)
int fl_show_choice(const char *s1,const char *s2,const char *s3, int
const char *b1,const char *b2,const char *b3, int
void fl_set_choices_shortcut(const char *s1, const char *s2,
const char *s3);

Why not switch to the new method consistently ?
(i.e. replace the 3 strings by one, with possible embedded new-lines).

Also, it would be nice to put a small mark or warning in the manual
near each routine whose API or semantics has changed between
0.81 and 0.86.

Also, I though that a change in the revision was only
for bug fixes, with no change in the API. In case of Xforms,
it seems that this rule is violated, i.e. the API has changed
between revisions 81 and 86, but the version of libforms.so
is still 0.

Keep up the good work. I still think that Xforms is great.

Regards, -- Tristan Savatier (President, MpegTV LLC)

MpegTV website: /cgi-bin/exit-to?http://www.mpegtv.com
MPEG.ORG website: http://www.mpeg.org
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/