Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 29a3800010c00e3f9177b241ab49fdffa3a0c6dc
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/29a3800010c00e3f91…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2020-08-09 (Sun, 09 Aug 2020)
Changed paths:
M platforms/Cross/plugins/IA32ABI/arm32abicc.c
M platforms/Cross/plugins/IA32ABI/arm64abicc.c
M platforms/Cross/plugins/IA32ABI/dabusiness.h
M platforms/Cross/plugins/IA32ABI/dabusinessARM.h
M platforms/Cross/plugins/IA32ABI/dabusinessARM32.h
M platforms/Cross/plugins/IA32ABI/dabusinessARM64.h
M platforms/Cross/plugins/IA32ABI/dabusinessPostLogic.h
M platforms/Cross/plugins/IA32ABI/dabusinessppc.h
M platforms/Cross/plugins/IA32ABI/dabusinessppcPostLogicDouble.h
M platforms/Cross/plugins/IA32ABI/dabusinessppcPostLogicFloat.h
M platforms/Cross/plugins/IA32ABI/dabusinessppcPostLogicInteger.h
M platforms/Cross/plugins/IA32ABI/ia32abicc.c
M platforms/Cross/plugins/IA32ABI/ppc32abicc.c
M platforms/Cross/plugins/IA32ABI/x64sysvabicc.c
M platforms/Cross/plugins/IA32ABI/x64win64abicc.c
Log Message:
-----------
Get the 64-bit Stack Spur VM to compile on Apple Silicon. This is a matter of
eliminating any implciit declarations. Hence observe that getpagesize is
deprecated in modern POSIX_C regimes, where sysconf(_SC_PAGESIZE) is to be used.
Commit: 8287971ddf53bb17d30a43dff6a7321c7e25823d
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/8287971ddf53bb17d3…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2020-08-09 (Sun, 09 Aug 2020)
Changed paths:
M platforms/iOS/plugins/SoundPlugin/sqSqueakSoundCoreAudio.m
Log Message:
-----------
Merge branch 'Cog' of https://github.com/OpenSmalltalk/opensmalltalk-vm into Cog
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/3bc7f3e65bb4...82…
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 5da52efd0335ab475c991969e9daf08e7267a619
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/5da52efd0335ab475c…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2020-08-09 (Sun, 09 Aug 2020)
Changed paths:
M platforms/Cross/plugins/FloatMathPlugin/ieee754names.h
M platforms/Mac OS/vm/sqMacMain.c
M platforms/iOS/vm/Common/Classes/sqSqueakMainApp.m
M platforms/unix/vm/include_ucontext.h
M platforms/unix/vm/sqUnixMain.c
Log Message:
-----------
Extend include_ucontext.h and use it for reportStackState on unix platforms.
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: ccd863eeda86fbafebd8c14030d1f1054d5a22a4
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/ccd863eeda86fbafeb…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2020-08-05 (Wed, 05 Aug 2020)
Changed paths:
M src/plugins/SoundPlugin/SoundPlugin.c
Log Message:
-----------
CogVM source as per VMMaker.oscog-eem.2786
SoundPlugin: Fix a regression in primitiveSoundPlaySamples:from:startingAt:
from VMMaker.oscog-eem.2785.
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2786.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.2786
Author: eem
Time: 5 August 2020, 11:36:00.348057 am
UUID: 4a2487b6-5a6f-4baa-bd3a-534337e78564
Ancestors: VMMaker.oscog-eem.2785
SoundPlugin: Fix a regression in primitiveSoundPlaySamples:from:startingAt: from VMMaker.oscog-eem.2785.
=============== Diff against VMMaker.oscog-eem.2785 ===============
Item was changed:
----- Method: SoundPlugin>>primitiveSoundInsertSamples:from:leadTime: (in category 'primitives') -----
primitiveSoundInsertSamples: frameCount from: buf leadTime: leadTime
"Insert a buffer's worth of sound samples into the currently playing
buffer. Used to make a sound start playing as quickly as possible. The
new sound is mixed with the previously buffered sampled."
"Details: Unlike primitiveSoundPlaySamples, this primitive always starts
with the first sample the given sample buffer. Its third argument
specifies the number of samples past the estimated sound output buffer
position the inserted sound should start. If successful, it returns the
number of samples inserted."
| framesPlayed |
self primitive: 'primitiveSoundInsertSamples'
parameters: #(SmallInteger WordArray SmallInteger).
+ (self cCoerce: frameCount to: #usqInt) > (interpreterProxy slotSizeOf: buf cPtrAsOop) ifTrue:
- frameCount <= (interpreterProxy slotSizeOf: buf cPtrAsOop) ifFalse:
[^interpreterProxy primitiveFailFor: PrimErrBadArgument].
framesPlayed := self snd_InsertSamplesFromLeadTime: frameCount _: buf _: leadTime.
framesPlayed >= 0
ifTrue: [interpreterProxy methodReturnInteger: framesPlayed]
ifFalse: [interpreterProxy primitiveFail]!
Item was changed:
----- Method: SoundPlugin>>primitiveSoundPlaySamples:from:startingAt: (in category 'primitives') -----
primitiveSoundPlaySamples: frameCount from: buf startingAt: startIndex
"Output a buffer's worth of sound samples."
| framesPlayed |
self primitive: 'primitiveSoundPlaySamples'
parameters: #(SmallInteger WordArray SmallInteger).
+ (startIndex >= 1 and: [startIndex + frameCount - 1 <= (interpreterProxy slotSizeOf: buf cPtrAsOop)]) ifFalse:
- (startIndex >= 1 and: [startIndex + frameCount - 1 <= (interpreterProxy slotSizeOf: buf cPtrAsOop)]) ifTrue:
[^interpreterProxy primitiveFailFor: PrimErrBadArgument].
framesPlayed := self snd_PlaySamplesFromAtLength: frameCount _: buf _: startIndex - 1.
framesPlayed >= 0
ifTrue: [interpreterProxy methodReturnInteger: framesPlayed]
ifFalse: [interpreterProxy primitiveFail]!
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 9123984a0edb758ed3681d087f4e7287ee5d124d
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/9123984a0edb758ed3…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2020-08-03 (Mon, 03 Aug 2020)
Changed paths:
M build.macos64ARMv8/common/Makefile.flags
M platforms/iOS/vm/OSX/sqSqueakOSXScreenAndWindow.m
M platforms/unix/vm/include_ucontext.h
Log Message:
-----------
Fix the core VM compilation issues on MacOSX ARMv8.