Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit f9670e1

Browse files
committed
Merge remote-tracking branch 'upstream/develop-9.0' into merge-develop-9.0-22.05.2018
2 parents ad9f2e6 + ce88201 commit f9670e1

File tree

119 files changed

+768
-548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+768
-548
lines changed

docs/dictionary/command/iphoneClearTouches.lcdoc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ interactions.
3535
A good example of when this command might be useful is when playing an
3636
instructional sound:
3737

38-
on tellUserInstructions
39-
40-
play specialFolderPath("engine") & slash & "Instruction_1.mp3"
41-
wait until the sound is "done"
42-
iphoneClearTouches
43-
44-
end tellUserInstructions
38+
on tellUserInstructions
39+
play specialFolderPath("engine") & slash & "Instruction_1.mp3"
40+
wait until the sound is "done"
41+
iphoneClearTouches
42+
end tellUserInstructions
4543

4644
Here, if the <iphoneClearTouches> call was not made, any touch events
4745
the user created while the sound was playing would be queued and then be

docs/dictionary/command/libURLSetStatusCallback.lcdoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ callback (glossary), command (glossary), control structure (glossary),
152152
main stack (glossary), Standalone Application Settings (glossary),
153153
upload (glossary), download (glossary), server (glossary),
154154
HTTP (glossary), handler (glossary), URL (keyword), ftp (keyword),
155-
item (keyword), http (keyword), libURLftpUpload (library),
156-
libURLDownloadToFile (library), library (library),
155+
item (keyword), http (keyword), library (library),
157156
Internet library (library), startup (message), openBackground (message),
158157
preOpenStack (message), openStack (message), preOpenCard (message)
159158

docs/dictionary/command/load-extension.lcdoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ filePath:
3131
The path to a compiled <LiveCode Builder extension> file.
3232

3333
moduleData:
34-
Binary data that constitutes a valid compiled <LiveCode Builder
35-
extension>.
34+
Binary data that constitutes a valid compiled
35+
<LiveCode Builder extension>.
3636

3737
resourcePath:
38-
The path to use for any operations in the <LiveCode Builder
39-
extension|extensions> that use resource files (eg 'image from resource
40-
file').
38+
The path to use for any operations in the
39+
<LiveCode Builder extension|extensions>
40+
that use resource files (eg 'image from resource file').
4141

4242
The result:
4343
If the <load extension> <command> succeeds, the <result> is empty.
4444
Otherwise the <result> contains an error message describing why the
4545
extension could not be loaded.
4646

4747
Description:
48-
Use the <load extension> <command> to load a <LiveCode Builder
49-
extension>. If the extension is a library, its public handlers will be
50-
added to the bottom of the message path. If it is a widget, it will be
51-
available as a control in the tools palette to drag out, or to create
52-
with the <create widget> <command>.
48+
Use the <load extension> <command> to load a
49+
<LiveCode Builder extension>. If the extension is a library, its
50+
public handlers will be added to the bottom of the message path.
51+
If it is a widget, it will be available as a control in the tools
52+
palette to drag out, or to create with the <create widget> <command>.
5353

5454
If the <moduleData> or the data loaded from <filePath> contains more
5555
than one LiveCode Builder module, then the first module is treated as

docs/dictionary/command/load.lcdoc

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ order to speed up access when using it in an <expression> with the
4545
<URL> <keyword>.
4646

4747
To use a file that has been downloaded by the <load> <command>, refer
48-
to it using the <URL> <keyword> as usual. When you request the original
49-
<URL>, LiveCode uses the <cache|cached> <file> automatically.
48+
to it using the <URL> <keyword> as usual. When you request the
49+
original <URL>, LiveCode uses the <cache|cached> <file> automatically.
5050

5151
The <callbackMessage> is sent to the <object(glossary)> whose <script>
5252
contains the <load> <command>, after the <URL> is <load|loaded>, so you
@@ -75,8 +75,7 @@ URL even if it is not in the cache, so use of the <load> <command> is
7575
optional.
7676

7777
>*Note:* Cached <files> consume memory. To release this memory after
78-
> you
79-
are finished with a <URL>, use the <unload (command)> <command> to
78+
> you are finished with a <URL>, use the <unload (command)> <command> to
8079
remove it from the <cache>.
8180

8281
>*Important:* The <load> <command> is part of the
@@ -108,21 +107,19 @@ remove it from the <cache>.
108107
> appropriately.
109108

110109
References: unload (command), libURLftpUpload (command),
111-
libURLDownloadToFile (command), get (command), load (command),
110+
libURLDownloadToFile (command), get (command),
112111
group (command), function (control structure),
113112
libURLLastRHHeaders (function), URLEncode (function), files (function),
114113
libURLErrorData (function), URLStatus (function), cachedURLs (function),
115114
object (glossary), LiveCode custom library (glossary),
116115
application (glossary), standalone application (glossary),
117116
load (glossary), cache (glossary), command (glossary),
118-
standalone desktop application (glossary), main stack (glossary),
119-
expression (glossary), keyword (glossary),
120-
Standalone Application Settings (glossary), download (glossary),
121-
message (glossary), parameter (glossary), handler (glossary),
122-
url (keyword), file (keyword), Internet library (library),
123-
library (library), startup (message), openBackground (message),
124-
preOpenStack (message), openStack (message), preOpenCard (message),
125-
script (property)
117+
main stack (glossary), expression (glossary), keyword (glossary),
118+
download (glossary), message (glossary), parameter (glossary),
119+
handler (glossary), URL (keyword), file (keyword),
120+
Internet library (library), library (library), startup (message),
121+
openBackground (message), preOpenStack (message), openStack (message),
122+
preOpenCard (message), script (property)
126123

127124
Tags: networking
128125

docs/dictionary/command/local.lcdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ Use the <local> <command> to define a <local variable> for a <handler>,
4343
or to define a <script local variable> that is shared between all the
4444
<handler|handlers> in a <script>.
4545

46-
The <local> <declare|declaration> is optional. You can use a <local
47-
variable> without <declare|declaring> it first in the <handler>. In this
48-
case, the <local variable> can be used only within that <handler>.
46+
The <local> <declare|declaration> is optional. You can use a
47+
<local variable> without <declare|declaring> it first in the <handler>.
48+
In this case, the <local variable> can be used only within that <handler>.
4949

5050
The <local> <command> can appear anywhere in a <handler>. However,
5151
<variable> <declare|declarations> are usually placed at the beginning of
5252
a <handler>. This makes them easier to find and as local variables are
5353
created at the point in the script where they are declared it will
5454
ensure the variable isn't used before the declaration.
5555

56-
You can also use the <local> <command> to create a <script local
57-
variable>. <script local variable|Script local variables> can be used by
56+
You can also use the <local> <command> to create a <script local variable>.
57+
<script local variable|Script local variables> can be used by
5858
any <handler> in that <script>, without needing to be <declare|declared>
5959
in the <handler> itself, and their <value|values> are maintained from
6060
<handler> to <handler>. You create a <script local variable> by using

docs/dictionary/command/lock-error-dialogs.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Example:
2121
if the environment is among the lines of userEnv then lock error dialogs
2222

2323
Description:
24-
Use the <lock error dialogs> <command> to <handle> <execution
25-
error|execution errors> in a custom handler, rather than allowing
26-
LiveCode to display the standard error window.
24+
Use the <lock error dialogs> <command> to <handle>
25+
<execution error|execution errors> in a custom handler, rather than
26+
allowing LiveCode to display the standard error window.
2727

2828
The <lock error dialogs> <command> sets the <lockErrorDialogs>
2929
<property> to true.

docs/dictionary/command/lock-messages.lcdoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ Type: command
55
Syntax: lock messages
66

77
Summary:
8-
Sets the <lockMessages> <property> to true, preventing <setProp
9-
trigger|setProp triggers>, <getProp call|getProp calls>, and certain
10-
<message|messages> from being sent.
8+
Sets the <lockMessages> <property> to true, preventing
9+
<setProp trigger|setProp triggers>,
10+
<getProp call|getProp calls>, and certain <message|messages> from
11+
being sent.
1112

1213
Introduced: 1.0
1314

docs/dictionary/command/mobileCancelAllLocalNotifications.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ mobileCancelAllLocalNotifications
1818

1919
Description:
2020
Use the <mobileCancelAllLocalNotifications> <command> to cancel all
21-
Local Notification with the operating system from within a <stack on iOS
22-
or Android>.
21+
Local Notification with the operating system from within a <stack> on iOS
22+
or Android.
2323

2424
This command cancels all Local Notifications with the iOS operating
2525
sytem.
2626

2727
References: mobileCreateLocalNotification (command),
2828
mobileCancelLocalNotification (command), command (glossary),
29-
stack on iOS or Android (object)
29+
stack (object)
3030

3131
Tags: networking
3232

docs/dictionary/command/mobileClearTouches.lcdoc

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,18 @@ the point of calling, all pending touch interactions are removed from
3030
the event queue.
3131

3232
<mobileClearTouches> also cancels any existing mouse or touch sequences,
33-
meaning that you (and the engine) will not receive a mouseUp,
34-
mouseRelease, touchEnd or touchCancel message for any current
33+
meaning that you (and the engine) will not receive a <mouseUp>,
34+
<mouseRelease>, <touchEnd> or <touchCancel> message for any current
3535
interactions.
3636

3737
A good example of when this command might be useful is when playing an
3838
instructional sound:
3939

40-
on tellUserInstructions
41-
42-
play specialFolderPath("engine") & slash & "Instruction_1.mp3"
43-
wait until the sound is "done"
44-
mobileClearTouches
45-
46-
end tellUserInstructions
40+
on tellUserInstructions
41+
play specialFolderPath("engine") & slash & "Instruction_1.mp3"
42+
wait until the sound is "done"
43+
mobileClearTouches
44+
end tellUserInstructions
4745

4846
Here, if the <mobileClearTouches> call was not made, any touch events
4947
the user created while the sound was playing would be queued and then be

docs/dictionary/function/URLEncode.lcdoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ formString (string):
3535
Returns:
3636
The <URLEncode> <function> <return|returns> the <formString>, with
3737
spaces converted to "+" and characters other than letters and numbers
38-
converted to their hexadecimal <Escape key|escape> representation.
38+
converted to their hexadecimal escape representation.
3939

4040
Description:
4141
Use the <URLEncode> <function> to <encode> a <URL> so it can be safely
@@ -53,18 +53,18 @@ appears in the formString, it is converted to "%7E".
5353
> the string to UTF-8 and then after performing URLEncode, replace all
5454
> instances of "+" with "%20". For example:
5555

56-
function urlEncodeRFC pString
57-
if pString is strictly a string then
58-
put textEncode(pString,"UTF-8") into pString
59-
end if
60-
put URLEncode(pString) into pString
61-
replace "+" with "%20" in pString
62-
return pString
63-
end urlEncodeRFC
56+
function urlEncodeRFC pString
57+
if pString is strictly a string then
58+
put textEncode(pString,"UTF-8") into pString
59+
end if
60+
put URLEncode(pString) into pString
61+
replace "+" with "%20" in pString
62+
return pString
63+
end urlEncodeRFC
6464

6565
References: post (command), function (control structure),
66-
hexadecimal (glossary), encode (glossary), Escape key (glossary),
67-
ASCII (glossary), return (glossary), server (glossary), URL (keyword),
66+
hexadecimal (glossary), encode (glossary), ASCII (glossary),
67+
return (glossary), server (glossary), URL (keyword),
6868
character (keyword), http (keyword), string (keyword)
6969

7070
Tags: networking

0 commit comments

Comments
 (0)