| @@ -521,6 +521,7 @@ | |||||
| C8441B7B3E4CCD4A257B4BFE = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_FileLogger.h; path = ../../src/core/juce_FileLogger.h; sourceTree = SOURCE_ROOT; }; | C8441B7B3E4CCD4A257B4BFE = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_FileLogger.h; path = ../../src/core/juce_FileLogger.h; sourceTree = SOURCE_ROOT; }; | ||||
| 5B789AAC295BA4BB6D5AD4A3 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = juce_Initialisation.cpp; path = ../../src/core/juce_Initialisation.cpp; sourceTree = SOURCE_ROOT; }; | 5B789AAC295BA4BB6D5AD4A3 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = juce_Initialisation.cpp; path = ../../src/core/juce_Initialisation.cpp; sourceTree = SOURCE_ROOT; }; | ||||
| 92ACFFCCCD1C85A0F8C6F80F = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_Initialisation.h; path = ../../src/core/juce_Initialisation.h; sourceTree = SOURCE_ROOT; }; | 92ACFFCCCD1C85A0F8C6F80F = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_Initialisation.h; path = ../../src/core/juce_Initialisation.h; sourceTree = SOURCE_ROOT; }; | ||||
| DFE0DF77674CB28A2485FFDF = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_LeakedObjectDetector.h; path = ../../src/core/juce_LeakedObjectDetector.h; sourceTree = SOURCE_ROOT; }; | |||||
| 4555F03DBD059EEDECEF9F85 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = juce_Logger.cpp; path = ../../src/core/juce_Logger.cpp; sourceTree = SOURCE_ROOT; }; | 4555F03DBD059EEDECEF9F85 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = juce_Logger.cpp; path = ../../src/core/juce_Logger.cpp; sourceTree = SOURCE_ROOT; }; | ||||
| 63F44EC0485FCA050814967E = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_Logger.h; path = ../../src/core/juce_Logger.h; sourceTree = SOURCE_ROOT; }; | 63F44EC0485FCA050814967E = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_Logger.h; path = ../../src/core/juce_Logger.h; sourceTree = SOURCE_ROOT; }; | ||||
| 94BDD1E20915D83AA6729D94 = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_MathsFunctions.h; path = ../../src/core/juce_MathsFunctions.h; sourceTree = SOURCE_ROOT; }; | 94BDD1E20915D83AA6729D94 = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_MathsFunctions.h; path = ../../src/core/juce_MathsFunctions.h; sourceTree = SOURCE_ROOT; }; | ||||
| @@ -1245,6 +1246,7 @@ | |||||
| C8441B7B3E4CCD4A257B4BFE, | C8441B7B3E4CCD4A257B4BFE, | ||||
| 5B789AAC295BA4BB6D5AD4A3, | 5B789AAC295BA4BB6D5AD4A3, | ||||
| 92ACFFCCCD1C85A0F8C6F80F, | 92ACFFCCCD1C85A0F8C6F80F, | ||||
| DFE0DF77674CB28A2485FFDF, | |||||
| 4555F03DBD059EEDECEF9F85, | 4555F03DBD059EEDECEF9F85, | ||||
| 63F44EC0485FCA050814967E, | 63F44EC0485FCA050814967E, | ||||
| 94BDD1E20915D83AA6729D94, | 94BDD1E20915D83AA6729D94, | ||||
| @@ -386,6 +386,7 @@ | |||||
| <File RelativePath="..\..\src\core\juce_FileLogger.h"/> | <File RelativePath="..\..\src\core\juce_FileLogger.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_Initialisation.cpp"/> | <File RelativePath="..\..\src\core\juce_Initialisation.cpp"/> | ||||
| <File RelativePath="..\..\src\core\juce_Initialisation.h"/> | <File RelativePath="..\..\src\core\juce_Initialisation.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_LeakedObjectDetector.h"/> | |||||
| <File RelativePath="..\..\src\core\juce_Logger.cpp"/> | <File RelativePath="..\..\src\core\juce_Logger.cpp"/> | ||||
| <File RelativePath="..\..\src\core\juce_Logger.h"/> | <File RelativePath="..\..\src\core\juce_Logger.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_MathsFunctions.h"/> | <File RelativePath="..\..\src\core\juce_MathsFunctions.h"/> | ||||
| @@ -386,6 +386,7 @@ | |||||
| <File RelativePath="..\..\src\core\juce_FileLogger.h"/> | <File RelativePath="..\..\src\core\juce_FileLogger.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_Initialisation.cpp"/> | <File RelativePath="..\..\src\core\juce_Initialisation.cpp"/> | ||||
| <File RelativePath="..\..\src\core\juce_Initialisation.h"/> | <File RelativePath="..\..\src\core\juce_Initialisation.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_LeakedObjectDetector.h"/> | |||||
| <File RelativePath="..\..\src\core\juce_Logger.cpp"/> | <File RelativePath="..\..\src\core\juce_Logger.cpp"/> | ||||
| <File RelativePath="..\..\src\core\juce_Logger.h"/> | <File RelativePath="..\..\src\core\juce_Logger.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_MathsFunctions.h"/> | <File RelativePath="..\..\src\core\juce_MathsFunctions.h"/> | ||||
| @@ -388,6 +388,7 @@ | |||||
| <File RelativePath="..\..\src\core\juce_FileLogger.h"/> | <File RelativePath="..\..\src\core\juce_FileLogger.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_Initialisation.cpp"/> | <File RelativePath="..\..\src\core\juce_Initialisation.cpp"/> | ||||
| <File RelativePath="..\..\src\core\juce_Initialisation.h"/> | <File RelativePath="..\..\src\core\juce_Initialisation.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_LeakedObjectDetector.h"/> | |||||
| <File RelativePath="..\..\src\core\juce_Logger.cpp"/> | <File RelativePath="..\..\src\core\juce_Logger.cpp"/> | ||||
| <File RelativePath="..\..\src\core\juce_Logger.h"/> | <File RelativePath="..\..\src\core\juce_Logger.h"/> | ||||
| <File RelativePath="..\..\src\core\juce_MathsFunctions.h"/> | <File RelativePath="..\..\src\core\juce_MathsFunctions.h"/> | ||||
| @@ -529,6 +529,7 @@ | |||||
| <ClInclude Include="..\..\src\core\juce_ByteOrder.h"/> | <ClInclude Include="..\..\src\core\juce_ByteOrder.h"/> | ||||
| <ClInclude Include="..\..\src\core\juce_FileLogger.h"/> | <ClInclude Include="..\..\src\core\juce_FileLogger.h"/> | ||||
| <ClInclude Include="..\..\src\core\juce_Initialisation.h"/> | <ClInclude Include="..\..\src\core\juce_Initialisation.h"/> | ||||
| <ClInclude Include="..\..\src\core\juce_LeakedObjectDetector.h"/> | |||||
| <ClInclude Include="..\..\src\core\juce_Logger.h"/> | <ClInclude Include="..\..\src\core\juce_Logger.h"/> | ||||
| <ClInclude Include="..\..\src\core\juce_MathsFunctions.h"/> | <ClInclude Include="..\..\src\core\juce_MathsFunctions.h"/> | ||||
| <ClInclude Include="..\..\src\core\juce_Memory.h"/> | <ClInclude Include="..\..\src\core\juce_Memory.h"/> | ||||
| @@ -1509,6 +1509,9 @@ | |||||
| <ClInclude Include="..\..\src\core\juce_Initialisation.h"> | <ClInclude Include="..\..\src\core\juce_Initialisation.h"> | ||||
| <Filter>Juce\Source\core</Filter> | <Filter>Juce\Source\core</Filter> | ||||
| </ClInclude> | </ClInclude> | ||||
| <ClInclude Include="..\..\src\core\juce_LeakedObjectDetector.h"> | |||||
| <Filter>Juce\Source\core</Filter> | |||||
| </ClInclude> | |||||
| <ClInclude Include="..\..\src\core\juce_Logger.h"> | <ClInclude Include="..\..\src\core\juce_Logger.h"> | ||||
| <Filter>Juce\Source\core</Filter> | <Filter>Juce\Source\core</Filter> | ||||
| </ClInclude> | </ClInclude> | ||||
| @@ -521,6 +521,7 @@ | |||||
| C8441B7B3E4CCD4A257B4BFE = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_FileLogger.h; path = ../../src/core/juce_FileLogger.h; sourceTree = SOURCE_ROOT; }; | C8441B7B3E4CCD4A257B4BFE = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_FileLogger.h; path = ../../src/core/juce_FileLogger.h; sourceTree = SOURCE_ROOT; }; | ||||
| 5B789AAC295BA4BB6D5AD4A3 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = juce_Initialisation.cpp; path = ../../src/core/juce_Initialisation.cpp; sourceTree = SOURCE_ROOT; }; | 5B789AAC295BA4BB6D5AD4A3 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = juce_Initialisation.cpp; path = ../../src/core/juce_Initialisation.cpp; sourceTree = SOURCE_ROOT; }; | ||||
| 92ACFFCCCD1C85A0F8C6F80F = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_Initialisation.h; path = ../../src/core/juce_Initialisation.h; sourceTree = SOURCE_ROOT; }; | 92ACFFCCCD1C85A0F8C6F80F = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_Initialisation.h; path = ../../src/core/juce_Initialisation.h; sourceTree = SOURCE_ROOT; }; | ||||
| DFE0DF77674CB28A2485FFDF = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_LeakedObjectDetector.h; path = ../../src/core/juce_LeakedObjectDetector.h; sourceTree = SOURCE_ROOT; }; | |||||
| 4555F03DBD059EEDECEF9F85 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = juce_Logger.cpp; path = ../../src/core/juce_Logger.cpp; sourceTree = SOURCE_ROOT; }; | 4555F03DBD059EEDECEF9F85 = { isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = juce_Logger.cpp; path = ../../src/core/juce_Logger.cpp; sourceTree = SOURCE_ROOT; }; | ||||
| 63F44EC0485FCA050814967E = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_Logger.h; path = ../../src/core/juce_Logger.h; sourceTree = SOURCE_ROOT; }; | 63F44EC0485FCA050814967E = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_Logger.h; path = ../../src/core/juce_Logger.h; sourceTree = SOURCE_ROOT; }; | ||||
| 94BDD1E20915D83AA6729D94 = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_MathsFunctions.h; path = ../../src/core/juce_MathsFunctions.h; sourceTree = SOURCE_ROOT; }; | 94BDD1E20915D83AA6729D94 = { isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = juce_MathsFunctions.h; path = ../../src/core/juce_MathsFunctions.h; sourceTree = SOURCE_ROOT; }; | ||||
| @@ -1245,6 +1246,7 @@ | |||||
| C8441B7B3E4CCD4A257B4BFE, | C8441B7B3E4CCD4A257B4BFE, | ||||
| 5B789AAC295BA4BB6D5AD4A3, | 5B789AAC295BA4BB6D5AD4A3, | ||||
| 92ACFFCCCD1C85A0F8C6F80F, | 92ACFFCCCD1C85A0F8C6F80F, | ||||
| DFE0DF77674CB28A2485FFDF, | |||||
| 4555F03DBD059EEDECEF9F85, | 4555F03DBD059EEDECEF9F85, | ||||
| 63F44EC0485FCA050814967E, | 63F44EC0485FCA050814967E, | ||||
| 94BDD1E20915D83AA6729D94, | 94BDD1E20915D83AA6729D94, | ||||
| @@ -427,6 +427,8 @@ | |||||
| file="src/core/juce_Initialisation.cpp"/> | file="src/core/juce_Initialisation.cpp"/> | ||||
| <FILE id="nsfdNZAs" name="juce_Initialisation.h" compile="0" resource="0" | <FILE id="nsfdNZAs" name="juce_Initialisation.h" compile="0" resource="0" | ||||
| file="src/core/juce_Initialisation.h"/> | file="src/core/juce_Initialisation.h"/> | ||||
| <FILE id="hRYAldz" name="juce_LeakedObjectDetector.h" compile="0" resource="0" | |||||
| file="src/core/juce_LeakedObjectDetector.h"/> | |||||
| <FILE id="43AWfo8b2" name="juce_Logger.cpp" compile="1" resource="0" | <FILE id="43AWfo8b2" name="juce_Logger.cpp" compile="1" resource="0" | ||||
| file="src/core/juce_Logger.cpp"/> | file="src/core/juce_Logger.cpp"/> | ||||
| <FILE id="KrXxapCit" name="juce_Logger.h" compile="0" resource="0" | <FILE id="KrXxapCit" name="juce_Logger.h" compile="0" resource="0" | ||||
| @@ -626,9 +626,9 @@ static const unsigned char temp_356ba65f[] = | |||||
| " void getStateInformation (MemoryBlock& destData);\r\n" | " void getStateInformation (MemoryBlock& destData);\r\n" | ||||
| " void setStateInformation (const void* data, int sizeInBytes);\r\n" | " void setStateInformation (const void* data, int sizeInBytes);\r\n" | ||||
| "\r\n" | "\r\n" | ||||
| "private:\r\n" | |||||
| " //==============================================================================\r\n" | " //==============================================================================\r\n" | ||||
| " juce_UseDebuggingNewOperator\r\n" | |||||
| "\r\n" | |||||
| " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FILTERCLASSNAME);\r\n" | |||||
| "};\r\n" | "};\r\n" | ||||
| "\r\n" | "\r\n" | ||||
| "#endif // HEADERGUARD\r\n"; | "#endif // HEADERGUARD\r\n"; | ||||
| @@ -855,12 +855,9 @@ static const unsigned char temp_ae1b823a[] = | |||||
| " implementation calls the superclass's method.\r\n" | " implementation calls the superclass's method.\r\n" | ||||
| " */\r\n" | " */\r\n" | ||||
| "\r\n" | "\r\n" | ||||
| " //==============================================================================\r\n" | |||||
| " juce_UseDebuggingNewOperator\r\n" | |||||
| "\r\n" | |||||
| "private:\r\n" | "private:\r\n" | ||||
| " WINDOWCLASS (const WINDOWCLASS&);\r\n" | |||||
| " WINDOWCLASS& operator= (const WINDOWCLASS&);\r\n" | |||||
| " //==============================================================================\r\n" | |||||
| " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WINDOWCLASS)\r\n" | |||||
| "};\r\n" | "};\r\n" | ||||
| "\r\n" | "\r\n" | ||||
| "\r\n" | "\r\n" | ||||
| @@ -23,7 +23,7 @@ namespace BinaryData | |||||
| const int jucer_AudioPluginFilterTemplate_cppSize = 4480; | const int jucer_AudioPluginFilterTemplate_cppSize = 4480; | ||||
| extern const char* jucer_AudioPluginFilterTemplate_h; | extern const char* jucer_AudioPluginFilterTemplate_h; | ||||
| const int jucer_AudioPluginFilterTemplate_hSize = 2382; | |||||
| const int jucer_AudioPluginFilterTemplate_hSize = 2425; | |||||
| extern const char* jucer_MainConsoleAppTemplate_cpp; | extern const char* jucer_MainConsoleAppTemplate_cpp; | ||||
| const int jucer_MainConsoleAppTemplate_cppSize = 749; | const int jucer_MainConsoleAppTemplate_cppSize = 749; | ||||
| @@ -41,7 +41,7 @@ namespace BinaryData | |||||
| const int jucer_WindowTemplate_cppSize = 794; | const int jucer_WindowTemplate_cppSize = 794; | ||||
| extern const char* jucer_WindowTemplate_h; | extern const char* jucer_WindowTemplate_h; | ||||
| const int jucer_WindowTemplate_hSize = 1290; | |||||
| const int jucer_WindowTemplate_hSize = 1229; | |||||
| extern const char* juce_icon_png; | extern const char* juce_icon_png; | ||||
| const int juce_icon_pngSize = 19826; | const int juce_icon_pngSize = 19826; | ||||
| @@ -50,15 +50,11 @@ public: | |||||
| void getCommandInfo (CommandID commandID, ApplicationCommandInfo& result); | void getCommandInfo (CommandID commandID, ApplicationCommandInfo& result); | ||||
| bool perform (const InvocationInfo& info); | bool perform (const InvocationInfo& info); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| OpenDocumentManager::Document* document; | OpenDocumentManager::Document* document; | ||||
| private: | private: | ||||
| DocumentEditorComponent (const DocumentEditorComponent&); | |||||
| DocumentEditorComponent& operator= (const DocumentEditorComponent&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DocumentEditorComponent); | |||||
| }; | }; | ||||
| @@ -41,8 +41,6 @@ public: | |||||
| void paint (Graphics& g); | void paint (Graphics& g); | ||||
| void resized(); | void resized(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| StringArray facts; | StringArray facts; | ||||
| @@ -50,6 +48,8 @@ private: | |||||
| Image image; | Image image; | ||||
| void tryToLoadImage(); | void tryToLoadImage(); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ItemPreviewComponent); | |||||
| }; | }; | ||||
| @@ -71,9 +71,6 @@ public: | |||||
| void getCommandInfo (CommandID commandID, ApplicationCommandInfo& result); | void getCommandInfo (CommandID commandID, ApplicationCommandInfo& result); | ||||
| bool perform (const InvocationInfo& info); | bool perform (const InvocationInfo& info); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ScopedPointer <Project> currentProject; | ScopedPointer <Project> currentProject; | ||||
| @@ -85,6 +82,8 @@ private: | |||||
| return "projectWindowPos_" + currentProject->getProjectUID(); | return "projectWindowPos_" + currentProject->getProjectUID(); | ||||
| } | } | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainWindow); | |||||
| }; | }; | ||||
| @@ -107,13 +107,13 @@ public: | |||||
| void registerType (DocumentType* type); | void registerType (DocumentType* type); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| OwnedArray <DocumentType> types; | OwnedArray <DocumentType> types; | ||||
| OwnedArray <Document> documents; | OwnedArray <Document> documents; | ||||
| Array <DocumentCloseListener*> listeners; | Array <DocumentCloseListener*> listeners; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OpenDocumentManager); | |||||
| }; | }; | ||||
| @@ -64,9 +64,9 @@ public: | |||||
| void getStateInformation (MemoryBlock& destData); | void getStateInformation (MemoryBlock& destData); | ||||
| void setStateInformation (const void* data, int sizeInBytes); | void setStateInformation (const void* data, int sizeInBytes); | ||||
| private: | |||||
| //============================================================================== | //============================================================================== | ||||
| juce_UseDebuggingNewOperator | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FILTERCLASSNAME); | |||||
| }; | }; | ||||
| #endif // HEADERGUARD | #endif // HEADERGUARD | ||||
| @@ -32,12 +32,9 @@ public: | |||||
| implementation calls the superclass's method. | implementation calls the superclass's method. | ||||
| */ | */ | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| WINDOWCLASS (const WINDOWCLASS&); | |||||
| WINDOWCLASS& operator= (const WINDOWCLASS&); | |||||
| //============================================================================== | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WINDOWCLASS) | |||||
| }; | }; | ||||
| @@ -48,11 +48,10 @@ public: | |||||
| void resized(); | void resized(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| CodeEditorComponent editor; | CodeEditorComponent editor; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SourceCodeEditor); | |||||
| }; | }; | ||||
| @@ -95,7 +95,7 @@ public: | |||||
| { | { | ||||
| int x = getHeight() + 6; | int x = getHeight() + 6; | ||||
| item.getIcon()->drawWithin (g, Rectangle<float> (2, 2, x - 4, getHeight() - 4), | |||||
| item.getIcon()->drawWithin (g, Rectangle<float> (2.0f, 2.0f, x - 4.0f, getHeight() - 4.0f), | |||||
| RectanglePlacement::centred | RectanglePlacement::onlyReduceInSize, 1.0f); | RectanglePlacement::centred | RectanglePlacement::onlyReduceInSize, 1.0f); | ||||
| g.setColour (Colours::black); | g.setColour (Colours::black); | ||||
| @@ -52,16 +52,11 @@ public: | |||||
| void valueTreeChildrenChanged (ValueTree& treeWhoseChildHasChanged); | void valueTreeChildrenChanged (ValueTree& treeWhoseChildHasChanged); | ||||
| void valueTreeParentChanged (ValueTree& treeWhoseParentHasChanged); | void valueTreeParentChanged (ValueTree& treeWhoseParentHasChanged); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| Project::Item item; | Project::Item item; | ||||
| ListBox list; | ListBox list; | ||||
| //============================================================================== | |||||
| GroupInformationComponent (const GroupInformationComponent&); | |||||
| const GroupInformationComponent& operator= (const GroupInformationComponent&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GroupInformationComponent); | |||||
| }; | }; | ||||
| @@ -65,9 +65,6 @@ public: | |||||
| bool isCommandActive (const CommandID commandID); | bool isCommandActive (const CommandID commandID); | ||||
| bool perform (const InvocationInfo& info); | bool perform (const InvocationInfo& info); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ScopedPointer<TreeView> projectTree; | ScopedPointer<TreeView> projectTree; | ||||
| Project* project; | Project* project; | ||||
| @@ -77,6 +74,8 @@ private: | |||||
| ScopedPointer<StretchableLayoutResizerBar> resizerBar; | ScopedPointer<StretchableLayoutResizerBar> resizerBar; | ||||
| void updateMainWindowTitle(); | void updateMainWindowTitle(); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProjectContentComponent); | |||||
| }; | }; | ||||
| @@ -351,14 +351,14 @@ protected: | |||||
| if (++count == 8) | if (++count == 8) | ||||
| { | { | ||||
| dataBlock.writeByte (mask); | |||||
| dataBlock.writeByte ((char) mask); | |||||
| count = 0; | count = 0; | ||||
| mask = 0; | mask = 0; | ||||
| } | } | ||||
| } | } | ||||
| if (mask != 0) | if (mask != 0) | ||||
| dataBlock.writeByte (mask); | |||||
| dataBlock.writeByte ((char) mask); | |||||
| for (int i = maskStride - w / 8; --i >= 0;) | for (int i = maskStride - w / 8; --i >= 0;) | ||||
| dataBlock.writeByte (0); | dataBlock.writeByte (0); | ||||
| @@ -7,7 +7,7 @@ | |||||
| the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded | the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded | ||||
| and re-saved. | and re-saved. | ||||
| Created for JUCE version: JUCE v1.52.92 | |||||
| Created for JUCE version: JUCE v1.52.97 | |||||
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ||||
| @@ -7,7 +7,7 @@ | |||||
| the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded | the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded | ||||
| and re-saved. | and re-saved. | ||||
| Created for JUCE version: JUCE v1.52.92 | |||||
| Created for JUCE version: JUCE v1.52.97 | |||||
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ||||
| @@ -51,10 +51,8 @@ public: | |||||
| void paint (Graphics& g); | void paint (Graphics& g); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| //[UserVariables] -- You can add your own custom variables in this section. | //[UserVariables] -- You can add your own custom variables in this section. | ||||
| Project& project; | Project& project; | ||||
| @@ -72,9 +70,7 @@ private: | |||||
| TextButton saveAndOpenButton; | TextButton saveAndOpenButton; | ||||
| //============================================================================== | //============================================================================== | ||||
| // (prevent copy constructor and operator= being generated..) | |||||
| ProjectInformationComponent (const ProjectInformationComponent&); | |||||
| ProjectInformationComponent& operator= (const ProjectInformationComponent&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProjectInformationComponent); | |||||
| }; | }; | ||||
| @@ -134,11 +134,8 @@ public: | |||||
| { | { | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| JucerToolbarButton (const JucerToolbarButton&); | |||||
| JucerToolbarButton& operator= (const JucerToolbarButton&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (JucerToolbarButton); | |||||
| }; | }; | ||||
| @@ -235,8 +232,6 @@ public: | |||||
| /** @internal */ | /** @internal */ | ||||
| void handleAsyncUpdate(); | void handleAsyncUpdate(); | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| struct ComponentPosition | struct ComponentPosition | ||||
| @@ -260,6 +255,5 @@ private: | |||||
| OwnedArray <ComponentPosition> components; | OwnedArray <ComponentPosition> components; | ||||
| OwnedArray <MarkerPosition> markers; | OwnedArray <MarkerPosition> markers; | ||||
| RelativeRectangleLayoutManager (const RelativeRectangleLayoutManager&); | |||||
| RelativeRectangleLayoutManager& operator= (const RelativeRectangleLayoutManager&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (RelativeRectangleLayoutManager); | |||||
| }; | }; | ||||
| @@ -73,8 +73,6 @@ public: | |||||
| const Image getFallbackImage(); | const Image getFallbackImage(); | ||||
| const Drawable* getImageFileIcon(); | const Drawable* getImageFileIcon(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ScopedPointer<PropertiesFile> props; | ScopedPointer<PropertiesFile> props; | ||||
| @@ -82,6 +80,8 @@ private: | |||||
| ScopedPointer<Drawable> imageFileIcon; | ScopedPointer<Drawable> imageFileIcon; | ||||
| Image fallbackImage; | Image fallbackImage; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StoredSettings); | |||||
| }; | }; | ||||
| @@ -41,8 +41,6 @@ public: | |||||
| sourceValue.addListener (this); | sourceValue.addListener (this); | ||||
| } | } | ||||
| ~NumericValueSource() {} | |||||
| void valueChanged (Value&) { sendChangeMessage (true); } | void valueChanged (Value&) { sendChangeMessage (true); } | ||||
| const var getValue() const { return (Type) sourceValue.getValue(); } | const var getValue() const { return (Type) sourceValue.getValue(); } | ||||
| @@ -55,13 +53,10 @@ public: | |||||
| } | } | ||||
| //============================================================================== | //============================================================================== | ||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| Value sourceValue; | Value sourceValue; | ||||
| NumericValueSource (const NumericValueSource&); | |||||
| const NumericValueSource& operator= (const NumericValueSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NumericValueSource); | |||||
| }; | }; | ||||
| @@ -65,14 +65,11 @@ public: | |||||
| void endDraggingConnector (const MouseEvent& e); | void endDraggingConnector (const MouseEvent& e); | ||||
| //============================================================================== | //============================================================================== | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| FilterGraph& graph; | FilterGraph& graph; | ||||
| ConnectorComponent* draggingConnector; | ConnectorComponent* draggingConnector; | ||||
| GraphEditorPanel (const GraphEditorPanel&); | |||||
| GraphEditorPanel& operator= (const GraphEditorPanel&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GraphEditorPanel); | |||||
| }; | }; | ||||
| @@ -98,10 +95,8 @@ public: | |||||
| //============================================================================== | //============================================================================== | ||||
| void resized(); | void resized(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| AudioDeviceManager* deviceManager; | AudioDeviceManager* deviceManager; | ||||
| AudioProcessorPlayer graphPlayer; | AudioProcessorPlayer graphPlayer; | ||||
| MidiKeyboardState keyState; | MidiKeyboardState keyState; | ||||
| @@ -109,6 +104,8 @@ private: | |||||
| GraphEditorPanel* graphPanel; | GraphEditorPanel* graphPanel; | ||||
| Component* keyboardComp; | Component* keyboardComp; | ||||
| Component* statusBar; | Component* statusBar; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GraphDocumentComponent); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -403,14 +403,15 @@ public: | |||||
| return true; | return true; | ||||
| } | } | ||||
| #endif | #endif | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| void* const hostWindow; | void* const hostWindow; | ||||
| void* nsWindow; | void* nsWindow; | ||||
| JuceCustomUIView* const owner; | JuceCustomUIView* const owner; | ||||
| int titleW, titleH; | int titleW, titleH; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (EditorCompWrapper); | |||||
| }; | }; | ||||
| }; | }; | ||||
| @@ -58,12 +58,11 @@ public: | |||||
| */ | */ | ||||
| void setFilter (AudioProcessor* filterToStream); | void setFilter (AudioProcessor* filterToStream); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| ScopedPointer <AudioProcessorPlayer> player; | ScopedPointer <AudioProcessorPlayer> player; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFilterStreamingDeviceManager); | |||||
| }; | }; | ||||
| @@ -74,8 +74,6 @@ public: | |||||
| /** @internal */ | /** @internal */ | ||||
| void resized(); | void resized(); | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ScopedPointer<AudioProcessor> filter; | ScopedPointer<AudioProcessor> filter; | ||||
| ScopedPointer<AudioFilterStreamingDeviceManager> deviceManager; | ScopedPointer<AudioFilterStreamingDeviceManager> deviceManager; | ||||
| @@ -83,8 +81,7 @@ private: | |||||
| void deleteFilter(); | void deleteFilter(); | ||||
| StandaloneFilterWindow (const StandaloneFilterWindow&); | |||||
| StandaloneFilterWindow& operator= (const StandaloneFilterWindow&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StandaloneFilterWindow); | |||||
| }; | }; | ||||
| #endif // __JUCE_STANDALONEFILTERWINDOW_JUCEHEADER__ | #endif // __JUCE_STANDALONEFILTERWINDOW_JUCEHEADER__ | ||||
| @@ -1374,17 +1374,15 @@ public: | |||||
| } | } | ||||
| #endif | #endif | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| JuceVSTWrapper& wrapper; | JuceVSTWrapper& wrapper; | ||||
| ScopedPointer<AudioProcessorEditor> editor; | ScopedPointer<AudioProcessorEditor> editor; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (EditorCompWrapper); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| AudioProcessor* filter; | AudioProcessor* filter; | ||||
| JUCE_NAMESPACE::MemoryBlock chunkMemory; | JUCE_NAMESPACE::MemoryBlock chunkMemory; | ||||
| @@ -1465,6 +1463,8 @@ private: | |||||
| #else | #else | ||||
| HWND hostWindow; | HWND hostWindow; | ||||
| #endif | #endif | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (JuceVSTWrapper); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -450,8 +450,6 @@ public: | |||||
| return true; | return true; | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| MainDemoWindow* mainWindow; | MainDemoWindow* mainWindow; | ||||
| @@ -486,6 +484,8 @@ private: | |||||
| useNativeMenus = 0x200e, | useNativeMenus = 0x200e, | ||||
| goToKioskMode = 0x200f | goToKioskMode = 0x200f | ||||
| }; | }; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ContentComp); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -69,9 +69,6 @@ public: | |||||
| fileChooser.setBounds (10, 10, getWidth() - 20, 25); | fileChooser.setBounds (10, 10, getWidth() - 20, 25); | ||||
| } | } | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| // this is the document that the editor component is showing | // this is the document that the editor component is showing | ||||
| CodeDocument codeDocument; | CodeDocument codeDocument; | ||||
| @@ -83,6 +80,8 @@ private: | |||||
| ScopedPointer<CodeEditorComponent> editor; | ScopedPointer<CodeEditorComponent> editor; | ||||
| FilenameComponent fileChooser; | FilenameComponent fileChooser; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CodeEditorDemo); | |||||
| }; | }; | ||||
| @@ -231,14 +231,11 @@ public: | |||||
| target.setBounds (getWidth() - 260, getHeight() - 160, 250, 150); | target.setBounds (getWidth() - 260, getHeight() - 160, 250, 150); | ||||
| } | } | ||||
| //============================================================================== | |||||
| // (need to put this in to disambiguate the new/delete operators used in the | |||||
| // two base classes). | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| DragAndDropDemoSource source; | DragAndDropDemoSource source; | ||||
| DragAndDropDemoTarget target; | DragAndDropDemoTarget target; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DragAndDropDemo); | |||||
| }; | }; | ||||
| @@ -294,9 +294,6 @@ public: | |||||
| OwnedArray <DemoInterprocessConnection, CriticalSection> activeConnections; | OwnedArray <DemoInterprocessConnection, CriticalSection> activeConnections; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ComboBox modeSelector; | ComboBox modeSelector; | ||||
| TextButton sendButton; | TextButton sendButton; | ||||
| @@ -304,6 +301,8 @@ private: | |||||
| Label modeLabel, pipeLabel, numberLabel, hostLabel; | Label modeLabel, pipeLabel, numberLabel, hostLabel; | ||||
| ScopedPointer<DemoInterprocessConnectionServer> server; | ScopedPointer<DemoInterprocessConnectionServer> server; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (InterprocessCommsDemo); | |||||
| }; | }; | ||||
| @@ -194,8 +194,6 @@ public: | |||||
| table.setBoundsInset (BorderSize (8)); | table.setBoundsInset (BorderSize (8)); | ||||
| } | } | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| TableListBox table; // the table component itself | TableListBox table; // the table component itself | ||||
| @@ -311,6 +309,8 @@ private: | |||||
| return String::empty; | return String::empty; | ||||
| } | } | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TableDemoComponent); | |||||
| }; | }; | ||||
| @@ -29,11 +29,6 @@ | |||||
| //============================================================================== | //============================================================================== | ||||
| class BouncingBallComp : public Component | class BouncingBallComp : public Component | ||||
| { | { | ||||
| float x, y, size, dx, dy, w, h, parentWidth, parentHeight; | |||||
| float innerX, innerY; | |||||
| Colour colour; | |||||
| Thread::ThreadID threadId; | |||||
| public: | public: | ||||
| BouncingBallComp() | BouncingBallComp() | ||||
| { | { | ||||
| @@ -110,7 +105,13 @@ public: | |||||
| repaint(); | repaint(); | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| float x, y, size, dx, dy, w, h, parentWidth, parentHeight; | |||||
| float innerX, innerY; | |||||
| Colour colour; | |||||
| Thread::ThreadID threadId; | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BouncingBallComp); | |||||
| }; | }; | ||||
| @@ -118,8 +119,6 @@ public: | |||||
| class DemoThread : public BouncingBallComp, | class DemoThread : public BouncingBallComp, | ||||
| public Thread | public Thread | ||||
| { | { | ||||
| int interval; | |||||
| public: | public: | ||||
| DemoThread() | DemoThread() | ||||
| : Thread ("Juce Demo Thread") | : Thread ("Juce Demo Thread") | ||||
| @@ -161,7 +160,10 @@ public: | |||||
| } | } | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| int interval; | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DemoThread); | |||||
| }; | }; | ||||
| @@ -205,7 +207,8 @@ public: | |||||
| // In this case there's no need to do anything here. | // In this case there's no need to do anything here. | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DemoThreadPoolJob); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -238,8 +238,6 @@ public: | |||||
| } | } | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ScopedPointer <XmlElement> treeXml; | ScopedPointer <XmlElement> treeXml; | ||||
| @@ -251,6 +249,8 @@ private: | |||||
| TimeSliceThread thread; | TimeSliceThread thread; | ||||
| TextButton typeButton; | TextButton typeButton; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TreeViewDemo); | |||||
| }; | }; | ||||
| @@ -52,14 +52,10 @@ public: | |||||
| return true; | return true; | ||||
| } | } | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| TextEditor& addressTextBox; | TextEditor& addressTextBox; | ||||
| DemoBrowserComponent (DemoBrowserComponent&); | |||||
| DemoBrowserComponent& operator= (const DemoBrowserComponent&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DemoBrowserComponent); | |||||
| }; | }; | ||||
| @@ -129,13 +125,13 @@ public: | |||||
| webView->goToURL (addressTextBox.getText()); | webView->goToURL (addressTextBox.getText()); | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ScopedPointer<DemoBrowserComponent> webView; | ScopedPointer<DemoBrowserComponent> webView; | ||||
| TextEditor addressTextBox; | TextEditor addressTextBox; | ||||
| TextButton goButton, backButton, forwardButton; | TextButton goButton, backButton, forwardButton; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WebBrowserDemo); | |||||
| }; | }; | ||||
| @@ -107,9 +107,9 @@ public: | |||||
| { | { | ||||
| } | } | ||||
| void mouseDown (const MouseEvent&) | |||||
| void mouseDown (const MouseEvent& e) | |||||
| { | { | ||||
| dragger.startDraggingComponent (this, 0); | |||||
| dragger.startDraggingComponent (this, e, 0); | |||||
| } | } | ||||
| void mouseDrag (const MouseEvent& e) | void mouseDrag (const MouseEvent& e) | ||||
| @@ -61,6 +61,11 @@ BEGIN_JUCE_NAMESPACE | |||||
| #pragma pack (pop) | #pragma pack (pop) | ||||
| #endif | #endif | ||||
| #if JUCE_DLL | |||||
| #undef JUCE_LEAK_DETECTOR(OwnerClass) | |||||
| #define JUCE_LEAK_DETECTOR(OwnerClass) | |||||
| #endif | |||||
| END_JUCE_NAMESPACE | END_JUCE_NAMESPACE | ||||
| @@ -274,10 +274,11 @@ | |||||
| #endif | #endif | ||||
| //============================================================================= | //============================================================================= | ||||
| /** JUCE_CHECK_MEMORY_LEAKS: Enables a memory-leak check when an app terminates. | |||||
| (Currently, this only affects Windows builds in debug mode). | |||||
| /** JUCE_CHECK_MEMORY_LEAKS: Enables a memory-leak check for certain objects when | |||||
| the app terminates. See the LeakedObjectDetector class and the JUCE_LEAK_DETECTOR | |||||
| macro for more details about enabling leak checking for specific classes. | |||||
| */ | */ | ||||
| #ifndef JUCE_CHECK_MEMORY_LEAKS | |||||
| #if JUCE_DEBUG && ! defined (JUCE_CHECK_MEMORY_LEAKS) | |||||
| #define JUCE_CHECK_MEMORY_LEAKS 1 | #define JUCE_CHECK_MEMORY_LEAKS 1 | ||||
| #endif | #endif | ||||
| @@ -313,9 +313,6 @@ public: | |||||
| static ApplicationCommandTarget* findTargetForComponent (Component* component); | static ApplicationCommandTarget* findTargetForComponent (Component* component); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| OwnedArray <ApplicationCommandInfo> commands; | OwnedArray <ApplicationCommandInfo> commands; | ||||
| @@ -333,8 +330,7 @@ private: | |||||
| virtual short getFirstCommandTarget() { return 0; } | virtual short getFirstCommandTarget() { return 0; } | ||||
| #endif | #endif | ||||
| ApplicationCommandManager (const ApplicationCommandManager&); | |||||
| ApplicationCommandManager& operator= (const ApplicationCommandManager&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ApplicationCommandManager); | |||||
| }; | }; | ||||
| @@ -233,10 +233,8 @@ public: | |||||
| */ | */ | ||||
| ApplicationCommandTarget* findFirstTargetParentComponent(); | ApplicationCommandTarget* findFirstTargetParentComponent(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| // (for async invocation of commands) | // (for async invocation of commands) | ||||
| class CommandTargetMessageInvoker : public MessageListener | class CommandTargetMessageInvoker : public MessageListener | ||||
| { | { | ||||
| @@ -258,8 +256,7 @@ private: | |||||
| friend class CommandTargetMessageInvoker; | friend class CommandTargetMessageInvoker; | ||||
| bool tryToInvoke (const InvocationInfo& info, bool async); | bool tryToInvoke (const InvocationInfo& info, bool async); | ||||
| ApplicationCommandTarget (const ApplicationCommandTarget&); | |||||
| ApplicationCommandTarget& operator= (const ApplicationCommandTarget&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ApplicationCommandTarget); | |||||
| }; | }; | ||||
| @@ -144,9 +144,6 @@ public: | |||||
| void closeFiles(); | void closeFiles(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| ScopedPointer <PropertiesFile> userProps, commonProps; | ScopedPointer <PropertiesFile> userProps, commonProps; | ||||
| @@ -156,10 +153,9 @@ private: | |||||
| int commonSettingsAreReadOnly; | int commonSettingsAreReadOnly; | ||||
| InterProcessLock* processLock; | InterProcessLock* processLock; | ||||
| ApplicationProperties (const ApplicationProperties&); | |||||
| ApplicationProperties& operator= (const ApplicationProperties&); | |||||
| void openFiles(); | void openFiles(); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ApplicationProperties); | |||||
| }; | }; | ||||
| @@ -214,13 +214,10 @@ public: | |||||
| return true; | return true; | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| AiffAudioFormatReader (const AiffAudioFormatReader&); | |||||
| AiffAudioFormatReader& operator= (const AiffAudioFormatReader&); | |||||
| static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } | static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AiffAudioFormatReader); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -285,8 +282,6 @@ public: | |||||
| } | } | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| MemoryBlock tempBlock; | MemoryBlock tempBlock; | ||||
| uint32 lengthInSamples, bytesWritten; | uint32 lengthInSamples, bytesWritten; | ||||
| @@ -295,9 +290,6 @@ private: | |||||
| static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } | static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } | ||||
| AiffAudioFormatWriter (const AiffAudioFormatWriter&); | |||||
| AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&); | |||||
| void writeHeader() | void writeHeader() | ||||
| { | { | ||||
| const bool couldSeekOk = output->setPosition (headerPosition); | const bool couldSeekOk = output->setPosition (headerPosition); | ||||
| @@ -371,6 +363,8 @@ private: | |||||
| jassert (output->getPosition() == headerLen); | jassert (output->getPosition() == headerLen); | ||||
| } | } | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AiffAudioFormatWriter); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -66,8 +66,8 @@ public: | |||||
| int qualityOptionIndex); | int qualityOptionIndex); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| JUCE_LEAK_DETECTOR (AiffAudioFormat); | |||||
| }; | }; | ||||
| @@ -157,15 +157,15 @@ public: | |||||
| */ | */ | ||||
| void abortBurn(); | void abortBurn(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| AudioCDBurner (const int deviceIndex); | AudioCDBurner (const int deviceIndex); | ||||
| class Pimpl; | class Pimpl; | ||||
| friend class ScopedPointer<Pimpl>; | friend class ScopedPointer<Pimpl>; | ||||
| ScopedPointer<Pimpl> pimpl; | ScopedPointer<Pimpl> pimpl; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioCDBurner); | |||||
| }; | }; | ||||
| @@ -159,10 +159,8 @@ public: | |||||
| samplesPerFrame = 44100 / framesPerSecond | samplesPerFrame = 44100 / framesPerSecond | ||||
| }; | }; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| Array<int> trackStartSamples; | Array<int> trackStartSamples; | ||||
| #if JUCE_MAC | #if JUCE_MAC | ||||
| @@ -185,8 +183,7 @@ private: | |||||
| AudioCDReader(); | AudioCDReader(); | ||||
| #endif | #endif | ||||
| AudioCDReader (const AudioCDReader&); | |||||
| AudioCDReader& operator= (const AudioCDReader&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioCDReader); | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -133,12 +133,12 @@ public: | |||||
| */ | */ | ||||
| AudioFormatReader* createReaderFor (InputStream* audioFileStream); | AudioFormatReader* createReaderFor (InputStream* audioFileStream); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| OwnedArray<AudioFormat> knownFormats; | OwnedArray<AudioFormat> knownFormats; | ||||
| int defaultFormatIndex; | int defaultFormatIndex; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFormatManager); | |||||
| }; | }; | ||||
| @@ -216,10 +216,8 @@ public: | |||||
| int numSamples) = 0; | int numSamples) = 0; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| //============================================================================== | |||||
| /** Used by AudioFormatReader subclasses to copy data to different formats. */ | /** Used by AudioFormatReader subclasses to copy data to different formats. */ | ||||
| template <class DestSampleType, class SourceSampleType, class SourceEndianness> | template <class DestSampleType, class SourceSampleType, class SourceEndianness> | ||||
| struct ReadHelper | struct ReadHelper | ||||
| @@ -248,8 +246,7 @@ protected: | |||||
| private: | private: | ||||
| String formatName; | String formatName; | ||||
| AudioFormatReader (const AudioFormatReader&); | |||||
| AudioFormatReader& operator= (const AudioFormatReader&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFormatReader); | |||||
| }; | }; | ||||
| @@ -192,10 +192,8 @@ public: | |||||
| ScopedPointer<Buffer> buffer; | ScopedPointer<Buffer> buffer; | ||||
| }; | }; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| //============================================================================== | |||||
| /** The sample rate of the stream. */ | /** The sample rate of the stream. */ | ||||
| double sampleRate; | double sampleRate; | ||||
| @@ -241,8 +239,7 @@ private: | |||||
| String formatName; | String formatName; | ||||
| friend class ThreadedWriter; | friend class ThreadedWriter; | ||||
| AudioFormatWriter (const AudioFormatWriter&); | |||||
| AudioFormatWriter& operator= (const AudioFormatWriter&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFormatWriter); | |||||
| }; | }; | ||||
| @@ -78,16 +78,13 @@ public: | |||||
| float& highestRight); | float& highestRight); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| AudioFormatReader* const source; | AudioFormatReader* const source; | ||||
| int64 startSample, length; | int64 startSample, length; | ||||
| const bool deleteSourceWhenDeleted; | const bool deleteSourceWhenDeleted; | ||||
| AudioSubsectionReader (const AudioSubsectionReader&); | |||||
| AudioSubsectionReader& operator= (const AudioSubsectionReader&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioSubsectionReader); | |||||
| }; | }; | ||||
| #endif // __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__ | #endif // __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__ | ||||
| @@ -164,10 +164,8 @@ public: | |||||
| /** @internal */ | /** @internal */ | ||||
| void timerCallback(); | void timerCallback(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| AudioFormatManager& formatManagerToUse; | AudioFormatManager& formatManagerToUse; | ||||
| AudioThumbnailCache& cache; | AudioThumbnailCache& cache; | ||||
| ScopedPointer <InputSource> source; | ScopedPointer <InputSource> source; | ||||
| @@ -194,6 +192,8 @@ private: | |||||
| // returns true if more needs to be read | // returns true if more needs to be read | ||||
| bool readNextBlockFromAudioFile (AudioFormatReader& reader); | bool readNextBlockFromAudioFile (AudioFormatReader& reader); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioThumbnail); | |||||
| }; | }; | ||||
| @@ -39,7 +39,7 @@ struct ThumbnailCacheEntry | |||||
| uint32 lastUsed; | uint32 lastUsed; | ||||
| MemoryBlock data; | MemoryBlock data; | ||||
| juce_UseDebuggingNewOperator | |||||
| JUCE_LEAK_DETECTOR (ThumbnailCacheEntry); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -75,9 +75,6 @@ public: | |||||
| void storeThumb (const AudioThumbnail& thumb, int64 hashCode); | void storeThumb (const AudioThumbnail& thumb, int64 hashCode); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| OwnedArray <ThumbnailCacheEntry> thumbs; | OwnedArray <ThumbnailCacheEntry> thumbs; | ||||
| @@ -86,6 +83,8 @@ private: | |||||
| friend class AudioThumbnail; | friend class AudioThumbnail; | ||||
| void addThumbnail (AudioThumbnail* thumb); | void addThumbnail (AudioThumbnail* thumb); | ||||
| void removeThumbnail (AudioThumbnail* thumb); | void removeThumbnail (AudioThumbnail* thumb); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioThumbnailCache); | |||||
| }; | }; | ||||
| @@ -297,16 +297,13 @@ public: | |||||
| { | { | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| FlacNamespace::FLAC__StreamDecoder* decoder; | FlacNamespace::FLAC__StreamDecoder* decoder; | ||||
| AudioSampleBuffer reservoir; | AudioSampleBuffer reservoir; | ||||
| int reservoirStart, samplesInReservoir; | int reservoirStart, samplesInReservoir; | ||||
| bool ok, scanningForLength; | bool ok, scanningForLength; | ||||
| FlacReader (const FlacReader&); | |||||
| FlacReader& operator= (const FlacReader&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FlacReader); | |||||
| }; | }; | ||||
| @@ -470,15 +467,12 @@ public: | |||||
| static_cast <FlacWriter*> (client_data)->writeMetaData (metadata); | static_cast <FlacWriter*> (client_data)->writeMetaData (metadata); | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| bool ok; | bool ok; | ||||
| private: | private: | ||||
| FlacNamespace::FLAC__StreamEncoder* encoder; | FlacNamespace::FLAC__StreamEncoder* encoder; | ||||
| FlacWriter (const FlacWriter&); | |||||
| FlacWriter& operator= (const FlacWriter&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FlacWriter); | |||||
| }; | }; | ||||
| @@ -66,8 +66,8 @@ public: | |||||
| const StringPairArray& metadataValues, | const StringPairArray& metadataValues, | ||||
| int qualityOptionIndex); | int qualityOptionIndex); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| JUCE_LEAK_DETECTOR (FlacAudioFormat); | |||||
| }; | }; | ||||
| @@ -241,7 +241,8 @@ public: | |||||
| return (long) static_cast <InputStream*> (datasource)->getPosition(); | return (long) static_cast <InputStream*> (datasource)->getPosition(); | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OggReader); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -389,7 +390,8 @@ public: | |||||
| return true; | return true; | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OggWriter); | |||||
| }; | }; | ||||
| @@ -79,8 +79,8 @@ public: | |||||
| const StringPairArray& metadataValues, | const StringPairArray& metadataValues, | ||||
| int qualityOptionIndex); | int qualityOptionIndex); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| JUCE_LEAK_DETECTOR (OggVorbisAudioFormat); | |||||
| }; | }; | ||||
| @@ -305,8 +305,6 @@ public: | |||||
| return ok; | return ok; | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| bool ok; | bool ok; | ||||
| private: | private: | ||||
| @@ -341,8 +339,7 @@ private: | |||||
| #endif | #endif | ||||
| } | } | ||||
| QTAudioReader (const QTAudioReader&); | |||||
| QTAudioReader& operator= (const QTAudioReader&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (QTAudioReader); | |||||
| }; | }; | ||||
| @@ -67,8 +67,8 @@ public: | |||||
| int qualityOptionIndex); | int qualityOptionIndex); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| JUCE_LEAK_DETECTOR (QuickTimeAudioFormat); | |||||
| }; | }; | ||||
| @@ -428,8 +428,6 @@ public: | |||||
| int64 bwavChunkStart, bwavSize; | int64 bwavChunkStart, bwavSize; | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ScopedPointer<AudioData::Converter> converter; | ScopedPointer<AudioData::Converter> converter; | ||||
| int bytesPerFrame; | int bytesPerFrame; | ||||
| @@ -437,8 +435,7 @@ private: | |||||
| static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } | static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } | ||||
| WavAudioFormatReader (const WavAudioFormatReader&); | |||||
| WavAudioFormatReader& operator= (const WavAudioFormatReader&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WavAudioFormatReader); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -514,8 +511,6 @@ public: | |||||
| } | } | ||||
| } | } | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| ScopedPointer<AudioData::Converter> converter; | ScopedPointer<AudioData::Converter> converter; | ||||
| MemoryBlock tempBlock, bwavChunk, smplChunk; | MemoryBlock tempBlock, bwavChunk, smplChunk; | ||||
| @@ -570,8 +565,7 @@ private: | |||||
| usesFloatingPointData = (bitsPerSample == 32); | usesFloatingPointData = (bitsPerSample == 32); | ||||
| } | } | ||||
| WavAudioFormatWriter (const WavAudioFormatWriter&); | |||||
| WavAudioFormatWriter& operator= (const WavAudioFormatWriter&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WavAudioFormatWriter); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -143,8 +143,9 @@ public: | |||||
| */ | */ | ||||
| bool replaceMetadataInFile (const File& wavFile, const StringPairArray& newMetadata); | bool replaceMetadataInFile (const File& wavFile, const StringPairArray& newMetadata); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | |||||
| JUCE_LEAK_DETECTOR (WavAudioFormat); | |||||
| }; | }; | ||||
| @@ -91,11 +91,8 @@ public: | |||||
| /** Implements the PositionableAudioSource method. */ | /** Implements the PositionableAudioSource method. */ | ||||
| int getTotalLength() const; | int getTotalLength() const; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| AudioFormatReader* reader; | AudioFormatReader* reader; | ||||
| bool deleteReader; | bool deleteReader; | ||||
| @@ -104,8 +101,7 @@ private: | |||||
| void readBufferSection (int start, int length, AudioSampleBuffer& buffer, int startSample); | void readBufferSection (int start, int length, AudioSampleBuffer& buffer, int startSample); | ||||
| AudioFormatReaderSource (const AudioFormatReaderSource&); | |||||
| AudioFormatReaderSource& operator= (const AudioFormatReaderSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFormatReaderSource); | |||||
| }; | }; | ||||
| @@ -98,9 +98,6 @@ public: | |||||
| /** Implementation of the AudioIODeviceCallback method. */ | /** Implementation of the AudioIODeviceCallback method. */ | ||||
| void audioDeviceStopped(); | void audioDeviceStopped(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| CriticalSection readLock; | CriticalSection readLock; | ||||
| @@ -113,8 +110,7 @@ private: | |||||
| AudioSampleBuffer tempBuffer; | AudioSampleBuffer tempBuffer; | ||||
| float lastGain, gain; | float lastGain, gain; | ||||
| AudioSourcePlayer (const AudioSourcePlayer&); | |||||
| AudioSourcePlayer& operator= (const AudioSourcePlayer&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioSourcePlayer); | |||||
| }; | }; | ||||
| @@ -156,10 +156,8 @@ public: | |||||
| /** Implements the PositionableAudioSource method. */ | /** Implements the PositionableAudioSource method. */ | ||||
| bool isLooping() const; | bool isLooping() const; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| PositionableAudioSource* source; | PositionableAudioSource* source; | ||||
| ResamplingAudioSource* resamplerSource; | ResamplingAudioSource* resamplerSource; | ||||
| BufferingAudioSource* bufferingSource; | BufferingAudioSource* bufferingSource; | ||||
| @@ -173,8 +171,7 @@ private: | |||||
| int blockSize, readAheadBufferSize; | int blockSize, readAheadBufferSize; | ||||
| bool isPrepared, inputStreamEOF; | bool isPrepared, inputStreamEOF; | ||||
| AudioTransportSource (const AudioTransportSource&); | |||||
| AudioTransportSource& operator= (const AudioTransportSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioTransportSource); | |||||
| }; | }; | ||||
| @@ -86,9 +86,6 @@ public: | |||||
| /** Implements the PositionableAudioSource method. */ | /** Implements the PositionableAudioSource method. */ | ||||
| bool isLooping() const { return source->isLooping(); } | bool isLooping() const { return source->isLooping(); } | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| PositionableAudioSource* source; | PositionableAudioSource* source; | ||||
| @@ -104,8 +101,7 @@ private: | |||||
| bool readNextBufferChunk(); | bool readNextBufferChunk(); | ||||
| void readBufferSection (int start, int length, int bufferOffset); | void readBufferSection (int start, int length, int bufferOffset); | ||||
| BufferingAudioSource (const BufferingAudioSource&); | |||||
| BufferingAudioSource& operator= (const BufferingAudioSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BufferingAudioSource); | |||||
| }; | }; | ||||
| @@ -133,10 +133,8 @@ public: | |||||
| void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| int requiredNumberOfChannels; | int requiredNumberOfChannels; | ||||
| Array <int> remappedInputs, remappedOutputs; | Array <int> remappedInputs, remappedOutputs; | ||||
| @@ -148,8 +146,7 @@ private: | |||||
| CriticalSection lock; | CriticalSection lock; | ||||
| ChannelRemappingAudioSource (const ChannelRemappingAudioSource&); | |||||
| ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ChannelRemappingAudioSource); | |||||
| }; | }; | ||||
| @@ -62,17 +62,13 @@ public: | |||||
| void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| AudioSource* const input; | AudioSource* const input; | ||||
| const bool deleteInputWhenDeleted; | const bool deleteInputWhenDeleted; | ||||
| OwnedArray <IIRFilter> iirFilters; | OwnedArray <IIRFilter> iirFilters; | ||||
| IIRFilterAudioSource (const IIRFilterAudioSource&); | |||||
| IIRFilterAudioSource& operator= (const IIRFilterAudioSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (IIRFilterAudioSource); | |||||
| }; | }; | ||||
| @@ -104,9 +104,6 @@ public: | |||||
| void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| Array <AudioSource*> inputs; | Array <AudioSource*> inputs; | ||||
| @@ -116,8 +113,7 @@ private: | |||||
| double currentSampleRate; | double currentSampleRate; | ||||
| int bufferSizeExpected; | int bufferSizeExpected; | ||||
| MixerAudioSource (const MixerAudioSource&); | |||||
| MixerAudioSource& operator= (const MixerAudioSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MixerAudioSource); | |||||
| }; | }; | ||||
| @@ -75,10 +75,8 @@ public: | |||||
| void releaseResources(); | void releaseResources(); | ||||
| void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| AudioSource* const input; | AudioSource* const input; | ||||
| const bool deleteInputWhenDeleted; | const bool deleteInputWhenDeleted; | ||||
| double ratio, lastRatio; | double ratio, lastRatio; | ||||
| @@ -103,8 +101,7 @@ private: | |||||
| void applyFilter (float* samples, int num, FilterState& fs); | void applyFilter (float* samples, int num, FilterState& fs); | ||||
| ResamplingAudioSource (const ResamplingAudioSource&); | |||||
| ResamplingAudioSource& operator= (const ResamplingAudioSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ResamplingAudioSource); | |||||
| }; | }; | ||||
| @@ -63,17 +63,13 @@ public: | |||||
| void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| double frequency, sampleRate; | double frequency, sampleRate; | ||||
| double currentPhase, phasePerSample; | double currentPhase, phasePerSample; | ||||
| float amplitude; | float amplitude; | ||||
| ToneGeneratorAudioSource (const ToneGeneratorAudioSource&); | |||||
| ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ToneGeneratorAudioSource); | |||||
| }; | }; | ||||
| @@ -441,9 +441,6 @@ public: | |||||
| */ | */ | ||||
| CriticalSection& getMidiCallbackLock() throw() { return midiCallbackLock; } | CriticalSection& getMidiCallbackLock() throw() { return midiCallbackLock; } | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | //============================================================================== | ||||
| OwnedArray <AudioIODeviceType> availableDeviceTypes; | OwnedArray <AudioIODeviceType> availableDeviceTypes; | ||||
| @@ -522,8 +519,7 @@ private: | |||||
| AudioIODeviceType* findType (const String& inputName, const String& outputName); | AudioIODeviceType* findType (const String& inputName, const String& outputName); | ||||
| AudioDeviceManager (const AudioDeviceManager&); | |||||
| AudioDeviceManager& operator= (const AudioDeviceManager&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioDeviceManager); | |||||
| }; | }; | ||||
| #endif // __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__ | #endif // __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__ | ||||
| @@ -170,18 +170,16 @@ public: | |||||
| */ | */ | ||||
| virtual void stop(); | virtual void stop(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| //============================================================================== | |||||
| String name; | String name; | ||||
| void* internal; | void* internal; | ||||
| explicit MidiInput (const String& name); | explicit MidiInput (const String& name); | ||||
| private: | private: | ||||
| MidiInput (const MidiInput&); | |||||
| MidiInput& operator= (const MidiInput&); | |||||
| //============================================================================== | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiInput); | |||||
| }; | }; | ||||
| @@ -148,10 +148,8 @@ public: | |||||
| virtual void stopBackgroundThread(); | virtual void stopBackgroundThread(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| //============================================================================== | |||||
| void* internal; | void* internal; | ||||
| struct PendingMessage | struct PendingMessage | ||||
| @@ -160,8 +158,6 @@ protected: | |||||
| MidiMessage message; | MidiMessage message; | ||||
| PendingMessage* next; | PendingMessage* next; | ||||
| juce_UseDebuggingNewOperator | |||||
| }; | }; | ||||
| CriticalSection lock; | CriticalSection lock; | ||||
| @@ -171,8 +167,7 @@ protected: | |||||
| void run(); | void run(); | ||||
| private: | private: | ||||
| MidiOutput (const MidiOutput&); | |||||
| MidiOutput& operator= (const MidiOutput&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiOutput); | |||||
| }; | }; | ||||
| @@ -420,10 +420,8 @@ public: | |||||
| int startSample, | int startSample, | ||||
| int numSamples) const; | int numSamples) const; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| int numChannels, size; | int numChannels, size; | ||||
| size_t allocatedBytes; | size_t allocatedBytes; | ||||
| float** channels; | float** channels; | ||||
| @@ -432,6 +430,8 @@ private: | |||||
| void allocateData(); | void allocateData(); | ||||
| void allocateChannels (float** dataToReferTo); | void allocateChannels (float** dataToReferTo); | ||||
| JUCE_LEAK_DETECTOR (AudioSampleBuffer); | |||||
| }; | }; | ||||
| @@ -131,11 +131,8 @@ public: | |||||
| void copyCoefficientsFrom (const IIRFilter& other) throw(); | void copyCoefficientsFrom (const IIRFilter& other) throw(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| //============================================================================== | |||||
| CriticalSection processLock; | CriticalSection processLock; | ||||
| void setCoefficients (double c1, double c2, double c3, | void setCoefficients (double c1, double c2, double c3, | ||||
| @@ -147,6 +144,7 @@ protected: | |||||
| // (use the copyCoefficientsFrom() method instead of this operator) | // (use the copyCoefficientsFrom() method instead of this operator) | ||||
| IIRFilter& operator= (const IIRFilter&); | IIRFilter& operator= (const IIRFilter&); | ||||
| JUCE_LEAK_DETECTOR (IIRFilter); | |||||
| }; | }; | ||||
| @@ -213,10 +213,8 @@ public: | |||||
| int& numBytesOfMidiData, | int& numBytesOfMidiData, | ||||
| int& samplePosition) throw(); | int& samplePosition) throw(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| const MidiBuffer& buffer; | const MidiBuffer& buffer; | ||||
| const uint8* data; | const uint8* data; | ||||
| @@ -224,11 +222,8 @@ public: | |||||
| Iterator& operator= (const Iterator&); | Iterator& operator= (const Iterator&); | ||||
| }; | }; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| friend class MidiBuffer::Iterator; | friend class MidiBuffer::Iterator; | ||||
| MemoryBlock data; | MemoryBlock data; | ||||
| int bytesUsed; | int bytesUsed; | ||||
| @@ -238,6 +233,8 @@ private: | |||||
| static int getEventTime (const void* d) throw(); | static int getEventTime (const void* d) throw(); | ||||
| static uint16 getEventDataSize (const void* d) throw(); | static uint16 getEventDataSize (const void* d) throw(); | ||||
| static uint16 getEventTotalSize (const void* d) throw(); | static uint16 getEventTotalSize (const void* d) throw(); | ||||
| JUCE_LEAK_DETECTOR (MidiBuffer); | |||||
| }; | }; | ||||
| @@ -174,18 +174,15 @@ public: | |||||
| void convertTimestampTicksToSeconds(); | void convertTimestampTicksToSeconds(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| OwnedArray <MidiMessageSequence> tracks; | OwnedArray <MidiMessageSequence> tracks; | ||||
| short timeFormat; | short timeFormat; | ||||
| MidiFile (const MidiFile&); | |||||
| MidiFile& operator= (const MidiFile&); | |||||
| void readNextTrack (const uint8* data, int size); | void readNextTrack (const uint8* data, int size); | ||||
| void writeTrack (OutputStream& mainOut, int trackNum); | void writeTrack (OutputStream& mainOut, int trackNum); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiFile); | |||||
| }; | }; | ||||
| @@ -194,10 +194,8 @@ public: | |||||
| */ | */ | ||||
| void removeListener (MidiKeyboardStateListener* listener); | void removeListener (MidiKeyboardStateListener* listener); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| CriticalSection lock; | CriticalSection lock; | ||||
| uint16 noteStates [128]; | uint16 noteStates [128]; | ||||
| MidiBuffer eventsToAdd; | MidiBuffer eventsToAdd; | ||||
| @@ -206,8 +204,7 @@ private: | |||||
| void noteOnInternal (int midiChannel, int midiNoteNumber, float velocity); | void noteOnInternal (int midiChannel, int midiNoteNumber, float velocity); | ||||
| void noteOffInternal (int midiChannel, int midiNoteNumber); | void noteOffInternal (int midiChannel, int midiNoteNumber); | ||||
| MidiKeyboardState (const MidiKeyboardState&); | |||||
| MidiKeyboardState& operator= (const MidiKeyboardState&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiKeyboardState); | |||||
| }; | }; | ||||
| @@ -890,11 +890,8 @@ public: | |||||
| */ | */ | ||||
| static const String getControllerName (int controllerNumber); | static const String getControllerName (int controllerNumber); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| double timeStamp; | double timeStamp; | ||||
| uint8* data; | uint8* data; | ||||
| int size; | int size; | ||||
| @@ -91,17 +91,14 @@ public: | |||||
| /** @internal */ | /** @internal */ | ||||
| void handleIncomingMidiMessage (MidiInput* source, const MidiMessage& message); | void handleIncomingMidiMessage (MidiInput* source, const MidiMessage& message); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| double lastCallbackTime; | double lastCallbackTime; | ||||
| CriticalSection midiCallbackLock; | CriticalSection midiCallbackLock; | ||||
| MidiBuffer incomingMessages; | MidiBuffer incomingMessages; | ||||
| double sampleRate; | double sampleRate; | ||||
| MidiMessageCollector (const MidiMessageCollector&); | |||||
| MidiMessageCollector& operator= (const MidiMessageCollector&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiMessageCollector); | |||||
| }; | }; | ||||
| @@ -84,13 +84,11 @@ public: | |||||
| */ | */ | ||||
| MidiEventHolder* noteOffObject; | MidiEventHolder* noteOffObject; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| friend class MidiMessageSequence; | friend class MidiMessageSequence; | ||||
| MidiEventHolder (const MidiMessage& message); | MidiEventHolder (const MidiMessage& message); | ||||
| JUCE_LEAK_DETECTOR (MidiEventHolder); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -268,8 +266,6 @@ public: | |||||
| void swapWith (MidiMessageSequence& other) throw(); | void swapWith (MidiMessageSequence& other) throw(); | ||||
| //============================================================================== | //============================================================================== | ||||
| juce_UseDebuggingNewOperator | |||||
| /** @internal */ | /** @internal */ | ||||
| static int compareElements (const MidiMessageSequence::MidiEventHolder* first, | static int compareElements (const MidiMessageSequence::MidiEventHolder* first, | ||||
| const MidiMessageSequence::MidiEventHolder* second) throw(); | const MidiMessageSequence::MidiEventHolder* second) throw(); | ||||
| @@ -280,6 +276,8 @@ private: | |||||
| OwnedArray <MidiEventHolder> list; | OwnedArray <MidiEventHolder> list; | ||||
| void sort(); | void sort(); | ||||
| JUCE_LEAK_DETECTOR (MidiMessageSequence); | |||||
| }; | }; | ||||
| @@ -51,12 +51,9 @@ public: | |||||
| bool doesPluginStillExist (const PluginDescription& desc); | bool doesPluginStillExist (const PluginDescription& desc); | ||||
| const FileSearchPath getDefaultLocationsToSearch(); | const FileSearchPath getDefaultLocationsToSearch(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| AudioUnitPluginFormat (const AudioUnitPluginFormat&); | |||||
| AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&); | |||||
| //============================================================================== | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioUnitPluginFormat); | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -265,10 +265,8 @@ public: | |||||
| void setStateInformation (const void* data, int sizeInBytes); | void setStateInformation (const void* data, int sizeInBytes); | ||||
| void setCurrentProgramStateInformation (const void* data, int sizeInBytes); | void setCurrentProgramStateInformation (const void* data, int sizeInBytes); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| friend class AudioUnitPluginWindowCarbon; | friend class AudioUnitPluginWindowCarbon; | ||||
| friend class AudioUnitPluginWindowCocoa; | friend class AudioUnitPluginWindowCocoa; | ||||
| friend class AudioUnitPluginFormat; | friend class AudioUnitPluginFormat; | ||||
| @@ -404,6 +402,8 @@ private: | |||||
| //============================================================================== | //============================================================================== | ||||
| AudioUnitPluginInstance (const String& fileOrIdentifier); | AudioUnitPluginInstance (const String& fileOrIdentifier); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioUnitPluginInstance); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -1080,10 +1080,8 @@ public: | |||||
| } | } | ||||
| } | } | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| AudioUnitPluginInstance& plugin; | AudioUnitPluginInstance& plugin; | ||||
| ComponentRecord* componentRecord; | ComponentRecord* componentRecord; | ||||
| AudioUnitCarbonView viewComponent; | AudioUnitCarbonView viewComponent; | ||||
| @@ -1138,6 +1136,8 @@ private: | |||||
| friend class InnerWrapperComponent; | friend class InnerWrapperComponent; | ||||
| ScopedPointer<InnerWrapperComponent> innerWrapper; | ScopedPointer<InnerWrapperComponent> innerWrapper; | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioUnitPluginWindowCarbon); | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -53,12 +53,8 @@ public: | |||||
| const String getNameOfPluginFromIdentifier (const String& fileOrIdentifier) { return fileOrIdentifier; } | const String getNameOfPluginFromIdentifier (const String& fileOrIdentifier) { return fileOrIdentifier; } | ||||
| const FileSearchPath getDefaultLocationsToSearch(); | const FileSearchPath getDefaultLocationsToSearch(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| DirectXPluginFormat (const DirectXPluginFormat&); | |||||
| DirectXPluginFormat& operator= (const DirectXPluginFormat&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DirectXPluginFormat); | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -53,12 +53,8 @@ public: | |||||
| const String getNameOfPluginFromIdentifier (const String& fileOrIdentifier) { return fileOrIdentifier; } | const String getNameOfPluginFromIdentifier (const String& fileOrIdentifier) { return fileOrIdentifier; } | ||||
| const FileSearchPath getDefaultLocationsToSearch(); | const FileSearchPath getDefaultLocationsToSearch(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| LADSPAPluginFormat (const LADSPAPluginFormat&); | |||||
| LADSPAPluginFormat& operator= (const LADSPAPluginFormat&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LADSPAPluginFormat); | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -425,9 +425,6 @@ public: | |||||
| close(); | close(); | ||||
| } | } | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| //============================================================================== | //============================================================================== | ||||
| #if JUCE_WINDOWS || JUCE_LINUX | #if JUCE_WINDOWS || JUCE_LINUX | ||||
| void* hModule; | void* hModule; | ||||
| @@ -682,6 +679,9 @@ public: | |||||
| #endif | #endif | ||||
| #endif | #endif | ||||
| private: | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ModuleHandle); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -783,10 +783,8 @@ public: | |||||
| void handleAsyncUpdate(); | void handleAsyncUpdate(); | ||||
| VstIntPtr handleCallback (VstInt32 opcode, VstInt32 index, VstInt32 value, void *ptr, float opt); | VstIntPtr handleCallback (VstInt32 opcode, VstInt32 index, VstInt32 value, void *ptr, float opt); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| friend class VSTPluginWindow; | friend class VSTPluginWindow; | ||||
| friend class VSTPluginFormat; | friend class VSTPluginFormat; | ||||
| @@ -828,6 +826,7 @@ private: | |||||
| void setPower (const bool on); | void setPower (const bool on); | ||||
| VSTPluginInstance (const ReferenceCountedObjectPtr <ModuleHandle>& module); | VSTPluginInstance (const ReferenceCountedObjectPtr <ModuleHandle>& module); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (VSTPluginInstance); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -1367,8 +1366,6 @@ public: | |||||
| } | } | ||||
| //============================================================================== | //============================================================================== | ||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| VSTPluginInstance& plugin; | VSTPluginInstance& plugin; | ||||
| bool isOpen, wasShowing, recursiveResize; | bool isOpen, wasShowing, recursiveResize; | ||||
| @@ -1880,6 +1877,9 @@ private: | |||||
| innerWrapper->setSize (getWidth(), getHeight()); | innerWrapper->setSize (getWidth(), getHeight()); | ||||
| } | } | ||||
| #endif | #endif | ||||
| private: | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (VSTPluginWindow); | |||||
| }; | }; | ||||
| //============================================================================== | //============================================================================== | ||||
| @@ -52,14 +52,11 @@ public: | |||||
| bool doesPluginStillExist (const PluginDescription& desc); | bool doesPluginStillExist (const PluginDescription& desc); | ||||
| const FileSearchPath getDefaultLocationsToSearch(); | const FileSearchPath getDefaultLocationsToSearch(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| VSTPluginFormat (const VSTPluginFormat&); | |||||
| VSTPluginFormat& operator= (const VSTPluginFormat&); | |||||
| //============================================================================== | |||||
| void recursiveFileSearch (StringArray& results, const File& dir, const bool recursive); | void recursiveFileSearch (StringArray& results, const File& dir, const bool recursive); | ||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (VSTPluginFormat); | |||||
| }; | }; | ||||
| @@ -105,15 +105,11 @@ public: | |||||
| virtual const FileSearchPath getDefaultLocationsToSearch() = 0; | virtual const FileSearchPath getDefaultLocationsToSearch() = 0; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| //============================================================================== | |||||
| AudioPluginFormat() throw(); | AudioPluginFormat() throw(); | ||||
| AudioPluginFormat (const AudioPluginFormat&); | |||||
| AudioPluginFormat& operator= (const AudioPluginFormat&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioPluginFormat); | |||||
| }; | }; | ||||
| @@ -92,14 +92,11 @@ public: | |||||
| */ | */ | ||||
| bool doesPluginStillExist (const PluginDescription& description) const; | bool doesPluginStillExist (const PluginDescription& description) const; | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| OwnedArray <AudioPluginFormat> formats; | OwnedArray <AudioPluginFormat> formats; | ||||
| AudioPluginFormatManager (const AudioPluginFormatManager&); | |||||
| AudioPluginFormatManager& operator= (const AudioPluginFormatManager&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioPluginFormatManager); | |||||
| }; | }; | ||||
| @@ -62,14 +62,11 @@ public: | |||||
| */ | */ | ||||
| virtual void* getPlatformSpecificData(); | virtual void* getPlatformSpecificData(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| //============================================================================== | |||||
| AudioPluginInstance(); | AudioPluginInstance(); | ||||
| AudioPluginInstance (const AudioPluginInstance&); | |||||
| AudioPluginInstance& operator= (const AudioPluginInstance&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioPluginInstance); | |||||
| }; | }; | ||||
| @@ -157,14 +157,11 @@ public: | |||||
| void recreateFromXml (const XmlElement& xml); | void recreateFromXml (const XmlElement& xml); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| OwnedArray <PluginDescription> types; | OwnedArray <PluginDescription> types; | ||||
| KnownPluginList (const KnownPluginList&); | |||||
| KnownPluginList& operator= (const KnownPluginList&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (KnownPluginList); | |||||
| }; | }; | ||||
| @@ -137,8 +137,9 @@ public: | |||||
| bool loadFromXml (const XmlElement& xml); | bool loadFromXml (const XmlElement& xml); | ||||
| private: | |||||
| //============================================================================== | //============================================================================== | ||||
| juce_UseDebuggingNewOperator | |||||
| JUCE_LEAK_DETECTOR (PluginDescription); | |||||
| }; | }; | ||||
| @@ -105,10 +105,8 @@ public: | |||||
| */ | */ | ||||
| const StringArray& getFailedFiles() const throw() { return failedFiles; } | const StringArray& getFailedFiles() const throw() { return failedFiles; } | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| KnownPluginList& list; | KnownPluginList& list; | ||||
| AudioPluginFormat& format; | AudioPluginFormat& format; | ||||
| StringArray filesOrIdentifiersToScan; | StringArray filesOrIdentifiersToScan; | ||||
| @@ -120,8 +118,7 @@ private: | |||||
| const StringArray getDeadMansPedalFile(); | const StringArray getDeadMansPedalFile(); | ||||
| void setDeadMansPedalFile (const StringArray& newContents); | void setDeadMansPedalFile (const StringArray& newContents); | ||||
| PluginDirectoryScanner (const PluginDirectoryScanner&); | |||||
| PluginDirectoryScanner& operator= (const PluginDirectoryScanner&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PluginDirectoryScanner); | |||||
| }; | }; | ||||
| @@ -80,10 +80,8 @@ public: | |||||
| /** @internal */ | /** @internal */ | ||||
| void timerCallback(); | void timerCallback(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| private: | private: | ||||
| //============================================================================== | |||||
| KnownPluginList& list; | KnownPluginList& list; | ||||
| File deadMansPedalFile; | File deadMansPedalFile; | ||||
| ListBox listBox; | ListBox listBox; | ||||
| @@ -93,8 +91,7 @@ private: | |||||
| void scanFor (AudioPluginFormat* format); | void scanFor (AudioPluginFormat* format); | ||||
| PluginListComponent (const PluginListComponent&); | |||||
| PluginListComponent& operator= (const PluginListComponent&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PluginListComponent); | |||||
| }; | }; | ||||
| @@ -552,9 +552,6 @@ public: | |||||
| double sampleRate, | double sampleRate, | ||||
| int blockSize) throw(); | int blockSize) throw(); | ||||
| //============================================================================== | |||||
| juce_UseDebuggingNewOperator | |||||
| protected: | protected: | ||||
| //============================================================================== | //============================================================================== | ||||
| /** Helper function that just converts an xml element into a binary blob. | /** Helper function that just converts an xml element into a binary blob. | ||||
| @@ -593,8 +590,7 @@ private: | |||||
| BigInteger changingParams; | BigInteger changingParams; | ||||
| #endif | #endif | ||||
| AudioProcessor (const AudioProcessor&); | |||||
| AudioProcessor& operator= (const AudioProcessor&); | |||||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioProcessor); | |||||
| }; | }; | ||||