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

Commit 462c197

Browse files
Merge remote-tracking branch 'origin/release-6.7.8' into develop-6.7
2 parents a70189f + a79a271 commit 462c197

File tree

11 files changed

+35
-18
lines changed

11 files changed

+35
-18
lines changed

builder/server_builder.livecodescript

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,9 @@ command serverBuilderRun pPlatform, pEdition
3737
delete file tOutputFile
3838

3939
if pPlatform is "windows" then
40-
local tExternalsFolder
41-
put tEngineFolder into tExternalsFolder
42-
set the itemDel to slash
43-
put "releaseserver" into the last item of tExternalsFolder
44-
set the itemDel to comma
45-
4640
repeat for each word tExternal in "revdb revzip revxml dbsqlite dbmysql dbpostgresql dbodbc"
4741
get "server-" & tExternal & ".dll"
48-
if there is a file (tExternalsFolder & slash & it) then
49-
builderLog "message", "Copying windows external '" & tExternal & "' from release server folder"
50-
put URL ("binfile:" & tExternalsFolder & slash & it) into URL ("binfile:" & tEngineFolder & slash & it)
51-
else
42+
if there is not a file (tEngineFolder & slash & it) then
5243
get tExternal & ".dll"
5344
if there is a file (tEngineFolder & slash & it) then
5445
builderLog "message", "Copying windows external '" & tExternal & "' from desktop external"

config/ios.gypi

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929
'IPHONEOS_DEPLOYMENT_TARGET[arch=i386]': '5.1.1',
3030
'IPHONEOS_DEPLOYMENT_TARGET[arch=arm64]': '7.0.0',
3131
'IPHONEOS_DEPLOYMENT_TARGET[arch=x86_64]': '7.0.0',
32-
'ENABLE_BITCODE[arch=armv7]': 'No',
33-
'ENABLE_BITCODE[arch=i386]': 'No',
34-
'ENABLE_BITCODE[arch=arm64]': 'Yes',
35-
'ENABLE_BITCODE[arch=x86_64]': 'Yes',
32+
'ENABLE_BITCODE': 'No',
3633
'TARGETED_DEVICE_FAMILY': '1,2',
3734
'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
3835
'ARCHS_STANDARD': 'armv7 arm64',

docs/notes/bugfix-16268.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Use the server-revdb.dll external for Windows server
2+

docs/notes/bugfix-16299.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Unable to mobileControlSet URL with http:// URL on iOS 9.1 Simulators and Devices

docs/notes/feature-ats.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Application Transport Security (ATS)
2+
3+
Apple introduced in iOS SDK 9.0 the Application Transport Security which 'enforces best practices in the secure connections between an app and its back end' (see [the technical notice](https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-SW14)).
4+
5+
The most noticeable effect on applications created using Xcode 7.0 (and following versions) is that URLs using *HTTP* protocol are no longer considered valid, and the iOS engine will not process them; only URLs using *HTTPS* are deemed secure enough, and will be loaded.
6+
7+
This means that `nativeBrowser` cannot load a webpage such as [http LiveCode](http://www.livecode.com), but will happily load [https LiveCode](https://www.livecode.com). The same applies to the LiveCode function *url*.
8+
9+
To allow our users to create apps letting Web navigation accept unsecure webpages, we added a checkbox **Disable ATS** in the Standalone Settings for iOS, in the Requirements and Restrictions section. If you check this box, then *ATS* will be disabled, and the application can load Webpages using *HTTP* (as it used to do).

engine/rsrc/mobile-device-template.plist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
<array>
6363
${DEVICE_SUPPORT}
6464
</array>
65+
${DISABLE_ATS}
6566
<key>UIRequiredDeviceCapabilities</key>
6667
<dict>
6768
${DEVICE_CAPABILITY}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<key>NSAppTransportSecurity</key>
2+
<dict>
3+
<key>NSAllowsArbitraryLoads</key><true/>
4+
</dict>

engine/rsrc/mobile-template.plist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<array>
2222
${BUNDLE_ICONS}
2323
</array>
24+
${DISABLE_ATS}
2425
<key>CFBundleDisplayName</key>
2526
${BUNDLE_DISPLAY_NAME_SUPPORT}
2627
<key>MinimumOSVersion</key>

ide

Submodule ide updated from 1d76aef to 83882a2

ide-support/revsaveasiosstandalone.livecodescript

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,7 @@ private command revCreateMobilePlist pSettings, pAppBundle, pTarget, pFonts, pPl
11981198
----------
11991199

12001200
local tDisplayName, tMinimumOS, tDeviceFamily, tRequiredCapabilities, tPersistentWifi, tExitsOnSuspend
1201+
local tDisableATS
12011202
local tFileSharing, tPrerenderedIcon, tBackGroundAudio
12021203
put pSettings["ios,display name"] into tDisplayName
12031204
put pSettings["ios,minimum version"] into tMinimumOS
@@ -1237,6 +1238,12 @@ private command revCreateMobilePlist pSettings, pAppBundle, pTarget, pFonts, pPl
12371238
put "true" into tExitsOnSuspend
12381239
end if
12391240

1241+
// SN-2015-02-11: [[ Bug 16299 ]] Add ${DISABLE_ATS} in the Plist template
1242+
if pSettings["ios,disable ATS"] then
1243+
put URL("binfile:" & mapFilePath("DisableATS.plist")) into tDisableATS
1244+
end if
1245+
1246+
12401247
----------
12411248
-- PM-2015-02-17: [[ Bug 14482 ]] Added a new "solid" statusbarstyle
12421249
local tStatusBarHidden, tStatusBarStyle, tIPadStatusBarHidden, tStatusBarSolid
@@ -1315,6 +1322,7 @@ private command revCreateMobilePlist pSettings, pAppBundle, pTarget, pFonts, pPl
13151322
-- SN-2015-02-02: [[ Bug 14422 ]] We now have minimum version depending on the arch.
13161323
replace "${MINIMUM_OS_SUPPORT}" with "<string>" & tMinimumOSByArch["i386"] & "</string>" in pPlist
13171324
replace "${CUSTOM_FONTS}" with tCustomFonts in pPlist
1325+
replace "${DISABLE_ATS}" with tDisableATS in pPlist
13181326

13191327
get empty
13201328
repeat for each item tItem in tDeviceFamily
@@ -1636,6 +1644,9 @@ function mapFilePath pPath
16361644
case "BetaReportEntitlement.xcent"
16371645
put tRepo & slash & "engine/rsrc/template-beta-report-entitlement.xcent" into tPath
16381646
break
1647+
case "DisableATS.plist"
1648+
put tRepo & slash & "engine/rsrc/mobile-disable-ats-template.plist" into tPath
1649+
break
16391650
case "RemoteNotificationSettings.plist"
16401651
put tRepo & slash & "engine/rsrc/mobile-remote-notification-template.plist" into tPath
16411652
break

0 commit comments

Comments
 (0)