Skip to content

Commit 15bff23

Browse files
committed
Merge remote-tracking branch 'upstream/develop-8.1' into merge-develop_8.1_24.03.17
2 parents bb26212 + db91f44 commit 15bff23

21 files changed

+99
-46
lines changed

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def guess_android_build_tools(sdkdir):
390390

391391
def validate_android_tools(opts):
392392
if opts['ANDROID_NDK_VERSION'] is None:
393-
opts['ANDROID_NDK_VERSION'] = 'r10d'
393+
opts['ANDROID_NDK_VERSION'] = 'r14'
394394

395395
ndk_ver = opts['ANDROID_NDK_VERSION']
396396
if opts['ANDROID_PLATFORM'] is None:

docs/development/build-android.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![LiveCode Community Logo](http://livecode.com/wp-content/uploads/2015/02/livecode-logo.png)
44

5-
Copyright © 2015 LiveCode Ltd., Edinburgh, UK
5+
Copyright © 2015-2017 LiveCode Ltd., Edinburgh, UK
66

77
## Dependencies
88

@@ -19,11 +19,17 @@ LiveCode requires both the Android Software Development Kit (SDK) and Native Dev
1919
Extract both the NDK and SDK to a suitable directory, e.g. `~/android/toolchain`. For example, you would run:
2020

2121
````bash
22-
mkdir -p ~/android/toolchain
22+
mkdir -p ~/android/toolchain/android-sdk-linux
2323
cd ~/android/toolchain
2424

25-
tar -xf ~/Downloads/android-sdk_r24.1.2-linux.tgz
26-
7z x ~/Downloads/android-ndk-r10e-linux-x86_64.bin
25+
wget https://dl.google.com/android/repository/android-ndk-r14-linux-x86_64.zip
26+
wget https://dl.google.com/android/repository/tools_r25.2.3-linux.zip
27+
28+
unzip android-ndk-r14-linux-x86_64.zip
29+
30+
pushd android-sdk-linux
31+
unzip tools_r25.2.3-linux.zip
32+
popd
2733
````
2834

2935
Update the SDK:
@@ -35,16 +41,15 @@ Update the SDK:
3541
Create a standalone toolchain (this simplifies setting up the build environment):
3642

3743
````bash
38-
android-ndk-r10e/build/tools/make-standalone-toolchain.sh \
39-
--toolchain=arm-linux-androideabi-clang3.5 \
40-
--platform=android-10 \
41-
--install-dir=${HOME}/android/toolchain/standalone
44+
android-ndk-r14/build/tools/make_standalone_toolchain.py \
45+
--arch arm --api 17 --stl libc++ \
46+
--install-dir ${HOME}/android/toolchain/standalone
4247
````
4348

4449
Add a couple of symlinks to allow the engine configuration script to find the Android toolchain:
4550

4651
````bash
47-
ln -s android-ndk-r10e android-ndk
52+
ln -s android-ndk-r14 android-ndk
4853
ln -s android-sdk-linux android-sdk
4954
````
5055

@@ -75,11 +80,11 @@ LINK="${BINDIR}/${TRIPLE}-clang ${COMMON_FLAGS} -fuse-ld=bfd"
7580
AR="${BINDIR}/${TRIPLE}-ar"
7681

7782
# Android platform information
78-
ANDROID_NDK_VERSION=r10e
79-
ANDROID_PLATFORM=android-10
80-
ANDROID_NDK=${TOOLCHAIN}/android-ndk-r10e
83+
ANDROID_NDK_VERSION=r14
84+
ANDROID_PLATFORM=android-17
85+
ANDROID_NDK=${TOOLCHAIN}/android-ndk-r14
8186
ANDROID_SDK=${TOOLCHAIN}/android-sdk-linux
82-
ANDROID_BUILD_TOOLS=23.0.1
87+
ANDROID_BUILD_TOOLS=25.0.2
8388

8489
export JAVA_SDK
8590
export CC CXX LINK AR
@@ -112,7 +117,7 @@ Otherwise, you'll need to build a target in the gyp-generated makefiles:
112117

113118
**Note:** The following information is provided for reference purposes. It should be possible to build LiveCode for Android on any modern Linux desktop distribution or recent version of Mac OS.
114119

115-
The Linux build environment used for compiling LiveCode for Android is based on Debian Wheezy x86-64, with the following additional packages installed:
120+
The Linux build environment used for compiling LiveCode for Android is based on Debian Jessie x86-64, with the following additional packages installed:
116121

117122
* git
118123
* bzip2
@@ -121,3 +126,5 @@ The Linux build environment used for compiling LiveCode for Android is based on
121126
* python
122127
* build-essential
123128
* openjdk-7-jdk
129+
* flex
130+
* bison

docs/guides/LiveCode Documentation Format Reference.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ etc.
235235
### Inline documentation
236236
Documentation for LiveCode script and LiveCode extensions can be done in-line. In this case, the Name, Type, Syntax and Associated elements are auto-generated.
237237

238-
The code-block enclosed in /* */ immediately preceding the handler or syntax definition is used for the other elements of the documentation for that entry. In LiveCode extensions, the types of parameters are also pulled from the associated handler.
238+
The code-block enclosed in /** */ immediately preceding the handler or syntax definition is used for the other elements of the documentation for that entry. In LiveCode extensions, the types of parameters are also pulled from the associated handler.
239239

240240
### Separate docs files examples
241241

@@ -344,13 +344,13 @@ In general, writing inline docs has fewer requirements since several of the elem
344344
#### LiveCode Builder syntax example
345345

346346
```
347-
/*
347+
/**
348348
This library consists of the operations on lists included in the standard library of LiveCode Builder.
349349
*/
350350
351351
module com.livecode.list
352352
353-
/*
353+
/**
354354
Summary: Returns the first element of <Target>.
355355
Target: An expression which evaluates to a list.
356356
output: The first element of <Target>
@@ -387,7 +387,7 @@ end module
387387

388388
#### LiveCode Builder handler example
389389
```
390-
/*
390+
/**
391391
Summary: Logs the result of a test to the <xResults> list
392392
393393
Parameters:
@@ -415,7 +415,7 @@ end handler
415415
```
416416
#### LiveCode script handler example
417417
```
418-
/*
418+
/**
419419
Summary: Extracts the inline docs from a .lcb file
420420
421421
pFile: The path to the .lcb file to extract docs from

docs/notes/bugfix-12187.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Make sure keyboardActivated/keyboardDeactivated messages are sent when the status bar is hidden on Android

docs/notes/bugfix-18273.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Prevent crash when rendering card with invalid objptr

docs/notes/bugfix-19298.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Make sure "Search for Inclusions" detects correctly widget inclusions on iOS simulator

docs/notes/bugfix-19313.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Fix crash when saving field with fdata

docs/notes/bugfix-19352.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Fix crash when getting the urlResponse

docs/notes/bugfix-19417.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Use correct comment syntax in docs on documentation

docs/notes/bugfix-19424.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Make sure getting `the securityPermissions` returns the expected result

0 commit comments

Comments
 (0)