Skip to content

Commit

Permalink
v0.9.72-alpha1-step-4
Browse files Browse the repository at this point in the history
  • Loading branch information
jacques-menu committed Dec 18, 2024
1 parent 8a29c4c commit 4d32ba2
Show file tree
Hide file tree
Showing 124 changed files with 840 additions and 17,606 deletions.
2 changes: 1 addition & 1 deletion MusicFormatsVersionNumber.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.9.72-alpha1-step-3
v0.9.72-alpha1-step-4
2 changes: 1 addition & 1 deletion build/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ message (STATUS "-----> MF_CLI_SAMPLES_DIR: ${MF_CLI_SAMPLES_DIR}")
# message (STATUS "-----> MF_CLI_SERVICES_DIR: ${MF_CLI_SERVICES_DIR}")


set (MF_SRC_FOLDERS ${MF_SRC_FOLDERS} mflibrary components languages oah wae manpage services)
set (MF_SRC_FOLDERS ${MF_SRC_FOLDERS} mfutilities components languages oah wae manpage services)

set (MF_SRC_FOLDERS ${MF_SRC_FOLDERS} interpreters/stringmatcherinterpreter interpreters/mfslinterpreter interpreters/ischemeinterpreter)

Expand Down
2 changes: 1 addition & 1 deletion include/MusicFormatsVersionDate.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define MUSICFORMATS_VERSION_DATE "December 17, 2024"
#define MUSICFORMATS_VERSION_DATE "December 18, 2024"
2 changes: 1 addition & 1 deletion include/MusicFormatsVersionNumber.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define MUSICFORMATS_VERSION_NUMBER "v0.9.72-alpha1-step-2"
#define MUSICFORMATS_VERSION_NUMBER "v0.9.72-alpha1-step-3"
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ EXP extern std::string mfMeasureNumberAsString (std::string measureNumber);

constexpr int K_WHOLE_NOTES_NUMERATOR_UNKNOWN_ = 0;

EXP extern const msrWholeNotes K_WHOLE_NOTES_UNKNOWN____;
EXP extern const msrWholeNotes K_WHOLE_NOTES_UNKNOWN_;

EXP extern const std::string
kWholeNotePrefix,
Expand Down Expand Up @@ -122,13 +122,6 @@ EXP extern std::string mfStanzaNumberAsString (std::string stanzaNumber);

constexpr int K_MF_NAMES_LIST_MAX_LENGTH = 50;

// OAH layout settings
//______________________________________________________________________________
constexpr int K_OAH_ELEMENTS_INDENTER_OFFSET = 3;
// indent a bit more for readability

constexpr int K_OAH_FIELD_WIDTH = 40;


}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ enum class msrScoreNotationKind {
};

std::string msrScoreNotationKindAsString (
msrScoreNotationKind lilypondScoreNotationKind);
msrScoreNotationKind scoreNotationKind);

std::ostream& operator << (std::ostream& os, const msrScoreNotationKind& elt);

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ typedef mfValueWithNeutralValue
//______________________________________________________________________________
// whole notes durations
typedef mfValueWithNeutralValue
<msrWholeNotes, kWholeNotePrefix, K_WHOLE_NOTES_UNKNOWN____, kWholeNoteNeutralValueString>
<msrWholeNotes, kWholeNotePrefix, K_WHOLE_NOTES_UNKNOWN_, kWholeNoteNeutralValueString>
mfWohleNotes;

//______________________________________________________________________________
Expand Down
21 changes: 11 additions & 10 deletions src/mflibrary/mfTest.h → include/oah/oahConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,30 @@
https://github.com/jacques-menu/musicformats
*/

#ifndef ___mfTest___
#define ___mfTest___
#ifndef ___oahConstants___
#define ___oahConstants___

#include <iostream>
#include <string>

#include "exports.h"

#include "msrMoments.h"
#include "msrNotesDurations.h"


namespace MusicFormats
{

//______________________________________________________________________________
/*
this function is meant for developpers/maintainers
who need to do a quick test of mfMusicFormats' behaviour for their purposes
// OAH layout settings

such code is not supposed to be long-term living
*/
constexpr int K_OAH_ELEMENTS_INDENTER_OFFSET = 3;
// indent a bit more for readability

EXP void mfTest (std::ostream& os);
constexpr int K_OAH_FIELD_WIDTH = 40;


}


#endif // ___mfTest___
#endif // ___oahConstants___
24 changes: 18 additions & 6 deletions include/passes/mxsr2msr/mxsr2msrOah.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ class EXP mxsr2msrOahGroup : public oahGroup
getBoldWordsAtom () const
{ return fBoldWordsAtom; }

const std::set <std::string>& getItalicWordsSet () const
const std::set <std::string>&
getItalicWordsSet () const
{ return fItalicWordsSet; }
S_oahStringSetElementAtom
getItalicWordsAtom () const
Expand Down Expand Up @@ -402,7 +403,7 @@ class EXP mxsr2msrOahGroup : public oahGroup
getWordsToDecrescAtom () const
{ return fWordsToDecrescAtom; }

// ties
// ties
// --------------------------------------

Bool getIgnoreTies () const
Expand Down Expand Up @@ -487,14 +488,20 @@ class EXP mxsr2msrOahGroup : public oahGroup
Bool getTraceForward () const
{ return fTraceForward; }

// specific trace JMI move to traceOah
// display
// --------------------------------------

void setDisplayMxsr ()
{ fDisplayMxsr = true; }
Bool getDisplayMxsr () const
{ return fDisplayMxsr; }

S_oahBooleanAtom getDisplayMxsrAtom () const
{ return fDisplayMxsrAtom; }

// specific trace JMI move to traceOah
// --------------------------------------

void setTraceMxsr ()
{ fTraceMxsr = true; }
Bool getTraceMxsr () const
Expand Down Expand Up @@ -558,6 +565,8 @@ class EXP mxsr2msrOahGroup : public oahGroup
// private services
// ------------------------------------------------------

void initializeMxsr2msrDisplayOptions ();

#ifdef MF_TRACE_IS_ENABLED
void initializeMxsr2msrTraceOptions ();
#endif // MF_TRACE_IS_ENABLED
Expand Down Expand Up @@ -612,7 +621,7 @@ class EXP mxsr2msrOahGroup : public oahGroup
// private fields
// ------------------------------------------------------

// use MXSR events (temporary from v0.9.72)
// use MXSR events
// --------------------------------------

Bool fUseMxsrEvents;
Expand Down Expand Up @@ -860,6 +869,11 @@ class EXP mxsr2msrOahGroup : public oahGroup

Bool fCubase;

// display MXSR
// --------------------------------------

Bool fDisplayMxsr;
S_oahBooleanAtom fDisplayMxsrAtom;

#ifdef MF_TRACE_IS_ENABLED
// specific trace
Expand All @@ -877,8 +891,6 @@ class EXP mxsr2msrOahGroup : public oahGroup
// specific trace JMI move to traceOah JMI ??? v0.9.70
// --------------------------------------

Bool fDisplayMxsr;

Bool fTraceMxsr;

// visitors
Expand Down
14 changes: 14 additions & 0 deletions include/passes/mxsr2msr/mxsr2msrSkeletonBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,20 @@ class EXP mxsr2msrSkeletonBuilder :
void handleBOFPartGroupsNestingBOFAndScorePartsAllocation (
int inputLineNumber);

void sortfStartedPartGroupsListsVector (
int inputLineNumber);

void sortStoppedPartGroupsListsVector (
int inputLineNumber);

void handlePartGroupsStartAtIdentity (
int inputLineNumber,
int identity);

void handleThePartGroupsStoppedAtIdentity (
int inputLineNumber,
int identity);

// parts handling
// ------------------------------------------------------

Expand Down
3 changes: 0 additions & 3 deletions include/representations/msr/msrNotesDurations.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ EXP msrWholeNotes msrNotesDurationKindAsWholeNotes (

EXP msrNotesDurationKind wholeNotesAsNotesDurationKind (msrWholeNotes wholeNotes);

//______________________________________________________________________________
EXP extern const msrWholeNotes K_WHOLE_NOTES_UNKNOWN_;

//______________________________________________________________________________
std::string wholeNotesAndDotsNumberPitchAndOctaveAsString ( // JMI v0.9.67
int inputLineNumber,
Expand Down
4 changes: 2 additions & 2 deletions include/representations/msr/msrOah.h
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,12 @@ class EXP msrOahGroup : public oahGroup
// private services
// ------------------------------------------------------

void initializeMsrDisplayOptions ();

#ifdef MF_TRACE_IS_ENABLED
void initializeMsrTraceOah ();
#endif // MF_TRACE_IS_ENABLED

void initializeMsrDisplayOptions ();

void initializeMsrLanguagesOptions ();

void initializeMsrHeaderOptions ();
Expand Down
2 changes: 1 addition & 1 deletion src/MusicFormatsVersionNumber.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define MUSICFORMATS_VERSION_NUMBER "v0.9.72-alpha1-step-3"
#define MUSICFORMATS_VERSION_NUMBER "v0.9.72-alpha1-step-4"
2 changes: 1 addition & 1 deletion src/converters/msdl2braille/msdl2brailleManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "msdl2brailleManPageOah.h"
Expand Down
2 changes: 1 addition & 1 deletion src/converters/msdl2guido/msdl2guidoManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "msdl2guidoManPageOah.h"
Expand Down
2 changes: 1 addition & 1 deletion src/converters/msdl2lilypond/msdl2lilypondManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "msdl2lilypondManPageOah.h"
Expand Down
2 changes: 1 addition & 1 deletion src/converters/msdl2musicxml/msdl2musicxmlManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "msdl2musicxmlManPageOah.h"
Expand Down
2 changes: 1 addition & 1 deletion src/converters/msr2braille/msr2brailleManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahOah.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "msr2brailleManPageOah.h"
Expand Down
2 changes: 1 addition & 1 deletion src/converters/msr2guido/msr2guidoManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "msr2guidoManPageOah.h"
Expand Down
2 changes: 1 addition & 1 deletion src/converters/msr2lilypond/msr2lilypondManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "msr2lilypondManPageOah.h"
Expand Down
2 changes: 1 addition & 1 deletion src/converters/msr2musicxml/msr2musicxmlManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "msr2musicxmlManPageOah.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "musicxml2brailleManPageOah.h"
Expand Down
2 changes: 1 addition & 1 deletion src/converters/musicxml2guido/musicxml2guidoManPageOah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "musicxml2guidoManPageOah.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahOah.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "musicxml2lilypondManPageOah.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include <regex>

#include "mfConstants.h"
#include "mfPreprocessorSettings.h"

#include "oahConstants.h"
#include "oahEarlyOptions.h"

#include "musicxml2musicxmlManPageOah.h"
Expand Down
Loading

0 comments on commit 4d32ba2

Please sign in to comment.