Tom Poole
dea3fe60e4
Update copyright banners
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
930a3299f2
Reservoir: Factor out reservoir management code
3 years ago
ed
0fc1ede50f
Used MemoryBlock::isEmpty() in a few places
4 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
5af01b9b16
Demos: Convey proper ownership semantics
5 years ago
ed
f2440ec8e2
Initialise dataSize in MemoryInputStream constructor that takes a MemoryBlock rvalue reference
5 years ago
ed
e36736e0ec
Fixed some typos
5 years ago
jules
ac519e541a
Added a constructor to MemoryInputStream that will move from a MemoryBlock
5 years ago
jules
f746672c19
Added an overloaded read method to InputStream which takes a size_t as the size parameter, rather than an int
6 years ago
Lukasz Kozakiewicz
4ff0c9c881
Fix a crash on shutdown when DanglingStreamChecker gets destroyed before LeakCounter instances.
6 years ago
ed
497a1b3fb7
Added juce_UnitTestCategories.h to replace raw strings used for test categories
6 years ago
ed
f3af250ff7
Tidied up unit test code layout
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
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
jules
dca741a01d
Made an assertion in MemoryOutputStream::write() slightly more forgiving
6 years ago
ed
a64183914a
Added unit tests to the InputStream classes
6 years ago
ed
e8e69410bb
Override InputStream::skipNextBytes() in MemoryInputStream to call setPosition() as it will be faster than the base class implementation
6 years ago
ed
294a6a9ca3
Corrected the documentation for InputStream::skipNextBytes()
6 years ago
ed
ba85dd7a05
Added some missing override keywords
6 years ago
Tom Poole
5c26cd5586
Reverted 6ca7af73cf
"Optimised the base class implementation of InputStream::skipNextBytes() a bit"
6 years ago
Tom Poole
0e1722e387
Multiple spelling fixes
6 years ago
ed
2f2250662e
Updated the documentation of InputStream::skipNextBytes() to reflect the changes in the last commit
6 years ago
ed
6ca7af73cf
Optimised the base class implementation of InputStream::skipNextBytes() a bit
6 years ago
jules
efda09a512
Added a parameter to File::appendText, File::replaceWithText and OutputStream::writeText to provide control over if/how line-feeds are replaced when writing text to a file
7 years ago
Noah Dayan
db1e454f45
Fixed a documentation tag in URLInputSource
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
hogliux
f802c6950b
Add URLInputSource class
7 years ago
jules
08a1b7bb6d
Improved error handling in BufferedInputStream and tidied up a few classes in the streams folder
7 years ago
jules
a03fd6b0a3
Fixed a mistake in InputStream::readNextLine()
7 years ago
jules
a7c56fd89b
Simplified and tidied up a few things in input/output streams and MemoryBlock
7 years ago
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
7 years ago
jules
3d7c777238
Some light modernisation of a bunch of old code
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
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.
7 years ago
jules
3675c0a841
Added method BufferedInputStream::peekByte(), and tidied up some internal code in that 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
hogliux
9f3fb1c0a6
Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated
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
ed
1e2cb6f6f7
Changed documentation for OutputStream::setNewLineString() to remove mention of non-existent writeNewLine() method
8 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
jules
ebc47d9618
Avoided possible arithmetic overflow in MemoryInputStream::read() for very large streams.
9 years ago
jules
88ca15e6f2
Added override specifiers to unit test classes
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
06c1a15496
Added some missing 'override' decorators
10 years ago
jules
c5595695fe
Optimisation to XML parsing of documents that contain large text sections.
10 years ago