Browse Source

Fix some typos

v6.1.6
Tom Poole 3 years ago
parent
commit
c072b1bc8e
24 changed files with 35 additions and 35 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      docs/CMake API.md
  3. +1
    -1
      docs/JUCE Module Format.md
  4. +1
    -1
      docs/Linux Dependencies.md
  5. +1
    -1
      extras/Build/juceaide/CMakeLists.txt
  6. +1
    -1
      extras/Projucer/Source/Project/jucer_Project.cpp
  7. +1
    -1
      modules/juce_audio_basics/midi/ump/juce_UMPSysEx7.h
  8. +1
    -1
      modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h
  9. +1
    -1
      modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h
  10. +1
    -1
      modules/juce_audio_utils/gui/juce_AudioThumbnailCache.h
  11. +1
    -1
      modules/juce_audio_utils/gui/juce_BluetoothMidiDevicePairingDialogue.h
  12. +6
    -6
      modules/juce_core/containers/juce_Array.h
  13. +1
    -1
      modules/juce_core/xml/juce_XmlDocument.h
  14. +1
    -1
      modules/juce_dsp/widgets/juce_Chorus.h
  15. +1
    -1
      modules/juce_graphics/images/juce_ScaledImage.h
  16. +1
    -1
      modules/juce_gui_basics/accessibility/interfaces/juce_AccessibilityValueInterface.h
  17. +1
    -1
      modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h
  18. +1
    -1
      modules/juce_gui_basics/native/accessibility/juce_ios_Accessibility.mm
  19. +1
    -1
      modules/juce_gui_basics/native/juce_common_MimeTypes.cpp
  20. +1
    -1
      modules/juce_gui_basics/widgets/juce_Slider.h
  21. +7
    -7
      modules/juce_gui_basics/windows/juce_TooltipWindow.cpp
  22. +1
    -1
      modules/juce_gui_basics/windows/juce_TooltipWindow.h
  23. +1
    -1
      modules/juce_video/native/juce_ios_CameraDevice.h
  24. +1
    -1
      modules/juce_video/native/juce_win32_CameraDevice.h

+ 1
- 1
README.md View File

@@ -24,7 +24,7 @@ tool) or with CMake.
The repository doesn't contain a pre-built Projucer so you will need to build it
for your platform - Xcode, Visual Studio and Linux Makefile projects are located in
[extras/Projucer/Builds](/extras/Projucer/Builds)
(the minumum system requirements are listed in the __System Requirements__ section below).
(the minimum system requirements are listed in the __System Requirements__ section below).
The Projucer can then be used to create new JUCE projects, view tutorials and run examples.
It is also possible to include the JUCE modules source code in an existing project directly,
or build them into a static or dynamic library which can be linked into a project.


+ 1
- 1
docs/CMake API.md View File

@@ -539,7 +539,7 @@ attributes directly to these creation functions, rather than adding them later.
`USE_LEGACY_COMPATIBILITY_PLUGIN_CODE`
- May be either TRUE or FALSE (defaults to FALSE). If TRUE, will override the value of the
preprocessor definition "JucePlugin_ManufacturerCode" with the hex equivalent of "proj". This
option exists to maintain compatiblity with a previous, buggy version of JUCE's CMake support
option exists to maintain compatibility with a previous, buggy version of JUCE's CMake support
which mishandled the manufacturer code property. Most projects should leave this option set to
its default value.



+ 1
- 1
docs/JUCE Module Format.md View File

@@ -17,7 +17,7 @@ JUCE convention for naming modules is lower-case with underscores, e.g.
juce_events
juce_graphics
But any name that is a valid C++ identifer is OK.
But any name that is a valid C++ identifier is OK.
Inside the root of this folder, there must be a set of public header and source files which
the user's' project will include. The module may have as many other internal source files as


+ 1
- 1
docs/Linux Dependencies.md View File

@@ -6,7 +6,7 @@ flag used to disable it is noted.

This has been tested on Ubuntu 16.04 LTS (Xenial Xerus), 18.04 LTS (Bionic
Beaver), and 20.04 LTS (Focal Fossa). Packages may differ in name or not be
available on other distrubutions.
available on other distributions.

## Compiler
A C++ compiler is required. JUCE has been tested thoroughly with Clang and GCC:


+ 1
- 1
extras/Build/juceaide/CMakeLists.txt View File

@@ -61,7 +61,7 @@ else()

message(STATUS "Configuring juceaide")

# Looks like we're boostrapping, reinvoke CMake
# Looks like we're bootstrapping, reinvoke CMake
execute_process(COMMAND "${CMAKE_COMMAND}"
"."
"-B${JUCE_BINARY_DIR}/tools"


+ 1
- 1
extras/Projucer/Source/Project/jucer_Project.cpp View File

@@ -1314,7 +1314,7 @@ void Project::createPropertyEditors (PropertyListBuilder& props)
"which may simplify the includes in the project.");
props.add (new ChoicePropertyComponent (addUsingNamespaceToJuceHeader, "Add \"using namespace juce\" to JuceHeader.h"),
"If enabled, the JuceHeader.h will include a \"using namepace juce\" statement. If disabled, "
"If enabled, the JuceHeader.h will include a \"using namespace juce\" statement. If disabled, "
"no such statement will be included. This setting used to be enabled by default, but it "
"is recommended to leave it disabled for new projects.");


+ 1
- 1
modules/juce_audio_basics/midi/ump/juce_UMPSysEx7.h View File

@@ -28,7 +28,7 @@ namespace universal_midi_packets
{
/**
This struct acts as a single-file namespace for Univeral MIDI Packet
This struct acts as a single-file namespace for Universal MIDI Packet
functionality related to 7-bit SysEx.
@tags{Audio}


+ 1
- 1
modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h View File

@@ -174,7 +174,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);


+ 1
- 1
modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h View File

@@ -175,7 +175,7 @@ public:
std::make_unique<AudioParameterInt> ("b", "Parameter B", 0, 5, 2) })
@endcode
To add parameters programatically you can call `add` repeatedly on a
To add parameters programmatically you can call `add` repeatedly on a
ParameterLayout instance:
@code


+ 1
- 1
modules/juce_audio_utils/gui/juce_AudioThumbnailCache.h View File

@@ -64,7 +64,7 @@ public:
*/
bool loadThumb (AudioThumbnailBase& thumb, int64 hashCode);
/** Stores the cachable data from the specified thumb in this cache.
/** Stores the cacheable data from the specified thumb in this cache.
This is called automatically by the AudioThumbnail class, so you shouldn't
normally need to call it directly.


+ 1
- 1
modules/juce_audio_utils/gui/juce_BluetoothMidiDevicePairingDialogue.h View File

@@ -36,7 +36,7 @@ namespace juce
Only after a Bluetooth MIDI device has been paired will its MIDI ports
be available through JUCE's MidiInput and MidiOutput classes.
This dialogue is currently only available on macOS targetting versions 10.11+,
This dialogue is currently only available on macOS targeting versions 10.11+,
iOS and Android. When targeting older versions of macOS you should instead
pair Bluetooth MIDI devices using the "Audio MIDI Setup" app (located in
/Applications/Utilities). On Windows, you should use the system settings. On


+ 6
- 6
modules/juce_core/containers/juce_Array.h View File

@@ -76,7 +76,7 @@ public:
{
}
/** Initalises from a null-terminated raw array of values.
/** Initialises from a null-terminated raw array of values.
@param data the data to copy from
*/
template <typename TypeToCreateFrom>
@@ -86,7 +86,7 @@ public:
add (*data++);
}
/** Initalises from a raw array of values.
/** Initialises from a raw array of values.
@param data the data to copy from
@param numValues the number of values in the array
*/
@@ -96,26 +96,26 @@ public:
values.addArray (data, numValues);
}
/** Initalises an Array of size 1 containing a single element. */
/** Initialises an Array of size 1 containing a single element. */
Array (const ElementType& singleElementToAdd)
{
add (singleElementToAdd);
}
/** Initalises an Array of size 1 containing a single element. */
/** Initialises an Array of size 1 containing a single element. */
Array (ElementType&& singleElementToAdd)
{
add (std::move (singleElementToAdd));
}
/** Initalises an Array from a list of items. */
/** Initialises an Array from a list of items. */
template <typename... OtherElements>
Array (const ElementType& firstNewElement, OtherElements&&... otherElements)
{
values.add (firstNewElement, std::forward<OtherElements> (otherElements)...);
}
/** Initalises an Array from a list of items. */
/** Initialises an Array from a list of items. */
template <typename... OtherElements>
Array (ElementType&& firstNewElement, OtherElements&&... otherElements)
{


+ 1
- 1
modules/juce_core/xml/juce_XmlDocument.h View File

@@ -125,7 +125,7 @@ public:
/** Sets a flag to change the treatment of empty text elements.
If this is true (the default state), then any text elements that contain only
whitespace characters will be ingored during parsing. If you need to catch
whitespace characters will be ignored during parsing. If you need to catch
whitespace-only text, then you should set this to false before calling the
getDocumentElement() method.
*/


+ 1
- 1
modules/juce_dsp/widgets/juce_Chorus.h View File

@@ -37,7 +37,7 @@ namespace dsp
of the modulation.
Note: To get classic chorus sounds try to use a centre delay time around 7-8 ms
with a low feeback volume and a low depth. This effect can also be used as a
with a low feedback volume and a low depth. This effect can also be used as a
flanger with a lower centre delay time and a lot of feedback, and as a vibrato
effect if the mix value is 1.


+ 1
- 1
modules/juce_graphics/images/juce_ScaledImage.h View File

@@ -65,7 +65,7 @@ public:
ScaledImage (const Image& imageIn, double scaleIn)
: image (imageIn), scaleFactor (scaleIn) {}
/** Returns the image at its original dimentions. */
/** Returns the image at its original dimensions. */
Image getImage() const { return image; }
/** Returns the image's scale. */


+ 1
- 1
modules/juce_gui_basics/accessibility/interfaces/juce_AccessibilityValueInterface.h View File

@@ -113,7 +113,7 @@ public:
/** Returns the minimum value for this range. */
double getMinimumValue() const noexcept { return range.min; }
/** Returns the maxiumum value for this range. */
/** Returns the maximum value for this range. */
double getMaximumValue() const noexcept { return range.max; }
/** Returns the interval for this range. */


+ 1
- 1
modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h View File

@@ -328,7 +328,7 @@ public:
operation you could give a value of false to the callback to abort the close operation.
If your component is based on the FileBasedDocument class, then you'd probably want
to call FileBasedDocument::saveIfNeededAndUserAgreesAsync() and call the calback with
to call FileBasedDocument::saveIfNeededAndUserAgreesAsync() and call the callback with
true if this returned FileBasedDocument::savedOk.
@see closeDocumentAsync, FileBasedDocument::saveIfNeededAndUserAgreesAsync()


+ 1
- 1
modules/juce_gui_basics/native/accessibility/juce_ios_Accessibility.mm View File

@@ -399,7 +399,7 @@ private:
{
if (auto* handler = getHandler (self))
{
// occasionaly VoiceOver sends accessibilityActivate to the wrong element, so we first query
// Occasionally VoiceOver sends accessibilityActivate to the wrong element, so we first query
// which element it thinks has focus and forward the event on to that element if it differs
id focusedElement = UIAccessibilityFocusedElement (UIAccessibilityNotificationVoiceOverIdentifier);


+ 1
- 1
modules/juce_gui_basics/native/juce_common_MimeTypes.cpp View File

@@ -434,7 +434,7 @@ MimeTypeTableEntry MimeTypeTableEntry::table[641] =
{"psd", "application/octet-stream"},
{"pvu", "paleovu/x-pv"},
{"pwz", "application/vnd.ms-powerpoint"},
{"py", "text/x-script.phyton"},
{"py", "text/x-script.python"},
{"pyc", "application/x-bytecode.python"},
{"qcp", "audio/vnd.qcelp"},
{"qd3", "x-world/x-3dmf"},


+ 1
- 1
modules/juce_gui_basics/widgets/juce_Slider.h View File

@@ -889,7 +889,7 @@ public:
//==============================================================================
/** An RAII class for sending slider listener drag messages.
This is useful if you are programatically updating the slider's value and want
This is useful if you are programmatically updating the slider's value and want
to imitate a mouse event, for example in a custom AccessibilityHandler.
@see Slider::Listener


+ 7
- 7
modules/juce_gui_basics/windows/juce_TooltipWindow.cpp View File

@@ -71,13 +71,13 @@ void TooltipWindow::mouseEnter (const MouseEvent& e)
void TooltipWindow::mouseDown (const MouseEvent&)
{
if (isVisible())
dismissalMouseEventOccured = true;
dismissalMouseEventOccurred = true;
}
void TooltipWindow::mouseWheelMove (const MouseEvent&, const MouseWheelDetails&)
{
if (isVisible())
dismissalMouseEventOccured = true;
dismissalMouseEventOccurred = true;
}
void TooltipWindow::updatePosition (const String& tip, Point<int> pos, Rectangle<int> parentArea)
@@ -145,7 +145,7 @@ void TooltipWindow::displayTipInternal (Point<int> screenPos, const String& tip,
toFront (false);
manuallyShownTip = shownManually == ShownManually::yes ? tip : String();
dismissalMouseEventOccured = false;
dismissalMouseEventOccurred = false;
}
}
@@ -168,7 +168,7 @@ void TooltipWindow::hideTip()
{
tipShowing = {};
manuallyShownTip = {};
dismissalMouseEventOccured = false;
dismissalMouseEventOccurred = false;
removeFromDesktop();
setVisible (false);
@@ -201,7 +201,7 @@ void TooltipWindow::timerCallback()
if (manuallyShownTip.isNotEmpty())
{
if (dismissalMouseEventOccured || newComp == nullptr)
if (dismissalMouseEventOccurred || newComp == nullptr)
hideTip();
return;
@@ -218,7 +218,7 @@ void TooltipWindow::timerCallback()
const auto tipChanged = (newTip != lastTipUnderMouse || newComp != lastComponentUnderMouse);
const auto now = Time::getApproximateMillisecondCounter();
if (tipChanged || dismissalMouseEventOccured || mouseMovedQuickly)
if (tipChanged || dismissalMouseEventOccurred || mouseMovedQuickly)
lastCompChangeTime = now;
const auto showTip = [this, &mouseSource, &mousePos, &newTip]
@@ -231,7 +231,7 @@ void TooltipWindow::timerCallback()
{
// if a tip is currently visible (or has just disappeared), update to a new one
// immediately if needed..
if (newComp == nullptr || dismissalMouseEventOccured || newTip.isEmpty())
if (newComp == nullptr || dismissalMouseEventOccurred || newTip.isEmpty())
hideTip();
else if (tipChanged)
showTip();


+ 1
- 1
modules/juce_gui_basics/windows/juce_TooltipWindow.h View File

@@ -140,7 +140,7 @@ private:
String tipShowing, lastTipUnderMouse, manuallyShownTip;
int millisecondsBeforeTipAppears;
unsigned int lastCompChangeTime = 0, lastHideTime = 0;
bool reentrant = false, dismissalMouseEventOccured = false;
bool reentrant = false, dismissalMouseEventOccurred = false;
enum ShownManually { yes, no };
void displayTipInternal (Point<int>, const String&, ShownManually);


+ 1
- 1
modules/juce_video/native/juce_ios_CameraDevice.h View File

@@ -1305,7 +1305,7 @@ struct CameraDevice::ViewerComponent : public UIViewComponent
{
static JuceCameraDeviceViewerClass cls;
// Initial size that can be overriden later.
// Initial size that can be overridden later.
setSize (640, 480);
auto view = [cls.createInstance() init];


+ 1
- 1
modules/juce_video/native/juce_win32_CameraDevice.h View File

@@ -362,7 +362,7 @@ struct CameraDevice::Pimpl : public ChangeBroadcaster
using Fn = HRESULT (*) (IWMProfileManager**);
// This function is available on Windows 2000 and up, but we load it at runtime anway
// This function is available on Windows 2000 and up, but we load it at runtime anyway
// because some versions of MinGW ship with libraries that don't include this symbol.
if (auto* fn = reinterpret_cast<Fn> (wmvcoreLibrary.getFunction ("WMCreateProfileManager")))
hr = fn (profileManager.resetAndGetPointerAddress());


Loading…
Cancel
Save