[quickjs-devel] Refactoring platform related functions to quicjs-port.h

  • From: 罗勇刚(Yonggang Luo) <luoyonggang@xxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Tue, 16 Feb 2021 14:13:16 +0000

Add full support on win32.
Full source code are placed at https://github.com/lygstate/quickjs/tree/msvc
For msvc all tests passed when it's passed in Linux
For mingw, only the floating point rounding cases doesn't passed
test262/test/built-ins/Number/prototype/toExponential/return-values.js:10:
Test262Error: Expected SameValue(«2e+1», «3e+1») to be true
test262/test/built-ins/Number/prototype/toExponential/return-values.js:10:
strict mode: Test262Error: Expected SameValue(«2e+1», «3e+1») to be true

-- 
         此致

罗勇刚
Yours
    sincerely,
Yonggang Luo

Attachment: 0001-Use-the-macro-__js_printf_like.patch
Description: Binary data

Attachment: 0004-Normalize-path-on-win32.patch
Description: Binary data

Attachment: 0003-a0-32-bit-turn-out-to-be-undefined-behavior.patch
Description: Binary data

Attachment: 0002-Fixes-compile-warning-on-MSVC.patch
Description: Binary data

Attachment: 0006-Fixes-compiling-error.patch
Description: Binary data

Attachment: 0005-Win32-also-need-CONFIG_PRINTF_RNDN.patch
Description: Binary data

Attachment: 0007-Add-DUMP_ENABLED-macro-for-guarding-dump-functions-o.patch
Description: Binary data

Attachment: 0008-Remove-the-usage-of-sprintf.patch
Description: Binary data

Attachment: 0009-On-MSVC-when-running-tests-it-s-complain-label_lvalu.patch
Description: Binary data

Attachment: 0010-Add-macro-JSValueCast-as-on-MSVC-you-can-not-cast-pu.patch
Description: Binary data

Attachment: 0011-msvc-doesn-t-support-for-__int128.patch
Description: Binary data

Attachment: 0012-Fixes-asinh-and-atanh-on-mingw.patch
Description: Binary data

Attachment: 0013-Split-quickjs-port.h-out.patch
Description: Binary data

Other related posts:

  • » [quickjs-devel] Refactoring platform related functions to quicjs-port.h - Yonggang Luo