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

167 commits

Author SHA1 Message Date
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
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
jules
434b0e7c9b Got rid of a long-defunct alias "BitArray". If your code still uses this name, you can just replace or alias it to BigInteger, which is what the class was renamed to. 2017-09-28 11:30:44 +01:00
jules
b44cb8b710 Minor breaking change: removed the legacy swapVariables function. Just use std::swap instead and it'll do a better job! 2017-09-27 12:31:36 +01:00
jules
27a6903cac Changed the way isPositiveAndBelow is written to avoid needing to cast the second parameter to an int 2017-09-27 12:24:02 +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
tpoole
9600016294 Fixed some undefined (or implementation defined) behavior 2017-08-24 18:16:03 +01:00
hogliux
ec2f7219c5 Fixed a MSVC 2013 compiler error in juce_MathsFunctions.h 2017-07-28 12:26:01 +01:00
hogliux
244a944857 Added the JUCE DSP module 2017-07-27 12:39:07 +01:00
ed
6bfcd820b4 Unit tests: Added an optional argument to the UnitTest constructor to specify a category and methods to get and run unit tests in a specified category. Updated the built-in JUCE unit tests and Demo project to use categories. 2017-07-20 17:24:05 +01:00
tpoole
984654318d Removed the JUCE_COMPILER_SUPPORTS_LAMBDAS macro 2017-06-22 09:33:30 +01:00
jules
e7923af185 Got rid of the old PARAMETER_TYPE macro - this isn't needed as the same thing can be done directly with the TypeHelpers::ParameterType helper class 2017-05-10 09:37:37 +01:00
tpoole
f4046909ab Added an OS X 10.5 compatible std::function replacement 2017-05-03 15:36:25 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
tpoole
8b0354ff69 Added precompiler sections to make NormalisableRange compatible with OS X 10.5 2017-04-07 08:20:46 +01:00
tpoole
710d27d74f Fixed the copy constructor and assignment operator of NormalisableRange 2017-04-06 22:02:04 +01:00
tpoole
8a680bc4f6 Added a lambda function parameterisation of NormalisableRange 2017-04-04 17:03:26 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00