Bug #14424 #14376 fixed: remove size max of input function, avoid wrong interpretatio... 12/19212/2
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Wed, 1 Feb 2017 11:31:22 +0000 (12:31 +0100)
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Tue, 21 Mar 2017 18:02:15 +0000 (19:02 +0100)
commitbc7f6dc0ce3333f8e168f0161b84f86aa25c6ca5
treeec238571f1d00a5bf12b5e6d92d28972c8f88973
parent8e22c1833d5be739f39ca4008582952f2d76cfdc
Bug #14424 #14376 fixed: remove size max of input function, avoid wrong interpretation of C characters ('\', '%', ...)

   * multiple print of prompt
   * bad prompt after error
input("write a string: "); // write a string to get an error

Change-Id: If637263c325909d9ee84425c099e3b778f3ac0de
35 files changed:
scilab/CHANGES.md
scilab/modules/ast/src/cpp/ast/run_SeqExp.hpp
scilab/modules/ast/src/cpp/system_env/configvariable.cpp
scilab/modules/console/Makefile.am
scilab/modules/console/Makefile.in
scilab/modules/console/includes/SetConsolePrompt.h
scilab/modules/console/includes/prompt.h
scilab/modules/console/sci_gateway/cpp/sci_prompt.cpp
scilab/modules/console/src/c/cmdLine/cliPrompt.c
scilab/modules/console/src/c/console.vcxproj
scilab/modules/console/src/c/console.vcxproj.filters
scilab/modules/console/src/c/promptecho.c [deleted file]
scilab/modules/console/src/c/promptecho.h [deleted file]
scilab/modules/console/src/c/windows/TermConsole.c
scilab/modules/console/src/c/windows/TermConsole.h
scilab/modules/console/src/c/windows/TermLine.c
scilab/modules/console/src/c/windows/TermLine.h
scilab/modules/console/src/c/windows/TermReadAndProcess.c
scilab/modules/console/src/cpp/SetConsolePrompt.cpp
scilab/modules/console/src/cpp/prompt.cpp [moved from scilab/modules/console/src/c/prompt.c with 70% similarity]
scilab/modules/console/src/cpp/scilabRead.cpp
scilab/modules/console/src/noconsole/noconsole.c
scilab/modules/console/src/noconsole/noconsole.vcxproj
scilab/modules/console/src/noconsole/noconsole.vcxproj.filters
scilab/modules/console/tests/nonreg_tests/bug_14376.tst [new file with mode: 0644]
scilab/modules/console/tests/nonreg_tests/bug_14424.tst [new file with mode: 0644]
scilab/modules/core/Makefile.am
scilab/modules/core/Makefile.in
scilab/modules/core/includes/texmacs.h [deleted file]
scilab/modules/core/src/c/core.vcxproj
scilab/modules/core/src/c/core.vcxproj.filters
scilab/modules/core/src/c/texmacs.c [deleted file]
scilab/modules/core/src/cpp/InitScilab.cpp
scilab/modules/fileio/sci_gateway/cpp/sci_mscanf.cpp
scilab/modules/io/macros/input.sci