diff --git a/MakefileFOSS.cfg b/MakefileFOSS.cfg new file mode 100644 index 0000000000000000000000000000000000000000..8456972c300d424be84d2c6e7fbacd721242f504 --- /dev/null +++ b/MakefileFOSS.cfg @@ -0,0 +1,3 @@ +# Configurations for the Free Open Source Software version +LICENSING := no +USAGE_STATS := no diff --git a/common/license.c b/common/license.c index 9623f6e00e6d7b4d3dac354e0791e3733aa280c4..aa381f09f4e89557416193f5b4357cc0c8f16cbe 100644 --- a/common/license.c +++ b/common/license.c @@ -151,8 +151,23 @@ static void check_license_signature(license_raw *lptr) dsa->g = BN_bin2bn(dsa_g, sizeof(dsa_g), NULL); dsa->pub_key = BN_bin2bn(dsa_pub_key, sizeof(dsa_pub_key), NULL); + // calculate the right len of the signiture + DSA_SIG *temp_sig=DSA_SIG_new(); + int siglen = -1; + const unsigned char *data =lptr->dsa_signature; + if (temp_sig == NULL || d2i_DSA_SIG(&temp_sig,&data,sizeof(lptr->dsa_signature)) == NULL){ + fprintf(stderr, "License signature verification failed: %s\n", + ERR_error_string(ERR_get_error(), NULL)); + exit(EXIT_FAILURE); + } + unsigned char *tmp_buff= NULL; + siglen = i2d_DSA_SIG(temp_sig, &tmp_buff); + OPENSSL_cleanse(tmp_buff, siglen); + OPENSSL_free(tmp_buff); + DSA_SIG_free(temp_sig); + switch(DSA_verify(0, message_digest, sizeof(message_digest), - lptr->dsa_signature, sizeof(lptr->dsa_signature), dsa)) { + lptr->dsa_signature, siglen, dsa)) { case 0: fputs("License file is corrupted: invalid DSA signature.\n", stderr); exit(EXIT_FAILURE); diff --git a/compiler2/Type_codegen.cc b/compiler2/Type_codegen.cc index cea911281e8eb7c7fa0ebaa2155d362ea2f12b7a..6e9679c59e1533de899ac8ec038a60e33daff7fb 100644 --- a/compiler2/Type_codegen.cc +++ b/compiler2/Type_codegen.cc @@ -2688,6 +2688,9 @@ void Type::generate_json_schema(JSON_Tokenizer& json, bool embedded, bool as_val // use the JSON string type and add a pattern to only allow bits or hex digits json.put_next_token(JSON_TOKEN_NAME, "type"); json.put_next_token(JSON_TOKEN_STRING, "\"string\""); + json.put_next_token(JSON_TOKEN_NAME, "subType"); + json.put_next_token(JSON_TOKEN_STRING, (last->typetype == T_OSTR) ? "\"octetstring\"" : + ((last->typetype == T_HSTR) ? "\"hexstring\"" : "\"bitstring\"")); json.put_next_token(JSON_TOKEN_NAME, "pattern"); json.put_next_token(JSON_TOKEN_STRING, (last->typetype == T_OSTR) ? "\"^([0-9A-Fa-f][0-9A-Fa-f])*$\"" : @@ -2742,6 +2745,15 @@ void Type::generate_json_schema(JSON_Tokenizer& json, bool embedded, bool as_val Free(enum_str); } json.put_next_token(JSON_TOKEN_ARRAY_END); + // list the numeric values for the enumerated items + json.put_next_token(JSON_TOKEN_NAME, "numericValues"); + json.put_next_token(JSON_TOKEN_ARRAY_START); + for (size_t i = 0; i < u.enums.eis->get_nof_eis(); ++i) { + char* num_val_str = mprintf("%lli", get_ei_byIndex(i)->get_value()->get_val_Int()->get_val()); + json.put_next_token(JSON_TOKEN_NUMBER, num_val_str); + Free(num_val_str); + } + json.put_next_token(JSON_TOKEN_ARRAY_END); break; case T_SEQOF: case T_SETOF: diff --git a/compiler2/record.c b/compiler2/record.c index 63e68532d6b5dd9e999ca98c41ef37d836c4e2d7..67b7e96e5c86b8dafd2fb8c781aff85d82e58b83 100644 --- a/compiler2/record.c +++ b/compiler2/record.c @@ -3980,8 +3980,7 @@ void defRecordClass1(const struct_def *sdef, output_struct *output) src = mputprintf(src, "int %s::TEXT_decode(const TTCN_Typedescriptor_t& p_td," " TTCN_Buffer& p_buf, Limit_Token_List& limit, boolean no_err, boolean){\n" - " if (!is_bound()) TTCN_EncDec_ErrorContext::error" - "(TTCN_EncDec::ET_UNBOUND, \"Encoding an unbound value.\");\n" + " bound_flag = TRUE;\n" " int decoded_length=0;\n" " int decoded_field_length=0;\n" "%s" @@ -4242,28 +4241,28 @@ void defRecordClass1(const struct_def *sdef, output_struct *output) src = mputprintf(src, "int %s::JSON_decode(const TTCN_Typedescriptor_t&, JSON_Tokenizer& p_tok, boolean p_silent)\n" "{\n" - " json_token_t token = JSON_TOKEN_NONE;\n" - " int dec_len = p_tok.get_next_token(&token, NULL, NULL);\n" - " if (JSON_TOKEN_ERROR == token) {\n" + " json_token_t j_token = JSON_TOKEN_NONE;\n" + " int dec_len = p_tok.get_next_token(&j_token, NULL, NULL);\n" + " if (JSON_TOKEN_ERROR == j_token) {\n" " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_BAD_TOKEN_ERROR, \"\");\n" " return JSON_ERROR_FATAL;\n" " }\n" - " else if (JSON_TOKEN_OBJECT_START != token) {\n" + " else if (JSON_TOKEN_OBJECT_START != j_token) {\n" " return JSON_ERROR_INVALID_TOKEN;\n" " }\n" " bound_flag = TRUE;\n\n" // Read name - value token pairs until we reach some other token " while (true) {\n" - " char* name = 0;\n" + " char* fld_name = 0;\n" " size_t name_len = 0;\n" " size_t buf_pos = p_tok.get_buf_pos();\n" - " dec_len += p_tok.get_next_token(&token, &name, &name_len);\n" - " if (JSON_TOKEN_ERROR == token) {\n" + " dec_len += p_tok.get_next_token(&j_token, &fld_name, &name_len);\n" + " if (JSON_TOKEN_ERROR == j_token) {\n" " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_NAME_TOKEN_ERROR);\n" " return JSON_ERROR_FATAL;\n" " }\n" // undo the last action on the buffer - " else if (JSON_TOKEN_NAME != token) {\n" + " else if (JSON_TOKEN_NAME != j_token) {\n" " p_tok.set_buf_pos(buf_pos);\n" " break;\n" " }\n" @@ -4272,7 +4271,7 @@ void defRecordClass1(const struct_def *sdef, output_struct *output) for (i = 0; i < sdef->nElements; ++i) { src = mputprintf(src, // check field name - "if (%d == name_len && 0 == strncmp(name, \"%s\", name_len)) {\n" + "if (%d == name_len && 0 == strncmp(fld_name, \"%s\", name_len)) {\n" " int ret_val = field_%s.JSON_decode(%s_descr_, p_tok, p_silent);\n" " if (0 > ret_val) {\n" " if (JSON_ERROR_INVALID_TOKEN) {\n" @@ -4290,23 +4289,23 @@ void defRecordClass1(const struct_def *sdef, output_struct *output) src = mputstr(src, "{\n" // invalid field name - " char* name2 = mcopystrn(name, name_len);\n" - " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_INVALID_NAME_ERROR, name2);\n" + " char* fld_name2 = mcopystrn(fld_name, name_len);\n" + " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_INVALID_NAME_ERROR, fld_name2);\n" // if this is set to a warning, skip the value of the field - " dec_len += p_tok.get_next_token(&token, NULL, NULL);\n" - " if (JSON_TOKEN_NUMBER != token && JSON_TOKEN_STRING != token &&\n" - " JSON_TOKEN_LITERAL_TRUE != token && JSON_TOKEN_LITERAL_FALSE != token &&\n" - " JSON_TOKEN_LITERAL_NULL != token) {\n" - " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_FIELD_TOKEN_ERROR, name2);\n" - " Free(name2);\n" + " dec_len += p_tok.get_next_token(&j_token, NULL, NULL);\n" + " if (JSON_TOKEN_NUMBER != j_token && JSON_TOKEN_STRING != j_token &&\n" + " JSON_TOKEN_LITERAL_TRUE != j_token && JSON_TOKEN_LITERAL_FALSE != j_token &&\n" + " JSON_TOKEN_LITERAL_NULL != j_token) {\n" + " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_FIELD_TOKEN_ERROR, fld_name2);\n" + " Free(fld_name2);\n" " return JSON_ERROR_FATAL;\n" " }\n" - " Free(name2);\n" + " Free(fld_name2);\n" " }\n" " }\n" " }\n\n" - " dec_len += p_tok.get_next_token(&token, NULL, NULL);\n" - " if (JSON_TOKEN_OBJECT_END != token) {\n" + " dec_len += p_tok.get_next_token(&j_token, NULL, NULL);\n" + " if (JSON_TOKEN_OBJECT_END != j_token) {\n" " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_OBJECT_END_TOKEN_ERROR, \"\");\n" " return JSON_ERROR_FATAL;\n" " }\n\n"); @@ -4334,7 +4333,7 @@ void defRecordClass1(const struct_def *sdef, output_struct *output) " }\n"); } src = mputstr(src, - "\n return dec_len;" + "\n return dec_len;\n" "}\n\n"); } @@ -5706,6 +5705,7 @@ static void defEmptyRecordClass(const struct_def *sdef, src = mputprintf(src, "int %s::TEXT_decode(const TTCN_Typedescriptor_t& p_td," " TTCN_Buffer& p_buf, Limit_Token_List& limit, boolean no_err, boolean){\n" + " bound_flag = TRUE;\n" " int decoded_length=0;\n" " if(p_td.text->begin_decode){\n" " int tl;\n" @@ -5733,7 +5733,6 @@ static void defEmptyRecordClass(const struct_def *sdef, " decoded_length+=tl;\n" " p_buf.increase_pos(tl);\n" " }\n" - "bound_flag = TRUE;\n" " return decoded_length;\n" "}\n" ,name diff --git a/compiler2/ttcn3/AST_ttcn3.cc b/compiler2/ttcn3/AST_ttcn3.cc index e4059db1023e9130ad55f98c9617512b349e6283..80c05634a6db62b39b629ec65a13894d39e0e68c 100644 --- a/compiler2/ttcn3/AST_ttcn3.cc +++ b/compiler2/ttcn3/AST_ttcn3.cc @@ -9526,10 +9526,17 @@ namespace Ttcn { // let the array object know that the index is referenced before // calling the function, and let it know that it's now longer // referenced after the function call - expr->preamble = mputprintf(expr->preamble, "%s.add_refd_index(%s);\n", - array_expr.expr, index_expr.expr); - expr->postamble = mputprintf(expr->postamble, "%s.remove_refd_index(%s);\n", - array_expr.expr, index_expr.expr); + string tmp_id = ref->get_my_scope()->get_scope_mod_gen()->get_temporary_id(); + expr->preamble = mputprintf(expr->preamble, + "INTEGER %s = %s;\n" + "%s.add_refd_index(%s);\n", + tmp_id.c_str(), index_expr.expr, array_expr.expr, index_expr.expr); + expr->postamble = mputprintf(expr->postamble, + "%s.remove_refd_index(%s);\n" + "if (%s >= %s.size_of()) TTCN_warning(\"" + "Warning: possibly incompatible behaviour related to TR HT24380;" + " for details see release notes\");\n", + array_expr.expr, index_expr.expr, tmp_id.c_str(), array_expr.expr); // insert any postambles the array object or the index might have if (array_expr.postamble != NULL) { expr->preamble = mputstr(expr->preamble, array_expr.postamble); diff --git a/compiler2/union.c b/compiler2/union.c index c24f22360732af3c2541a63ecf89ef2f353d47e1..0393bcc3cd59767237c7ca107965bd1cc47b38c4 100644 --- a/compiler2/union.c +++ b/compiler2/union.c @@ -1790,16 +1790,16 @@ void defUnionClass(struct_def const *sdef, output_struct *output) // JSON decode src = mputprintf(src, - "int %s::JSON_decode(const TTCN_Typedescriptor_t& p_td, JSON_Tokenizer& p_tok, boolean p_silent)\n" + "int %s::JSON_decode(const TTCN_Typedescriptor_t&, JSON_Tokenizer& p_tok, boolean p_silent)\n" "{\n" - " json_token_t token = JSON_TOKEN_NONE;\n" + " json_token_t j_token = JSON_TOKEN_NONE;\n" , name); if (sdef->jsonAsValue) { src = mputstr(src, " size_t buf_pos = p_tok.get_buf_pos();\n" - " p_tok.get_next_token(&token, NULL, NULL);\n" + " p_tok.get_next_token(&j_token, NULL, NULL);\n" " int ret_val = 0;\n" - " switch(token) {\n" + " switch(j_token) {\n" " case JSON_TOKEN_NUMBER: {\n"); for (i = 0; i < sdef->nElements; ++i) { if (JSON_NUMBER & sdef->elements[i].jsonValueType) { @@ -1849,11 +1849,11 @@ void defUnionClass(struct_def const *sdef, output_struct *output) } } src = mputstr(src, - " char* literal = mprintf(\"literal (%s)\",\n" - " (JSON_TOKEN_LITERAL_TRUE == token) ? \"true\" :\n" - " ((JSON_TOKEN_LITERAL_FALSE == token) ? \"false\" : \"null\"));\n" - " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_AS_VALUE_ERROR, literal);\n" - " Free(literal);\n" + " char* literal_str = mprintf(\"literal (%s)\",\n" + " (JSON_TOKEN_LITERAL_TRUE == j_token) ? \"true\" :\n" + " ((JSON_TOKEN_LITERAL_FALSE == j_token) ? \"false\" : \"null\"));\n" + " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_AS_VALUE_ERROR, literal_str);\n" + " Free(literal_str);\n" " clean_up();\n" " return JSON_ERROR_FATAL;\n" " }\n" @@ -1901,18 +1901,18 @@ void defUnionClass(struct_def const *sdef, output_struct *output) "}\n\n"); } else { // not "as value" src = mputprintf(src, - " int dec_len = p_tok.get_next_token(&token, NULL, NULL);\n" - " if (JSON_TOKEN_ERROR == token) {\n" + " int dec_len = p_tok.get_next_token(&j_token, NULL, NULL);\n" + " if (JSON_TOKEN_ERROR == j_token) {\n" " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_BAD_TOKEN_ERROR, \"\");\n" " return JSON_ERROR_FATAL;\n" " }\n" - " else if (JSON_TOKEN_OBJECT_START != token) {\n" + " else if (JSON_TOKEN_OBJECT_START != j_token) {\n" " return JSON_ERROR_INVALID_TOKEN;\n" " }\n\n" - " char* name = 0;\n" + " char* fld_name = 0;\n" " size_t name_len = 0;" - " dec_len += p_tok.get_next_token(&token, &name, &name_len);\n" - " if (JSON_TOKEN_NAME != token) {\n" + " dec_len += p_tok.get_next_token(&j_token, &fld_name, &name_len);\n" + " if (JSON_TOKEN_NAME != j_token) {\n" " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_NAME_TOKEN_ERROR);\n" " return JSON_ERROR_FATAL;\n" " } else {\n" @@ -1920,7 +1920,7 @@ void defUnionClass(struct_def const *sdef, output_struct *output) , unbound_value); for (i = 0; i < sdef->nElements; ++i) { src = mputprintf(src, - "if (0 == strncmp(name, \"%s\", name_len)) {\n" + "if (0 == strncmp(fld_name, \"%s\", name_len)) {\n" " int ret_val = %s%s().JSON_decode(%s_descr_, p_tok, p_silent);\n" " if (0 > ret_val) {\n" " if (JSON_ERROR_INVALID_TOKEN) {\n" @@ -1937,14 +1937,14 @@ void defUnionClass(struct_def const *sdef, output_struct *output) } src = mputstr(src, "{\n" - " char* name2 = mcopystrn(name, name_len);\n" - " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_INVALID_NAME_ERROR, name2);\n" - " Free(name2);\n" + " char* fld_name2 = mcopystrn(fld_name, name_len);\n" + " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_INVALID_NAME_ERROR, fld_name2);\n" + " Free(fld_name2);\n" " return JSON_ERROR_FATAL;\n" " }\n" " }\n\n" - " dec_len += p_tok.get_next_token(&token, NULL, NULL);\n" - " if (JSON_TOKEN_OBJECT_END != token) {\n" + " dec_len += p_tok.get_next_token(&j_token, NULL, NULL);\n" + " if (JSON_TOKEN_OBJECT_END != j_token) {\n" " JSON_ERROR(TTCN_EncDec::ET_INVAL_MSG, JSON_DEC_STATIC_OBJECT_END_TOKEN_ERROR, \"\");\n" " return JSON_ERROR_FATAL;\n" " }\n\n" diff --git a/core/Optional.hh b/core/Optional.hh index ec0bfa8d84f67a66f8fee59f9e5b52a06dc8fb6c..7c47aacc933cff2f3d826f6256a853b7b204dee7 100644 --- a/core/Optional.hh +++ b/core/Optional.hh @@ -284,6 +284,12 @@ public: * 'inout' or 'out' parameter to a function. * Redirects the call to the optional value. */ void remove_refd_index(int index); + + /** Called before an element of an optional record of/set of is passed as an + * 'inout' or 'out' parameter to a function. Returns the size of the record of/ + * set of. + * Redirects the call to the optional value. */ + int size_of(); }; #if HAVE_GCC(4,6) @@ -676,6 +682,15 @@ void OPTIONAL<T_type>::remove_refd_index(int index) optional_value->remove_refd_index(index); } +template<typename T_type> +int OPTIONAL<T_type>::size_of() +{ + if (!is_present()) { + return 0; + } + return optional_value->size_of(); +} + template<typename T_type> OPTIONAL<T_type>::operator T_type&() { diff --git a/etc/xsd/TPD.xsd b/etc/xsd/TPD.xsd index 910f61de03836b3a22eed2959f4db52a1f2dc46c..a599afddd723e69280230cc4fe3ab57730e3229d 100644 --- a/etc/xsd/TPD.xsd +++ b/etc/xsd/TPD.xsd @@ -97,6 +97,7 @@ XML Schema for JunitLogger plugin <xs:element name="forceXERinASN.1" minOccurs="0" maxOccurs="1" type="xs:boolean" /> <xs:element name="defaultasOmit" minOccurs="0" maxOccurs="1" type="xs:boolean" /> <xs:element name="enumHackProperty" minOccurs="0" maxOccurs="1" type="xs:boolean" /> + <xs:element name="forceOldFuncOutParHandling" minOccurs="0" maxOccurs="1" type="xs:boolean" /> <xs:element name="gccMessageFormat" minOccurs="0" maxOccurs="1" type="xs:boolean" /> <xs:element name="lineNumbersOnlyInMessages" minOccurs="0" maxOccurs="1" type="xs:boolean" /> <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" /> diff --git a/function_test/Semantic_Analyser/defpars/.gitignore b/function_test/Semantic_Analyser/defpars/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..e2d293255e6d2f314e34950e486a48630d873491 --- /dev/null +++ b/function_test/Semantic_Analyser/defpars/.gitignore @@ -0,0 +1,2 @@ +!Makefile +!*.ttcn diff --git a/function_test/Semantic_Analyser/encode/.gitignore b/function_test/Semantic_Analyser/encode/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..f34a2637bfccb7aebc3061599c6c7931140a05f9 --- /dev/null +++ b/function_test/Semantic_Analyser/encode/.gitignore @@ -0,0 +1,2 @@ +!Makefile +!*.ttcn \ No newline at end of file diff --git a/function_test/Semantic_Analyser/float/.gitignore b/function_test/Semantic_Analyser/float/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..f34a2637bfccb7aebc3061599c6c7931140a05f9 --- /dev/null +++ b/function_test/Semantic_Analyser/float/.gitignore @@ -0,0 +1,2 @@ +!Makefile +!*.ttcn \ No newline at end of file diff --git a/function_test/Semantic_Analyser/import_of_iports/.gitignore b/function_test/Semantic_Analyser/import_of_iports/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..f34a2637bfccb7aebc3061599c6c7931140a05f9 --- /dev/null +++ b/function_test/Semantic_Analyser/import_of_iports/.gitignore @@ -0,0 +1,2 @@ +!Makefile +!*.ttcn \ No newline at end of file diff --git a/function_test/Semantic_Analyser/options/.gitignore b/function_test/Semantic_Analyser/options/.gitignore index 44e4991340badabc02d325413737237a28e4e16f..1d5c039f0a8183c5762154f9384742a600822a33 100644 --- a/function_test/Semantic_Analyser/options/.gitignore +++ b/function_test/Semantic_Analyser/options/.gitignore @@ -1 +1,3 @@ compiler.exe.stackdump +!Makefile +!*.ttcn \ No newline at end of file diff --git a/function_test/Semantic_Analyser/param/.gitignore b/function_test/Semantic_Analyser/param/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..f34a2637bfccb7aebc3061599c6c7931140a05f9 --- /dev/null +++ b/function_test/Semantic_Analyser/param/.gitignore @@ -0,0 +1,2 @@ +!Makefile +!*.ttcn \ No newline at end of file diff --git a/function_test/Semantic_Analyser/ver/.gitignore b/function_test/Semantic_Analyser/ver/.gitignore index e3c0dee7a5df23157b1eceefe0730f02754de148..876f2da930d53c0ab45af4acfed66a21a7cee081 100755 --- a/function_test/Semantic_Analyser/ver/.gitignore +++ b/function_test/Semantic_Analyser/ver/.gitignore @@ -3,3 +3,5 @@ *_OK_union.cc goodprog goodprog.exe +!Makefile +!*.ttcn diff --git a/function_test/Semantic_Analyser/xer/.gitignore b/function_test/Semantic_Analyser/xer/.gitignore index e3c0dee7a5df23157b1eceefe0730f02754de148..876f2da930d53c0ab45af4acfed66a21a7cee081 100755 --- a/function_test/Semantic_Analyser/xer/.gitignore +++ b/function_test/Semantic_Analyser/xer/.gitignore @@ -3,3 +3,5 @@ *_OK_union.cc goodprog goodprog.exe +!Makefile +!*.ttcn diff --git a/help/docs/.gitignore b/help/docs/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..13f0a162b723dd739290cea1be77a06118a22677 --- /dev/null +++ b/help/docs/.gitignore @@ -0,0 +1 @@ +!*.pdf diff --git a/regression_test/XML/TTCNandXML/.gitignore b/regression_test/XML/TTCNandXML/.gitignore index ad7ed83047f48beb5b50c186758146f92e8c80c4..a2f4a58a7889653e1f49a54a7d88ca35153a0564 100644 --- a/regression_test/XML/TTCNandXML/.gitignore +++ b/regression_test/XML/TTCNandXML/.gitignore @@ -22,3 +22,4 @@ DFE*Test.ttcn Marx.ttcn Regressions.ttcn *.d +!Flatten.cc \ No newline at end of file diff --git a/regression_test/compileonly/centralstorage/separate_project/.gitignore b/regression_test/compileonly/centralstorage/separate_project/.gitignore index 11f1b19ba474d3d32c9998fae25530cdc0773e86..6776d7d8ad958cfb4a53e7f83167a260eb3cb631 100644 --- a/regression_test/compileonly/centralstorage/separate_project/.gitignore +++ b/regression_test/compileonly/centralstorage/separate_project/.gitignore @@ -1,3 +1,2 @@ -separate* compile* Makefile diff --git a/regression_test/compileonly/mfgen-tpd/HP79745/HelloTpd/.gitignore b/regression_test/compileonly/mfgen-tpd/HP79745/HelloTpd/.gitignore index ba077a4031add5b3a04384f8b9cfc414efbf47dd..43e88e716f4815f85c01427108ff9545bd34514e 100644 --- a/regression_test/compileonly/mfgen-tpd/HP79745/HelloTpd/.gitignore +++ b/regression_test/compileonly/mfgen-tpd/HP79745/HelloTpd/.gitignore @@ -1 +1,2 @@ bin +!.TITAN* \ No newline at end of file diff --git a/regression_test/compileonly/mfgen-tpd/HQ56848/src/.gitignore b/regression_test/compileonly/mfgen-tpd/HQ56848/src/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..1d1f7839054faf5869492d70087e836427fd7036 --- /dev/null +++ b/regression_test/compileonly/mfgen-tpd/HQ56848/src/.gitignore @@ -0,0 +1 @@ +!counter.ttcn \ No newline at end of file diff --git a/regression_test/compileonly/mfgen-tpd/HQ60308/src/.gitignore b/regression_test/compileonly/mfgen-tpd/HQ60308/src/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..1d1f7839054faf5869492d70087e836427fd7036 --- /dev/null +++ b/regression_test/compileonly/mfgen-tpd/HQ60308/src/.gitignore @@ -0,0 +1 @@ +!counter.ttcn \ No newline at end of file diff --git a/regression_test/compileonly/mfgen-tpd/buildconfig_param/HelloTpd/.gitignore b/regression_test/compileonly/mfgen-tpd/buildconfig_param/HelloTpd/.gitignore index ba077a4031add5b3a04384f8b9cfc414efbf47dd..c7a3a6791619150b8e3f23ea6bd1fde000033def 100644 --- a/regression_test/compileonly/mfgen-tpd/buildconfig_param/HelloTpd/.gitignore +++ b/regression_test/compileonly/mfgen-tpd/buildconfig_param/HelloTpd/.gitignore @@ -1 +1,2 @@ bin +!.TITAN* diff --git a/regression_test/compileonly/mfgen-tpd/consumer/.gitignore b/regression_test/compileonly/mfgen-tpd/consumer/.gitignore index ba077a4031add5b3a04384f8b9cfc414efbf47dd..3196b768ad3b1bf3cf6e06a9a8ebfa9dbfdfd8f7 100644 --- a/regression_test/compileonly/mfgen-tpd/consumer/.gitignore +++ b/regression_test/compileonly/mfgen-tpd/consumer/.gitignore @@ -1 +1,2 @@ bin +!TITAN* diff --git a/regression_test/compileonly/mfgen-tpd/invalid_buildconfig_param/HelloTpd/.gitignore b/regression_test/compileonly/mfgen-tpd/invalid_buildconfig_param/HelloTpd/.gitignore index df2f8a079af54f649e4d0605b6b8f763df4c49cc..00a3cc30681e0652c9a523c90de7fd92cdc7a69d 100644 --- a/regression_test/compileonly/mfgen-tpd/invalid_buildconfig_param/HelloTpd/.gitignore +++ b/regression_test/compileonly/mfgen-tpd/invalid_buildconfig_param/HelloTpd/.gitignore @@ -1,2 +1,3 @@ bin -output \ No newline at end of file +output +!.TITAN* \ No newline at end of file diff --git a/regression_test/compileonly/mfgen-tpd/invalid_buildconfig_tpd/HelloTpd/.gitignore b/regression_test/compileonly/mfgen-tpd/invalid_buildconfig_tpd/HelloTpd/.gitignore index ba077a4031add5b3a04384f8b9cfc414efbf47dd..43e88e716f4815f85c01427108ff9545bd34514e 100644 --- a/regression_test/compileonly/mfgen-tpd/invalid_buildconfig_tpd/HelloTpd/.gitignore +++ b/regression_test/compileonly/mfgen-tpd/invalid_buildconfig_tpd/HelloTpd/.gitignore @@ -1 +1,2 @@ bin +!.TITAN* \ No newline at end of file diff --git a/regression_test/compileonly/mfgen-tpd/library/HelloTpd/.gitignore b/regression_test/compileonly/mfgen-tpd/library/HelloTpd/.gitignore index ba077a4031add5b3a04384f8b9cfc414efbf47dd..c7a3a6791619150b8e3f23ea6bd1fde000033def 100644 --- a/regression_test/compileonly/mfgen-tpd/library/HelloTpd/.gitignore +++ b/regression_test/compileonly/mfgen-tpd/library/HelloTpd/.gitignore @@ -1 +1,2 @@ bin +!.TITAN* diff --git a/regression_test/compileonly/mfgen-tpd/subplier/.gitignore b/regression_test/compileonly/mfgen-tpd/subplier/.gitignore index ba077a4031add5b3a04384f8b9cfc414efbf47dd..43e88e716f4815f85c01427108ff9545bd34514e 100644 --- a/regression_test/compileonly/mfgen-tpd/subplier/.gitignore +++ b/regression_test/compileonly/mfgen-tpd/subplier/.gitignore @@ -1 +1,2 @@ bin +!.TITAN* \ No newline at end of file diff --git a/regression_test/compileonly/mfgen-tpd/supplier/.gitignore b/regression_test/compileonly/mfgen-tpd/supplier/.gitignore index ba077a4031add5b3a04384f8b9cfc414efbf47dd..c7a3a6791619150b8e3f23ea6bd1fde000033def 100644 --- a/regression_test/compileonly/mfgen-tpd/supplier/.gitignore +++ b/regression_test/compileonly/mfgen-tpd/supplier/.gitignore @@ -1 +1,2 @@ bin +!.TITAN* diff --git a/regression_test/logFiles/baseline_logs/.gitignore b/regression_test/logFiles/baseline_logs/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..720f7c3e616e40cce7aa5b599763c12e3f373060 --- /dev/null +++ b/regression_test/logFiles/baseline_logs/.gitignore @@ -0,0 +1 @@ +!*.log \ No newline at end of file diff --git a/regression_test/logger_control/.gitignore b/regression_test/logger_control/.gitignore index 5414086ccae204ea9961e21ce56fcd133c406a11..ccf3461d1b1eccc9e45ad5bd37868a6cd486cfe7 100644 --- a/regression_test/logger_control/.gitignore +++ b/regression_test/logger_control/.gitignore @@ -1,7 +1,5 @@ compile *.d -TitanLoggerControl.ttcn -TitanLoggerControl.ttcn.lnk TitanLoggerControl.?? logcontrol.?? logcontrol diff --git a/regression_test/nonMandatoryPar/.gitignore b/regression_test/nonMandatoryPar/.gitignore index c69009a975f32759cad2af669546942fadcda7ea..d12346a09454b3eab4d7ee20c234be358cf117e7 100644 --- a/regression_test/nonMandatoryPar/.gitignore +++ b/regression_test/nonMandatoryPar/.gitignore @@ -5,8 +5,6 @@ TnonMandatory_se[qt].cc TnonMandatory_se[qt]of.cc TnonMandatory_union.cc nonMandatory.log -PCOType.hh -PCOType.cc PCOType_se[qt].cc PCOType_se[qt]of.cc PCOType_union.cc diff --git a/regression_test/ttcn2json/Shell.ttcn b/regression_test/ttcn2json/Shell.ttcn index e334b2bf6f562ab0642bc2f13d2c50a4914b73c0..85d53f1a070fd9b01e069e695cbdaed05daad1dd 100644 --- a/regression_test/ttcn2json/Shell.ttcn +++ b/regression_test/ttcn2json/Shell.ttcn @@ -14,7 +14,7 @@ import from PIPEasp_PortType all; import from PIPEasp_Templates all; -modulepar float tsp_shellCmdTimeout :=1.0; +modulepar float tsp_shellCmdTimeout := 6.0; type component PIPE_CT { port PIPEasp_PT PIPE_PCO; diff --git a/usrguide/referenceguide.doc b/usrguide/referenceguide.doc index e0b60b7f7f947ae2feab4a47d9a11b5da00e16a6..3703a434d4b0828f64206b6a18b15c000c2df8a3 100644 Binary files a/usrguide/referenceguide.doc and b/usrguide/referenceguide.doc differ diff --git a/usrguide/releasenotes.doc b/usrguide/releasenotes.doc index 9aac53d5627abacec42a5f5f0b7a1aa6c0e60b96..6c6bbe792a2814057c443484bacef348924447f1 100644 Binary files a/usrguide/releasenotes.doc and b/usrguide/releasenotes.doc differ