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

54 commits

Author SHA1 Message Date
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
Tom Poole
b6a3020dc6 LiveConstantDemo: Improve the documentation 2022-04-26 11:04:55 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
Tom Poole
e9417c645b UnitTestsDemo: Add a missing module flag 2022-03-24 13:13:10 +00:00
reuk
e5255eb76c
ChildProcessDemo: Fix crashes when stopping child process
Previously, the child process could be deleted from its own
handleConnectionLost() callback, which would attempt to stop the child
process's thread from that same thread.

Now, the demo will attempt to stop the coordinator thread from the main
thread instead.
2022-02-18 16:43:26 +00:00
reuk
4a7b556463 InAppPurchasesDemo: Fix leaky ListBoxModel implementation 2022-02-07 14:24:11 +00:00
reuk
4cf74dfff6 Viewport: Improve drag-to-scroll on devices that can accept simultaneous mouse and touch input
Some Windows 11 devices have both touch screens and mouse inputs, and
these can be used simultaneously.

The Viewport (and ListBox) now check the input source of each mouse
down. If the source is not a mouse, the viewport will always enter
drag-to-scroll mode, regardless of the result of isScrollOnDragEnabled.
2022-02-07 14:24:11 +00:00
reuk
7984458a8e InAppPurchasesDemo: Avoid heap-use-after-free when rapidly playing samples 2021-12-14 22:50:09 +00:00
reuk
b72b155443
Naming: Fix up naming of ChildProcessCoordinator and ChildProcessWorker 2021-10-25 09:51:21 +01:00
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
ed
551d7b9c5b Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
  - Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
  - Update the DialogsDemo to demonstrate the new methods
  - Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
  - Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
  - Use modern TaskDialog on Windows for the native dialog box where available
2021-07-21 16:34:12 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
ed
f28acdb48c Examples/DemoRunner: Accessibility updates 2021-05-10 10:53:14 +01:00
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators 2021-01-28 20:14:11 +00:00
ed
46700d820d Fixed a compile error in the push notifications demo 2020-12-10 12:48:42 +00:00
ed
b7e28541ca Replaced deprecated Displays methods 2020-10-27 12:38:59 +00:00
reuk
e9321bf565 CMake: Fix demos which failed to build on Windows
The PushNotificationsDemo is not supported on Windows, so I've
stopped CMake from configuring it in the first place.
2020-07-06 11:00:15 +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
6cb75d9d2c Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
ece5644a20 CMake: Add support for building JUCE projects with CMake 2020-04-13 12:10:11 +01:00
reuk
bbd2184e3b Demos: Fix some build issues in demos with more warnings enabled 2020-03-20 14:28:36 +00:00
ed
7035a40879 Fixed some errors in the examples 2020-03-16 11:47:15 +00:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00:00
ed
027e12e3a6 Android: Replaced deprecated AIDL in-app billing code with Google Play Billing library 2020-01-06 16:19:05 +00:00
Tom Poole
54e1004957 Added FMA3 and FMA4 instruction detection 2019-12-18 15:31:59 +00:00
Tom Poole
de13b83ed2 Fixed some compiler warnings 2019-07-09 09:40:31 +01:00
Tom Poole
283521f1df Fixed some issues with the multithreading demo 2019-07-04 11:20:39 +01:00
jules
cd4aba9e43 PopupMenu modernisation: Improved the PopupMenu::Item class to make it easy to build items by chaining calls together. 2019-06-20 13:55:18 +01:00
Tom Poole
a4bd6cbc66 Fixed some more Linux compiler warnings 2019-06-06 10:25:19 +01:00
Tom Poole
3767ee3811 Fixed some compiler warnings in PushNotificationsDemo 2019-05-28 11:45:49 +01:00
Tom Poole
84d6d21f54 Made the ValueTrees demo more macOS friendly 2019-05-21 13:59:36 +01:00
jules
0fb8c8e82a Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way 2019-05-19 08:16:27 +01:00
jules
2e2cfb5f6c Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones 2019-05-09 10:51:19 +01:00
Lukasz Kozakiewicz
7c4601473a Android: fix PushNotifications that got broken by Android low level code rework. 2019-05-08 13:48:50 +02:00
ed
9417021177 Android: Fixed a compile error in PushNotificationsDemo.h 2019-04-23 11:28:18 +01:00
ed
314ef13a63 Added a VS2019 exporter to all example PIPs 2019-04-15 14:28:36 +01:00
ed
132295bdb3 Made the logMessage() method in UnitTestsDemo thread-safe 2019-04-03 15:13:02 +01:00
ed
d6fb474c39 Restructure OpenGLDemo and UnitTestsDemo and remove unused macro from DemoRunner 2019-03-29 16:03:58 +00:00
jules
359132ed55 More zero -> nullptr fixes 2018-10-09 11:42:55 +01:00
jules
302019dd43 Tidied up some comments and usage of File::createOutputStream() and createInputStream() 2018-10-04 11:29:55 +01:00
Tom Poole
bedff61983 Added detection for some AVX512 features 2018-10-04 09:53:20 +01:00
Tom Poole
0e1722e387 Multiple spelling fixes 2018-08-20 18:16:24 +01:00
jules
ccbaf89f0e Added some methods IPAddress::getAllAddresses(), IPAddress::getLocalAddress(), MACAddress::getAllAddresses() 2018-07-04 17:17:18 +01:00
ed
d018eb8407 Enable the JUCE_STRICT_REFCOUNTEDPOINTER flag for all new projects and PIPs 2018-06-27 11:37:27 +01:00
jules
abe01671d4 Fixed a very old spelling mistake!(SystemStats::getCpuSpeedInMegaherz -> SystemStats::getCpuSpeedInMegahertz) 2018-06-18 17:11:12 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
jules
d691838765 Tidied up a few minor coding style discrepencies 2018-04-10 09:50:11 +01:00