Skip to content

Commit 0831a1d

Browse files
[[ LC 6.7.7 RC 2 ]] Merge release-6.7.7 into develop-7.0
2 parents 64f812d + 90d0854 commit 0831a1d

21 files changed

+120
-44
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/notes/bugfix-11569.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Scrolling a group crashes LiveCode when hiding scrollbar

docs/notes/bugfix-15590.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Crop image within a repeat loop causes crash to desktop after a few iterations

docs/notes/bugfix-15619.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Opening sqlite on iOS return "revdberror,invalid database type"

docs/notes/bugfix-15625.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# "record sound" is not replacing existing sound file

docs/notes/bugfix-15642.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# revZip fails to open archive in 64-bit iOS

engine/engine.gyp

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,5 +692,40 @@
692692
],
693693
}
694694
],
695+
[
696+
'OS == "ios"',
697+
{
698+
'targets':
699+
[
700+
{
701+
'target_name': 'standalone-app-bundle',
702+
'product_name': 'Standalone-Community-App',
703+
704+
'includes':
705+
[
706+
'app-bundle-template.gypi',
707+
],
708+
709+
'variables':
710+
{
711+
'app_plist': 'rsrc/Standalone-Info.plist',
712+
},
713+
714+
'dependencies':
715+
[
716+
'kernel-standalone',
717+
'security-community',
718+
],
719+
720+
'sources':
721+
[
722+
'src/dummy.cpp',
723+
],
724+
725+
'app_plist': 'rsrc/standalone-mobile-Info.plist',
726+
},
727+
],
728+
},
729+
],
695730
],
696731
}

engine/src/control.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,6 +1835,8 @@ Exec_stat MCControl::setsbprop(Properties which, bool p_enable,
18351835
}
18361836
else
18371837
{
1838+
// PM-2015-07-16: [[ Bug 11569 ]] Unset CS_HSCROLL when the hscrollBar of a control is set to false
1839+
state &= ~CS_HSCROLL;
18381840
delete hsb;
18391841
hsb = NULL;
18401842
if (opened)
@@ -1876,6 +1878,8 @@ Exec_stat MCControl::setsbprop(Properties which, bool p_enable,
18761878
}
18771879
else
18781880
{
1881+
// PM-2015-07-16: [[ Bug 11569 ]] Unset CS_VSCROLL when the vscrollBar of a control is set to false
1882+
state &= ~CS_VSCROLL;
18791883
delete vsb;
18801884
vsb = NULL;
18811885
if (opened)

engine/src/image_rep.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ void MCLoadableImageRep::UnlockBitmapFrame(uindex_t p_index, MCBitmapFrame *p_fr
312312
if (m_frames == nil)
313313
ConvertToMCGFrames(m_locked_frames, m_frame_count, false);
314314

315-
MCImageFreeFrames(m_locked_frames, m_lock_count);
315+
// PM-2015-07-13: [[ Bug 15590 ]] Free the correct number of frames
316+
MCImageFreeFrames(m_locked_frames, m_frame_count);
316317
m_locked_frames = nil;
317318

318319
Release();

engine/src/iutil.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,9 @@ void MCImage::crop(MCRectangle *newrect)
462462
unlockbitmap(t_bitmap);
463463

464464
/* UNCHECKED */ setbitmap(t_cropimage, 1.0);
465+
466+
// PM-2015-07-13: [[ Bug 15590 ]] Fix memory leak
467+
MCImageFreeBitmap(t_cropimage);
465468

466469
uint32_t t_pixwidth, t_pixheight;
467470
getgeometry(t_pixwidth, t_pixheight);

0 commit comments

Comments
 (0)