Skip to content

Commit

Permalink
Merge branch 'pr/3510' into develop
Browse files Browse the repository at this point in the history
# Conflicts:
#	libmei/dist/meibasic.h
#	libmei/mei/mei-basic_compiled.odd
#	src/iomei.cpp
  • Loading branch information
lpugin committed Sep 5, 2023
2 parents 0a654d9 + 99dad44 commit adad8cb
Show file tree
Hide file tree
Showing 10 changed files with 7,076 additions and 7,079 deletions.
20 changes: 10 additions & 10 deletions include/vrv/iomei.h
Original file line number Diff line number Diff line change
Expand Up @@ -889,20 +889,20 @@ class MEIInput : public Input {
*/
///@{
// to MEI 5.0.0
void UpgradeKeySigTo_5_0_0(pugi::xml_node keySig);
void UpgradePageTo_5_0_0(Page *page);
void UpgradePgHeadFootTo_5_0_0(pugi::xml_node element);
void UpgradeMeasureTo_5_0_0(pugi::xml_node measure);
void UpgradeMeterSigTo_5_0_0(pugi::xml_node meterSig, MeterSig *vrvMeterSig);
void UpgradeScoreDefElementTo_5_0_0(pugi::xml_node scoreDefElement);
void UpgradeStaffTo_5_0_0(pugi::xml_node staff);
void UpgradeLayerElementTo_5_0_0(pugi::xml_node element);
void UpgradeRendTo_5_0_0(pugi::xml_node element);
void UpgradeKeySigTo_5_0(pugi::xml_node keySig);
void UpgradePageTo_5_0(Page *page);
void UpgradePgHeadFootTo_5_0(pugi::xml_node element);
void UpgradeMeasureTo_5_0(pugi::xml_node measure);
void UpgradeMeterSigTo_5_0(pugi::xml_node meterSig, MeterSig *vrvMeterSig);
void UpgradeScoreDefElementTo_5_0(pugi::xml_node scoreDefElement);
void UpgradeStaffTo_5_0(pugi::xml_node staff);
void UpgradeLayerElementTo_5_0(pugi::xml_node element);
void UpgradeRendTo_5_0(pugi::xml_node element);
// to MEI 4.0.0
void UpgradeBeatRptTo_4_0_0(pugi::xml_node beatRpt, BeatRpt *vrvBeatRpt);
void UpgradeDurGesTo_4_0_0(pugi::xml_node element, DurationInterface *interface);
void UpgradeFTremTo_4_0_0(pugi::xml_node fTrem, FTrem *vrvFTrem);
void UpgradeMensurTo_5_0_0(pugi::xml_node mensur, Mensur *vrvMensur);
void UpgradeMensurTo_5_0(pugi::xml_node mensur, Mensur *vrvMensur);
void UpgradeMordentTo_4_0_0(pugi::xml_node mordent, Mordent *vrvMordent);
void UpgradeScoreDefElementTo_4_0_0(pugi::xml_node scoreDefElement, ScoreDefElement *vrvScoreDefElement);
void UpgradeStaffDefTo_4_0_0(pugi::xml_node staffDef, StaffDef *vrvStaffDef);
Expand Down
2 changes: 1 addition & 1 deletion libmei/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ addons_dir: "./addons"
elements: false
namespace: "vrv"
datatypes: "./datatypes.yml"
basic_odd: "./mei/develop/mei-basic_compiled.odd"
basic_odd: "./mei/mei-basic_compiled.odd"
14 changes: 10 additions & 4 deletions libmei/dist/attconverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4703,8 +4703,11 @@ std::string AttConverterBase::MeiVersionMeiversionToStr(meiVersion_MEIVERSION da
case meiVersion_MEIVERSION_3_0_0: value = "3.0.0"; break;
case meiVersion_MEIVERSION_4_0_0: value = "4.0.0"; break;
case meiVersion_MEIVERSION_4_0_1: value = "4.0.1"; break;
case meiVersion_MEIVERSION_5_0_0_devplusbasic: value = "5.0.0-dev+basic"; break;
case meiVersion_MEIVERSION_5_0_0_dev: value = "5.0.0-dev"; break;
case meiVersion_MEIVERSION_5_0: value = "5.0"; break;
case meiVersion_MEIVERSION_5_0plusbasic: value = "5.0+basic"; break;
case meiVersion_MEIVERSION_5_0plusCMN: value = "5.0+CMN"; break;
case meiVersion_MEIVERSION_5_0plusMensural: value = "5.0+Mensural"; break;
case meiVersion_MEIVERSION_5_0plusNeumes: value = "5.0+Neumes"; break;
default:
LogWarning("Unknown value '%d' for att.meiVersion@meiversion", data);
value = "";
Expand All @@ -4719,8 +4722,11 @@ meiVersion_MEIVERSION AttConverterBase::StrToMeiVersionMeiversion(const std::str
if (value == "3.0.0") return meiVersion_MEIVERSION_3_0_0;
if (value == "4.0.0") return meiVersion_MEIVERSION_4_0_0;
if (value == "4.0.1") return meiVersion_MEIVERSION_4_0_1;
if (value == "5.0.0-dev+basic") return meiVersion_MEIVERSION_5_0_0_devplusbasic;
if (value == "5.0.0-dev") return meiVersion_MEIVERSION_5_0_0_dev;
if (value == "5.0") return meiVersion_MEIVERSION_5_0;
if (value == "5.0+basic") return meiVersion_MEIVERSION_5_0plusbasic;
if (value == "5.0+CMN") return meiVersion_MEIVERSION_5_0plusCMN;
if (value == "5.0+Mensural") return meiVersion_MEIVERSION_5_0plusMensural;
if (value == "5.0+Neumes") return meiVersion_MEIVERSION_5_0plusNeumes;
if (logWarning && !value.empty())
LogWarning("Unsupported value '%s' for att.meiVersion@meiversion", value.c_str());
return meiVersion_MEIVERSION_NONE;
Expand Down
7 changes: 5 additions & 2 deletions libmei/dist/atttypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -2185,8 +2185,11 @@ enum meiVersion_MEIVERSION : int8_t {
meiVersion_MEIVERSION_3_0_0,
meiVersion_MEIVERSION_4_0_0,
meiVersion_MEIVERSION_4_0_1,
meiVersion_MEIVERSION_5_0_0_devplusbasic,
meiVersion_MEIVERSION_5_0_0_dev,
meiVersion_MEIVERSION_5_0,
meiVersion_MEIVERSION_5_0plusbasic,
meiVersion_MEIVERSION_5_0plusCMN,
meiVersion_MEIVERSION_5_0plusMensural,
meiVersion_MEIVERSION_5_0plusNeumes,
meiVersion_MEIVERSION_MAX
};

Expand Down
76 changes: 38 additions & 38 deletions libmei/dist/meibasic.h

Large diffs are not rendered by default.

7,067 changes: 3,517 additions & 3,550 deletions libmei/mei/develop/mei-all_compiled.odd → libmei/mei/mei-all_compiled.odd

Large diffs are not rendered by default.

Loading

0 comments on commit adad8cb

Please sign in to comment.