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

184 commits

Author SHA1 Message Date
Tom Poole
79d3e8b3f5 Windows: Removed some VS2013 workarounds 2019-07-11 15:28:41 +01:00
jules
0367d5c3a9 Added some PopupMenu::addItem overloads which let you attach a lambda callback to be invoked for a menu item. 2019-06-19 11:39:28 +01:00
jules
9a06be6d61 Some minor cleanups 2019-06-17 15:48:56 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
Tom Poole
c0af62f188 Windows: Removed some inverse hyperbolic compatibility functions 2019-04-08 15:29:23 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
ed
f3af250ff7 Tidied up unit test code layout 2019-04-02 11:54:29 +01:00
ed
bd916b68e1 Make Random::setSeedRandomly() globalSeed atomic to fix a data race when multiple threads create a Random object 2019-03-29 16:03:41 +00:00
reuk
e5ce2ceb97 MathsFunctions: Made numElementsInArray constexpr 2019-03-25 14:47:21 +00:00
ed
1a46fb3a5f Minor whitespace tidying 2019-03-15 14:10:14 +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
ed
84513eef8f Added JUCE_CONSTEXPR macro to qualifying functions in Range 2019-01-07 11:07:42 +00:00
Tom Poole
415dc54820 Protected the system Random from having its seed reset 2018-11-30 15:49:03 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
jules
6fda0bffca Fixed some stray zeros that were still being passed as null pointers 2018-10-05 12:15:04 +01:00
Tom Poole
1eb3de3312 Fixed a typo 2018-10-04 15:01:28 +01:00
ed
7ef2f508d3 Add approximatelyEqualTo() and isWithin() methods to juce_MathsFunctions.h 2018-08-10 16:36:50 +01:00
Tom Poole
c5862246b7 Prevented some implicit casts to bool using JUCE_STRICT_REFCOUNTEDPOINTER 2018-07-17 09:10:43 +01:00
Tom Poole
fc87d8cd1d Made some more JUCE classes trivially copyable 2018-07-11 15:07:00 +01:00
Tom Poole
08d67c763f Made some JUCE classes TriviallyCopyable 2018-07-11 09:17:31 +01:00
jules
95a3f0b039 Whitespace 2018-07-03 11:51:36 +01:00
jules
1e6bbb8da9 Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this 2018-07-03 11:51:13 +01:00
jules
49aa9c9db4 Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use 2018-06-26 14:06:52 +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
87042769b6 Tidied up some more old typedefs 2018-05-11 14:44:51 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
ed
fef47b8f68 Fixed a documentation typo 2018-04-30 08:41:42 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
f5174e340e Added some assertions when the input to a NormalisableRange conversion function is outside of the expected range 2018-03-27 11:06:41 +01:00
Noah Dayan
9e867255d3 Fixed doxygen deprecated bug 2018-03-22 13:06:20 +00:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
Tom Poole
f1af3908d5 Documentation fixes 2018-03-11 09:25:09 +00:00
Tom Poole
4d20d1a406 Fixed an issue reading BigInteger ranges beyond the highest set bit 2018-03-06 17:50:11 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
5b13063162 Fixed a typo in comments 2018-01-10 11:48:06 +00:00
jules
f9313c8338 Deprecated some old functions roundDoubleToInt and roundFloatToInt - these can both be trivially replaced by roundToInt, and should have been deprecated long ago! 2018-01-09 16:28:14 +00:00
jules
249ab04f76 fixed a typo 2018-01-09 15:27:01 +00:00
jules
7326a37795 Added some missing math constants to the Javascript parser, and a constant MathConstants::sqrt2 2018-01-09 15:15:33 +00:00
jules
d727f2a35a Added MathConstants::halfPi to improve readability 2017-12-06 12:56:00 +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
7dd8fa993e Fixes for templated code which could default-initialise a SIMDRegister object while expecting to get a zero-initialised value 2017-11-30 16:59:37 +00:00
Tom Poole
7d30c30819 Fixed some GCC constexpr issues 2017-11-27 20:13:18 +00:00
jules
6ddff42012 Added JUCE_CONSTEXPR to a bunch of simple maths functions 2017-11-27 17:36:33 +00:00
jules
f0ef700e46 Modernised a bunch of code mainly relating to character/string iteration 2017-10-19 16:52:20 +01:00
tpoole
18539d7e97 Fixed a bug in NormalisableRange 2017-10-19 15:07:23 +01:00
tpoole
51b3eaebb2 Fixed some VS2013 compiler errors 2017-10-18 11:05:40 +01:00
hogliux
daf31260e3 macOS: Fixed a compiler error in NormalisableRange when compiling for macOS <10.8 2017-10-17 09:50:18 +01:00
jules
7c4a40470d Added some better use of the Range class in NormalisableRange and Slider 2017-10-16 16:21:41 +01:00
jules
369d59f656 Added a template to allow the HeapBlock class to be given signed ints or other types that are not size_t for its size parameters 2017-10-11 12:10:58 +01:00