1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some more typos

This commit is contained in:
ed 2020-01-07 08:53:23 +00:00
parent 8f6f29943d
commit a54da0b832
104 changed files with 157 additions and 157 deletions

View file

@ -409,7 +409,7 @@ public:
setLEDProgram (*activeBlock);
}
// Make the on screen Lighpad component visible
// Make the on screen Lightpad component visible
lightpadComponent.setVisible (true);
infoLabel.setVisible (false);
@ -566,7 +566,7 @@ private:
return;
}
// If there is no ActiveLED obejct for this LED then create one,
// If there is no ActiveLED object for this LED then create one,
// add it to the array, set the LED on the Block and return
if (index < 0)
{

View file

@ -95,7 +95,7 @@ public:
button->removeListener (this);
}
/** Called periodically to update the tooltip with inforamtion about the Block */
/** Called periodically to update the tooltip with information about the Block */
void updateStatsAndTooltip()
{
// Get the battery level of this Block and inform any subclasses

View file

@ -126,7 +126,7 @@ private:
if (selectedFile.existsAsFile())
imagePreview.setImage (ImageCache::getFromFile (selectedFile));
// the image cahce is a handly way to load images from files or directly from memory and
// the image cache is a handy way to load images from files or directly from memory and
// will keep them hanging around for a few seconds in case they are requested elsewhere
}

View file

@ -51,7 +51,7 @@
//==============================================================================
/** The Note class contains text editor used to display and edit the note's contents and will
also listen to changes in the text and mark the FileBasedDocument as 'dirty'. This 'dirty'
flag is used to promt the user to save the note when it is closed.
flag is used to prompt the user to save the note when it is closed.
*/
class Note : public Component,
public FileBasedDocument

View file

@ -134,7 +134,7 @@ private:
{
stopFlashing();
sendChangeMessage();
// Once we've finsihed flashing send a change message to trigger the next component to flash
// Once we've finished flashing send a change message to trigger the next component to flash
}
repaint();
@ -173,7 +173,7 @@ public:
addAndMakeVisible (randomColourButton);
randomColourButton.onClick = [this] { randomColourButtonClicked(); };
// lay out our components in a psudo random grid
// lay out our components in a pseudo random grid
Rectangle<int> area (0, 100, 150, 150);
for (auto* comp : flashingComponents)

View file

@ -345,7 +345,7 @@ private:
resultsTree.setRootItem (rootItem.get());
}
/** Parses the editors contects as XML. */
/** Parses the editor's contents as XML. */
TreeViewItem* rebuildXml()
{
parsedXml.reset();
@ -368,7 +368,7 @@ private:
return new XmlTreeItem (*parsedXml);
}
/** Parses the editors contects as JSON. */
/** Parses the editor's contents as JSON. */
TreeViewItem* rebuildJson()
{
var parsedJson;

View file

@ -31,7 +31,7 @@
class PluginGraph;
/**
A window that shows a log of parameter change messagse sent by the plugin.
A window that shows a log of parameter change messages sent by the plugin.
*/
class PluginDebugWindow : public AudioProcessorEditor,
public AudioProcessorParameter::Listener,

View file

@ -54,7 +54,7 @@ public:
String className;
String componentName;
String parentClassInitialiser; // optional parent class initialiser to go before the items in the initialisers list
StringArray initialisers; // (a list of the member variables that need initalising after the constructor declaration)
StringArray initialisers; // (a list of the member variables that need initialising after the constructor declaration)
String parentClasses;
String constructorParams;
String privateMemberDeclarations;

View file

@ -479,7 +479,7 @@ public:
props.add (new TextPropertyComponent (subprojectsValue, "Xcode Subprojects", 8192, true),
"Paths to Xcode projects that should be added to the build (one per line). "
"The names of the required build products can be specified after a colon, comma seperated, "
"The names of the required build products can be specified after a colon, comma separated, "
"e.g. \"path/to/MySubProject.xcodeproj: MySubProject, OtherTarget\". "
"If no build products are specified, all build products associated with a subproject will be added.");

View file

@ -125,7 +125,7 @@ public:
if (errors.size() == 0)
{
// Workaround for a bug where Xcode thinks the project is invalid if opened immedietely
// Workaround for a bug where Xcode thinks the project is invalid if opened immediately
// after writing
if (waitAfterSaving)
Thread::sleep (2000);

View file

@ -42,7 +42,7 @@ public:
//==============================================================================
/**
Creating one of these automatically sends analytics events to the Analytics
singeton when the corresponding button is clicked.
singleton when the corresponding button is clicked.
The name and parameters of the analytics event will be populated from the
variables supplied here. If clicking changes the button's state then the

View file

@ -116,7 +116,7 @@ public:
/** Copies another buffer.
This buffer will make its own copy of the other's data, unless the buffer was created
using an external data buffer, in which case boths buffers will just point to the same
using an external data buffer, in which case both buffers will just point to the same
shared block of data.
*/
AudioBuffer (const AudioBuffer& other)

View file

@ -73,7 +73,7 @@ public:
Represents a piano keyboard, keeping track of which keys are currently pressed.
This object can parse a stream of midi events, using them to update its idea
of which keys are pressed for each individiual midi channel.
of which keys are pressed for each individual midi channel.
When keys go up or down, it can broadcast these events to listener objects.
@ -135,7 +135,7 @@ public:
It will also trigger a synchronous callback to the listeners to tell them that the key has
gone up.
But if the note isn't acutally down for the given channel, this method will in fact do nothing.
But if the note isn't actually down for the given channel, this method will in fact do nothing.
*/
void noteOff (int midiChannel, int midiNoteNumber, float velocity);

View file

@ -378,7 +378,7 @@ struct MidiMessageSequenceTest : public UnitTest
expectEquals (s.getIndexOfMatchingKeyUp (0), 2);
expectEquals (s.getIndexOfMatchingKeyUp (1), 3);
beginTest ("Time & indeces");
beginTest ("Time & indices");
expectEquals (s.getNextIndexAtTime (0.5), 1);
expectEquals (s.getNextIndexAtTime (2.5), 2);
expectEquals (s.getNextIndexAtTime (9.0), 4);

View file

@ -142,7 +142,7 @@ public:
@param use14BitValue If true (default), the value will have 14-bit precision
(two MIDI bytes). If false, instead the value will have
7-bit presision (a single MIDI byte).
7-bit precision (a single MIDI byte).
*/
static MidiBuffer generate (int channel,
int parameterNumber,

View file

@ -27,7 +27,7 @@ namespace juce
/**
This class represents an instrument handling MPE.
It has an MPE zone layout and maintans a state of currently
It has an MPE zone layout and maintains a state of currently
active (playing) notes and the values of their dimensions of expression.
You can trigger and modulate notes:

View file

@ -99,7 +99,7 @@ public:
/** Returns the sequence of MIDI messages that, if sent to an Expressive
MIDI device, will reset the whole MPE zone layout of the
device to the laoyut passed in. This will first clear the current lower and upper
device to the layout passed in. This will first clear the current lower and upper
zones, then then set the zones contained in the passed-in zone layout, and set their
per-note and master pitchbend ranges to their current values.
*/

View file

@ -247,7 +247,7 @@ protected:
int numSamples) override;
/** This will simply call renderNextBlock for each currently active
voice and fill the buffer with the sum. (souble-precision version)
voice and fill the buffer with the sum. (double-precision version)
Override this method if you need to do more work to render your audio.
*/
void renderNextSubBlock (AudioBuffer<double>& outputAudio,

View file

@ -122,7 +122,7 @@ public:
An AudioSource has two states: prepared and unprepared.
The prepareToPlay() method is guaranteed to be called at least once on an 'unpreprared'
The prepareToPlay() method is guaranteed to be called at least once on an 'unprepared'
source to put it into a 'prepared' state before any calls will be made to getNextAudioBlock().
This callback allows the source to initialise any resources it might need when playing.

View file

@ -63,7 +63,7 @@
Enables the use of the Windows Runtime API for MIDI, allowing connections
to Bluetooth Low Energy devices on Windows 10 version 1809 (October 2018
Update) and later. If you enable this flag then older, unsupported,
versions of Windows will automatically fall back to using the regualar
versions of Windows will automatically fall back to using the regular
Win32 MIDI API.
You will need version 10.0.14393.0 of the Windows Standalone SDK to compile

View file

@ -757,7 +757,7 @@ public:
// only the player or the recorder should enter this section at any time
if (guard.compareAndSetBool (1, 0))
{
// are there enough buffers avaialable to process some audio
// are there enough buffers available to process some audio
if ((inputChannels == 0 || recorder->isBufferAvailable()) && (outputChannels == 0 || player->isBufferAvailable()))
{
T* recorderBuffer = (inputChannels > 0 ? recorder->getNextBuffer() : nullptr);
@ -854,7 +854,7 @@ public:
22050.0, 24000.0, 32000.0, 44100.0, 48000.0 };
Array<double> retval (rates, numElementsInArray (rates));
// make sure the native sample rate is pafrt of the list
// make sure the native sample rate is part of the list
double native = getNativeSampleRate();
if (native != 0.0 && ! retval.contains (native))

View file

@ -1249,7 +1249,7 @@ private:
snd_device_name_free_hint (hints);
}
// sometimes the "default" device is not listed, but it is nice to see it explicitely in the list
// sometimes the "default" device is not listed, but it is nice to see it explicitly in the list
if (! outputIds.contains ("default"))
testDevice ("default", "Default ALSA Output", "Default ALSA Input");

View file

@ -31,7 +31,7 @@ namespace juce
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnonnull" // aovid some spurious 10.11 SDK warnings
#pragma clang diagnostic ignored "-Wnonnull" // avoid some spurious 10.11 SDK warnings
#endif
//==============================================================================

View file

@ -1458,8 +1458,8 @@ private:
}
).Get());
// We need to use a timout here, rather than waiting indefinitely, as the
// WinRT API can occaisonally hang!
// We need to use a timeout here, rather than waiting indefinitely, as the
// WinRT API can occasionally hang!
portOpened.wait (2000);
}

View file

@ -352,9 +352,9 @@ public:
auto status = AudioFileOpenWithCallbacks (this,
&readCallback,
nullptr, // write needs to be null to avoid permisisions errors
nullptr, // write needs to be null to avoid permissions errors
&getSizeCallback,
nullptr, // setSize needs to be null to avoid permisisions errors
nullptr, // setSize needs to be null to avoid permissions errors
0, // AudioFileTypeID inFileTypeHint
&audioFileID);
if (status == noErr)
@ -616,7 +616,7 @@ public:
: UnitTest ("Core Audio Layout <-> JUCE channel layout conversion", UnitTestCategories::audio)
{}
// some ambisonic tags which are not explicitely defined
// some ambisonic tags which are not explicitly defined
enum
{
kAudioChannelLayoutTag_HOA_ACN_SN3D_0Order = (190U<<16) | 1,

View file

@ -1356,7 +1356,7 @@ public:
{
// failed to write to disk, so let's try writing the header.
// If it's just run out of disk space, then if it does manage
// to write the header, we'll still have a useable file..
// to write the header, we'll still have a usable file..
writeHeader();
writeFailed = true;
return false;

View file

@ -206,7 +206,7 @@ public:
if (hasJumped)
bufferedRange.setStart ((int64) ((sampleTime * (int64) sampleRate) / 10000000));
else
bufferedRange.setStart (bufferedRange.getEnd()); // (because the positions returned often aren't continguous)
bufferedRange.setStart (bufferedRange.getEnd()); // (because the positions returned often aren't contiguous)
bufferedRange.setLength ((int64) (dataLength / stride));

View file

@ -1652,7 +1652,7 @@ namespace AAXClasses
if (isInAudioSuite())
{
// AudioSuite doesnt support multiple output buses
// AudioSuite doesn't support multiple output buses
for (int i = 1; i < newLayout.outputBuses.size(); ++i)
newLayout.outputBuses.getReference (i) = AudioChannelSet::disabled();
@ -1823,7 +1823,7 @@ namespace AAXClasses
if (LegacyAudioParameter::getParamID (aaxMeters[idx], false) == paramID)
break;
// you sepecified a parameter id in your curve but the parameter does not have the meter
// you specified a parameter id in your curve but the parameter does not have the meter
// category
jassert (idx < aaxMeters.size());
return 'Metr' + static_cast<AAX_CTypeID> (idx);

View file

@ -38,21 +38,21 @@
#if JucePlugin_VersionCode < 0x010000 // Major < 0
#if (JucePlugin_VersionCode & 0x00FF00) > (9 * 0x100) // check if Minor number exceeeds 9
#if (JucePlugin_VersionCode & 0x00FF00) > (9 * 0x100) // check if Minor number exceeds 9
JUCE_COMPILER_WARNING ("When version has 'major' = 0, VST2 has trouble displaying 'minor' exceeding 9")
#endif
#if (JucePlugin_VersionCode & 0xFF) > 9 // check if Bugfix number exceeeds 9
#if (JucePlugin_VersionCode & 0xFF) > 9 // check if Bugfix number exceeds 9
JUCE_COMPILER_WARNING ("When version has 'major' = 0, VST2 has trouble displaying 'bugfix' exceeding 9")
#endif
#elif JucePlugin_VersionCode >= 0x650000 // Major >= 101
#if (JucePlugin_VersionCode & 0x00FF00) > (99 * 0x100) // check if Minor number exceeeds 99
#if (JucePlugin_VersionCode & 0x00FF00) > (99 * 0x100) // check if Minor number exceeds 99
JUCE_COMPILER_WARNING ("When version has 'major' > 100, VST2 has trouble displaying 'minor' exceeding 99")
#endif
#if (JucePlugin_VersionCode & 0xFF) > 99 // check if Bugfix number exceeeds 99
#if (JucePlugin_VersionCode & 0xFF) > 99 // check if Bugfix number exceeds 99
JUCE_COMPILER_WARNING ("When version has 'major' > 100, VST2 has trouble displaying 'bugfix' exceeding 99")
#endif

View file

@ -230,7 +230,7 @@ void detachComponentFromWindowRefVST (Component* comp, void* window, bool isNSVi
// The event loop needs to be run between closing the window and deleting the plugin,
// presumably to let the cocoa objects get tidied up. Leaving out this line causes crashes
// in Live when you delete the plugin with its window open.
// (Doing it this way rather than using a single longer timout means that we can guarantee
// (Doing it this way rather than using a single longer timeout means that we can guarantee
// how many messages will be dispatched, which seems to be vital in Reaper)
if (needToRunMessageLoop)
for (int i = 20; --i >= 0;)

View file

@ -78,7 +78,7 @@ public:
errorMessage string.
If you intend to instantiate a AudioUnit v3 plug-in then you must either
use the non-blocking asynchrous version below - or call this method from a
use the non-blocking asynchronous version below - or call this method from a
thread other than the message thread and without blocking the message
thread.
*/
@ -90,7 +90,7 @@ public:
all the formats that this manager knows about.
The caller must supply a callback object which will be called when
the instantantiation has completed.
the instantiation has completed.
If it can't load the plugin then the callback function will be called
passing a nullptr as the instance argument along with an error message.
@ -105,7 +105,7 @@ public:
the callback function.
If you intend to instantiate a AudioUnit v3 plug-in then you must use
this non-blocking asynchrous version - or call the synchrous method
this non-blocking asynchronous version - or call the synchronous method
from an auxiliary thread.
*/
void createPluginInstanceAsync (const PluginDescription& description,

View file

@ -2322,7 +2322,7 @@ private:
// Workaround: unfortunately old JUCE VST-2 plug-ins had a bug and would crash if
// you try to get the speaker arrangement when there are no input channels present.
// Hopefully, one day (when there are no more old JUCE plug-ins around), we can
// commment out the next two lines.
// comment out the next two lines.
if (effect->numInputs == 0)
return false;

View file

@ -51,7 +51,7 @@ protected:
//==============================================================================
/** Constructor.
This constructor will create a main input and output bus which are diabled
This constructor will create a main input and output bus which are disabled
by default. If you need more fine-grained control then use the other constructors.
*/
AudioProcessor();
@ -400,7 +400,7 @@ public:
/** Return the number of channels of the current bus. */
inline int getNumberOfChannels() const noexcept { return cachedChannelCount; }
/** Set the number of channles of this bus. This will return false if the AudioProcessor
/** Set the number of channels of this bus. This will return false if the AudioProcessor
does not support this layout.
*/
bool setNumberOfChannels (int channels);
@ -627,7 +627,7 @@ public:
*/
int getChannelIndexInProcessBlockBuffer (bool isInput, int busIndex, int channelIndex) const noexcept;
/** Returns the offset in a bus's buffer from an absolute channel indes.
/** Returns the offset in a bus's buffer from an absolute channel index.
This method returns the offset in a bus's buffer given an absolute channel index.
It also provides the bus index. For example, this method would return one
@ -771,7 +771,7 @@ public:
/** Returns the next best layout which is contained in a channel layout map.
You can use this mehtod to help you implement getNextBestLayout. For example:
You can use this method to help you implement getNextBestLayout. For example:
@code
BusesLayout getNextBestLayout (const BusesLayout& layouts) override
@ -900,7 +900,7 @@ public:
If this method returns a nullptr then you can still control the bypass by
calling processBlockBypassed instead of processBlock. On the other hand,
if this method returns a non-null value, you should never call
processBlockBypassed but use the returned parameter to conrol the bypass
processBlockBypassed but use the returned parameter to control the bypass
state instead.
A plug-in can override this function to return a parameter which control's your
@ -1231,7 +1231,7 @@ public:
AudioProcessor about which track the AudioProcessor is loaded on. This method
may only be called on the message thread.
If you are implemeting an AudioProcessor then you can override this callback
If you are implementing an AudioProcessor then you can override this callback
to do something useful with the track properties such as changing the colour
of your AudioProcessor's editor. It's entirely up to the host when and how
often this callback will be called.

View file

@ -205,7 +205,7 @@ public:
/** Returns the current value of the parameter as a String.
This function can be called when you are hosting plug-ins to get a
more specialsed textual represenation of the current value from the
more specialised textual representation of the current value from the
plug-in, for example "On" rather than "1.0".
If you are implementing a plug-in then you should ignore this function

View file

@ -166,7 +166,7 @@ public:
/** Returns the group's separator string. */
String getSeparator() const;
/** Returns the parent of the group, or nullptr if this is a top-levle group. */
/** Returns the parent of the group, or nullptr if this is a top-level group. */
const AudioProcessorParameterGroup* getParent() const noexcept;
//==============================================================================

View file

@ -398,7 +398,7 @@ public:
// You need to use at least one thread when scanning plug-ins asynchronously
jassert (! allowAsync || (numThreads > 0));
// If the filesOrIdentifiersToScan argumnent isn't empty, we should only scan these
// If the filesOrIdentifiersToScan argument isn't empty, we should only scan these
// If the path is empty, then paths aren't used for this format.
if (filesOrIdentifiersToScan.isEmpty() && path.getNumPaths() > 0)
{

View file

@ -61,7 +61,7 @@ public:
An AudioSource has two states: prepared and unprepared.
The prepareToPlay() method is guaranteed to be called at least once on an 'unpreprared'
The prepareToPlay() method is guaranteed to be called at least once on an 'unprepared'
source to put it into a 'prepared' state before any calls will be made to getNextAudioBlock().
This callback allows the source to initialise any resources it might need when playing.

View file

@ -458,7 +458,7 @@ public:
/** Provides a callback that will be called when a config changes. */
virtual void setConfigChangedCallback (std::function<void(Block&, const ConfigMetaData&, uint32)>) = 0;
/** Provides a callback that will be called when a prgoram has been loaded. */
/** Provides a callback that will be called when a program has been loaded. */
virtual void setProgramLoadedCallback (std::function<void(Block&)> programLoaded) = 0;
//==============================================================================

View file

@ -40,10 +40,10 @@ public:
/** The release tag for this version, such as "beta", "alpha", "rc", etc */
String releaseType;
/** A numberical value assosiated with the release tag, such as "beta 4" */
/** A numerical value associated with the release tag, such as "beta 4" */
int releaseCount = 0;
/** The assosiated git commit that generated this firmware version */
/** The associated git commit that generated this firmware version */
String commit;
/** Identify "forced" firmware builds **/

View file

@ -95,13 +95,13 @@ public:
/** Returns the position of this button on the device, in device units.
For buttons that are on the side of the device, this may want to return a value that
is beyond the phyiscal block size.
is beyond the physical block size.
*/
virtual float getPositionX() const = 0;
/** Returns the position of this button on the device, in device units.
For buttons that are on the side of the device, this may want to return a value that
is beyond the phyiscal block size.
is beyond the physical block size.
*/
virtual float getPositionY() const = 0;

View file

@ -130,7 +130,7 @@ public:
TouchEntry* end() noexcept { return touches.end(); }
const TouchEntry* end() const noexcept { return touches.end(); }
/** Retrieve a reference to particular item in the list of touch entires. */
/** Retrieve a reference to particular item in the list of touch entries. */
TouchEntry& operator[] (const int index) { return touches.getReference (index); }
/** Resets all contents, doest not generate any call-backs. */

View file

@ -25,7 +25,7 @@ namespace juce
/**
Firmware below 0.3.0 does not report its version over the Blocks API.
This class can make requests and process responses to retreive the master Block version.
This class can make requests and process responses to retrieve the master Block version.
*/
class DepreciatedVersionReader : private MIDIDeviceConnection::Listener,
private Timer

View file

@ -149,8 +149,8 @@ private:
bool lockedFromOutside = true;
/** For backwards compatibility, the block interprocess lock has to use the midi input name.
The below is necceccary because blocks of the same type might duplicate a port name, so
must share an interporcess lock.
The below is necessary because blocks of the same type might duplicate a port name, so
must share an interprocess lock.
*/
std::shared_ptr<InterProcessLock> createMidiPortLock (const String& midiInName, const String& midiOutName)
{

View file

@ -31,7 +31,7 @@ namespace juce
class BlockGraph
{
public:
/** Creates a BlockGraph object from a BlockTopology with an optional filter fucntion. This
/** Creates a BlockGraph object from a BlockTopology with an optional filter function. This
will build a block graph of traversal paths for each master.
*/
BlockGraph (const BlockTopology topology, std::function<bool(Block::Ptr block)> filter = nullptr);

View file

@ -23,7 +23,7 @@
namespace juce
{
/** Describes a phyiscal connection between two ports of two block devices.
/** Describes a physical connection between two ports of two block devices.
@tags{Blocks}
*/

View file

@ -73,11 +73,11 @@ public:
@param buffer The message that should be encrypted. See bufferSize on size
requirements!
@param sizeOfMsg The size of the message that should be encrypted in bytes
@param bufferSize The size of the buffer in bytes. To accommodate the encypted
@param bufferSize The size of the buffer in bytes. To accommodate the encrypted
data, the buffer must be larger than the message: the size of
the buffer needs to be equal or greater than the size of the
message in bytes rounded to the next integer which is divisable
by eight. If the message size in bytes is already divisable by eight
message in bytes rounded to the next integer which is divisible
by eight. If the message size in bytes is already divisible by eight
then you need to add eight bytes to the buffer size. If in doubt
simply use bufferSize = sizeOfMsg + 8.

View file

@ -234,7 +234,7 @@ public:
return AudioBlock (channels + channel, 1, startSample, numSamples);
}
/** Returns a subset of continguous channels
/** Returns a subset of contiguous channels
@param channelStart First channel of the subset
@param numChannelsToUse Count of channels in the subset
*/

View file

@ -40,7 +40,7 @@ namespace dsp
A wrapper around the platform's native SIMD register type.
This class is only available on SIMD machines. Use JUCE_USE_SIMD to query
if SIMD is avaialble for your system.
if SIMD is available for your system.
SIMDRegister<Type> is a templated class representing the native
vectorized version of FloatingType. SIMDRegister supports all numerical
@ -117,7 +117,7 @@ struct SIMDRegister
/** Constructs an object from a scalar type by broadcasting it to all elements. */
inline SIMDRegister (Type s) noexcept { *this = s; }
/** Destrutor. */
/** Destructor. */
inline ~SIMDRegister() noexcept = default;
//==============================================================================
@ -204,23 +204,23 @@ struct SIMDRegister
inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator*= (ElementType s) noexcept { value = CmplxOps::mul (value, CmplxOps::expand (s)); return *this; }
//==============================================================================
/** Bit-and the reciver with SIMDRegister v and store the result in the receiver. */
/** Bit-and the receiver with SIMDRegister v and store the result in the receiver. */
inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator&= (vMaskType v) noexcept { value = NativeOps::bit_and (value, toVecType (v.value)); return *this; }
/** Bit-or the reciver with SIMDRegister v and store the result in the receiver. */
/** Bit-or the receiver with SIMDRegister v and store the result in the receiver. */
inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator|= (vMaskType v) noexcept { value = NativeOps::bit_or (value, toVecType (v.value)); return *this; }
/** Bit-xor the reciver with SIMDRegister v and store the result in the receiver. */
/** Bit-xor the receiver with SIMDRegister v and store the result in the receiver. */
inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator^= (vMaskType v) noexcept { value = NativeOps::bit_xor (value, toVecType (v.value)); return *this; }
//==============================================================================
/** Bit-and each element of the reciver with the scalar s and store the result in the receiver.*/
/** Bit-and each element of the receiver with the scalar s and store the result in the receiver.*/
inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator&= (MaskType s) noexcept { value = NativeOps::bit_and (value, toVecType (s)); return *this; }
/** Bit-or each element of the reciver with the scalar s and store the result in the receiver.*/
/** Bit-or each element of the receiver with the scalar s and store the result in the receiver.*/
inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator|= (MaskType s) noexcept { value = NativeOps::bit_or (value, toVecType (s)); return *this; }
/** Bit-xor each element of the reciver with the scalar s and store the result in the receiver.*/
/** Bit-xor each element of the receiver with the scalar s and store the result in the receiver.*/
inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator^= (MaskType s) noexcept { value = NativeOps::bit_xor (value, toVecType (s)); return *this; }
//==============================================================================

View file

@ -195,7 +195,7 @@ public:
}
//==============================================================================
// Someuseful operations to test
// Some useful operations to test
struct Addition
{
template <typename typeOne, typename typeTwo>

View file

@ -62,7 +62,7 @@ public:
/** Performs an in-place forward transform on a block of real data.
As the coefficients of the negative frequences (frequencies higher than
As the coefficients of the negative frequencies (frequencies higher than
N/2 or pi) are the complex conjugate of their positive counterparts,
it may not be necessary to calculate them for your particular application.
You can use dontCalculateNegativeFrequencies to let the FFT

View file

@ -198,7 +198,7 @@ public:
with the coefficients of b. After the execution of the algorithm,
the vector b will contain the solution.
Returns true if the linear system of euqations was successfully solved.
Returns true if the linear system of equations was successfully solved.
*/
bool solve (Matrix& b) const noexcept;

View file

@ -73,7 +73,7 @@ public:
@param newValue a value between 0 and 1; higher values increase the resonance and can result in self oscillation! */
void setResonance (Type newValue) noexcept;
/** Sets the amound of saturation in the filter.
/** Sets the amount of saturation in the filter.
@param newValue saturation amount; it can be any number greater than or equal to one. Higher values result in more distortion.*/
void setDrive (Type newValue) noexcept;

View file

@ -132,7 +132,7 @@ public:
auto&& outBlock = context.getOutputBlock();
auto&& inBlock = context.getInputBlock();
// this is an output-only processory
// this is an output-only processor
jassert (outBlock.getNumSamples() <= static_cast<size_t> (rampBuffer.size()));
auto len = outBlock.getNumSamples();

View file

@ -51,7 +51,7 @@ private:
//==============================================================================
ActionBroadcaster::ActionBroadcaster()
{
// are you trying to create this object before or after juce has been intialised??
// are you trying to create this object before or after juce has been initialised??
JUCE_ASSERT_MESSAGE_MANAGER_EXISTS
}

View file

@ -103,7 +103,7 @@ struct NetworkServiceDiscovery
/** Destructor */
~AvailableServiceList() override;
/** A lambda that can be set to recieve a callback when the list changes */
/** A lambda that can be set to receive a callback when the list changes */
std::function<void()> onChange;
/** Returns a list of the currently known services. */

View file

@ -34,7 +34,7 @@ void Message::messageCallback()
MessageListener::MessageListener() noexcept
{
// Are you trying to create a messagelistener before or after juce has been intialised??
// Are you trying to create a messagelistener before or after juce has been initialised??
JUCE_ASSERT_MESSAGE_MANAGER_EXISTS
}

View file

@ -223,14 +223,14 @@ public:
If another thread is currently using the MessageManager, this will wait until that
thread releases the lock to the MessageManager.
This call will only exit if the lock was accquired by this thread. Calling abort while
This call will only exit if the lock was acquired by this thread. Calling abort while
a thread is waiting for enter to finish, will have no effect.
@see exit, abort
*/
void enter() const noexcept;
/** Attempts to lock the meesage manager and exits if abort is called.
/** Attempts to lock the message manager and exits if abort is called.
This method behaves identically to enter, except that it will abort waiting for
the lock if the abort method is called.
@ -270,7 +270,7 @@ public:
messageManagerLock.abort();
}
@returns false if waiting for a lock was aborted, true if the lock was accquired.
@returns false if waiting for a lock was aborted, true if the lock was acquired.
@see enter, abort, ScopedTryLock
*/
bool tryEnter() const noexcept;
@ -283,7 +283,7 @@ public:
/** Unblocks a thread which is waiting in tryEnter
Call this method if you want to unblock a thread which is waiting for the
MessageManager lock in tryEnter.
This method does not have any effetc on a thread waiting for a lock in enter.
This method does not have any effect on a thread waiting for a lock in enter.
@see tryEnter
*/
void abort() const noexcept;

View file

@ -492,7 +492,7 @@ public:
/** Draws part of an image, rescaling it to fit in a given target region.
The specified area of the source image is rescaled and drawn to fill the
specifed destination rectangle.
specified destination rectangle.
Images are composited using the context's current opacity, so if you
don't want it to be drawn semi-transparently, be sure to call setOpacity (1.0f)

View file

@ -134,7 +134,7 @@ public:
This may also be set to Font::getDefaultSansSerifFontName(), Font::getDefaultSerifFontName(),
or Font::getDefaultMonospacedFontName(), which are not actual platform-specific font family names,
but are generic font familiy names that are used to represent the various default fonts.
but are generic font family names that are used to represent the various default fonts.
If you need to know the exact typeface font family being used, you can call
Font::getTypeface()->getName(), which will give you the platform-specific font family.

View file

@ -119,7 +119,7 @@ public:
*/
virtual bool getOutlineForGlyph (int glyphNumber, Path& path) = 0;
/** Returns a new EdgeTable that contains the path for the givem glyph, with the specified transform applied. */
/** Returns a new EdgeTable that contains the path for the given glyph, with the specified transform applied. */
virtual EdgeTable* getEdgeTableForGlyph (int glyphNumber, const AffineTransform& transform, float fontHeight);
/** Returns true if the typeface uses hinting. */

View file

@ -270,7 +270,7 @@ public:
*/
float getScaleFactor() const noexcept;
/* A ready-to-use identity transform - now depracated.
/* A ready-to-use identity transform - now deprecated.
@deprecated If you need an identity transform, just use AffineTransform() or {}.
*/
JUCE_DEPRECATED_STATIC (static const AffineTransform identity;)

View file

@ -162,7 +162,7 @@ public:
+ (bottomLeft - topLeft) * relativePosition.y;
}
/** Returns a transformed verstion of the parallelogram. */
/** Returns a transformed version of the parallelogram. */
Parallelogram transformedBy (const AffineTransform& transform) const noexcept
{
auto p = *this;

View file

@ -440,7 +440,7 @@ public:
draw a curve clockwise from the 9 o'clock position to the 3 o'clock position via
12 o'clock, you'd use 1.5*Pi and 2.5*Pi as the start and finish points.
@param startAsNewSubPath if true, the arc will begin a new subpath from its starting point; if false,
it will be added to the current sub-path, continuing from the current postition
it will be added to the current sub-path, continuing from the current position
@see addCentredArc, arcTo, addPieSegment, addEllipse
*/
@ -467,7 +467,7 @@ public:
draw a curve clockwise from the 9 o'clock position to the 3 o'clock position via
12 o'clock, you'd use 1.5*Pi and 2.5*Pi as the start and finish points.
@param startAsNewSubPath if true, the arc will begin a new subpath from its starting point; if false,
it will be added to the current sub-path, continuing from the current postition
it will be added to the current sub-path, continuing from the current position
@see addArc, arcTo
*/
@ -653,7 +653,7 @@ public:
@param preserveProportions if true, it will fit the path into the space without altering its
horizontal/vertical scale ratio; if false, it will distort the
path to fill the specified ratio both horizontally and vertically
@param justificationType if the proportions are preseved, the resultant path may be smaller
@param justificationType if the proportions are preserved, the resultant path may be smaller
than the available rectangle, so this describes how it should be
positioned within the space.
@returns an appropriate transformation
@ -671,7 +671,7 @@ public:
@param preserveProportions if true, it will fit the path into the space without altering its
horizontal/vertical scale ratio; if false, it will distort the
path to fill the specified ratio both horizontally and vertically
@param justificationType if the proportions are preseved, the resultant path may be smaller
@param justificationType if the proportions are preserved, the resultant path may be smaller
than the available rectangle, so this describes how it should be
positioned within the space.
@returns an appropriate transformation

View file

@ -336,13 +336,13 @@ public:
/** Returns the colour of a given pixel.
For performance reasons, this won't do any bounds-checking on the coordinates, so it's the caller's
repsonsibility to make sure they're within the image's size.
responsibility to make sure they're within the image's size.
*/
Colour getPixelColour (int x, int y) const noexcept;
/** Sets the colour of a given pixel.
For performance reasons, this won't do any bounds-checking on the coordinates, so it's the caller's
repsonsibility to make sure they're within the image's size.
responsibility to make sure they're within the image's size.
*/
void setPixelColour (int x, int y, Colour colour) const noexcept;

View file

@ -39,7 +39,7 @@ class JUCE_API ImageConvolutionKernel
{
public:
//==============================================================================
/** Creates an empty convulution kernel.
/** Creates an empty convolution kernel.
@param size the length of each dimension of the kernel, so e.g. if the size
is 5, it will create a 5x5 kernel
@ -73,7 +73,7 @@ public:
/** Multiplies all values in the kernel by a value. */
void rescaleAllValues (float multiplier);
/** Intialises the kernel for a gaussian blur.
/** Initialises the kernel for a gaussian blur.
@param blurRadius this may be larger or smaller than the kernel's actual
size but this will obviously be wasteful or clip at the

View file

@ -303,7 +303,7 @@ namespace DirectWriteTypeLayout
col.getFloatAlpha()),
d2dBrush.resetAndGetPointerAddress());
// We need to call SetDrawingEffect with a legimate brush to get DirectWrite to break text based on colours
// We need to call SetDrawingEffect with a legitimate brush to get DirectWrite to break text based on colours
textLayout.SetDrawingEffect (d2dBrush, range);
}
}

View file

@ -54,7 +54,7 @@ public:
@param buttonName the text to put in the button (the component's name is also
initially set to this string, but these can be changed later
using the setName() and setButtonText() methods)
@param toolTip an optional string to use as a toolip
@param toolTip an optional string to use as a tooltip
*/
TextButton (const String& buttonName, const String& toolTip);

View file

@ -54,7 +54,7 @@ public:
/** Destructor.
Note that when a component is deleted, any child components it contains are NOT
automatically deleted. It's your responsibilty to manage their lifespan - you
automatically deleted. It's your responsibility to manage their lifespan - you
may want to use helper methods like deleteAllChildren(), or less haphazard
approaches like using std::unique_ptrs or normal object aggregation to manage them.
@ -364,7 +364,7 @@ public:
a screen coordinate.
If you've used setTransform() to apply one or more transforms to components, then the source rectangle
may not actually be rectanglular when converted to the target space, so in that situation this will return
may not actually be rectangular when converted to the target space, so in that situation this will return
the smallest rectangle that fully contains the transformed area.
*/
Rectangle<int> getLocalArea (const Component* sourceComponent,
@ -383,7 +383,7 @@ public:
/** Converts a rectangle from this component's coordinate space to a screen coordinate.
If you've used setTransform() to apply one or more transforms to components, then the source rectangle
may not actually be rectanglular when converted to the target space, so in that situation this will return
may not actually be rectangular when converted to the target space, so in that situation this will return
the smallest rectangle that fully contains the transformed area.
@see getLocalPoint, localPointToGlobal
*/
@ -1384,7 +1384,7 @@ public:
virtual void enablementChanged();
//==============================================================================
/** Returns the component's current transparancy level.
/** Returns the component's current transparency level.
See setAlpha() for more details.
*/
float getAlpha() const noexcept;

View file

@ -123,7 +123,7 @@ public:
DrawableComposite* getParent() const;
/** Sets a the clipping region of this drawable using another drawable.
The drawbale passed in will be deleted when no longer needed.
The drawable passed in will be deleted when no longer needed.
*/
void setClipPath (std::unique_ptr<Drawable> drawableClipPath);
@ -178,7 +178,7 @@ public:
static Path parseSVGPath (const String& svgPath);
//==============================================================================
/** Returns the area that this drawble covers.
/** Returns the area that this drawable covers.
The result is expressed in this drawable's own coordinate space, and does not take
into account any transforms that may be applied to the component.
*/

View file

@ -293,7 +293,7 @@ public:
Note: On iOS this will only return true if you have iCloud permissions
and code-signing enabled in the Projucer and have added iCloud containers
to your app in Apple's online developer portal. Additionally, the user must
have installed the iCloud app on their device and used the app at leat once.
have installed the iCloud app on their device and used the app at least once.
*/
static bool isPlatformDialogAvailable();

View file

@ -54,7 +54,7 @@ public:
/** Called to indicate that the user's currently selected file has changed.
@param newSelectedFile the newly selected file or directory, which may be
a defualt File() object if none is selected.
a default File() object if none is selected.
*/
virtual void selectedFileChanged (const File& newSelectedFile) = 0;

View file

@ -389,7 +389,7 @@ void Viewport::updateVisibleArea()
auto oldContentBounds = contentComp->getBounds();
contentHolder.setBounds (contentArea);
// If the content has changed its size, that might affect our scrollbars, so go round again and re-caclulate..
// If the content has changed its size, that might affect our scrollbars, so go round again and re-calculate..
if (oldContentBounds == contentComp->getBounds())
break;
}

View file

@ -41,7 +41,7 @@ LookAndFeel::LookAndFeel()
/* if this fails it means you're trying to create a LookAndFeel object before
the static Colours have been initialised. That ain't gonna work. It probably
means that you're using a static LookAndFeel object and that your compiler has
decided to intialise it before the Colours class.
decided to initialise it before the Colours class.
*/
jassert (Colours::white == Colour (0xffffffff));

View file

@ -464,7 +464,7 @@ struct MenuWindow : public Component
if (componentAttachedTo->reallyContains (mousePos, true))
{
postCommandMessage (PopupMenuSettings::dismissCommandId); // dismiss asynchrounously
postCommandMessage (PopupMenuSettings::dismissCommandId); // dismiss asynchronously
return;
}
}

View file

@ -399,7 +399,7 @@ public:
/** Appends a separator to the menu, to help break it up into sections.
The menu class is smart enough not to display separators at the top or bottom
of the menu, and it will replace mutliple adjacent separators with a single
of the menu, and it will replace multiple adjacent separators with a single
one, so your code can be quite free and easy about adding these, and it'll
always look ok.
*/

View file

@ -85,7 +85,7 @@ public:
@param e the current mouse-drag event
@param constrainer an optional constrainer object that should be used
to apply limits to the component's position. Pass
null if you don't want to contrain the movement.
null if you don't want to constrain the movement.
@see startDraggingComponent
*/
void dragComponent (Component* componentToDrag,

View file

@ -76,7 +76,7 @@ public:
dragged.
@param dragSourceDetails contains information about the source of the drag operation.
@returns true if this component wants to receive the other callbacks regarging this
@returns true if this component wants to receive the other callbacks regarding this
type of object; if it returns false, no other callbacks will be made.
*/
virtual bool isInterestedInDragSource (const SourceDetails& dragSourceDetails) = 0;

View file

@ -47,7 +47,7 @@ public:
inside them!
@param files the set of (absolute) pathnames of the files that the user is dragging
@returns true if this component wants to receive the other callbacks regarging this
@returns true if this component wants to receive the other callbacks regarding this
type of object; if it returns false, no other callbacks will be made.
*/
virtual bool isInterestedInFileDrag (const StringArray& files) = 0;

View file

@ -46,7 +46,7 @@ public:
ParentCursor = 0, /**< Indicates that the component's parent's cursor should be used. */
NoCursor, /**< An invisible cursor. */
NormalCursor, /**< The stardard arrow cursor. */
NormalCursor, /**< The standard arrow cursor. */
WaitCursor, /**< The normal hourglass or spinning-beachball 'busy' cursor. */
IBeamCursor, /**< A vertical I-beam for positioning within text. */

View file

@ -417,7 +417,7 @@ struct MouseWheelDetails final
/** If true, then the wheel has continuous, un-stepped motion. */
bool isSmooth;
/** If true, then this event is part of the intertial momentum phase that follows
/** If true, then this event is part of the inertial momentum phase that follows
the wheel being released. */
bool isInertial;
};

View file

@ -35,7 +35,7 @@ namespace juce
Each MouseEvent object contains a reference to the MouseInputSource that generated
it. In an environment with a single mouse for input, all events will come from the
same source, but in a multi-touch system, there may be multiple MouseInputSource
obects active, each representing a stream of events coming from a particular finger.
objects active, each representing a stream of events coming from a particular finger.
Events coming from a single MouseInputSource are always sent in a fixed and predictable
order: a mouseMove will never be called without a mouseEnter having been sent beforehand,

View file

@ -47,7 +47,7 @@ public:
component, so don't do anything time-consuming in here!
@param text the text that the user is dragging
@returns true if this component wants to receive the other callbacks regarging this
@returns true if this component wants to receive the other callbacks regarding this
type of object; if it returns false, no other callbacks will be made.
*/
virtual bool isInterestedInTextDrag (const String& text) = 0;

View file

@ -947,7 +947,7 @@ public:
// When windows are being resized, artificially throttling high-frequency repaints helps
// to stop the event queue getting clogged, and keeps everything working smoothly.
// For some reason Logic also needs this throttling to recored parameter events correctly.
// For some reason Logic also needs this throttling to record parameter events correctly.
if (msSinceLastRepaint < minimumRepaintInterval && shouldThrottleRepaint())
{
startTimer (static_cast<int> (minimumRepaintInterval - msSinceLastRepaint));

View file

@ -55,7 +55,7 @@ public:
These are the values that will be read and written to the
valueToControl value. This array must contain the same number of items
as the choices array
@param maxChoices the maxmimum number of values which can be selected at once. The default of
@param maxChoices the maximum number of values which can be selected at once. The default of
-1 will not limit the number that can be selected
*/
MultiChoicePropertyComponent (const Value& valueToControl,
@ -73,7 +73,7 @@ public:
These are the values that will be read and written to the
valueToControl value. This array must contain the same number of items
as the choices array
@param maxChoices the maxmimum number of values which can be selected at once. The default of
@param maxChoices the maximum number of values which can be selected at once. The default of
-1 will not limit the number that can be selected
*/
MultiChoicePropertyComponent (ValueWithDefault& valueToControl,

View file

@ -83,7 +83,7 @@ void ComboBox::addItem (const String& newItemText, int newItemId)
// you can't add empty strings to the list..
jassert (newItemText.isNotEmpty());
// IDs must be non-zero, as zero is used to indicate a lack of selecion.
// IDs must be non-zero, as zero is used to indicate a lack of selection.
jassert (newItemId != 0);
// you shouldn't use duplicate item IDs!

View file

@ -107,7 +107,7 @@ public:
{
notDragging, /**< Dragging is not active. */
absoluteDrag, /**< The dragging corresponds directly to the value that is displayed. */
velocityDrag /**< The dragging value change is relative to the velocity of the mouse mouvement. */
velocityDrag /**< The dragging value change is relative to the velocity of the mouse movement. */
};
//==============================================================================

View file

@ -194,7 +194,7 @@ public:
/** Triggers a re-sort of the table according to the current sort-column.
If you modifiy the table's contents, you can call this to signal that the table needs
If you modify the table's contents, you can call this to signal that the table needs
to be re-sorted.
(This doesn't do any sorting synchronously - it just asynchronously sends a call to the
@ -229,7 +229,7 @@ public:
The index is an index from 0 to the number of columns that are currently visible (hidden
ones are not counted). It returns a rectangle showing the position of the column relative
to this component's top-left. If the index is out-of-range, an empty rectangle is retrurned.
to this component's top-left. If the index is out-of-range, an empty rectangle is returned.
*/
Rectangle<int> getColumnPosition (int index) const;
@ -382,7 +382,7 @@ public:
highlightColourId = 0x1003830, /**< The colour of the table header background when
the mouse is over or down above the the table
header. It's up to the LookAndFeel to use a
variant of this colour to destiuish between
variant of this colour to distinguish between
the down and hover state. */
};

View file

@ -532,7 +532,7 @@ public:
/** Returns the index of this item in its parent's sub-items. */
int getIndexInParent() const noexcept;
/** Returns true if this item is the last of its parent's sub-itens. */
/** Returns true if this item is the last of its parent's sub-items. */
bool isLastOfSiblings() const noexcept;
/** Creates a string that can be used to uniquely retrieve this item in the tree.
@ -842,8 +842,8 @@ public:
linesColourId = 0x1000501, /**< The colour to draw the lines with.*/
dragAndDropIndicatorColourId = 0x1000502, /**< The colour to use for the drag-and-drop target position indicator. */
selectedItemBackgroundColourId = 0x1000503, /**< The colour to use to fill the background of any selected items. */
oddItemsColourId = 0x1000504, /**< The colour to use to fill the backround of the odd numbered items. */
evenItemsColourId = 0x1000505 /**< The colour to use to fill the backround of the even numbered items. */
oddItemsColourId = 0x1000504, /**< The colour to use to fill the background of the odd numbered items. */
evenItemsColourId = 0x1000505 /**< The colour to use to fill the background of the even numbered items. */
};
//==============================================================================

View file

@ -63,7 +63,7 @@ AlertWindow::~AlertWindow()
for (auto* t : textBoxes)
t->setWantsKeyboardFocus (false);
// Giveaway focus before removing the editors, so that any TextEditor
// Give away focus before removing the editors, so that any TextEditor
// with focus has a chance to dismiss native keyboard if shown.
if (hasKeyboardFocus (true))
Component::unfocusAllComponents();

View file

@ -153,7 +153,7 @@ public:
//==============================================================================
/** Easy way of quickly showing a dialog box containing a given component.
Note: This method has been superceded by the DialogWindow::LaunchOptions structure,
Note: This method has been superseded by the DialogWindow::LaunchOptions structure,
which does the same job with some extra flexibility. The showDialog method is here
for backwards compatibility, but please use DialogWindow::LaunchOptions in new code.
@ -199,7 +199,7 @@ public:
#if JUCE_MODAL_LOOPS_PERMITTED || DOXYGEN
/** Easy way of quickly showing a dialog box containing a given component.
Note: This method has been superceded by the DialogWindow::LaunchOptions structure,
Note: This method has been superseded by the DialogWindow::LaunchOptions structure,
which does the same job with some extra flexibility. The showDialog method is here
for backwards compatibility, but please use DialogWindow::LaunchOptions in new code.

View file

@ -159,7 +159,7 @@ public:
A pointer to the object you pass in will be kept, but it won't be deleted
by this object, so it's the caller's responsibility to manage it.
If you pass a nullptr, then no contraints will be placed on the positioning of the window.
If you pass a nullptr, then no constraints will be placed on the positioning of the window.
*/
void setConstrainer (ComponentBoundsConstrainer* newConstrainer);

View file

@ -337,7 +337,7 @@ public:
*/
virtual void performPopupMenuAction (int menuItemID);
/** Specifies a commmand-manager which the editor will notify whenever the state
/** Specifies a command-manager which the editor will notify whenever the state
of any of its commands changes.
If you're making use of the editor's ApplicationCommandTarget interface, then
you should also use this to tell it which command manager it should use. Make

View file

@ -36,7 +36,7 @@ namespace juce
when it goes out of scope.
If you create one of these before creating a top-level window, the window
will be DPI unaware and bitmap strectched by the OS on a display with >100%
will be DPI unaware and bitmap stretched by the OS on a display with >100%
scaling.
You shouldn't use this unless you really know what you are doing and

View file

@ -70,7 +70,7 @@ public:
@param position the coords of the object to point to
@param message the text to display
@param numMillisecondsBeforeRemoving how long to leave it on the screen before removing itself
from its parent compnent. If this is 0 or less, it
from its parent component. If this is 0 or less, it
will stay there until manually removed.
@param removeWhenMouseClicked if this is true, the bubble will disappear as soon as a
mouse button is pressed (anywhere on the screen)
@ -93,7 +93,7 @@ public:
@param component the component that you want to point at
@param message the text to display
@param numMillisecondsBeforeRemoving how long to leave it on the screen before removing itself
from its parent compnent. If this is 0 or less, it
from its parent component. If this is 0 or less, it
will stay there until manually removed.
@param removeWhenMouseClicked if this is true, the bubble will disappear as soon as a
mouse button is pressed (anywhere on the screen)

View file

@ -276,7 +276,7 @@ public:
bool localOnly = true; /**< Optional: whether or not the notification should bridge to other devices.
Available from Android API 20 or above. */
bool ongoing = false; /**< Optional: If true, then it cannot be dismissed by the user and it must be dimissed manually.
bool ongoing = false; /**< Optional: If true, then it cannot be dismissed by the user and it must be dismissed manually.
Typically used for ongoing background tasks that the user is actively engaged with. To
dismiss such notification, you need to call removeDeliveredNotification() or
removeAllDeliveredNotifications(). */
@ -389,7 +389,7 @@ public:
{
using Action = Notification::Action;
/** Describes a category of a notification. Each category has a unique idenfifier
/** Describes a category of a notification. Each category has a unique identifier
and a list of associated actions.
Note that the OS may allow only a limited number of actions to be presented, so
always present most important actions first.
@ -634,7 +634,7 @@ public:
@param isLocalNotification If the notification is local
@param notification The notification
@param actionIdentifier A String identifiing the action
@param actionIdentifier A String identifying the action
@param optionalResponse Text response a user inputs for notifications with a text input.
Empty for notifications without a text input option.

View file

@ -1303,7 +1303,7 @@ struct PushNotifications::Pimpl
auto classAsString = LocalRef<jstring> ((jstring) env->CallObjectMethod (objectClass, JavaClass.getName));
// Note: It seems that Firebase delivers values as strings always, so this check is rather unnecessary,
// at least untill they change the behaviour.
// at least until they change the behaviour.
var value = juceString (classAsString) == "java.lang.Bundle" ? bundleToVar (object) : var (juceString (objectAsString.get()));
dynamicObject->setProperty (juceString (key.get()), value);
}

View file

@ -174,7 +174,7 @@ namespace PushNotificationsDelegateDetails
}
// request
// each notification on iOS 10 needs to have an identifer, otherwise it will not show up
// each notification on iOS 10 needs to have an identifier, otherwise it will not show up
jassert (n.identifier.isNotEmpty());
UNNotificationRequest* request = [UNNotificationRequest requestWithIdentifier: juceStringToNS (n.identifier)
content: content

View file

@ -89,7 +89,7 @@ public:
if (context != nil)
{
// I'd prefer to put this stuff in the initialiseOnRenderThread() call, but doing
// so causes myserious timing-related failures.
// so causes mysterious timing-related failures.
[EAGLContext setCurrentContext: context];
createGLBuffers();
deactivateCurrentContext();

View file

@ -248,7 +248,7 @@ public:
This function can only be called if the context is attached to a component.
Otherwise, this function will assert.
This function is useful when you need to excute house-keeping tasks such
This function is useful when you need to execute house-keeping tasks such
as allocating, deallocating textures or framebuffers. As such, the functor
will execute without locking the message thread. Therefore, it is not
intended for any drawing commands or GUI code. Any GUI code should be
@ -273,7 +273,7 @@ public:
*/
unsigned int getFrameBufferID() const noexcept;
/** Returns an OS-dependent handle to some kind of underlting OS-provided GL context.
/** Returns an OS-dependent handle to some kind of underlying OS-provided GL context.
The exact type of the value returned will depend on the OS and may change
if the implementation changes. If you want to use this, digging around in the

View file

@ -130,7 +130,7 @@ public:
bool matches (const OSCAddress& address) const noexcept;
/** Checks whether the OSCAddressPattern contains any of the allowed OSC
address patttern wildcards: ?, *, [], {}
address pattern wildcards: ?, *, [], {}
@returns true if the OSCAddressPattern contains OSC wildcards, false otherwise.
*/

Some files were not shown because too many files have changed in this diff Show more