mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes.
This commit is contained in:
parent
1629f9f66a
commit
a5cf4030f5
374 changed files with 2064 additions and 3331 deletions
|
|
@ -51,8 +51,6 @@ namespace ActiveXHelpers
|
|||
HRESULT __stdcall SetClass (REFCLSID) { return S_OK; }
|
||||
HRESULT __stdcall SetStateBits (DWORD, DWORD) { return E_NOTIMPL; }
|
||||
HRESULT __stdcall Stat (STATSTG*, DWORD) { return E_NOTIMPL; }
|
||||
|
||||
juce_UseDebuggingNewOperator
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -76,8 +74,6 @@ namespace ActiveXHelpers
|
|||
HRESULT __stdcall SetStatusText (LPCOLESTR) { return S_OK; }
|
||||
HRESULT __stdcall EnableModeless (BOOL) { return S_OK; }
|
||||
HRESULT __stdcall TranslateAccelerator(LPMSG, WORD) { return E_NOTIMPL; }
|
||||
|
||||
juce_UseDebuggingNewOperator
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -123,8 +119,6 @@ namespace ActiveXHelpers
|
|||
HRESULT __stdcall DiscardUndoState() { return E_NOTIMPL; }
|
||||
HRESULT __stdcall DeactivateAndUndo() { return E_NOTIMPL; }
|
||||
HRESULT __stdcall OnPosRectChange (LPCRECT) { return S_OK; }
|
||||
|
||||
juce_UseDebuggingNewOperator
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -160,8 +154,6 @@ namespace ActiveXHelpers
|
|||
HRESULT __stdcall ShowObject() { return S_OK; }
|
||||
HRESULT __stdcall OnShowWindow (BOOL) { return E_NOTIMPL; }
|
||||
HRESULT __stdcall RequestNewObjectLayout() { return E_NOTIMPL; }
|
||||
|
||||
juce_UseDebuggingNewOperator
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue