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

Commit f590956

Browse files
author
livecodeali
committed
Merge remote-tracking branch 'upstream/develop-7.0' into merge-develop_7.0_29.07.15
Conflicts: docs/dictionary/keyword/dollar.xml engine/src/executionerrors.h engine/src/image_rep.cpp engine/src/lnxdc.cpp prebuilt/fetch-libraries.sh prebuilt/package-libs.sh
2 parents 6979067 + 56403b8 commit f590956

File tree

87 files changed

+757
-426
lines changed

Some content is hidden

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

87 files changed

+757
-426
lines changed

builder/server_builder.livecodescript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ command serverBuilderRun pPlatform, pEdition
103103
end if
104104
end repeat
105105

106-
repeat for each word tDriver in "dbsqlite dbmysql dbpostgresql dbodbc dboracle"
106+
// SN-2015-06-25: [[ ServerBuilder ]] DBoracle has never been in the Server zip.
107+
// Removed to suppress the builder warning
108+
repeat for each word tDriver in "dbsqlite dbmysql dbpostgresql dbodbc"
107109
get tEngineFolder & slash & "server-" & tDriver & tLibExtension
108110
if there is a file it then
109111
builderLog "message", "Adding driver '" & tDriver & "'"

docs/dictionary/command/open-socket.lcdoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ The most common CAs such as verisign can be found in the file root.pem. If a ve
7171

7272
For technical information about the numbers used to designate standard ports, see the list of port numbers at <http://www.iana.org/assignments/port-numbers>, in particular the section titled "Well Known Port Numbers".
7373

74-
>*Important:* The open secure socket command is part of the SSL & Encryption library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section on the General screen of the Standalone Application Settings window, make sure "SSL & Encryption" is selected in the list of script libraries.
74+
>*Important:* The open secure socket command is part of the SSL & Encryption library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. For desktop standalones, in the Inclusions section on the General screen of the Standalone Application Settings window, make sure "SSL & Encryption" is selected in the list of script libraries. For iOS standalones, in the "Basic Application Settings" section on the iOS screen of the Standalone Application Settings window, make sure "Encryption" is checked. For Android standalones, in the "Basic Application Settings" section on the Android screen of the Standalone Application Settings window, make sure "SSL & Encryption" is checked.
75+
>*Important:*
76+
On Android, when using remote sockets, internet permissions must be enabled. Do this by selecting the "Internet" checkbox of the "Application Permissions" section of the Android screen.
7577

7678
(4.5) The open socket command no longer blocks on DNS resolution. Instead, if resolution is required the command will return immediately and the DNS lookup will happen in the background. If resolution fails, then a socketError message is sent in the same was as if connection fails.
7779

docs/dictionary/command/secure-socket.lcdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Summary: Secures an open socket.
1010

1111
Introduced: 6.6
1212

13-
OS: mac,windows,linux
13+
OS: mac,windows,linux,ios,android
1414

15-
Platforms: desktop
15+
Platforms: desktop,mobile
1616

1717
Security: network
1818

docs/dictionary/command/write-to-socket.lcdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Summary: Sends data to a <socket>.
88

99
Introduced: 1.0
1010

11-
OS: mac,windows,linux
11+
OS: mac,windows,linux,ios,android
1212

13-
Platforms: desktop,server,web
13+
Platforms: desktop,server,web,mobile
1414

1515
Security: network
1616

docs/dictionary/function/ceil.xml

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Name: commandArguments
2+
3+
Type: function
4+
5+
Syntax: the commandArguments
6+
7+
Syntax: commandArguments(<index>)
8+
9+
Syntax: the commandArguments of <index>
10+
11+
Summary: If no index is given, returns a 1-based, numeric array containing all the arguments given to the command.
12+
If an index is given, returns the argument corresponding to the index (1 being the first argument).
13+
14+
Introduced: 7.1.0
15+
16+
OS: mac,windows,linux
17+
18+
Platforms: desktop,server
19+
20+
Security: none
21+
22+
Example:
23+
put the keys of the commandArguments
24+
25+
Example:
26+
repeat for each element tArgument in the commandArguments
27+
if tArgument is "-v" then
28+
put true into tVerbose
29+
end if
30+
end repeat
31+
32+
Example:
33+
put commandArguments(1)
34+
35+
Parameters:
36+
index (integer): An integer greater than 0.
37+
If the index is greater than the number of arguments, then commandArguments returns empty. .
38+
39+
Returns: Returns either a numeric array with all the commandline arguments if no <index> is given, or the argument at the <index> specified.
40+
41+
Description:
42+
Returns a 1-based numeric array containing the commandline arguments
43+
44+
With no index given, the <commandArguments> function returns an 1-based, numeric array containing the arguments given at the launch of the application.
45+
With an index given, it returns the commandline argument at this index
46+
The list only exists on desktop standalones applications and server scripts. On mobile platform or in the IDE, the <commandArguments> returns empty.
47+
48+
References: $ (keyword)
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Name: commandName
2+
3+
Type: function
4+
5+
Syntax: the commandName
6+
7+
Summary: Returns the command name used to start the execution of the application
8+
9+
Introduced: 7.1.0
10+
11+
OS: mac,windows,linux
12+
13+
Platforms: desktop,server
14+
15+
Security: none
16+
17+
Example:
18+
put the commandName
19+
20+
Example:
21+
set the itemdelimiter to slash
22+
put the last item of the commandName into field "log"
23+
24+
Description:
25+
Returns the full command name that has been used to start the executable.
26+
27+
The <commandName> is only available for standalone applications and server scripts. It returns empty for mobile platforms and in the IDE.
28+
29+
References: $ (keyword)

docs/dictionary/function/floor.xml

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
Name: mobileGetLaunchData
2+
3+
Type: function
4+
5+
Syntax: get mobileGetLaunchData()
6+
7+
Summary: Returns an array containing information set by the launcher of the application.
8+
9+
Introduced: 7.0
10+
11+
OS: android
12+
13+
Platforms: mobile
14+
15+
Example:
16+
put mobileGetLaunchData() into tLaunchData
17+
18+
Example:
19+
constant kActionView = "android.intent.action.VIEW"
20+
21+
put mobileGetLaunchData() into tLaunchData
22+
23+
if tLaunchData is an array and tLaunchData["action"] is kActionView then
24+
25+
-- view content specified in tLaunchData["data"]
26+
27+
else
28+
29+
-- launched as main application
30+
31+
end if
32+
33+
Parameters:
34+
(enum): <name/> Launch Data - The application launch data is stored as an array and has the following keys:
35+
- "action": The general action the app was launched to perform.
36+
- "data": The data to operate on.
37+
- "type": The MIME type of the data provided.
38+
- "categories": Additional information about the action to perform.
39+
40+
Returns:
41+
Use the <mobileGetLaunchData> function to get the application launch parameters.
42+
The returned array will contain the information that is set by the launching application.
43+
44+
Description:
45+
>Returns an array containing information set by the launcher of the application.
46+
47+
The <mobileGetLaunchData> function returns the information that was set by the launching application. This can be used to perform specific actions supported by an application on the provided data.
48+
49+
>*Note:* On Android, custom Intent filters can be specified in the manifest to allow an application to perform actions for other applications
50+
When the application is launched to handle one of these actions, its launch Intent can be queried to determine what action was requested, and the data to use to fulfil that request.

docs/dictionary/function/mobileGetLaunchData.xml

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)