upgrade to JUCE 5.4.3. Remove (probably) unused JUCE modules. Remove VST2 target (it's been end-of-life'd by Steinberg and by JUCE)

This commit is contained in:
Alex Birch
2019-06-22 20:41:38 +01:00
parent d22c2cd4fa
commit 9ee566b251
1140 changed files with 67534 additions and 105952 deletions

View File

@ -130,7 +130,7 @@ public:
{
public:
/** Destructor. */
virtual ~Listener() {}
virtual ~Listener() = default;
/** Called when something in the given marker list changes. */
virtual void markersChanged (MarkerList* markerList) = 0;
@ -152,7 +152,7 @@ public:
/** A base class for objects that want to provide a MarkerList. */
struct MarkerListHolder
{
virtual ~MarkerListHolder() {}
virtual ~MarkerListHolder() = default;
/** Objects can implement this method to provide a MarkerList. */
virtual MarkerList* getMarkers (bool xAxis) = 0;

View File

@ -73,13 +73,13 @@ RelativeCoordinate& RelativeCoordinate::operator= (const RelativeCoordinate& oth
}
RelativeCoordinate::RelativeCoordinate (RelativeCoordinate&& other) noexcept
: term (static_cast<Expression&&> (other.term))
: term (std::move (other.term))
{
}
RelativeCoordinate& RelativeCoordinate::operator= (RelativeCoordinate&& other) noexcept
{
term = static_cast<Expression&&> (other.term);
term = std::move (other.term);
return *this;
}

View File

@ -39,14 +39,14 @@ class JUCE_API RelativeCoordinatePositionerBase : public Component::Positioner
{
public:
RelativeCoordinatePositionerBase (Component&);
~RelativeCoordinatePositionerBase();
~RelativeCoordinatePositionerBase() override;
void componentMovedOrResized (Component&, bool, bool);
void componentParentHierarchyChanged (Component&);
void componentChildrenChanged (Component&);
void componentBeingDeleted (Component&);
void markersChanged (MarkerList*);
void markerListBeingDeleted (MarkerList*);
void componentMovedOrResized (Component&, bool, bool) override;
void componentParentHierarchyChanged (Component&) override;
void componentChildrenChanged (Component&) override;
void componentBeingDeleted (Component&) override;
void markersChanged (MarkerList*) override;
void markerListBeingDeleted (MarkerList*) override;
void apply();
@ -63,9 +63,9 @@ public:
// Suppress a VS2013 compiler warning
ComponentScope& operator= (const ComponentScope&) = delete;
Expression getSymbolValue (const String& symbol) const;
void visitRelativeScope (const String& scopeName, Visitor&) const;
String getScopeUID() const;
Expression getSymbolValue (const String& symbol) const override;
void visitRelativeScope (const String& scopeName, Visitor&) const override;
String getScopeUID() const override;
protected:
Component& component;

View File

@ -81,7 +81,7 @@ public:
{
public:
ElementBase (ElementType type);
virtual ~ElementBase() {}
virtual ~ElementBase() = default;
virtual void addToPath (Path& path, Expression::Scope*) const = 0;
virtual RelativePoint* getControlPoints (int& numPoints) = 0;
virtual ElementBase* clone() const = 0;
@ -99,9 +99,9 @@ public:
{
public:
StartSubPath (const RelativePoint& pos);
void addToPath (Path& path, Expression::Scope*) const;
RelativePoint* getControlPoints (int& numPoints);
ElementBase* clone() const;
void addToPath (Path& path, Expression::Scope*) const override;
RelativePoint* getControlPoints (int& numPoints) override;
ElementBase* clone() const override;
RelativePoint startPos;
@ -115,9 +115,9 @@ public:
{
public:
CloseSubPath();
void addToPath (Path& path, Expression::Scope*) const;
RelativePoint* getControlPoints (int& numPoints);
ElementBase* clone() const;
void addToPath (Path& path, Expression::Scope*) const override;
RelativePoint* getControlPoints (int& numPoints) override;
ElementBase* clone() const override;
private:
JUCE_DECLARE_NON_COPYABLE (CloseSubPath)
@ -129,9 +129,9 @@ public:
{
public:
LineTo (const RelativePoint& endPoint);
void addToPath (Path& path, Expression::Scope*) const;
RelativePoint* getControlPoints (int& numPoints);
ElementBase* clone() const;
void addToPath (Path& path, Expression::Scope*) const override;
RelativePoint* getControlPoints (int& numPoints) override;
ElementBase* clone() const override;
RelativePoint endPoint;
@ -146,9 +146,9 @@ public:
public:
QuadraticTo (const RelativePoint& controlPoint, const RelativePoint& endPoint);
ValueTree createTree() const;
void addToPath (Path& path, Expression::Scope*) const;
RelativePoint* getControlPoints (int& numPoints);
ElementBase* clone() const;
void addToPath (Path& path, Expression::Scope*) const override;
RelativePoint* getControlPoints (int& numPoints) override;
ElementBase* clone() const override;
RelativePoint controlPoints[2];
@ -163,9 +163,9 @@ public:
public:
CubicTo (const RelativePoint& controlPoint1, const RelativePoint& controlPoint2, const RelativePoint& endPoint);
ValueTree createTree() const;
void addToPath (Path& path, Expression::Scope*) const;
RelativePoint* getControlPoints (int& numPoints);
ElementBase* clone() const;
void addToPath (Path& path, Expression::Scope*) const override;
RelativePoint* getControlPoints (int& numPoints) override;
ElementBase* clone() const override;
RelativePoint controlPoints[3];