1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00
Commit graph

162 commits

Author SHA1 Message Date
ed
b9542ccc4c Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
2021-09-29 16:14:00 +01:00
Attila Szarvas
823bfb0c32 DragAndDropContainer: fix positioning when source Component is transformed 2021-09-27 10:05:19 +00:00
ed
550127945d Added floating-point implementations for some Component hit-testing methods to improve reliability when dealing with scaled Components 2021-06-08 14:14:22 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
ed
a313357d39 Update DragAndDropTarget::SourceDetails::localPosition before calling DragAndDropContainer::dragOperationStarted() 2020-01-21 15:54:32 +00:00
ed
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
Tom Poole
a9a0f6b92f Enforced more comprehensive const-correctness in the JUCE container classes 2019-05-29 08:52:16 +01:00
ed
46a97e1f2c Linux: Recreate mouse cursors when showing them on a different display to the one that they were originally created on 2019-05-07 17:11:54 +01:00
ed
b1c4d981da Fixed an iOS multitouch bug and added MouseInputSource::offscreenMousePos to replace some magic numbers 2019-03-26 11:40:58 +00:00
ed
56302416df Remove check for touch input in MouseInputSourceInternal::getRawScreenPosition() and instead use the cached mouse position from the native peer impls 2019-03-12 16:45:50 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
jules
df5be847c3 Removed a redundant method and did some minor tidying 2018-10-15 11:53:06 +01:00
Tom Poole
a3219c7fc6 Linux: Fixed a DragAndDrop issue between different containers 2018-08-21 19:20:03 +01:00
Tom Poole
e763ac3de2 Fixed a bug when performing a DragAndDrop across windows 2018-08-21 11:29:06 +01:00
Tom Poole
9dde83e662 Fixed a z-order bug when DragAndDrop-ing between plug-in windows 2018-07-18 16:34:19 +01:00
ed
4280b51d09 Made the DragAndDropContainer::performExternalDragDropOfFiles() and ::performExternalDragDropOfText() methods asynchronous on Windows so that behaviour is consistent across all platforms and updated the documentation to reflect this 2018-07-18 14:54:08 +01:00
Tom Poole
6cff481c6a Fixed some gcc 8 compiler warnings 2018-07-11 09:17:31 +01:00
jules
7ab4d1708b Some misc cleanups, mainly around WeakReference usage and rectangles 2018-07-09 16:00:45 +01:00
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
jules
ea43a1f57d Provided a public field MouseEvent::mouseDownPosition, to provide a floating point version of the mouse-down pos 2018-05-30 14:49:29 +01:00
jules
dee78f29f6 Misc cleanups and modernisation 2018-05-11 12:46:30 +01:00
ed
481221a256 Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers() 2018-05-09 10:04:27 +01:00
ed
5fdfe3ceda Clarified the documentation of MouseEvent::mouseWasDraggedSinceMouseDown() 2018-04-10 11:10:16 +01:00
ed
7cf8e28fdd Deprecated MouseInputSource::hasMouseMovedSignificantlySincePressed() and replaced with the more accurate isLongPressOrDrag() and hasMovedSignificantlySincePressed() methods 2018-04-10 10:14:51 +01:00
hogliux
266beb22b2 Mouse: Added MouseListener::mouseMagnify and cleaned up some mouse event handler code 2018-03-19 13:52:37 +00:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
jules
4fcedf7be5 Standardised some lambda syntax 2018-01-08 10:28:41 +00:00
Tom Poole
cc67e26658 Fixed a typo in SelectedItemSet 2017-12-21 11:38:43 +00:00
Tom Poole
cff37f5b6a Fixed some const violation errors 2017-12-19 12:44:24 +00:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00
jules
a586966c65 Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated! 2017-11-28 16:18:40 +00:00
ed
7e1ec31df9 Increased the movement tolerance for double-clicks when using a touch input source 2017-11-20 10:45:36 +00:00
ed
1356ab1819 Fixed an issue in the last commit where an assertion would be triggered when not explicitly passing the inputSourceCausingDrag parameter to DragAndDropContainer::startDragging() 2017-11-05 10:42:51 +00:00
ed
112f1af3e8 Fixed a bug where multiple itemDropped() callbacks were being triggered when using drag and drop 2017-11-04 12:37:22 +00:00
ed
3ed0e05c9e Fixed a bug when using drag and drop on devices with both mouse and touch inputs 2017-11-03 10:13:43 +00:00
jules
eece581e73 Added an assertion if you try to create a MouseCursor with a hotspot that's outside the image bounds 2017-11-02 14:54:11 +00:00
jules
970eda679e Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting! 2017-10-09 12:38:06 +01:00
ed
5d8d37eb87 Added support for multi-touch drag and drop 2017-10-04 15:52:31 +01:00
jules
3d7c777238 Some light modernisation of a bunch of old code 2017-10-04 12:47:43 +01:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
ed
3947df98a9 Fixed a scaling bug when doing drag auto-repeat 2017-08-07 16:41:25 +01:00
jules
99c5843c3f Worked around a situation where mouse-drag auto-repeat can create a message-queue traffic jam on windows. Also tidied up inside MouseInputSource 2017-07-26 16:19:01 +01:00
tpoole
98cb1011bb JUCE Demo: Increased the compiler warning level 2017-07-18 13:09:03 +01:00
hogliux
b2576d288a Added a sourceComponent parameter to the performExternalDragDropOfFiles/performExternalDragDropOfText methods of DragAndDropContainer 2017-07-11 12:54:12 +01:00