ed
6da59e87a3
Fix float_Pi deprecation warning typo
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
reuk
ac2d7ee272
Clang: Fix build errors when using a recent clang-cl
4 years ago
Ivan Cohen
c138bf91b4
DSP: Revamp DSP module
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
Tom Poole
28e03f0815
Replaced all instances of JUCE_CONSTEXPR with constexpr
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
Tom Poole
c0af62f188
Windows: Removed some inverse hyperbolic compatibility functions
6 years ago
reuk
e5ce2ceb97
MathsFunctions: Made numElementsInArray constexpr
6 years ago
ed
7ef2f508d3
Add approximatelyEqualTo() and isWithin() methods to juce_MathsFunctions.h
6 years ago
jules
87042769b6
Tidied up some more old typedefs
7 years ago
jules
38295f332b
Converted some old typedefs to using declarations
7 years ago
Noah Dayan
9e867255d3
Fixed doxygen deprecated bug
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
Tom Poole
f1af3908d5
Documentation fixes
7 years ago
jules
5b13063162
Fixed a typo in comments
7 years ago
jules
f9313c8338
Deprecated some old functions roundDoubleToInt and roundFloatToInt - these can both be trivially replaced by roundToInt, and should have been deprecated long ago!
7 years ago
jules
249ab04f76
fixed a typo
7 years ago
jules
7326a37795
Added some missing math constants to the Javascript parser, and a constant MathConstants::sqrt2
7 years ago
jules
d727f2a35a
Added MathConstants::halfPi to improve readability
7 years ago
jules
d0111a4f96
Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi
7 years ago
jules
7dd8fa993e
Fixes for templated code which could default-initialise a SIMDRegister object while expecting to get a zero-initialised value
7 years ago
Tom Poole
7d30c30819
Fixed some GCC constexpr issues
7 years ago
jules
6ddff42012
Added JUCE_CONSTEXPR to a bunch of simple maths functions
7 years ago
jules
b44cb8b710
Minor breaking change: removed the legacy swapVariables function. Just use std::swap instead and it'll do a better job!
7 years ago
jules
27a6903cac
Changed the way isPositiveAndBelow is written to avoid needing to cast the second parameter to an int
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
hogliux
0b67a40bb9
Fixed a MSVC 2013 compiler error in juce_MathsFunctions.h
7 years ago
hogliux
ec2f7219c5
Fixed a MSVC 2013 compiler error in juce_MathsFunctions.h
7 years ago
hogliux
244a944857
Added the JUCE DSP module
7 years ago
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
8 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
jules
e040353898
Cleaned up a few old bits of VC2005 support code
8 years ago
jules
fcd5a47d8c
Added a bit-twiddling helper method: findHighestSetBit()
8 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
8 years ago
jules
7be711ec07
Added some functions writeLittleEndianBitsInBuffer() and readLittleEndianBitsInBuffer() for packing bit-fields in memory buffers
8 years ago
jules
fb864a5cb1
Corrected some spelling mistakes in comments
9 years ago
jules
d48167a0b7
Added some length-squared methods to Line and Point
9 years ago
jules
576c60fd15
un-templated a couple of functions to prevent them being accidentally called with integral type arguments
9 years ago
jules
4583fa3fbf
Used the ignoreUnused() function to tidy up some old code
9 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
jules
a14f6abbe0
Corrected a typo in the documentation
9 years ago
jules
09b32de604
Added a helpful assertion in jmap().
9 years ago
jules
b2ddfe67a8
Fixes for mingw headers.
9 years ago
Timur Doumler
b2748d44e7
Compile fix: added inline keyword to fully specialised templated functions.
9 years ago
Timur Doumler
c540c576fd
juce_MathsFunctions.h: tidy-up, fixed problem with jmap() not being included in Doxygen API reference.
9 years ago
jules
6db05a6100
Tweaked some syntax to help with Clang/Windows compatibility
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago