Skip to content

Commit 4aaf77e

Browse files
committed
Rename "OS X" to "macOS"
Suggested by processing/processing#4860
1 parent 68b6245 commit 4aaf77e

File tree

15 files changed

+23
-23
lines changed

15 files changed

+23
-23
lines changed

content/api_en/LIB_pdf/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
may improve the situation if the font is installed on the machine.
282282

283283
<!-- Removed by REAS, 1 September 2011, couldn't find reference in the current Issue database-->
284-
<!--<li>On Mac OS X, the seems to be a bug in Apple's Java implementation
284+
<!--<li>On macOS, the seems to be a bug in Apple's Java implementation
285285
that confuses cubic vs. quadric splines. This makes text look jagged,
286286
even though it's not bitmapped.
287287
(<A HREF="http://dev.processing.org/bugs/show_bug.cgi?id=404">Bug 404</A>)-->

content/api_en/displayDensity.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void draw() {
2626
</example>
2727

2828
<description><![CDATA[
29-
This function returns the number "2" if the screen is a high-density screen (called a Retina display on OS X or high-dpi on Windows and Linux) and a "1" if not. This information is useful for a program to adapt to run at double the pixel density on a screen that supports it.
29+
This function returns the number "2" if the screen is a high-density screen (called a Retina display on macOS or high-dpi on Windows and Linux) and a "1" if not. This information is useful for a program to adapt to run at double the pixel density on a screen that supports it.
3030
]]></description>
3131

3232
</root>

content/api_en/environment/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ <h6>File</h6>
135135
Prints the code inside the text editor.</li>
136136
<li><em>Preferences</em><br />
137137
Change some of the ways Processing works. (This item is located in the Processing menu
138-
on Mac OS X.)</li>
138+
on macOS.)</li>
139139
<li><em>Quit</em><br />
140140
Exits the Processing Environment and closes all Processing windows. (This item is
141-
located in the Processing menu on Mac OS X.)</li>
141+
located in the Processing menu on macOS.)</li>
142142
</ul>
143143

144144
<h6>Edit</h6>
@@ -278,7 +278,7 @@ <h5 id="Preferences">
278278
<p>
279279
The Processing Development Environment (PDE) is highly configurable. The most common
280280
preferences can be modified in the Preferences window, located in the File menu on
281-
Windows and Linux and in the Processing menu on Mac Os X. The full list of preferences
281+
Windows and Linux and in the Processing menu on macOS. The full list of preferences
282282
are stored in the "preferences.txt" file. This file can be opened and edited directly
283283
only when Processing is not running. You can find the location of this file on your
284284
computer by reading the bottom-left corner of the Preferences window.
@@ -503,7 +503,7 @@ <h6>Java Mode</h6>
503503

504504
<p>
505505
This mode makes it possible to write short programs to draw to the screen, but also enables complex Java programs as well. It can be used simply by beginners, but it scales to professional Java software development. Sketches written in this mode can
506-
be exported as Java Applications to run on Linux, Mac OS X, and Windows operating systems.
506+
be exported as Java Applications to run on Linux, macOS, and Windows operating systems.
507507
</p>
508508

509509
<p>

content/api_en/launch.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Attempts to open an application or file using your platform's launcher. The <b>f
3232
<br />
3333
This function (roughly) emulates what happens when you double-click an application or document in the macOS Finder, the Windows Explorer, or your favorite Linux file manager. If you're trying to run command line functions directly, use the <b>exec()</b> function instead (see below).<br />
3434
<br />
35-
This function behaves differently on each platform. On Windows, the parameters are sent to the Windows shell via "cmd /c". On Mac OS X, the "open" command is used (type "man open" in Terminal.app for documentation). On Linux, it first tries gnome-open, then kde-open, but if neither are available, it sends the command to the shell and prays that something useful happens.<br />
35+
This function behaves differently on each platform. On Windows, the parameters are sent to the Windows shell via "cmd /c". On macOS, the "open" command is used (type "man open" in Terminal.app for documentation). On Linux, it first tries gnome-open, then kde-open, but if neither are available, it sends the command to the shell and prays that something useful happens.<br />
3636
<br />
3737
For users familiar with Java, this is not the same as Runtime.exec(), because the launcher command is prepended. Instead, the <b>exec(String[])</b> function is a shortcut for Runtime.getRuntime.exec(String[]). The <b>exec()</b> function is documented in the <a href="http://processing.github.io/processing-javadocs/core/">JavaDoc</a> in the <b>PApplet</b> class.
3838
]]></description>

content/api_en/mouseWheel.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void mouseWheel(MouseEvent event) {
2626
</example>
2727

2828
<description><![CDATA[
29-
The <b>mouseWheel()</b> function returns positive values when the mouse wheel is rotated down (toward the user), and negative values for the other direction (up or away from the user). On OS X with "natural" scrolling enabled, the values are opposite.
29+
The <b>mouseWheel()</b> function returns positive values when the mouse wheel is rotated down (toward the user), and negative values for the other direction (up or away from the user). On macOS with "natural" scrolling enabled, the values are opposite.
3030
<br /><br />
3131
Mouse and keyboard events only work when a program has <b>draw()</b>. Without <b>draw()</b>, the code is only run once and then stops listening for events.
3232
]]></description>

content/api_en/pixelHeight.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ println(pixelWidth, pixelHeight);
1616
</example>
1717

1818
<description><![CDATA[
19-
When <b>pixelDensity(2)</b> is used to make use of a high resolution display (called a Retina display on OS X or high-dpi on Windows and Linux), the width and height of the sketch do not change, but the number of pixels is doubled. As a result, all operations that use pixels (like <b>loadPixels()</b>, <b>get()</b>, <b>set()</b>, etc.) happen in this doubled space. As a convenience, the variables <b>pixelWidth</b> and <b>pixelHeight</b> hold the actual width and height of the sketch in pixels. This is useful for any sketch that uses the <b>pixels[]</b> array, for instance, because the number of elements in the array will be <b>pixelWidth*pixelHeight</b>, not <b>width*height</b>.
19+
When <b>pixelDensity(2)</b> is used to make use of a high resolution display (called a Retina display on macOS or high-dpi on Windows and Linux), the width and height of the sketch do not change, but the number of pixels is doubled. As a result, all operations that use pixels (like <b>loadPixels()</b>, <b>get()</b>, <b>set()</b>, etc.) happen in this doubled space. As a convenience, the variables <b>pixelWidth</b> and <b>pixelHeight</b> hold the actual width and height of the sketch in pixels. This is useful for any sketch that uses the <b>pixels[]</b> array, for instance, because the number of elements in the array will be <b>pixelWidth*pixelHeight</b>, not <b>width*height</b>.
2020
]]></description>
2121

2222
</root>

content/api_en/pixelWidth.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ println(pixelWidth, pixelHeight);
1616
</example>
1717

1818
<description><![CDATA[
19-
When <b>pixelDensity(2)</b> is used to make use of a high resolution display (called a Retina display on OS X or high-dpi on Windows and Linux), the width and height of the sketch do not change, but the number of pixels is doubled. As a result, all operations that use pixels (like <b>loadPixels()</b>, <b>get()</b>, <b>set()</b>, etc.) happen in this doubled space. As a convenience, the variables <b>pixelWidth</b> and <b>pixelHeight</b> hold the actual width and height of the sketch in pixels. This is useful for any sketch that uses the <b>pixels[]</b> array, for instance, because the number of elements in the array will be <b>pixelWidth*pixelHeight</b>, not <b>width*height</b>.
19+
When <b>pixelDensity(2)</b> is used to make use of a high resolution display (called a Retina display on macOS or high-dpi on Windows and Linux), the width and height of the sketch do not change, but the number of pixels is doubled. As a result, all operations that use pixels (like <b>loadPixels()</b>, <b>get()</b>, <b>set()</b>, etc.) happen in this doubled space. As a convenience, the variables <b>pixelWidth</b> and <b>pixelHeight</b> hold the actual width and height of the sketch in pixels. This is useful for any sketch that uses the <b>pixels[]</b> array, for instance, because the number of elements in the array will be <b>pixelWidth*pixelHeight</b>, not <b>width*height</b>.
2020
]]></description>
2121

2222
</root>

content/static/tutorials/data/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ <h3>Working with Text Files</h3>
183183
</p>
184184

185185
<p>
186-
In order to create a text file, you can use any simple text editor. Windows Notepad or Mac OS X TextEdit will do; just make sure you format the file as “plain text.” It is also advisable to name the text files with the “.txt” extension, to avoid any confusion. And just as with image files, these text files should be placed in the sketch’s “data” directory in order for them to be recognized by the Processing sketch.</p>
186+
In order to create a text file, you can use any simple text editor. Windows Notepad or macOS TextEdit will do; just make sure you format the file as “plain text.” It is also advisable to name the text files with the “.txt” extension, to avoid any confusion. And just as with image files, these text files should be placed in the sketch’s “data” directory in order for them to be recognized by the Processing sketch.</p>
187187

188188
<p>
189189
Once the text file is in place, Processing’s <tt>loadStrings()</tt> function is used to read the content of the file into a <tt>String</tt> array. The individual lines of text in the file each become an individual element in the array.

content/static/tutorials/eclipse/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h3>The idea of Libraries</h3>
3535
<h3>Import the Processing Core</h3>
3636
<p>In order for Eclipse to see the code that makes up Processing, we need to import it into our project.</p>
3737
<p><em>File &gt; Import &gt; General &gt; File System</em></p>
38-
<p>Click next. On Windows, click "Browse..." and select the Processing jar files inside PATH_TO_PROCESSING/core/library/. On OS X, do not use the "Browse..." button. Instead, use the "From directory:" field to manually enter the path to Processing's jar files, which is typically /Applications/Processing 3.app/Contents/Java/core/library/. At minimum, select the "core.jar" file inside the "library" folder.</p>
38+
<p>Click next. On Windows, click "Browse..." and select the Processing jar files inside PATH_TO_PROCESSING/core/library/. On macOS, do not use the "Browse..." button. Instead, use the "From directory:" field to manually enter the path to Processing's jar files, which is typically /Applications/Processing 3.app/Contents/Java/core/library/. At minimum, select the "core.jar" file inside the "library" folder.</p>
3939
<p><img src="imgs/importcore.png" border="1" alt="Importing the Processing Core" /></p>
4040
<p>A .jar file is a compiled collection of Java code. The core.jar is the core of the Processing libraries, it has all the code that does the stuff that we are used to doing in Processing, like drawing shapes. Once we have it, we can make use of all the normal Processing commands that are found on the&nbsp;<a href="https://processing.org/reference/">reference page</a>.</p>
4141
<p>Click Finish. If you look at the Package Explorer, you'll notice that there is a new file in our project, called 'core.jar'.</p>

content/static/tutorials/electronics/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ <h3>Sensors and communication</h3>
273273
</p>
274274

275275
<p class="txt">
276-
Because a device can have several serial ports, a user must specify which serial port to use for data transmission. On most Windows computers, serial port names are <code>COMx</code>, where <code>x</code> can be 1, 2, 3, etc. On UNIX-based systems (Mac OS X and Linux), serial devices are accessed through files in the <em>/dev/</em> directory. After the serial port is selected, the user must specify the settings for the port. Communication speed will vary with devices, but typical values are 9600, 19,200, and 115,200 bits per second. Once the ports are open for communication on both devices, it is possible to send and receive data.
276+
Because a device can have several serial ports, a user must specify which serial port to use for data transmission. On most Windows computers, serial port names are <code>COMx</code>, where <code>x</code> can be 1, 2, 3, etc. On UNIX-based systems (macOS and Linux), serial devices are accessed through files in the <em>/dev/</em> directory. After the serial port is selected, the user must specify the settings for the port. Communication speed will vary with devices, but typical values are 9600, 19,200, and 115,200 bits per second. Once the ports are open for communication on both devices, it is possible to send and receive data.
277277
</p>
278278

279279
<p class="txt">

0 commit comments

Comments
 (0)