Explorar el Código

CLA, copyrights, ARM64 linux warning, reenable toString.js on macOS.

Ivan Krasilnikov hace 2 meses
padre
commit
672da4b10b

+ 3 - 0
CMakeLists.txt

@@ -545,6 +545,9 @@ else()
 endif()
 endif()
 
 
 if(CC_TARGETS_ARM64)
 if(CC_TARGETS_ARM64)
+    if(CC_TARGET_OS_LINUX)
+        message(WARNING "ARM64 linux build has not yet been tested, this build is unsupported.")
+    endif()
     if(BuildJIT)
     if(BuildJIT)
         message(WARNING "ARM64 Jit not yet functional on platforms other than windows.")
         message(WARNING "ARM64 Jit not yet functional on platforms other than windows.")
         message(WARNING "For use rather than development please build with Jit disabled --no-jit with ./build.sh or -DDISABLE_JIT=1 if using CMake directly")
         message(WARNING "For use rather than development please build with Jit disabled --no-jit with ./build.sh or -DDISABLE_JIT=1 if using CMake directly")

+ 1 - 0
ContributionAgreement.md

@@ -45,3 +45,4 @@ This agreement has been signed by:
 |Ryoichi Kaida| camcam-lemon|
 |Ryoichi Kaida| camcam-lemon|
 |Lukas Kurz| ShortDevelopment|
 |Lukas Kurz| ShortDevelopment|
 |Paul Pluzhnikov|EmployedRussian|
 |Paul Pluzhnikov|EmployedRussian|
+|Ivan Krasilnikov|ivankra|

+ 1 - 0
lib/Common/Core/CommonTypedefs.h

@@ -1,5 +1,6 @@
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 // Copyright (C) Microsoft. All rights reserved.
 // Copyright (C) Microsoft. All rights reserved.
+// Copyright (c) ChakraCore Project Contributors. All rights reserved.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 #pragma once
 #pragma once

+ 1 - 0
lib/Runtime/Language/SimdInt32x4Operation.cpp

@@ -1,5 +1,6 @@
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 // Copyright (C) Microsoft Corporation and contributors. All rights reserved.
 // Copyright (C) Microsoft Corporation and contributors. All rights reserved.
+// Copyright (c) ChakraCore Project Contributors. All rights reserved.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 
 

+ 1 - 0
lib/Runtime/PlatformAgnostic/ChakraICU.h

@@ -1,5 +1,6 @@
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 // Copyright (C) Microsoft. All rights reserved.
 // Copyright (C) Microsoft. All rights reserved.
+// Copyright (c) ChakraCore Project Contributors. All rights reserved.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 #pragma once
 #pragma once

+ 1 - 0
lib/Runtime/PlatformAgnostic/ChakraPlatform.h

@@ -1,5 +1,6 @@
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 // Copyright (C) Microsoft. All rights reserved.
 // Copyright (C) Microsoft. All rights reserved.
+// Copyright (c) ChakraCore Project Contributors. All rights reserved.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 #pragma once
 #pragma once

+ 1 - 0
lib/Runtime/PlatformAgnostic/Platform/Linux/PerfTrace.cpp

@@ -1,5 +1,6 @@
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 // Copyright (C) Microsoft. All rights reserved.
 // Copyright (C) Microsoft. All rights reserved.
+// Copyright (c) ChakraCore Project Contributors. All rights reserved.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 #include "Common.h"
 #include "Common.h"

+ 7 - 12
pal/inc/pal_mstypes.h

@@ -1,15 +1,10 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
-
-/*++
-
-
-
-
-
---*/
+//-------------------------------------------------------------------------------------------------------
+// ChakraCore/Pal
+// Contains portions (c) copyright Microsoft, portions copyright (c) the .NET Foundation and Contributors
+// and edits (c) copyright the ChakraCore Contributors.
+// See THIRD-PARTY-NOTICES.txt in the project root for .NET Foundation license
+// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
+//-------------------------------------------------------------------------------------------------------
 
 
 ////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////
 // Extensions to the usual posix header files
 // Extensions to the usual posix header files

+ 7 - 4
pal/src/include/pal/context.h

@@ -1,7 +1,10 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
+//-------------------------------------------------------------------------------------------------------
+// ChakraCore/Pal
+// Contains portions (c) copyright Microsoft, portions copyright (c) the .NET Foundation and Contributors
+// and edits (c) copyright the ChakraCore Contributors.
+// See THIRD-PARTY-NOTICES.txt in the project root for .NET Foundation license
+// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
+//-------------------------------------------------------------------------------------------------------
 
 
 /* Module Name:
 /* Module Name:
     include/pal/context.h
     include/pal/context.h

+ 4 - 2
pal/src/thread/context.cpp

@@ -584,11 +584,13 @@ static inline fpsimd_context* _GetNativeSigSimdContext(unsigned char* data, size
     return nullptr;
     return nullptr;
 }
 }
 
 
-static inline fpsimd_context* GetNativeSigSimdContext(native_context_t* native) {
+static inline fpsimd_context* GetNativeSigSimdContext(native_context_t* native)
+{
     return _GetNativeSigSimdContext(static_cast<unsigned char*>(native->uc_mcontext.__reserved), sizeof(native->uc_mcontext.__reserved));
     return _GetNativeSigSimdContext(static_cast<unsigned char*>(native->uc_mcontext.__reserved), sizeof(native->uc_mcontext.__reserved));
 }
 }
 
 
-static inline const fpsimd_context* GetConstNativeSigSimdContext(const native_context_t* native) {
+static inline const fpsimd_context* GetConstNativeSigSimdContext(const native_context_t* native)
+{
     return GetNativeSigSimdContext(const_cast<native_context_t*>(native));
     return GetNativeSigSimdContext(const_cast<native_context_t*>(native));
 }
 }
 #endif
 #endif

+ 0 - 2
test/Number/rlexe.xml

@@ -18,8 +18,6 @@
     <default>
     <default>
       <files>toString.js</files>
       <files>toString.js</files>
       <baseline>toString_3.baseline</baseline>
       <baseline>toString_3.baseline</baseline>
-      <!--TODO Investigate and re-enable this test on ARM64 macOS-->
-      <tags>exclude_mac</tags> 
     </default>
     </default>
   </test>
   </test>
   <test>
   <test>

+ 1 - 0
test/Number/toString.js

@@ -1,5 +1,6 @@
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------
 // Copyright (C) Microsoft. All rights reserved.
 // Copyright (C) Microsoft. All rights reserved.
+// Copyright (c) ChakraCore Project Contributors. All rights reserved.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 //-------------------------------------------------------------------------------------------------------
 //-------------------------------------------------------------------------------------------------------