Skip to content

Commit

Permalink
update tivars_lib_cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
adriweb committed Jun 10, 2024
1 parent 1c0bb6b commit cb56ca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gui/qt/tivars_lib_cpp
Submodule tivars_lib_cpp updated 52 files
+19 −0 .github/workflows/build.yml
+4 −1 .gitignore
+0 −17 .travis.yml
+25 −6 CMakeLists.txt
+1 −1 LICENSE
+1 −1 Makefile
+8 −15 Makefile.emscripten
+30 −19 README.md
+16 −0 TIVarsLib.js
+ TIVarsLib.wasm
+2 −2 cli/cli.cpp
+15 −0 index.html
+57 −55 programs_tokens.csv
+2 −0 src/CommonTypes.h
+1 −0 src/TIModel.cpp
+12 −17 src/TIModel.h
+16 −16 src/TIModels.cpp
+179 −107 src/TIVarFile.cpp
+32 −24 src/TIVarFile.h
+1 −0 src/TIVarType.cpp
+7 −4 src/TIVarType.h
+40 −39 src/TIVarTypes.cpp
+4 −3 src/TypeHandlers/DummyHandler.cpp
+3 −3 src/TypeHandlers/STH_DataAppVar.cpp
+2 −2 src/TypeHandlers/STH_ExactFraction.cpp
+2 −2 src/TypeHandlers/STH_ExactFractionPi.cpp
+2 −2 src/TypeHandlers/STH_ExactPi.cpp
+2 −2 src/TypeHandlers/STH_ExactRadical.cpp
+8 −8 src/TypeHandlers/STH_FP.cpp
+7 −7 src/TypeHandlers/STH_PythonAppVar.cpp
+569 −0 src/TypeHandlers/TH_GDB.cpp
+2 −2 src/TypeHandlers/TH_GenericAppVar.cpp
+11 −11 src/TypeHandlers/TH_GenericComplex.cpp
+5 −5 src/TypeHandlers/TH_GenericList.cpp
+4 −4 src/TypeHandlers/TH_GenericReal.cpp
+2 −2 src/TypeHandlers/TH_Matrix.cpp
+7 −7 src/TypeHandlers/TH_TempEqu.cpp
+149 −34 src/TypeHandlers/TH_Tokenized.cpp
+13 −2 src/TypeHandlers/TypeHandlers.h
+24,596 −0 src/json.hpp
+3 −0 src/main_emscripten.cpp
+5 −16 src/tivarslib_utils.cpp
+6 −2 src/tivarslib_utils.h
+163 −0 testData/GDB_Parametric.json
+ testData/GraphDataBase.8xd
+ testData/GraphDataBase_Func.8xd
+ testData/GraphDataBase_Param.8xd
+ testData/clibs.8xg
+261 −30 tests.cpp
+0 −1 tivars_test.js
+ tivars_test.wasm
+0 −9 tivars_test_utils.js
2 changes: 1 addition & 1 deletion gui/qt/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ std::string calc_var_content_string(const calc_var_t &var) {
}
const options_t opts = (calc_var_is_prog(&var) || var.type == CALC_VAR_TYPE_STRING)
? options_t({ {"prettify", true} }) : options_t();
return func(data_t(var.data, var.data + var.size), opts);
return func(data_t(var.data, var.data + var.size), opts, nullptr);
}

int utf8_strlen(const std::string &str) {
Expand Down

0 comments on commit cb56ca8

Please sign in to comment.