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

84 commits

Author SHA1 Message Date
jules
ac519e541a Added a constructor to MemoryInputStream that will move from a MemoryBlock 2019-07-02 13:54:38 +01:00
jules
f746672c19 Added an overloaded read method to InputStream which takes a size_t as the size parameter, rather than an int 2019-06-13 10:10:26 +01:00
Lukasz Kozakiewicz
4ff0c9c881 Fix a crash on shutdown when DanglingStreamChecker gets destroyed before LeakCounter instances. 2019-05-20 17:30:20 +02: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
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
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
jules
dca741a01d Made an assertion in MemoryOutputStream::write() slightly more forgiving 2018-09-06 22:01:19 +01:00
ed
a64183914a Added unit tests to the InputStream classes 2018-09-06 09:35:30 +01:00
ed
e8e69410bb Override InputStream::skipNextBytes() in MemoryInputStream to call setPosition() as it will be faster than the base class implementation 2018-09-06 09:35:30 +01:00
ed
294a6a9ca3 Corrected the documentation for InputStream::skipNextBytes() 2018-09-06 09:35:30 +01:00
ed
ba85dd7a05 Added some missing override keywords 2018-09-03 10:54:16 +01:00
Tom Poole
5c26cd5586 Reverted 6ca7af73cf "Optimised the base class implementation of InputStream::skipNextBytes() a bit" 2018-08-29 17:51:52 +01:00
Tom Poole
0e1722e387 Multiple spelling fixes 2018-08-20 18:16:24 +01:00
ed
2f2250662e Updated the documentation of InputStream::skipNextBytes() to reflect the changes in the last commit 2018-08-15 15:39:48 +01:00
ed
6ca7af73cf Optimised the base class implementation of InputStream::skipNextBytes() a bit 2018-08-15 15:35:55 +01:00
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 2018-04-16 12:26:42 +01:00
Noah Dayan
db1e454f45 Fixed a documentation tag in URLInputSource 2018-03-29 15:19:32 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
hogliux
f802c6950b Add URLInputSource class 2018-03-13 15:44:59 +00:00
jules
08a1b7bb6d Improved error handling in BufferedInputStream and tidied up a few classes in the streams folder 2017-11-02 12:14:10 +00:00
jules
a03fd6b0a3 Fixed a mistake in InputStream::readNextLine() 2017-10-17 09:50:30 +01:00
jules
a7c56fd89b Simplified and tidied up a few things in input/output streams and MemoryBlock 2017-10-13 12:55:46 +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
3d7c777238 Some light modernisation of a bunch of old code 2017-10-04 12:47:43 +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
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
jules
3675c0a841 Added method BufferedInputStream::peekByte(), and tidied up some internal code in that class 2017-06-29 15:16:35 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00
tpoole
2e84129479 Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license 2016-12-14 10:07:26 +00:00
ed
1e2cb6f6f7 Changed documentation for OutputStream::setNewLineString() to remove mention of non-existent writeNewLine() method 2016-11-28 14:30:05 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
ebc47d9618 Avoided possible arithmetic overflow in MemoryInputStream::read() for very large streams. 2015-10-06 16:53:30 +01:00
jules
88ca15e6f2 Added override specifiers to unit test classes 2015-08-10 16:21:16 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
06c1a15496 Added some missing 'override' decorators 2015-05-15 12:54:44 +01:00
jules
c5595695fe Optimisation to XML parsing of documents that contain large text sections. 2015-01-10 11:40:09 +00:00
jules
2cc283fddd More efficient preallocation when reading large files into memory. 2014-09-29 09:41:43 +01:00
jules
fe61c37d93 Updated the return types of OutputStream::writeFromInputStream and InputStream::readIntoMemoryBlock 2014-08-11 09:44:14 +01:00
jules
2f1ef234ce Tightened up a few places where numeric conversion warnings could happen. 2014-07-10 18:57:24 +01:00
jules
28e4473a6b Fixed some typos. 2014-02-26 19:47:55 +00:00
jules
3e1c6b6a65 Optimisation to OutputStream::writeString 2014-02-09 17:36:38 +00:00
jules
61d1e1b7ba Avoiding a few MSVC warnings 2013-10-22 19:29:04 +01:00
jules
5f00e94f3e Fixed a string allocation problem. 2013-10-17 17:34:22 +01:00
jules
5051b2ffcc Optimised some number streaming functions. 2013-09-22 12:25:52 +01:00
jules
435089e89b Updated the UnitTest class to provide a shared, reproducible random seed for each run, to allow failures to be re-created. Also converted a few Strings to StringRefs. 2013-09-11 10:29:48 +01:00
jules
2fccfccbc0 Misc performance tweaks. 2013-09-06 11:25:49 +01:00