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
a7ce9aab98
MidiBuffer: Allow addEvent to report success or failure
4 years ago
reuk
01f01e7d6e
MidiBuffer: Ensure correct number of events are removed by clear function
4 years ago
reuk
0943291990
MidiFile: Make file-reading more robust
This commit adds tests and fixes some potential crashes caused by
out-of-bounds reads.
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
d7ed5104c5
MidiBuffer: Fix deprecated iterator
5 years ago
reuk
eae9a10944
MidiBuffer: Add iterator compatible with C++11 range-for
5 years ago
Tom Poole
9417fae499
Tidied up some code in MidiBuffer
5 years ago
jules
15567c7150
Changed the constructor of GenericAudioProcessorEditor to take a reference rather than a pointer, to match all the other AudioProcessorEditor classes. Also tweaked its implementation to resize its components horizontally to fit the width of the parent window
6 years ago
Tom Poole
e1e3b42b4f
Fixed an invalid memory read when handling MIDI reset messages
6 years ago
tpoole
51b3eaebb2
Fixed some VS2013 compiler errors
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
tpoole
9b687968db
Fixed some g++ compiler warnings
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
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
hogliux
c7b8e77031
Update copyright notice
9 years ago
hogliux
2f2c8436b8
Add utility functions to access un-aligned memory
10 years ago
jules
2f1ef234ce
Tightened up a few places where numeric conversion warnings could happen.
11 years ago
jules
61d1e1b7ba
Avoiding a few MSVC warnings
11 years ago
jules
171c1f31ae
Fixed a typo in the last MidiBuffer changes.
11 years ago
jules
ad10abfee0
Simplified the internal workings of the MidiBuffer class.
11 years ago
jules
b093f47a8c
Misc minor cleanups and comment fixes.
11 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
1f95f54089
Purged some warnings.
13 years ago
jules
56bbab1537
(automated whitespace clean-up)
13 years ago
jules
8f4548745a
Minor introjucer rejigging.
13 years ago
jules
295d125142
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
13 years ago
jules
dcc767868f
Misc minor clean-ups.
13 years ago
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
13 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
904e1aba45
A couple of minor fixes, and changed code to use std::swap instead of swapVariables()
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
377b9ff2c4
Added a couple of useful constructors to some stream classes. Replaced some old static functions with anonymous namespaces.
14 years ago
Julian Storer
cac473bb1e
Minor code clean-ups.
14 years ago
Julian Storer
de4d8a5a14
Minor code clean-ups.
14 years ago
Julian Storer
27506c2120
Copyright notice update.
15 years ago
Julian Storer
c1f4f5501f
Added a couple of methods to ValueTree. Added a MidiBuffer::ensureSize method and used it in the audio plugin wrapper code to preallocate their midi buffers.
15 years ago
Julian Storer
b67c077f0d
Minor code clean-ups.
15 years ago
Julian Storer
a728139698
Small fix for demo plugin code. Minor code clean-ups.
15 years ago
Julian Storer
8b8316038b
Converted the BitArray class into "BigInteger", replacing its clunky old arithmetic methods with a proper set of arithmetic operators so it can be used like an int. All the bit-access methods are still there, and there's a typedef of BitArray -> BigInteger to allow most old code to still work. (You might need to change calls to isEmpty() to isZero() though). Also fixed a bug in MidiBuffer.
15 years ago
Julian Storer
bc5a7a6b7e
Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock.
15 years ago
Julian Storer
08eb852103
Minor code clean-ups.
15 years ago
Julian Storer
6bf8b51c5a
Added X-windows locking for all linux windowing, and added a class ScopedXLock to allow it to be done around client code as well. Misc fixes for mac menus, win32 WM_QUIT messages, MidiKeyboardComponent. Added text colour id to DirectoryContentsDisplayComponent.
15 years ago
Julian Storer
e61e8f6775
Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future).
15 years ago
Julian Storer
97035bb3a1
Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups.
15 years ago
Julian Storer
a126b1918a
Added a colour ID for TextButton text when the button is toggled on. Improved the class hierarchy implementation of some container classes. Made DSound cope better with dropped buffers.
15 years ago
Julian Storer
80753f4c03
Lots of minor changes to prevent warnings. Small fixes to Path, AudioThumbnail, ValueTree, OutputStreams. Tweaks to convert Drawables to/from ValueTrees. New method to write XML to a stream.
15 years ago
jules
158a17f08a
(Added missing files from last check-in)
15 years ago