http://bugs.winehq.org/show_bug.cgi?id=31720
Bug #: 31720 Summary: ScriptControl can't be used for jscript Product: Wine Version: 1.5.13 Platform: x86 URL: http://netikka.net/dev/scriptcontroltest.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: jscript AssignedTo: wine-bugs@winehq.org ReportedBy: ocean04@suomi24.fi Classification: Unclassified
This small sample doesn't work
http://netikka.net/dev/scriptcontroltest.exe
procedure TForm1.Button1Click(Sender: TObject); var sc: olevariant; begin sc:=createoleobject('ScriptControl'); sc.language:='JScript'; showmessage(sc.eval(edit1.text+'/'+edit2.text)); end;
First thing you need: winetricks msscript
Builtin jscript shows empty result. No fixmes in terminal.
(Also noticed errors are not handled, like letters or zerodivide)
http://bugs.winehq.org/show_bug.cgi?id=31720
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=31720
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com 2012-09-17 12:47:16 CDT --- Confirming in 1.5.13.
http://bugs.winehq.org/show_bug.cgi?id=31720
--- Comment #2 from Austin English austinenglish@gmail.com 2012-09-17 12:47:31 CDT --- Created attachment 41719 --> http://bugs.winehq.org/attachment.cgi?id=41719 jscript,tid trace
http://bugs.winehq.org/show_bug.cgi?id=31720
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #3 from Jacek Caban jacek@codeweavers.com 2012-10-23 05:06:06 CDT --- It seems to be caused by lack of SCRIPTTEXT_ISEXPRESSION support in jscript.
http://bugs.winehq.org/show_bug.cgi?id=31720
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2c41c4c1cb1da024e5dbf278606 | |6d221e1dbb81d Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Jacek Caban jacek@codeweavers.com 2012-12-13 04:30:15 CST --- SCRIPTTEXT_ISEXPRESSION support is in Git, please retest.
http://bugs.winehq.org/show_bug.cgi?id=31720
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-12-21 13:28:54 CST --- Closing bugs fixed in 1.5.20.
https://bugs.winehq.org/show_bug.cgi?id=31720
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|2c41c4c1cb1da024e5dbf278606 |5e4a16819ef3e29757d54a536e4 |6d221e1dbb81d |36cdb18981fee