Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions Installer/package.txt
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,22 @@ component Runtime.iOS
file ios:iphonesimulator12.1/mobile-disable-ats-template.plist as "DisableATS.plist"
file ios:iphonesimulator12.1/[email protected] as "Default4InchSplash.png" base ios:[email protected]
file ios:iphonesimulator12.1/fontmap as "fontmap"
into "[[ToolsFolder]]/Runtime/iOS/Simulator-13_0" place
executable ios:iphonesimulator13.0/standalone-mobile[[BaseEditionTagLower]].ios-engine as Standalone base ios:iphonesimulator8.2/standalone-mobile[[BaseEditionTagLower]].app/standalone-mobile[[BaseEditionTagLower]]
executable ios:iphonesimulator13.0/revsecurity.ios-extension as RevSecurity base ios:iphonesimulator8.2/revsecurity.dylib
executable ios:iphonesimulator13.0/revpdfprinter.ios-extension as RevPdfPrinter base ios:iphonesimulator8.2/revpdfprinter.dylib
executable ios:iphonesimulator13.0/revzip.ios-extension as RevZip base ios:iphonesimulator8.2/revzip.dylib
executable ios:iphonesimulator13.0/revxml.ios-extension as RevXml base ios:iphonesimulator8.2/revxml.dylib
executable ios:iphonesimulator13.0/revdb.ios-extension as RevDb base ios:iphonesimulator8.2/revdb.dylib
executable ios:iphonesimulator13.0/dbsqlite.ios-extension as DbSqlite base ios:iphonesimulator8.2/dbsqlite.dylib
executable ios:iphonesimulator13.0/dbmysql.ios-extension as DbMysql base ios:iphonesimulator8.2/dbmysql.dylib
file ios:iphonesimulator13.0/mobile-template.plist as "Settings.plist"
file ios:iphonesimulator13.0/mobile-remote-notification-template.plist as "RemoteNotificationSettings.plist"
file ios:iphonesimulator13.0/mobile-url-scheme-template.plist as "URLSchemeSettings.plist"
file ios:iphonesimulator13.0/mobile-splashscreen-template.plist as "SplashscreenSettings.plist"
file ios:iphonesimulator13.0/mobile-disable-ats-template.plist as "DisableATS.plist"
file ios:iphonesimulator13.0/[email protected] as "Default4InchSplash.png" base ios:[email protected]
file ios:iphonesimulator13.0/fontmap as "fontmap"
into "[[ToolsFolder]]/Runtime/iOS/Device-9_2" place
executable ios:iphoneos9.2/standalone-mobile[[BaseEditionTagLower]].ios-engine as Standalone
executable ios:iphoneos9.2/revsecurity.ios-extension as RevSecurity
Expand Down Expand Up @@ -804,6 +820,26 @@ component Runtime.iOS
file ios:iphoneos12.1/mobile-disable-ats-template.plist as "DisableATS.plist"
file ios:iphoneos12.1/[email protected] as "Default4InchSplash.png" base ios:[email protected]
file ios:iphoneos12.1/fontmap as "fontmap"
into "[[ToolsFolder]]/Runtime/iOS/Device-13_0" place
executable ios:iphoneos13.0/standalone-mobile[[BaseEditionTagLower]].ios-engine as Standalone base ios:iphoneos9.2/standalone-mobile[[BaseEditionTagLower]].ios-engine
executable ios:iphoneos13.0/revsecurity.ios-extension as RevSecurity base ios:iphoneos9.2/revsecurity.ios-extension
executable ios:iphoneos13.0/revpdfprinter.ios-extension as RevPdfPrinter base ios:iphoneos9.2/revpdfprinter.ios-extension
executable ios:iphoneos13.0/revzip.ios-extension as RevZip base ios:iphoneos9.2/revzip.ios-extension
executable ios:iphoneos13.0/revxml.ios-extension as RevXml base ios:iphoneos9.2/revxml.ios-extension
executable ios:iphoneos13.0/revdb.ios-extension as RevDb base ios:iphoneos9.2/revdb.ios-extension
executable ios:iphoneos13.0/dbsqlite.ios-extension as DbSqlite base ios:iphoneos9.2/dbsqlite.ios-extension
executable ios:iphoneos13.0/dbmysql.ios-extension as DbMysql base ios:iphoneos9.2/dbmysql.ios-extension
file ios:iphoneos13.0/mobile-device-template.plist as "Settings.plist"
file ios:iphoneos13.0/mobile-remote-notification-template.plist as "RemoteNotificationSettings.plist"
file ios:iphoneos13.0/mobile-url-scheme-template.plist as "URLSchemeSettings.plist"
file ios:iphoneos13.0/mobile-splashscreen-template.plist as "SplashscreenSettings.plist"
file ios:iphoneos13.0/template-entitlements.xcent as "Entitlements.xcent"
file ios:iphoneos13.0/template-beta-report-entitlement.xcent as "BetaReportEntitlement.xcent"
file ios:iphoneos13.0/template-remote-notification-entitlements.xcent as "RemoteNotificationEntitlements.xcent"
file ios:iphoneos13.0/template-remote-notification-store-entitlements.xcent as "RemoteNotificationStoreEntitlements.xcent"
file ios:iphoneos13.0/mobile-disable-ats-template.plist as "DisableATS.plist"
file ios:iphoneos13.0/[email protected] as "Default4InchSplash.png" base ios:[email protected]
file ios:iphoneos13.0/fontmap as "fontmap"

////////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -980,6 +1016,8 @@ component TimeZone
rfolder ios:iphonesimulator11.2/packaged_extensions/com.livecode.library.timezone/code
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
rfolder ios:iphonesimulator12.1/packaged_extensions/com.livecode.library.timezone/code
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
rfolder ios:iphonesimulator13.0/packaged_extensions/com.livecode.library.timezone/code
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
rfolder ios:iphoneos9.2/packaged_extensions/com.livecode.library.timezone/code
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
Expand All @@ -988,6 +1026,8 @@ component TimeZone
rfolder ios:iphoneos11.2/packaged_extensions/com.livecode.library.timezone/code
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
rfolder ios:iphoneos12.1/packaged_extensions/com.livecode.library.timezone/code
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
rfolder ios:iphoneos13.0/packaged_extensions/com.livecode.library.timezone/code
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
rfolder win-x86:packaged_extensions/com.livecode.library.timezone/code
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ EMMAKE ?= emmake

# Some magic to control which versions of iOS we try to build. N.b. you may
# also need to modify the buildbot configuration
IPHONEOS_VERSIONS ?= 9.2 10.2 11.2 12.1
IPHONESIMULATOR_VERSIONS ?= 8.2 9.2 10.2 11.2 12.1
IPHONEOS_VERSIONS ?= 9.2 10.2 11.2 12.1 13.0
IPHONESIMULATOR_VERSIONS ?= 8.2 9.2 10.2 11.2 12.1 13.0
SKIP_IPHONESIMULATOR_VERSIONS ?= 6.1 7.1

IOS_SDKS ?= \
Expand Down
2 changes: 2 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
'x86-android-ndk16r15',
'x86_64-android-ndk16r15',
'universal-mac-macosx10.9', # Minimum deployment target
'universal-ios-iphoneos13.0',
'universal-ios-iphoneos12.1',
'universal-ios-iphoneos11.2',
'universal-ios-iphoneos10.2',
'universal-ios-iphoneos9.2',
'universal-ios-iphonesimulator13.0',
'universal-ios-iphonesimulator12.1',
'universal-ios-iphonesimulator11.2',
'universal-ios-iphonesimulator10.2',
Expand Down
12 changes: 12 additions & 0 deletions docs/dictionary/keyword/dateItems.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ The <dateItems> does not change depending on the user's settings, so you
can use it (or the <seconds> format) to store a date and time in an
invariant form that won't change.

>*Note:* A list in <dateItems> format can have values beyond the expected
range for any given item (e.g. a day of the month of less than 1 or greater
than the number of days in that month) without causing issues when converting
it again later, outputting a date adjusted for such an irregularity. For
example, the date 4 weeks from today can be determined by adding 28 to the
third item (i.e. the day of the month) and then re-converting.

put the date into foo -- 9/19/19, for example
convert foo to dateItems -- 2019,9,19,0,0,0,5
add 28 to the item 3 of foo -- 2019,9,47,0,0,0,5
convert foo to date -- 10/17/19

References: convert (command), date (function),
seconds (function), time (function), command (glossary),
keyword (glossary)
Expand Down
22 changes: 19 additions & 3 deletions docs/dictionary/message/accelerationChanged.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,31 @@ Handle the <accelerationChanged> message if you want to perform an
action when the acceleration along any axis changes

The <accelerationChanged> message is sent to the current card of the
defaultStack at the interval specified by the mobileEnableAccelerometer
command.
defaultStack at the interval specified by the
<mobileEnableAccelerometer> command.

You can use the difference between the time values in two
<accelerationChanged> events to give an indication of how much time
passed between the samples.

>*Note:* On Android, the change in acceleration output is in meters
> per second squared whereas on iOS, it is in G-forces. In order to
> normalize these changes in acceleration, you must detect the
> <platform> and convert appropriately. For example:

on accelerationChanged pXAccel, pYAccel, pZAccel
if the platform is "iphone" then
-- Convert from g-forces to m/s^2
multiply pXAccel by 9.81
multiply pYAccel by 9.81
multiply pZAccel by 9.81
end if
-- the rest of your code
end accelerationChanged

References: mobileStopTrackingSensor (command),
mobileStartTrackingSensor (command)
mobileStartTrackingSensor (command),
mobileEnableAccelerometer (command), platform (function)

Tags: ui

2 changes: 1 addition & 1 deletion docs/dictionary/property/cursorMovement.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The mechanism to be used used for moving the cursor in a field
- "visual": moves the cursor in visual order
- "logical": moves the cursor to the next character in logical
(reading) order
- "empty": moves the cursor using the default behavior on the current
- "default": moves the cursor using the default behavior on the current
platform


Expand Down
2 changes: 2 additions & 0 deletions docs/notes-base/platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Currently, the supported versions of Xcode are:
* Xcode 8.2 on MacOS X 10.11
* Xcode 9.2 on MacOS 10.12 (Note: You need to upgrade to 10.12.6)
* Xcode 10.1 on MacOS 10.13 (Note: You need to upgrade to 10.13.4)
* Xcode 11.0 on MacOS 10.14 (Note: You need to upgrade to 10.14.3)

It is also possible to set other versions of Xcode, to allow testing
on a wider range of iOS simulators. For instance, on MacOS 10.12
Expand All @@ -75,6 +76,7 @@ We currently support deployment for the following versions of iOS:
* 10.2
* 11.2
* 12.1
* 13.0

## Android

Expand Down
1 change: 1 addition & 0 deletions docs/notes/bugfix-19495.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Explained a feature in the dateItems entry where out-of-range values can be used effectively.
1 change: 1 addition & 0 deletions docs/notes/bugfix-21111.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Explained mobile accelerometer differences in the accelerationChanged entry
1 change: 1 addition & 0 deletions docs/notes/bugfix-22380.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Corrected documented list of mechanisms available to cursorMovement
19 changes: 10 additions & 9 deletions ide-support/revdeploylibraryios.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,14 @@ local sDeviceSDKs
-- SN-2015-03-24: [[ Bug 15037 ]] Add a consistent, strict list of the
-- SDKs and device relying on the engines we provide in the shipped version
function deployUsableIosSdk
return "8.2,9.2,10.2,11.2,12.1"
return "8.2,9.2,10.2,11.2,12.1,13.0"
end deployUsableIosSdk

// SN-2015-05-01: Return the pair iOS SDK / Xcode for the current MacOS version
function deployGetIphoneOSes
local tList, tMacVersion
put deploySanitizeSystemVersion() into tMacVersion
if tMacVersion < 100800 then
put "6.1,4.6" into tList[1]
else if tMacVersion < 100900 then
put "7.1,5.1" into tList[1]
else if tMacVersion < 101000 then
if tMacVersion < 101000 then
put "8.2,6.2" into tList[1]
else if tMacVersion < 101100 then
put "8.2,6.2" into tList[1]
Expand All @@ -44,19 +40,24 @@ function deployGetIphoneOSes
answer error "To use Xcode 9.2, you need to upgrade your Mac to MacOS Sierra 10.12.6"
else if tMacVersion < 101300 then
put "11.2,9.2" into tList[1]
else if tMacVersion < 101302 then
else if tMacVersion < 101304 then
put empty into tList[1]
answer error "To use Xcode 10.1, you need to upgrade your Mac to MacOS High Sierra 10.13.4"
else if tMacVersion < 101400 then
put "12.1,10.1" into tList[1]
else if tMacVersion < 101403 then
put empty into tList[1]
answer error "To use Xcode 11.0, you need to upgrade your Mac to MacOS Mojave 10.14.3"
else
// Xcode 10.1 requires a Mac running Mac OS 10.13.4 or later
// Xcode 11.0 requires a Mac running Mac OS 10.14.3 or later
put "12.1,10.1" into tList[1]
end if

return tList
end deployGetIphoneOSes

function deployGetIosMinimumVersions
return "8.0,8.1,8.2,8.3,8.4,9.0,9.1,9.2,9.3,10.0,10.1,10.2,10.3,11.0,11.1,11.2,11.3,11.4,12.0,12.1"
return "8.0,8.1,8.2,8.3,8.4,9.0,9.1,9.2,9.3,10.0,10.1,10.2,10.3,11.0,11.1,11.2,11.3,11.4,12.0,12.1,13.0"
end deployGetIosMinimumVersions

////////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion prebuilt/fetch-libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LIBS_win32=( Thirdparty OpenSSL Curl ICU CEF )
LIBS_linux=( Thirdparty OpenSSL Curl ICU CEF )
LIBS_emscripten=( Thirdparty ICU )

SUBPLATFORMS_ios=(iPhoneSimulator8.2 iPhoneSimulator9.2 iPhoneSimulator10.2 iPhoneSimulator11.2 iPhoneSimulator12.1 iPhoneOS9.2 iPhoneOS10.2 iPhoneOS11.2 iPhoneOS12.1)
SUBPLATFORMS_ios=(iPhoneSimulator8.2 iPhoneSimulator9.2 iPhoneSimulator10.2 iPhoneSimulator11.2 iPhoneSimulator12.1 iPhoneSimulator13.0 iPhoneOS9.2 iPhoneOS10.2 iPhoneOS11.2 iPhoneOS12.1 iPhoneOS13.0)
SUBPLATFORMS_win32=(v141_static_debug v141_static_release)
SUBPLATFORMS_android=(ndk16r15)

Expand Down
2 changes: 2 additions & 0 deletions prebuilt/scripts/ios.inc
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ checkiOS iphonesimulator11.2 9_2_0 iPhoneSimulator 11.2 "x86_64"
checkiOS iphoneos11.2 9_2_0 iPhoneOS 11.2 "armv7 arm64"
checkiOS iphonesimulator12.1 10_1_0 iPhoneSimulator 12.1 "x86_64"
checkiOS iphoneos12.1 10_1_0 iPhoneOS 12.1 "armv7 arm64"
checkiOS iphonesimulator13.0 11_0_0 iPhoneSimulator 13.0 "x86_64"
checkiOS iphoneos13.0 11_0_0 iPhoneOS 13.0 "armv7 arm64"
4 changes: 2 additions & 2 deletions tools/setup_xcode_sdks.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/python

# Update these lists if you need different SDK versions!
iphoneos_versions = ["12.1", "11.2", "10.2", "9.2"]
iphonesimulator_versions = ["12.1", "11.2", "10.2","9.2", "8.2"]
iphoneos_versions = ["13.0", "12.1", "11.2", "10.2", "9.2"]
iphonesimulator_versions = ["13.0", "12.1", "11.2", "10.2","9.2", "8.2"]
macosx_versions = ["10.9"]


Expand Down