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

Commit 3131e74

Browse files
committed
Merge remote-tracking branch 'origin/merge-develop-8.1-07.03.2018' into merge-develop-8.2-07.03.2018
2 parents d8d870a + 2097270 commit 3131e74

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

builder/builder_utilities.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
script "BuilderUtilities"
22

3-
constant kMergExtVersion = "2017-12-14"
3+
constant kMergExtVersion = "2018-3-2"
44
constant kTSNetVersion = "1.3.4"
55

66
local sEngineDir

docs/notes/bugfix-20986.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure mobileSoundOnChannel() returns correct value on iOS

docs/notes/bugfix-21016.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Add support for local storage to Android browser

engine/src/java/com/runrev/android/libraries/LibBrowser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ public void onHideCustomView()
325325

326326
setWebChromeClient(m_chrome_client);
327327
getSettings().setJavaScriptEnabled(true);
328+
getSettings().setDomStorageEnabled(true);
328329
getSettings().setPluginState(WebSettings.PluginState.ON);
329330
getSettings().setBuiltInZoomControls(true);
330331
addJavascriptInterface(new JSInterface(), "liveCode");

engine/src/java/com/runrev/android/nativecontrol/BrowserControl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ public void onHideCustomView()
290290
};
291291
t_view.setWebChromeClient(m_chrome_client);
292292
t_view.getSettings().setJavaScriptEnabled(true);
293+
t_view.getSettings().setDomStorageEnabled(true);
293294
t_view.getSettings().setPluginState(WebSettings.PluginState.ON);
294295
t_view.getSettings().setBuiltInZoomControls(true);
295296
t_view.addJavascriptInterface(new JSInterface(), "revjs");

engine/src/mbliphonesound.mm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -680,22 +680,22 @@ bool MCSystemSoundChannelStatus(MCStringRef p_channel, intenum_t& r_status)
680680

681681
bool MCSystemSoundOnChannel(MCStringRef p_channel, MCStringRef& r_sound)
682682
{
683-
/* MCSystemSoundChannel *t_channel;
683+
MCSystemSoundChannel *t_channel;
684684
if (!find_sound_channel(p_channel, false, t_channel))
685685
return false;
686686

687-
return MCCStringClone(t_channel -> current_player . sound, r_sound);*/
688-
return false;
687+
MCValueAssign(r_sound, t_channel -> current_player . sound);
688+
return true;
689689
}
690690

691691
bool MCSystemNextSoundOnChannel(MCStringRef p_channel, MCStringRef& r_sound)
692692
{
693-
/* MCSystemSoundChannel *t_channel;
693+
MCSystemSoundChannel *t_channel;
694694
if (!find_sound_channel(p_channel, false, t_channel))
695695
return false;
696696

697-
return MCCStringClone(t_channel -> next_player . sound, r_sound);*/
698-
return false;
697+
MCValueAssign(r_sound, t_channel -> next_player . sound);
698+
return true;
699699
}
700700

701701
// MM-2012-02-11: Refactored to return a formatted sting of channels

engine/src/mode_installer.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,10 @@ IO_stat MCDispatch::startup(void)
14101410
if (t_info . stack -> getextendedstate(ECS_USES_PARENTSCRIPTS))
14111411
t_info . stack -> resolveparentscripts();
14121412

1413+
// Resolve parent scripts
1414+
if (t_info . stack -> getextendedstate(ECS_USES_PARENTSCRIPTS))
1415+
t_info . stack -> resolveparentscripts();
1416+
14131417
MCscreen->resetcursors();
14141418
MCtemplateimage->init();
14151419
send_startup_message();

0 commit comments

Comments
 (0)