Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
eb8a419ac7
TooltipWindow: Avoid potential use-after-free of lastComponentUnderMouse
Showing the tip will in turn call getDesktopScaleFactor(), accessing the
lastComponentUnderMouse. In some cases, it was possible for
lastComponentUnderMouse to point to a deleted component, resulting in
UB.
There are two changes in this PR:
- Using a SafePointer rather than a raw pointer ensures that calls to
getDesktopScaleFactor() will always be safe, regardless of when they
happen.
- Moving the assignment of lastComponentUnderMouse to before the call to
displayTipInternal() ensures that the returned scale factor is that of
the component that the mouse is currently hovering.
3 years ago
Tom Poole
c072b1bc8e
Fix some typos
3 years ago
ed
b4bc2c8710
Tooltip: Show manually shown tips until a dismissal mouse event occurs
3 years ago
ed
057b555f08
Tooltip: Track mouse clicks using global Desktop mouse listener callbacks to fix bug with Timer callbacks missing events
3 years ago
ed
903657b0b8
Tooltip: Prevent tip from being immediately dismissed when shown from TooltipWindow::displayTip()
3 years ago
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.
3 years ago
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
3 years ago
ed
8d6ba3b54e
Accessibility: Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children
3 years ago
ed
422c8f8114
Accessibility: Disable accessibility for TooltipWindows to prevent them from interfering with focus
3 years ago
reuk
bc796b1636
TooltipWindow: Display tooltips at same scale as hovered components
4 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
af1cc0c70f
Minor documentation fixes
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
hogliux
876aaf49e7
Allow multiple TooltipWindows as long as they do not share the same parent component
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
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
7 years ago
jules
9ac2fae469
Made TooltipWindow::getTipFor() a public virtual method
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
8 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
hogliux
a595f19d0f
Add a comment to tooltip window to clarify it's use in plug-ins
9 years ago
jules
e3dfaff0db
Replaced the old LookAndFeel method getTooltipSize() with getTooltipBounds(), which can return a position as well as a size.
10 years ago
jules
885a665b27
Avoided recursion in TooltipWindow on win32
10 years ago
jules
6c61dbb68e
Refactored the internal mouse-handling code to use floating point coords. This shouldn't affect much user code, but a few methods in MouseInputSource have now changed to use Point<float> rather than Point<int>.
11 years ago
jules
bea7b83cb8
Renamed and refactored the LookAndFeel classes. The LookAndFeel class is now an abstract base-class, and there are 3 concrete subclasses you can use. These are LookAndFeel_V1 (replaces OldSchoolLookAndFeel), LookAndFeel_V2 (replaces what was the normal LookAndFeel class) and LookAndFeel_V3 (this is a new style, taken from the Introjucer's L+F).
11 years ago
jules
ef058dc285
New method TooltipWindow::displayTip
11 years ago
jules
7f6394478a
Stripped out some unnecessary boilerplate includes from juce_gui_basics.
11 years ago
jules
29ada09816
Cleaned up some unused variables.
11 years ago
jules
5a1112ab94
Updated the format of the header include guard macros.
12 years ago
jules
c75a7300f5
Added some 'override' modifiers to overridden methods.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
8f26cc79c9
Minor clean-ups.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
391e99443e
Added a method Desktop::getMouseWheelMoveCounter(), and made the existing getMouseButtonClickCounter() method non-static.
13 years ago
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
13 years ago
Julian Storer
67e22bbb56
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
14 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
a5cf4030f5
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.
14 years ago
Julian Storer
27506c2120
Copyright notice update.
15 years ago
Julian Storer
b67c077f0d
Minor code clean-ups.
15 years ago
Julian Storer
7bc8db2ff4
Minor code style tweaks.
15 years ago
Julian Storer
08eb852103
Minor code clean-ups.
15 years ago