You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2019/07/10 13:20:34 UTC
[incubator-weex] branch master updated: [jsruntime] add runtime
code (a/b) and build success (#2669)
This is an automated email from the ASF dual-hosted git repository.
kyork pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new f6f1127 [jsruntime] add runtime code (a/b) and build success (#2669)
f6f1127 is described below
commit f6f1127b766cc19c9f780dbd6b4ca595c324fb52
Author: chen <lu...@users.noreply.github.com>
AuthorDate: Wed Jul 10 21:20:29 2019 +0800
[jsruntime] add runtime code (a/b) and build success (#2669)
Cherry-pick release/0.26
---
CHANGELOG.md | 94 +--
HOW-TO-BUILD.md | 6 +-
LICENSE | 628 ++++++++++++-----
.../main/java/com/alibaba/weex/WXApplication.java | 2 +-
android/sdk/build.gradle | 63 +-
android/sdk/build_jss_r.sh | 24 +
android/sdk/libs/arm64-v8a/libJavaScriptCore.so | Bin 9278912 -> 9258456 bytes
android/sdk/libs/armeabi-v7a/libJavaScriptCore.so | Bin 5237308 -> 5237568 bytes
android/sdk/libs/x86/libJavaScriptCore.so | Bin 12134672 -> 12134688 bytes
.../main/java/com/taobao/weex/WXEnvironment.java | 11 +-
.../src/main/java/com/taobao/weex/WXSDKEngine.java | 1 +
.../com/taobao/weex/bridge/WXBridgeManager.java | 5 +
.../main/java/com/taobao/weex/bridge/WXParams.java | 8 +
.../com/taobao/weex/performance/WXInstanceApm.java | 1 +
.../com/taobao/weex/utils/WXExceptionUtils.java | 7 +-
.../java/com/taobao/weex/utils/WXFileUtils.java | 30 +
.../com/taobao/weex/utils/WXSoInstallMgrSdk.java | 59 +-
.../main/java/com/taobao/weex/utils/WXUtils.java | 23 +-
dangerfile.js | 7 +-
pre-build/weex-main-jsfm.js | 4 +-
scripts/build_from_source.sh | 2 +-
scripts/publish_release_official.sh | 2 +-
scripts/release_files.rules | 7 +
weex_core/Source/CMakeLists.txt | 16 +-
.../bridge/script/core_side_in_multi_process.cpp | 10 +
.../jsengine/bridge/script/core_side_in_simple.cpp | 15 +
.../script/script_bridge_in_multi_process.cpp | 5 +
.../jsengine/bridge/script/script_side_in_queue.h | 4 +
weex_core/Source/android/jsengine/object/args.cpp | 4 +
weex_core/Source/android/jsengine/object/args.h | 6 +-
.../android/jsengine/object/args/exe_js_args.cpp | 2 +-
.../jsengine/object/args/init_framework_args.h | 2 +
.../Source/android/jsengine/object/weex_env.cpp | 4 +
.../Source/android/jsengine/object/weex_env.h | 12 +-
.../android/jsengine/object/weex_global_object.cpp | 1 +
.../Source/android/jsengine/weex_ipc_server.cpp | 8 +-
weex_core/Source/android/jsengine/weex_jsc_utils.h | 5 +
weex_core/Source/android/jsengine/weex_runtime.h | 5 +
weex_core/Source/android/utils/params_utils.cpp | 18 +
.../Source/base/base64/modp_base64/modp_b64.h | 18 -
.../Source/base/base64/modp_base64/modp_b64_data.h | 30 +-
weex_core/Source/base/third_party/icu/icu_utf.cpp | 18 -
weex_core/Source/base/third_party/icu/icu_utf.h | 18 -
.../core/bridge/script/core_side_in_script.cpp | 13 +
weex_core/Source/core/config/core_environment.cpp | 8 +
weex_core/Source/core/config/core_environment.h | 6 +
weex_core/Source/core/parser/action_args_check.cpp | 59 ++
.../parser/action_args_check.h} | 15 +-
weex_core/Source/core/parser/dom_wson.cpp | 134 +++-
.../JavaScriptCore/API/APICallbackFunction.h | 37 +-
.../Source/include/JavaScriptCore/API/APICast.h | 37 +-
.../Source/include/JavaScriptCore/API/APIUtils.h | 37 +-
.../JavaScriptCore/API/JSAPIWrapperObject.h | 37 +-
.../Source/include/JavaScriptCore/API/JSBase.h | 37 +-
.../include/JavaScriptCore/API/JSBasePrivate.h | 37 +-
.../JavaScriptCore/API/JSCTestRunnerUtils.h | 37 +-
.../JavaScriptCore/API/JSCallbackConstructor.h | 37 +-
.../JavaScriptCore/API/JSCallbackFunction.h | 37 +-
.../include/JavaScriptCore/API/JSCallbackObject.h | 38 +-
.../JavaScriptCore/API/JSCallbackObjectFunctions.h | 38 +-
.../Source/include/JavaScriptCore/API/JSClassRef.h | 37 +-
.../Source/include/JavaScriptCore/API/JSContext.h | 37 +-
.../include/JavaScriptCore/API/JSContextInternal.h | 37 +-
.../include/JavaScriptCore/API/JSContextPrivate.h | 37 +-
.../include/JavaScriptCore/API/JSContextRef.h | 37 +-
.../API/JSContextRefInspectorSupport.h | 37 +-
.../JavaScriptCore/API/JSContextRefInternal.h | 37 +-
.../JavaScriptCore/API/JSContextRefPrivate.h | 37 +-
.../Source/include/JavaScriptCore/API/JSExport.h | 37 +-
.../include/JavaScriptCore/API/JSManagedValue.h | 37 +-
.../JavaScriptCore/API/JSManagedValueInternal.h | 37 +-
.../include/JavaScriptCore/API/JSObjectRef.h | 38 +-
.../JavaScriptCore/API/JSObjectRefPrivate.h | 37 +-
.../include/JavaScriptCore/API/JSRemoteInspector.h | 37 +-
.../include/JavaScriptCore/API/JSRetainPtr.h | 40 +-
.../JavaScriptCore/API/JSScriptRefPrivate.h | 37 +-
.../include/JavaScriptCore/API/JSStringRef.h | 37 +-
.../include/JavaScriptCore/API/JSStringRefBSTR.h | 40 +-
.../include/JavaScriptCore/API/JSStringRefCF.h | 37 +-
.../JavaScriptCore/API/JSStringRefPrivate.h | 37 +-
.../include/JavaScriptCore/API/JSTypedArray.h | 38 +-
.../Source/include/JavaScriptCore/API/JSValue.h | 37 +-
.../include/JavaScriptCore/API/JSValueInternal.h | 37 +-
.../Source/include/JavaScriptCore/API/JSValueRef.h | 37 +-
.../include/JavaScriptCore/API/JSVirtualMachine.h | 37 +-
.../JavaScriptCore/API/JSVirtualMachineInternal.h | 37 +-
.../API/JSWeakObjectMapRefInternal.h | 37 +-
.../JavaScriptCore/API/JSWeakObjectMapRefPrivate.h | 37 +-
.../include/JavaScriptCore/API/JSWrapperMap.h | 37 +-
.../Source/include/JavaScriptCore/API/JavaScript.h | 38 +-
.../include/JavaScriptCore/API/JavaScriptCore.h | 37 +-
.../JavaScriptCore/API/ObjCCallbackFunction.h | 36 +-
.../include/JavaScriptCore/API/ObjcRuntimeExtras.h | 37 +-
.../include/JavaScriptCore/API/OpaqueJSString.h | 37 +-
.../JavaScriptCore/API/WebKitAvailability.h | 37 +-
.../ForwardingHeaders/JavaScriptCore/APICast.h | 18 -
.../ForwardingHeaders/JavaScriptCore/JSBase.h | 18 -
.../JavaScriptCore/JSCTestRunnerUtils.h | 18 -
.../JavaScriptCore/JSContextRef.h | 18 -
.../ForwardingHeaders/JavaScriptCore/JSObjectRef.h | 18 -
.../JavaScriptCore/JSObjectRefPrivate.h | 18 -
.../ForwardingHeaders/JavaScriptCore/JSRetainPtr.h | 18 -
.../ForwardingHeaders/JavaScriptCore/JSStringRef.h | 18 -
.../JavaScriptCore/JSStringRefCF.h | 18 -
.../JavaScriptCore/JSTypedArray.h | 18 -
.../ForwardingHeaders/JavaScriptCore/JSValueRef.h | 18 -
.../ForwardingHeaders/JavaScriptCore/JavaScript.h | 18 -
.../JavaScriptCore/JavaScriptCore.h | 18 -
.../JavaScriptCore/OpaqueJSString.h | 18 -
.../JavaScriptCore/WebKitAvailability.h | 18 -
.../JavaScriptCore/assembler/ARM64Assembler.h | 37 +-
.../JavaScriptCore/assembler/ARMAssembler.h | 39 +-
.../JavaScriptCore/assembler/ARMv7Assembler.h | 38 +-
.../include/JavaScriptCore/assembler/AbortReason.h | 37 +-
.../assembler/AbstractMacroAssembler.h | 37 +-
.../assembler/AllowMacroScratchRegisterUsage.h | 37 +-
.../JavaScriptCore/assembler/AssemblerBuffer.h | 37 +-
.../assembler/AssemblerBufferWithConstantPool.h | 38 +-
.../JavaScriptCore/assembler/AssemblerCommon.h | 37 +-
.../Source/include/JavaScriptCore/assembler/CPU.h | 37 +-
.../JavaScriptCore/assembler/CodeLocation.h | 37 +-
.../assembler/DisallowMacroScratchRegisterUsage.h | 37 +-
.../include/JavaScriptCore/assembler/LinkBuffer.h | 37 +-
.../JavaScriptCore/assembler/MIPSAssembler.h | 40 +-
.../JavaScriptCore/assembler/MacroAssembler.h | 37 +-
.../JavaScriptCore/assembler/MacroAssemblerARM.h | 39 +-
.../JavaScriptCore/assembler/MacroAssemblerARM64.h | 37 +-
.../JavaScriptCore/assembler/MacroAssemblerARMv7.h | 38 +-
.../assembler/MacroAssemblerCodeRef.h | 37 +-
.../assembler/MacroAssemblerHelpers.h | 37 +-
.../JavaScriptCore/assembler/MacroAssemblerMIPS.h | 38 +-
.../assembler/MacroAssemblerPrinter.h | 37 +-
.../JavaScriptCore/assembler/MacroAssemblerSH4.h | 41 +-
.../JavaScriptCore/assembler/MacroAssemblerX86.h | 37 +-
.../assembler/MacroAssemblerX86Common.h | 37 +-
.../assembler/MacroAssemblerX86_64.h | 37 +-
.../assembler/MaxFrameExtentForSlowPathCall.h | 37 +-
.../JavaScriptCore/assembler/SH4Assembler.h | 39 +-
.../JavaScriptCore/assembler/X86Assembler.h | 37 +-
.../include/JavaScriptCore/bytecode/AccessCase.h | 37 +-
.../AdaptiveInferredPropertyValueWatchpointBase.h | 37 +-
.../include/JavaScriptCore/bytecode/ArithProfile.h | 37 +-
.../bytecode/ArrayAllocationProfile.h | 37 +-
.../include/JavaScriptCore/bytecode/ArrayProfile.h | 37 +-
.../include/JavaScriptCore/bytecode/ByValInfo.h | 37 +-
.../JavaScriptCore/bytecode/BytecodeBasicBlock.h | 37 +-
.../JavaScriptCore/bytecode/BytecodeConventions.h | 37 +-
.../JavaScriptCore/bytecode/BytecodeDumper.h | 37 +-
.../bytecode/BytecodeGeneratorification.h | 38 +-
.../JavaScriptCore/bytecode/BytecodeGraph.h | 38 +-
.../bytecode/BytecodeIntrinsicRegistry.h | 38 +-
.../JavaScriptCore/bytecode/BytecodeKills.h | 37 +-
.../bytecode/BytecodeLivenessAnalysis.h | 37 +-
.../bytecode/BytecodeLivenessAnalysisInlines.h | 37 +-
.../JavaScriptCore/bytecode/BytecodeRewriter.h | 38 +-
.../JavaScriptCore/bytecode/BytecodeUseDef.h | 37 +-
.../include/JavaScriptCore/bytecode/CallEdge.h | 37 +-
.../include/JavaScriptCore/bytecode/CallLinkInfo.h | 37 +-
.../JavaScriptCore/bytecode/CallLinkStatus.h | 37 +-
.../include/JavaScriptCore/bytecode/CallMode.h | 37 +-
.../bytecode/CallReturnOffsetToBytecodeOffset.h | 37 +-
.../include/JavaScriptCore/bytecode/CallVariant.h | 37 +-
.../include/JavaScriptCore/bytecode/CodeBlock.h | 41 +-
.../JavaScriptCore/bytecode/CodeBlockHash.h | 37 +-
.../bytecode/CodeBlockJettisoningWatchpoint.h | 37 +-
.../JavaScriptCore/bytecode/CodeBlockWithJITType.h | 37 +-
.../include/JavaScriptCore/bytecode/CodeOrigin.h | 37 +-
.../include/JavaScriptCore/bytecode/CodeType.h | 37 +-
.../JavaScriptCore/bytecode/ComplexGetStatus.h | 37 +-
.../JavaScriptCore/bytecode/DFGExitProfile.h | 37 +-
.../bytecode/DOMJITAccessCasePatchpointParams.h | 37 +-
.../include/JavaScriptCore/bytecode/DataFormat.h | 37 +-
.../bytecode/DeferredCompilationCallback.h | 37 +-
.../JavaScriptCore/bytecode/DeferredSourceDump.h | 37 +-
.../JavaScriptCore/bytecode/DirectEvalCodeCache.h | 40 +-
.../JavaScriptCore/bytecode/EvalCodeBlock.h | 41 +-
.../JavaScriptCore/bytecode/EvalCodeCache.h | 40 +-
.../JavaScriptCore/bytecode/ExecutableInfo.h | 37 +-
.../JavaScriptCore/bytecode/ExecutionCounter.h | 37 +-
.../include/JavaScriptCore/bytecode/ExitKind.h | 37 +-
.../JavaScriptCore/bytecode/ExitingJITType.h | 37 +-
.../JavaScriptCore/bytecode/ExpressionRangeInfo.h | 37 +-
.../JavaScriptCore/bytecode/FullBytecodeLiveness.h | 37 +-
.../JavaScriptCore/bytecode/FullCodeOrigin.h | 37 +-
.../JavaScriptCore/bytecode/FunctionCodeBlock.h | 41 +-
.../JavaScriptCore/bytecode/GetByIdStatus.h | 37 +-
.../JavaScriptCore/bytecode/GetByIdVariant.h | 37 +-
.../bytecode/GetterSetterAccessCase.h | 37 +-
.../JavaScriptCore/bytecode/GlobalCodeBlock.h | 41 +-
.../include/JavaScriptCore/bytecode/HandlerInfo.h | 37 +-
.../include/JavaScriptCore/bytecode/InlineAccess.h | 37 +-
.../JavaScriptCore/bytecode/InlineCallFrame.h | 37 +-
.../JavaScriptCore/bytecode/InlineCallFrameSet.h | 37 +-
.../include/JavaScriptCore/bytecode/Instruction.h | 40 +-
.../bytecode/InternalFunctionAllocationProfile.h | 37 +-
.../bytecode/IntrinsicGetterAccessCase.h | 37 +-
.../include/JavaScriptCore/bytecode/JumpTable.h | 41 +-
.../JavaScriptCore/bytecode/LLIntCallLinkInfo.h | 37 +-
...LLIntPrototypeLoadAdaptiveStructureWatchpoint.h | 37 +-
.../bytecode/LazyOperandValueProfile.h | 37 +-
.../bytecode/MethodOfGettingAValueProfile.h | 37 +-
.../bytecode/ModuleNamespaceAccessCase.h | 37 +-
.../bytecode/ModuleProgramCodeBlock.h | 41 +-
.../bytecode/ObjectAllocationProfile.h | 37 +-
.../bytecode/ObjectPropertyCondition.h | 37 +-
.../bytecode/ObjectPropertyConditionSet.h | 37 +-
.../include/JavaScriptCore/bytecode/Opcode.h | 41 +-
.../include/JavaScriptCore/bytecode/Operands.h | 37 +-
.../JavaScriptCore/bytecode/OperandsInlines.h | 37 +-
.../JavaScriptCore/bytecode/PolymorphicAccess.h | 37 +-
.../JavaScriptCore/bytecode/PreciseJumpTargets.h | 37 +-
.../bytecode/PreciseJumpTargetsInlines.h | 37 +-
.../JavaScriptCore/bytecode/ProgramCodeBlock.h | 41 +-
.../JavaScriptCore/bytecode/PropertyCondition.h | 37 +-
.../JavaScriptCore/bytecode/ProxyableAccessCase.h | 37 +-
.../include/JavaScriptCore/bytecode/PutByIdFlags.h | 37 +-
.../JavaScriptCore/bytecode/PutByIdStatus.h | 37 +-
.../JavaScriptCore/bytecode/PutByIdVariant.h | 37 +-
.../include/JavaScriptCore/bytecode/PutKind.h | 37 +-
.../JavaScriptCore/bytecode/ReduceWhitespace.h | 37 +-
.../JavaScriptCore/bytecode/SpecialPointer.h | 37 +-
.../JavaScriptCore/bytecode/SpeculatedType.h | 40 +-
.../include/JavaScriptCore/bytecode/StructureSet.h | 37 +-
.../bytecode/StructureStubClearingWatchpoint.h | 37 +-
.../JavaScriptCore/bytecode/StructureStubInfo.h | 37 +-
.../include/JavaScriptCore/bytecode/SuperSampler.h | 37 +-
.../include/JavaScriptCore/bytecode/ToThisStatus.h | 37 +-
.../JavaScriptCore/bytecode/TrackedReferences.h | 37 +-
.../include/JavaScriptCore/bytecode/TypeLocation.h | 37 +-
.../JavaScriptCore/bytecode/UnlinkedCodeBlock.h | 37 +-
.../bytecode/UnlinkedEvalCodeBlock.h | 37 +-
.../bytecode/UnlinkedFunctionCodeBlock.h | 37 +-
.../bytecode/UnlinkedFunctionExecutable.h | 37 +-
.../bytecode/UnlinkedGlobalCodeBlock.h | 37 +-
.../bytecode/UnlinkedInstructionStream.h | 37 +-
.../bytecode/UnlinkedModuleProgramCodeBlock.h | 37 +-
.../bytecode/UnlinkedProgramCodeBlock.h | 37 +-
.../include/JavaScriptCore/bytecode/ValueProfile.h | 40 +-
.../JavaScriptCore/bytecode/ValueRecovery.h | 37 +-
.../bytecode/VariableWriteFireDetail.h | 37 +-
.../JavaScriptCore/bytecode/VirtualRegister.h | 37 +-
.../include/JavaScriptCore/bytecode/Watchpoint.h | 37 +-
.../JavaScriptCore/bytecode/WebAssemblyCodeBlock.h | 41 +-
weex_core/Source/include/JavaScriptCore/config.h | 33 +-
.../include/JavaScriptCore/dfg/DFGAbstractHeap.h | 37 +-
.../JavaScriptCore/dfg/DFGAbstractInterpreter.h | 37 +-
.../dfg/DFGAbstractInterpreterInlines.h | 37 +-
.../include/JavaScriptCore/dfg/DFGAbstractValue.h | 37 +-
.../DFGAdaptiveInferredPropertyValueWatchpoint.h | 37 +-
.../dfg/DFGAdaptiveStructureWatchpoint.h | 37 +-
.../include/JavaScriptCore/dfg/DFGAdjacencyList.h | 37 +-
.../include/JavaScriptCore/dfg/DFGAllocator.h | 37 +-
.../JavaScriptCore/dfg/DFGArgumentPosition.h | 37 +-
.../dfg/DFGArgumentsEliminationPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGArgumentsUtilities.h | 37 +-
.../include/JavaScriptCore/dfg/DFGArithMode.h | 37 +-
.../include/JavaScriptCore/dfg/DFGArrayMode.h | 37 +-
.../dfg/DFGArrayifySlowPathGenerator.h | 37 +-
.../JavaScriptCore/dfg/DFGAtTailAbstractState.h | 37 +-
.../include/JavaScriptCore/dfg/DFGAvailability.h | 37 +-
.../JavaScriptCore/dfg/DFGAvailabilityMap.h | 37 +-
.../include/JavaScriptCore/dfg/DFGBackwardsCFG.h | 37 +-
.../JavaScriptCore/dfg/DFGBackwardsDominators.h | 37 +-
.../dfg/DFGBackwardsPropagationPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGBasicBlock.h | 37 +-
.../JavaScriptCore/dfg/DFGBasicBlockInlines.h | 37 +-
.../JavaScriptCore/dfg/DFGBlockInsertionSet.h | 37 +-
.../include/JavaScriptCore/dfg/DFGBlockMap.h | 37 +-
.../JavaScriptCore/dfg/DFGBlockMapInlines.h | 37 +-
.../include/JavaScriptCore/dfg/DFGBlockSet.h | 37 +-
.../JavaScriptCore/dfg/DFGBlockSetInlines.h | 37 +-
.../include/JavaScriptCore/dfg/DFGBlockWorklist.h | 37 +-
.../JavaScriptCore/dfg/DFGBranchDirection.h | 37 +-
.../include/JavaScriptCore/dfg/DFGByteCodeParser.h | 37 +-
.../include/JavaScriptCore/dfg/DFGCFAPhase.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGCFG.h | 37 +-
.../JavaScriptCore/dfg/DFGCFGSimplificationPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGCPSRethreadingPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGCSEPhase.h | 37 +-
.../dfg/DFGCallArrayAllocatorSlowPathGenerator.h | 37 +-
...DFGCallCreateDirectArgumentsSlowPathGenerator.h | 37 +-
.../include/JavaScriptCore/dfg/DFGCapabilities.h | 37 +-
.../include/JavaScriptCore/dfg/DFGCleanUpPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGClobberSet.h | 37 +-
.../include/JavaScriptCore/dfg/DFGClobberize.h | 37 +-
.../JavaScriptCore/dfg/DFGClobbersExitState.h | 37 +-
.../JavaScriptCore/dfg/DFGCombinedLiveness.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGCommon.h | 37 +-
.../include/JavaScriptCore/dfg/DFGCommonData.h | 37 +-
.../include/JavaScriptCore/dfg/DFGCompilationKey.h | 37 +-
.../JavaScriptCore/dfg/DFGCompilationMode.h | 37 +-
.../JavaScriptCore/dfg/DFGConstantFoldingPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGConstantHoistingPhase.h | 37 +-
.../dfg/DFGControlEquivalenceAnalysis.h | 37 +-
.../dfg/DFGCriticalEdgeBreakingPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGDCEPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGDOMJITPatchpointParams.h | 37 +-
.../JavaScriptCore/dfg/DFGDesiredIdentifiers.h | 37 +-
.../JavaScriptCore/dfg/DFGDesiredInferredType.h | 37 +-
.../JavaScriptCore/dfg/DFGDesiredTransitions.h | 37 +-
.../JavaScriptCore/dfg/DFGDesiredWatchpoints.h | 37 +-
.../JavaScriptCore/dfg/DFGDesiredWeakReferences.h | 37 +-
.../include/JavaScriptCore/dfg/DFGDisassembler.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGDoesGC.h | 37 +-
.../include/JavaScriptCore/dfg/DFGDominators.h | 37 +-
.../JavaScriptCore/dfg/DFGDoubleFormatState.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGDriver.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGEdge.h | 37 +-
.../include/JavaScriptCore/dfg/DFGEdgeDominates.h | 37 +-
.../JavaScriptCore/dfg/DFGEdgeUsesStructure.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGEpoch.h | 37 +-
.../JavaScriptCore/dfg/DFGFailedFinalizer.h | 37 +-
.../JavaScriptCore/dfg/DFGFiltrationResult.h | 37 +-
.../include/JavaScriptCore/dfg/DFGFinalizer.h | 37 +-
.../include/JavaScriptCore/dfg/DFGFixupPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGFlowIndexing.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGFlowMap.h | 37 +-
.../include/JavaScriptCore/dfg/DFGFlushFormat.h | 37 +-
.../include/JavaScriptCore/dfg/DFGFlushedAt.h | 37 +-
.../include/JavaScriptCore/dfg/DFGForAllKills.h | 37 +-
.../include/JavaScriptCore/dfg/DFGFrozenValue.h | 37 +-
.../include/JavaScriptCore/dfg/DFGGenerationInfo.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGGraph.h | 37 +-
.../include/JavaScriptCore/dfg/DFGGraphSafepoint.h | 37 +-
.../include/JavaScriptCore/dfg/DFGHeapLocation.h | 37 +-
.../JavaScriptCore/dfg/DFGInPlaceAbstractState.h | 37 +-
.../JavaScriptCore/dfg/DFGInferredTypeCheck.h | 37 +-
.../JavaScriptCore/dfg/DFGInlineCacheWrapper.h | 37 +-
.../dfg/DFGInlineCacheWrapperInlines.h | 37 +-
.../include/JavaScriptCore/dfg/DFGInsertionSet.h | 37 +-
.../dfg/DFGIntegerCheckCombiningPhase.h | 37 +-
.../dfg/DFGIntegerRangeOptimizationPhase.h | 37 +-
.../dfg/DFGInvalidationPointInjectionPhase.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGJITCode.h | 37 +-
.../include/JavaScriptCore/dfg/DFGJITCompiler.h | 37 +-
.../include/JavaScriptCore/dfg/DFGJITFinalizer.h | 37 +-
.../JavaScriptCore/dfg/DFGJumpReplacement.h | 37 +-
.../include/JavaScriptCore/dfg/DFGLICMPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGLazyJSValue.h | 37 +-
.../include/JavaScriptCore/dfg/DFGLazyNode.h | 37 +-
.../dfg/DFGLiveCatchVariablePreservationPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGLivenessAnalysisPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGLongLivedState.h | 37 +-
.../dfg/DFGLoopPreHeaderCreationPhase.h | 37 +-
.../dfg/DFGMaximalFlushInsertionPhase.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGMayExit.h | 37 +-
.../include/JavaScriptCore/dfg/DFGMinifiedGraph.h | 37 +-
.../include/JavaScriptCore/dfg/DFGMinifiedID.h | 37 +-
.../include/JavaScriptCore/dfg/DFGMinifiedNode.h | 37 +-
.../JavaScriptCore/dfg/DFGMovHintRemovalPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGMultiGetByOffsetData.h | 37 +-
.../include/JavaScriptCore/dfg/DFGNaturalLoops.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGNode.h | 37 +-
.../JavaScriptCore/dfg/DFGNodeAbstractValuePair.h | 37 +-
.../include/JavaScriptCore/dfg/DFGNodeAllocator.h | 37 +-
.../include/JavaScriptCore/dfg/DFGNodeFlags.h | 37 +-
.../JavaScriptCore/dfg/DFGNodeFlowProjection.h | 37 +-
.../include/JavaScriptCore/dfg/DFGNodeOrigin.h | 37 +-
.../include/JavaScriptCore/dfg/DFGNodeType.h | 37 +-
.../JavaScriptCore/dfg/DFGNullAbstractState.h | 37 +-
.../dfg/DFGOSRAvailabilityAnalysisPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGOSREntry.h | 37 +-
.../dfg/DFGOSREntrypointCreationPhase.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGOSRExit.h | 37 +-
.../include/JavaScriptCore/dfg/DFGOSRExitBase.h | 37 +-
.../JavaScriptCore/dfg/DFGOSRExitCompilationInfo.h | 37 +-
.../JavaScriptCore/dfg/DFGOSRExitCompiler.h | 37 +-
.../JavaScriptCore/dfg/DFGOSRExitCompilerCommon.h | 37 +-
.../include/JavaScriptCore/dfg/DFGOSRExitFuzz.h | 37 +-
.../JavaScriptCore/dfg/DFGOSRExitJumpPlaceholder.h | 37 +-
.../JavaScriptCore/dfg/DFGOSRExitPreparation.h | 37 +-
.../dfg/DFGObjectAllocationSinkingPhase.h | 37 +-
.../dfg/DFGObjectMaterializationData.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGOpInfo.h | 37 +-
.../include/JavaScriptCore/dfg/DFGOperations.h | 37 +-
.../JavaScriptCore/dfg/DFGPhantomInsertionPhase.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGPhiChildren.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGPlan.h | 37 +-
.../include/JavaScriptCore/dfg/DFGPlanInlines.h | 37 +-
.../JavaScriptCore/dfg/DFGPrePostNumbering.h | 37 +-
.../JavaScriptCore/dfg/DFGPreciseLocalClobberize.h | 37 +-
.../dfg/DFGPredictionInjectionPhase.h | 37 +-
.../dfg/DFGPredictionPropagationPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGPromotedHeapLocation.h | 37 +-
.../JavaScriptCore/dfg/DFGPropertyTypeKey.h | 37 +-
.../include/JavaScriptCore/dfg/DFGPureValue.h | 37 +-
.../JavaScriptCore/dfg/DFGPutStackSinkingPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGRegisterBank.h | 37 +-
.../JavaScriptCore/dfg/DFGRegisteredStructure.h | 37 +-
.../JavaScriptCore/dfg/DFGRegisteredStructureSet.h | 37 +-
.../include/JavaScriptCore/dfg/DFGSSACalculator.h | 37 +-
.../JavaScriptCore/dfg/DFGSSAConversionPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGSSALoweringPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGSafeToExecute.h | 37 +-
.../include/JavaScriptCore/dfg/DFGSafepoint.h | 37 +-
.../dfg/DFGSaneStringGetByValSlowPathGenerator.h | 37 +-
.../include/JavaScriptCore/dfg/DFGScannable.h | 37 +-
.../include/JavaScriptCore/dfg/DFGScoreBoard.h | 37 +-
.../JavaScriptCore/dfg/DFGSilentRegisterSavePlan.h | 37 +-
.../JavaScriptCore/dfg/DFGSlowPathGenerator.h | 37 +-
.../include/JavaScriptCore/dfg/DFGSpeculativeJIT.h | 37 +-
.../JavaScriptCore/dfg/DFGStackLayoutPhase.h | 37 +-
.../dfg/DFGStaticExecutionCountEstimationPhase.h | 37 +-
.../dfg/DFGStoreBarrierClusteringPhase.h | 37 +-
.../dfg/DFGStoreBarrierInsertionPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGStrengthReductionPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGStructureAbstractValue.h | 37 +-
.../JavaScriptCore/dfg/DFGStructureClobberState.h | 37 +-
.../dfg/DFGStructureRegistrationPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGThreadData.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGThunks.h | 37 +-
.../dfg/DFGTierUpCheckInjectionPhase.h | 37 +-
.../dfg/DFGToFTLDeferredCompilationCallback.h | 37 +-
...FGToFTLForOSREntryDeferredCompilationCallback.h | 37 +-
.../include/JavaScriptCore/dfg/DFGTransition.h | 37 +-
.../JavaScriptCore/dfg/DFGTypeCheckHoistingPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGUnificationPhase.h | 37 +-
.../Source/include/JavaScriptCore/dfg/DFGUseKind.h | 37 +-
.../include/JavaScriptCore/dfg/DFGValidate.h | 37 +-
.../include/JavaScriptCore/dfg/DFGValueSource.h | 37 +-
.../include/JavaScriptCore/dfg/DFGValueStrength.h | 37 +-
.../JavaScriptCore/dfg/DFGVarargsForwardingPhase.h | 37 +-
.../JavaScriptCore/dfg/DFGVariableAccessData.h | 37 +-
.../JavaScriptCore/dfg/DFGVariableAccessDataDump.h | 37 +-
.../include/JavaScriptCore/dfg/DFGVariableEvent.h | 37 +-
.../JavaScriptCore/dfg/DFGVariableEventStream.h | 37 +-
.../dfg/DFGVirtualRegisterAllocationPhase.h | 37 +-
.../dfg/DFGWatchpointCollectionPhase.h | 37 +-
.../include/JavaScriptCore/dfg/DFGWorklist.h | 37 +-
.../JavaScriptCore/dfg/DFGWorklistInlines.h | 37 +-
.../JavaScriptCore/disassembler/Disassembler.h | 37 +-
.../disassembler/UDis86Disassembler.h | 37 +-
.../JavaScriptCore/domjit/DOMJITAbstractHeap.h | 37 +-
.../domjit/DOMJITCallDOMGetterPatchpoint.h | 37 +-
.../include/JavaScriptCore/domjit/DOMJITEffect.h | 37 +-
.../JavaScriptCore/domjit/DOMJITGetterSetter.h | 37 +-
.../JavaScriptCore/domjit/DOMJITHeapRange.h | 37 +-
.../JavaScriptCore/domjit/DOMJITPatchpoint.h | 37 +-
.../JavaScriptCore/domjit/DOMJITPatchpointParams.h | 37 +-
.../include/JavaScriptCore/domjit/DOMJITReg.h | 37 +-
.../JavaScriptCore/domjit/DOMJITSignature.h | 37 +-
.../JavaScriptCore/domjit/DOMJITSlowPathCalls.h | 37 +-
.../include/JavaScriptCore/domjit/DOMJITValue.h | 37 +-
.../include/JavaScriptCore/heap/AllocatingScope.h | 37 +-
.../JavaScriptCore/heap/AllocatorAttributes.h | 37 +-
.../include/JavaScriptCore/heap/CellContainer.h | 37 +-
.../JavaScriptCore/heap/CellContainerInlines.h | 37 +-
.../Source/include/JavaScriptCore/heap/CellState.h | 37 +-
.../include/JavaScriptCore/heap/CodeBlockSet.h | 37 +-
.../JavaScriptCore/heap/CodeBlockSetInlines.h | 40 +-
.../include/JavaScriptCore/heap/CollectingScope.h | 37 +-
.../include/JavaScriptCore/heap/CollectionScope.h | 37 +-
.../include/JavaScriptCore/heap/CollectorPhase.h | 37 +-
.../JavaScriptCore/heap/ConservativeRoots.h | 37 +-
.../JavaScriptCore/heap/ConstraintVolatility.h | 37 +-
.../Source/include/JavaScriptCore/heap/DeferGC.h | 37 +-
.../JavaScriptCore/heap/DeleteAllCodeEffort.h | 37 +-
.../include/JavaScriptCore/heap/DestructionMode.h | 37 +-
.../JavaScriptCore/heap/EdenGCActivityCallback.h | 37 +-
.../Source/include/JavaScriptCore/heap/FreeList.h | 37 +-
.../JavaScriptCore/heap/FullGCActivityCallback.h | 37 +-
.../JavaScriptCore/heap/GCActivityCallback.h | 40 +-
.../include/JavaScriptCore/heap/GCAssertions.h | 38 +-
.../include/JavaScriptCore/heap/GCConductor.h | 37 +-
.../JavaScriptCore/heap/GCDeferralContext.h | 37 +-
.../JavaScriptCore/heap/GCDeferralContextInlines.h | 37 +-
.../JavaScriptCore/heap/GCIncomingRefCounted.h | 37 +-
.../heap/GCIncomingRefCountedInlines.h | 37 +-
.../JavaScriptCore/heap/GCIncomingRefCountedSet.h | 37 +-
.../heap/GCIncomingRefCountedSetInlines.h | 37 +-
.../Source/include/JavaScriptCore/heap/GCLogging.h | 37 +-
.../include/JavaScriptCore/heap/GCSegmentedArray.h | 37 +-
.../JavaScriptCore/heap/GCSegmentedArrayInlines.h | 37 +-
.../Source/include/JavaScriptCore/heap/GCTypeMap.h | 37 +-
.../Source/include/JavaScriptCore/heap/Handle.h | 37 +-
.../include/JavaScriptCore/heap/HandleBlock.h | 37 +-
.../JavaScriptCore/heap/HandleBlockInlines.h | 37 +-
.../Source/include/JavaScriptCore/heap/HandleSet.h | 37 +-
.../include/JavaScriptCore/heap/HandleStack.h | 37 +-
.../include/JavaScriptCore/heap/HandleTypes.h | 37 +-
.../Source/include/JavaScriptCore/heap/Heap.h | 35 +-
.../Source/include/JavaScriptCore/heap/HeapCell.h | 37 +-
.../include/JavaScriptCore/heap/HeapCellInlines.h | 37 +-
.../include/JavaScriptCore/heap/HeapHelperPool.h | 37 +-
.../include/JavaScriptCore/heap/HeapInlines.h | 37 +-
.../JavaScriptCore/heap/HeapIterationScope.h | 37 +-
.../include/JavaScriptCore/heap/HeapObserver.h | 37 +-
.../include/JavaScriptCore/heap/HeapProfiler.h | 37 +-
.../include/JavaScriptCore/heap/HeapRootVisitor.h | 37 +-
.../include/JavaScriptCore/heap/HeapSnapshot.h | 37 +-
.../JavaScriptCore/heap/HeapSnapshotBuilder.h | 37 +-
.../include/JavaScriptCore/heap/HeapStatistics.h | 37 +-
.../Source/include/JavaScriptCore/heap/HeapTimer.h | 37 +-
.../Source/include/JavaScriptCore/heap/HeapUtil.h | 37 +-
.../include/JavaScriptCore/heap/HelpingGCScope.h | 37 +-
.../JavaScriptCore/heap/IncrementalSweeper.h | 37 +-
.../JavaScriptCore/heap/JITStubRoutineSet.h | 37 +-
.../include/JavaScriptCore/heap/LargeAllocation.h | 37 +-
.../include/JavaScriptCore/heap/ListableHandler.h | 31 +-
.../include/JavaScriptCore/heap/LiveObjectData.h | 37 +-
.../include/JavaScriptCore/heap/LiveObjectList.h | 37 +-
.../Source/include/JavaScriptCore/heap/Local.h | 37 +-
.../include/JavaScriptCore/heap/LocalScope.h | 37 +-
.../JavaScriptCore/heap/LockDuringMarking.h | 37 +-
.../JavaScriptCore/heap/MachineStackMarker.h | 38 +-
.../Source/include/JavaScriptCore/heap/MarkStack.h | 37 +-
.../include/JavaScriptCore/heap/MarkedAllocator.h | 37 +-
.../JavaScriptCore/heap/MarkedAllocatorInlines.h | 37 +-
.../include/JavaScriptCore/heap/MarkedBlock.h | 33 +-
.../JavaScriptCore/heap/MarkedBlockInlines.h | 37 +-
.../include/JavaScriptCore/heap/MarkedBlockSet.h | 37 +-
.../include/JavaScriptCore/heap/MarkedSpace.h | 33 +-
.../JavaScriptCore/heap/MarkedSpaceInlines.h | 37 +-
.../JavaScriptCore/heap/MarkingConstraint.h | 37 +-
.../JavaScriptCore/heap/MarkingConstraintSet.h | 37 +-
.../include/JavaScriptCore/heap/MutatorScheduler.h | 37 +-
.../include/JavaScriptCore/heap/MutatorState.h | 37 +-
.../include/JavaScriptCore/heap/OpaqueRootSet.h | 37 +-
.../JavaScriptCore/heap/PreventCollectionScope.h | 37 +-
.../include/JavaScriptCore/heap/RegisterState.h | 37 +-
.../JavaScriptCore/heap/ReleaseHeapAccessScope.h | 37 +-
.../include/JavaScriptCore/heap/RunningScope.h | 37 +-
.../include/JavaScriptCore/heap/SlotVisitor.h | 37 +-
.../JavaScriptCore/heap/SlotVisitorInlines.h | 37 +-
.../heap/SpaceTimeMutatorScheduler.h | 37 +-
.../heap/StochasticSpaceTimeMutatorScheduler.h | 37 +-
.../JavaScriptCore/heap/StopIfNecessaryTimer.h | 37 +-
.../Source/include/JavaScriptCore/heap/Strong.h | 37 +-
.../include/JavaScriptCore/heap/StrongInlines.h | 37 +-
.../Source/include/JavaScriptCore/heap/Subspace.h | 37 +-
.../include/JavaScriptCore/heap/SubspaceInlines.h | 37 +-
.../include/JavaScriptCore/heap/SweepingScope.h | 37 +-
.../heap/SynchronousStopTheWorldMutatorScheduler.h | 37 +-
.../include/JavaScriptCore/heap/TinyBloomFilter.h | 37 +-
.../JavaScriptCore/heap/UnconditionalFinalizer.h | 37 +-
.../include/JavaScriptCore/heap/VisitRaceKey.h | 37 +-
.../include/JavaScriptCore/heap/VisitingTimeout.h | 37 +-
.../Source/include/JavaScriptCore/heap/Weak.h | 37 +-
.../Source/include/JavaScriptCore/heap/WeakBlock.h | 37 +-
.../include/JavaScriptCore/heap/WeakHandleOwner.h | 37 +-
.../Source/include/JavaScriptCore/heap/WeakImpl.h | 37 +-
.../include/JavaScriptCore/heap/WeakInlines.h | 37 +-
.../JavaScriptCore/heap/WeakReferenceHarvester.h | 31 +-
.../Source/include/JavaScriptCore/heap/WeakSet.h | 37 +-
.../include/JavaScriptCore/heap/WeakSetInlines.h | 37 +-
.../JavaScriptCore/heap/WriteBarrierBuffer.h | 37 +-
.../JavaScriptCore/heap/WriteBarrierSupport.h | 37 +-
.../JavaScriptCore/inspector/ScriptArguments.h | 43 +-
.../inspector/ScriptCallStackFactory.h | 43 +-
.../JavaScriptCore/interpreter/AbstractPC.h | 37 +-
.../JavaScriptCore/interpreter/CLoopStack.h | 40 +-
.../JavaScriptCore/interpreter/CLoopStackInlines.h | 37 +-
.../JavaScriptCore/interpreter/CachedCall.h | 37 +-
.../include/JavaScriptCore/interpreter/CallFrame.h | 34 +-
.../JavaScriptCore/interpreter/CallFrameClosure.h | 37 +-
.../JavaScriptCore/interpreter/FrameTracers.h | 37 +-
.../JavaScriptCore/interpreter/Interpreter.h | 41 +-
.../interpreter/InterpreterInlines.h | 38 +-
.../JavaScriptCore/interpreter/ProtoCallFrame.h | 37 +-
.../include/JavaScriptCore/interpreter/Register.h | 40 +-
.../JavaScriptCore/interpreter/ShadowChicken.h | 37 +-
.../interpreter/ShadowChickenInlines.h | 37 +-
.../JavaScriptCore/interpreter/StackVisitor.h | 37 +-
.../JavaScriptCore/interpreter/VMEntryRecord.h | 37 +-
.../include/JavaScriptCore/jit/AssemblyHelpers.h | 41 +-
.../include/JavaScriptCore/jit/BinarySwitch.h | 37 +-
.../include/JavaScriptCore/jit/CCallHelpers.h | 37 +-
.../include/JavaScriptCore/jit/CachedRecovery.h | 37 +-
.../JavaScriptCore/jit/CallFrameShuffleData.h | 37 +-
.../include/JavaScriptCore/jit/CallFrameShuffler.h | 37 +-
.../include/JavaScriptCore/jit/CompactJITCodeMap.h | 40 +-
.../JavaScriptCore/jit/ExecutableAllocationFuzz.h | 37 +-
.../JavaScriptCore/jit/ExecutableAllocator.h | 37 +-
.../Source/include/JavaScriptCore/jit/FPRInfo.h | 37 +-
.../JavaScriptCore/jit/GCAwareJITStubRoutine.h | 37 +-
.../Source/include/JavaScriptCore/jit/GPRInfo.h | 37 +-
.../JavaScriptCore/jit/HostCallReturnValue.h | 37 +-
.../Source/include/JavaScriptCore/jit/ICStats.h | 37 +-
weex_core/Source/include/JavaScriptCore/jit/JIT.h | 37 +-
.../include/JavaScriptCore/jit/JITAddGenerator.h | 37 +-
.../JavaScriptCore/jit/JITBitAndGenerator.h | 37 +-
.../JavaScriptCore/jit/JITBitBinaryOpGenerator.h | 37 +-
.../include/JavaScriptCore/jit/JITBitOrGenerator.h | 37 +-
.../JavaScriptCore/jit/JITBitXorGenerator.h | 37 +-
.../Source/include/JavaScriptCore/jit/JITCode.h | 37 +-
.../JavaScriptCore/jit/JITCompilationEffort.h | 37 +-
.../include/JavaScriptCore/jit/JITDisassembler.h | 37 +-
.../include/JavaScriptCore/jit/JITDivGenerator.h | 37 +-
.../include/JavaScriptCore/jit/JITExceptions.h | 37 +-
.../JavaScriptCore/jit/JITInlineCacheGenerator.h | 37 +-
.../Source/include/JavaScriptCore/jit/JITInlines.h | 37 +-
.../JavaScriptCore/jit/JITLeftShiftGenerator.h | 37 +-
.../Source/include/JavaScriptCore/jit/JITMathIC.h | 37 +-
.../include/JavaScriptCore/jit/JITMathICForwards.h | 37 +-
.../JavaScriptCore/jit/JITMathICInlineResult.h | 37 +-
.../include/JavaScriptCore/jit/JITMulGenerator.h | 37 +-
.../include/JavaScriptCore/jit/JITNegGenerator.h | 37 +-
.../include/JavaScriptCore/jit/JITOperations.h | 37 +-
.../JavaScriptCore/jit/JITRightShiftGenerator.h | 37 +-
.../include/JavaScriptCore/jit/JITStubRoutine.h | 37 +-
.../include/JavaScriptCore/jit/JITSubGenerator.h | 37 +-
.../Source/include/JavaScriptCore/jit/JITThunks.h | 37 +-
.../jit/JITToDFGDeferredCompilationCallback.h | 37 +-
.../include/JavaScriptCore/jit/JITWorklist.h | 37 +-
.../include/JavaScriptCore/jit/JSInterfaceJIT.h | 37 +-
.../include/JavaScriptCore/jit/PCToCodeOriginMap.h | 37 +-
.../jit/PolymorphicCallStubRoutine.h | 37 +-
weex_core/Source/include/JavaScriptCore/jit/Reg.h | 37 +-
.../include/JavaScriptCore/jit/RegisterAtOffset.h | 37 +-
.../JavaScriptCore/jit/RegisterAtOffsetList.h | 37 +-
.../include/JavaScriptCore/jit/RegisterMap.h | 37 +-
.../include/JavaScriptCore/jit/RegisterSet.h | 37 +-
.../Source/include/JavaScriptCore/jit/Repatch.h | 37 +-
.../JavaScriptCore/jit/ScratchRegisterAllocator.h | 37 +-
.../include/JavaScriptCore/jit/SetupVarargsFrame.h | 37 +-
.../include/JavaScriptCore/jit/SlowPathCall.h | 37 +-
.../include/JavaScriptCore/jit/SnippetOperand.h | 37 +-
.../JavaScriptCore/jit/SpecializedThunkJIT.h | 37 +-
.../JavaScriptCore/jit/SpillRegistersMode.h | 37 +-
.../include/JavaScriptCore/jit/TagRegistersMode.h | 37 +-
.../include/JavaScriptCore/jit/TempRegisterSet.h | 37 +-
.../include/JavaScriptCore/jit/ThunkGenerator.h | 37 +-
.../include/JavaScriptCore/jit/ThunkGenerators.h | 37 +-
.../include/JavaScriptCore/jit/UnusedPointer.h | 37 +-
.../include/JavaScriptCore/parser/ASTBuilder.h | 37 +-
.../Source/include/JavaScriptCore/parser/Lexer.h | 34 +-
.../include/JavaScriptCore/parser/ModuleAnalyzer.h | 37 +-
.../JavaScriptCore/parser/ModuleScopeData.h | 38 +-
.../JavaScriptCore/parser/NodeConstructors.h | 32 +-
.../Source/include/JavaScriptCore/parser/Nodes.h | 37 +-
.../Source/include/JavaScriptCore/parser/Parser.h | 34 +-
.../include/JavaScriptCore/parser/ParserArena.h | 37 +-
.../include/JavaScriptCore/parser/ParserError.h | 37 +-
.../JavaScriptCore/parser/ParserFunctionInfo.h | 37 +-
.../include/JavaScriptCore/parser/ParserModes.h | 37 +-
.../include/JavaScriptCore/parser/ParserTokens.h | 37 +-
.../include/JavaScriptCore/parser/ResultType.h | 37 +-
.../include/JavaScriptCore/parser/SourceCode.h | 40 +-
.../include/JavaScriptCore/parser/SourceCodeKey.h | 38 +-
.../include/JavaScriptCore/parser/SourceProvider.h | 40 +-
.../JavaScriptCore/parser/SourceProviderCache.h | 37 +-
.../parser/SourceProviderCacheItem.h | 37 +-
.../include/JavaScriptCore/parser/SyntaxChecker.h | 37 +-
.../JavaScriptCore/parser/UnlinkedSourceCode.h | 40 +-
.../JavaScriptCore/parser/VariableEnvironment.h | 37 +-
.../JavaScriptCore/profiler/ProfilerBytecode.h | 37 +-
.../profiler/ProfilerBytecodeSequence.h | 37 +-
.../JavaScriptCore/profiler/ProfilerBytecodes.h | 37 +-
.../JavaScriptCore/profiler/ProfilerCompilation.h | 37 +-
.../profiler/ProfilerCompilationKind.h | 37 +-
.../profiler/ProfilerCompiledBytecode.h | 37 +-
.../JavaScriptCore/profiler/ProfilerDatabase.h | 37 +-
.../JavaScriptCore/profiler/ProfilerEvent.h | 37 +-
.../profiler/ProfilerExecutionCounter.h | 37 +-
.../profiler/ProfilerJettisonReason.h | 37 +-
.../JavaScriptCore/profiler/ProfilerOSRExit.h | 37 +-
.../JavaScriptCore/profiler/ProfilerOSRExitSite.h | 37 +-
.../JavaScriptCore/profiler/ProfilerOrigin.h | 37 +-
.../JavaScriptCore/profiler/ProfilerOriginStack.h | 37 +-
.../profiler/ProfilerProfiledBytecodes.h | 37 +-
.../include/JavaScriptCore/profiler/ProfilerUID.h | 37 +-
.../JavaScriptCore/runtime/AbstractModuleRecord.h | 37 +-
.../include/JavaScriptCore/runtime/ArgList.h | 33 +-
.../include/JavaScriptCore/runtime/ArgumentsMode.h | 37 +-
.../JavaScriptCore/runtime/ArityCheckMode.h | 37 +-
.../include/JavaScriptCore/runtime/ArrayBuffer.h | 37 +-
.../runtime/ArrayBufferNeuteringWatchpoint.h | 37 +-
.../runtime/ArrayBufferSharingMode.h | 37 +-
.../JavaScriptCore/runtime/ArrayBufferView.h | 37 +-
.../JavaScriptCore/runtime/ArrayConstructor.h | 32 +-
.../JavaScriptCore/runtime/ArrayConventions.h | 32 +-
.../runtime/ArrayIteratorAdaptiveWatchpoint.h | 37 +-
.../runtime/ArrayIteratorPrototype.h | 37 +-
.../JavaScriptCore/runtime/ArrayPrototype.h | 32 +-
.../include/JavaScriptCore/runtime/ArrayStorage.h | 37 +-
.../runtime/AsyncFunctionConstructor.h | 37 +-
.../runtime/AsyncFunctionPrototype.h | 37 +-
.../include/JavaScriptCore/runtime/AtomicsObject.h | 37 +-
.../JavaScriptCore/runtime/AuxiliaryBarrier.h | 37 +-
.../runtime/AuxiliaryBarrierInlines.h | 37 +-
.../JavaScriptCore/runtime/BasicBlockLocation.h | 38 +-
.../runtime/BatchedTransitionOptimizer.h | 18 -
.../include/JavaScriptCore/runtime/BigInteger.h | 37 +-
.../JavaScriptCore/runtime/BooleanConstructor.h | 32 +-
.../include/JavaScriptCore/runtime/BooleanObject.h | 32 +-
.../JavaScriptCore/runtime/BooleanPrototype.h | 32 +-
.../include/JavaScriptCore/runtime/BundlePath.h | 37 +-
.../include/JavaScriptCore/runtime/Butterfly.h | 37 +-
.../JavaScriptCore/runtime/ButterflyInlines.h | 37 +-
.../include/JavaScriptCore/runtime/CallData.h | 40 +-
.../include/JavaScriptCore/runtime/CatchScope.h | 37 +-
.../include/JavaScriptCore/runtime/ClassInfo.h | 34 +-
.../JavaScriptCore/runtime/ClonedArguments.h | 37 +-
.../include/JavaScriptCore/runtime/CodeCache.h | 37 +-
.../runtime/CodeSpecializationKind.h | 37 +-
.../JavaScriptCore/runtime/CommonIdentifiers.h | 32 +-
.../JavaScriptCore/runtime/CommonSlowPaths.h | 37 +-
.../runtime/CommonSlowPathsExceptions.h | 37 +-
.../JavaScriptCore/runtime/CompilationResult.h | 37 +-
.../include/JavaScriptCore/runtime/Completion.h | 34 +-
.../JavaScriptCore/runtime/ConcurrentJITLock.h | 37 +-
.../JavaScriptCore/runtime/ConcurrentJSLock.h | 37 +-
.../include/JavaScriptCore/runtime/ConfigFile.h | 37 +-
.../include/JavaScriptCore/runtime/ConsoleClient.h | 37 +-
.../include/JavaScriptCore/runtime/ConsoleObject.h | 37 +-
.../include/JavaScriptCore/runtime/ConsoleTypes.h | 37 +-
.../include/JavaScriptCore/runtime/ConstantMode.h | 37 +-
.../JavaScriptCore/runtime/ConstructAbility.h | 37 +-
.../include/JavaScriptCore/runtime/ConstructData.h | 40 +-
.../JavaScriptCore/runtime/ControlFlowProfiler.h | 38 +-
.../JavaScriptCore/runtime/CustomGetterSetter.h | 37 +-
.../include/JavaScriptCore/runtime/DataView.h | 37 +-
.../JavaScriptCore/runtime/DateConstructor.h | 32 +-
.../JavaScriptCore/runtime/DateConversion.h | 36 +-
.../include/JavaScriptCore/runtime/DateInstance.h | 32 +-
.../JavaScriptCore/runtime/DateInstanceCache.h | 37 +-
.../include/JavaScriptCore/runtime/DatePrototype.h | 32 +-
.../runtime/DefinePropertyAttributes.h | 37 +-
.../JavaScriptCore/runtime/DirectArguments.h | 37 +-
.../JavaScriptCore/runtime/DirectArgumentsOffset.h | 37 +-
.../JavaScriptCore/runtime/DirectEvalExecutable.h | 37 +-
.../include/JavaScriptCore/runtime/DumpContext.h | 37 +-
.../runtime/ECMAScriptSpecInternalFunctions.h | 37 +-
.../JavaScriptCore/runtime/EnumerationMode.h | 37 +-
.../Source/include/JavaScriptCore/runtime/Error.h | 34 +-
.../JavaScriptCore/runtime/ErrorConstructor.h | 32 +-
.../JavaScriptCore/runtime/ErrorHandlingScope.h | 37 +-
.../include/JavaScriptCore/runtime/ErrorInstance.h | 32 +-
.../JavaScriptCore/runtime/ErrorPrototype.h | 32 +-
.../JavaScriptCore/runtime/EvalExecutable.h | 37 +-
.../include/JavaScriptCore/runtime/Exception.h | 37 +-
.../runtime/ExceptionEventLocation.h | 37 +-
.../include/JavaScriptCore/runtime/ExceptionFuzz.h | 37 +-
.../JavaScriptCore/runtime/ExceptionHelpers.h | 40 +-
.../JavaScriptCore/runtime/ExceptionScope.h | 37 +-
.../JavaScriptCore/runtime/ExecutableBase.h | 37 +-
.../include/JavaScriptCore/runtime/Float32Array.h | 37 +-
.../include/JavaScriptCore/runtime/Float64Array.h | 37 +-
.../JavaScriptCore/runtime/FunctionConstructor.h | 32 +-
.../JavaScriptCore/runtime/FunctionExecutable.h | 37 +-
.../runtime/FunctionExecutableDump.h | 37 +-
.../runtime/FunctionHasExecutedCache.h | 37 +-
.../JavaScriptCore/runtime/FunctionPrototype.h | 32 +-
.../JavaScriptCore/runtime/FunctionRareData.h | 37 +-
.../runtime/GeneratorFunctionConstructor.h | 37 +-
.../runtime/GeneratorFunctionPrototype.h | 37 +-
.../JavaScriptCore/runtime/GeneratorPrototype.h | 37 +-
.../JavaScriptCore/runtime/GenericArguments.h | 37 +-
.../runtime/GenericArgumentsInlines.h | 37 +-
.../include/JavaScriptCore/runtime/GenericOffset.h | 37 +-
.../JavaScriptCore/runtime/GenericTypedArrayView.h | 37 +-
.../runtime/GenericTypedArrayViewInlines.h | 37 +-
.../include/JavaScriptCore/runtime/GetPutInfo.h | 37 +-
.../include/JavaScriptCore/runtime/GetterSetter.h | 34 +-
.../JavaScriptCore/runtime/HasOwnPropertyCache.h | 37 +-
.../include/JavaScriptCore/runtime/HashMapImpl.h | 37 +-
.../include/JavaScriptCore/runtime/Identifier.h | 32 +-
.../JavaScriptCore/runtime/IdentifierInlines.h | 37 +-
.../JavaScriptCore/runtime/IndexingHeader.h | 37 +-
.../JavaScriptCore/runtime/IndexingHeaderInlines.h | 37 +-
.../include/JavaScriptCore/runtime/IndexingType.h | 37 +-
.../runtime/IndirectEvalExecutable.h | 37 +-
.../include/JavaScriptCore/runtime/InferredType.h | 37 +-
.../JavaScriptCore/runtime/InferredTypeTable.h | 37 +-
.../include/JavaScriptCore/runtime/InferredValue.h | 37 +-
.../JavaScriptCore/runtime/InitializeThreading.h | 40 +-
.../runtime/InspectorInstrumentationObject.h | 37 +-
.../include/JavaScriptCore/runtime/Int16Array.h | 37 +-
.../include/JavaScriptCore/runtime/Int32Array.h | 37 +-
.../include/JavaScriptCore/runtime/Int8Array.h | 37 +-
.../runtime/IntegralTypedArrayBase.h | 38 +-
.../JavaScriptCore/runtime/InternalFunction.h | 35 +-
.../include/JavaScriptCore/runtime/IntlCollator.h | 37 +-
.../runtime/IntlCollatorConstructor.h | 37 +-
.../JavaScriptCore/runtime/IntlCollatorPrototype.h | 37 +-
.../JavaScriptCore/runtime/IntlDateTimeFormat.h | 37 +-
.../runtime/IntlDateTimeFormatConstructor.h | 37 +-
.../runtime/IntlDateTimeFormatPrototype.h | 37 +-
.../JavaScriptCore/runtime/IntlNumberFormat.h | 37 +-
.../runtime/IntlNumberFormatConstructor.h | 37 +-
.../runtime/IntlNumberFormatPrototype.h | 37 +-
.../include/JavaScriptCore/runtime/IntlObject.h | 37 +-
.../JavaScriptCore/runtime/IntlObjectInlines.h | 38 +-
.../include/JavaScriptCore/runtime/Intrinsic.h | 37 +-
.../include/JavaScriptCore/runtime/IterationKind.h | 37 +-
.../JavaScriptCore/runtime/IterationStatus.h | 37 +-
.../JavaScriptCore/runtime/IteratorOperations.h | 38 +-
.../JavaScriptCore/runtime/IteratorPrototype.h | 37 +-
.../JavaScriptCore/runtime/JSAPIValueWrapper.h | 34 +-
.../include/JavaScriptCore/runtime/JSArray.h | 32 +-
.../include/JavaScriptCore/runtime/JSArrayBuffer.h | 37 +-
.../runtime/JSArrayBufferConstructor.h | 37 +-
.../runtime/JSArrayBufferPrototype.h | 37 +-
.../JavaScriptCore/runtime/JSArrayBufferView.h | 37 +-
.../runtime/JSArrayBufferViewInlines.h | 37 +-
.../JavaScriptCore/runtime/JSArrayInlines.h | 31 +-
.../JavaScriptCore/runtime/JSAsyncFunction.h | 37 +-
.../JavaScriptCore/runtime/JSBoundFunction.h | 37 +-
.../include/JavaScriptCore/runtime/JSCInlines.h | 37 +-
.../include/JavaScriptCore/runtime/JSCJSValue.h | 34 +-
.../JavaScriptCore/runtime/JSCJSValueInlines.h | 37 +-
.../include/JavaScriptCore/runtime/JSCallee.h | 37 +-
.../Source/include/JavaScriptCore/runtime/JSCell.h | 34 +-
.../include/JavaScriptCore/runtime/JSCellInlines.h | 37 +-
.../runtime/JSCustomGetterSetterFunction.h | 37 +-
.../include/JavaScriptCore/runtime/JSDataView.h | 37 +-
.../JavaScriptCore/runtime/JSDataViewPrototype.h | 37 +-
.../include/JavaScriptCore/runtime/JSDateMath.h | 58 +-
.../JavaScriptCore/runtime/JSDestructibleObject.h | 37 +-
.../runtime/JSDestructibleObjectSubspace.h | 37 +-
.../JavaScriptCore/runtime/JSEnvironmentRecord.h | 40 +-
.../JavaScriptCore/runtime/JSExportMacros.h | 42 +-
.../include/JavaScriptCore/runtime/JSFixedArray.h | 37 +-
.../JavaScriptCore/runtime/JSFloat32Array.h | 37 +-
.../JavaScriptCore/runtime/JSFloat64Array.h | 37 +-
.../include/JavaScriptCore/runtime/JSFunction.h | 35 +-
.../JavaScriptCore/runtime/JSFunctionInlines.h | 37 +-
.../JavaScriptCore/runtime/JSGeneratorFunction.h | 37 +-
.../runtime/JSGenericTypedArrayView.h | 37 +-
.../runtime/JSGenericTypedArrayViewConstructor.h | 37 +-
.../JSGenericTypedArrayViewConstructorInlines.h | 37 +-
.../runtime/JSGenericTypedArrayViewInlines.h | 37 +-
.../runtime/JSGenericTypedArrayViewPrototype.h | 37 +-
.../JSGenericTypedArrayViewPrototypeFunctions.h | 37 +-
.../JSGenericTypedArrayViewPrototypeInlines.h | 37 +-
.../runtime/JSGlobalLexicalEnvironment.h | 37 +-
.../JavaScriptCore/runtime/JSGlobalObject.h | 33 +-
.../runtime/JSGlobalObjectDebuggable.h | 37 +-
.../runtime/JSGlobalObjectFunctions.h | 35 +-
.../JavaScriptCore/runtime/JSGlobalObjectInlines.h | 37 +-
.../include/JavaScriptCore/runtime/JSInt16Array.h | 37 +-
.../include/JavaScriptCore/runtime/JSInt32Array.h | 37 +-
.../include/JavaScriptCore/runtime/JSInt8Array.h | 37 +-
.../JavaScriptCore/runtime/JSInternalPromise.h | 37 +-
.../runtime/JSInternalPromiseConstructor.h | 37 +-
.../runtime/JSInternalPromiseDeferred.h | 37 +-
.../runtime/JSInternalPromisePrototype.h | 37 +-
.../Source/include/JavaScriptCore/runtime/JSJob.h | 37 +-
.../JavaScriptCore/runtime/JSLexicalEnvironment.h | 40 +-
.../Source/include/JavaScriptCore/runtime/JSLock.h | 32 +-
.../Source/include/JavaScriptCore/runtime/JSMap.h | 37 +-
.../include/JavaScriptCore/runtime/JSMapIterator.h | 37 +-
.../JavaScriptCore/runtime/JSModuleEnvironment.h | 40 +-
.../JavaScriptCore/runtime/JSModuleLoader.h | 38 +-
.../runtime/JSModuleNamespaceObject.h | 37 +-
.../JavaScriptCore/runtime/JSModuleRecord.h | 37 +-
.../JavaScriptCore/runtime/JSNativeStdFunction.h | 37 +-
.../include/JavaScriptCore/runtime/JSONObject.h | 37 +-
.../include/JavaScriptCore/runtime/JSObject.h | 34 +-
.../JavaScriptCore/runtime/JSObjectInlines.h | 35 +-
.../include/JavaScriptCore/runtime/JSPromise.h | 37 +-
.../JavaScriptCore/runtime/JSPromiseConstructor.h | 37 +-
.../JavaScriptCore/runtime/JSPromiseDeferred.h | 37 +-
.../JavaScriptCore/runtime/JSPromisePrototype.h | 37 +-
.../runtime/JSPropertyNameEnumerator.h | 37 +-
.../runtime/JSPropertyNameIterator.h | 37 +-
.../include/JavaScriptCore/runtime/JSProxy.h | 37 +-
.../include/JavaScriptCore/runtime/JSScope.h | 37 +-
.../JavaScriptCore/runtime/JSScriptFetcher.h | 37 +-
.../runtime/JSSegmentedVariableObject.h | 40 +-
.../runtime/JSSegmentedVariableObjectSubspace.h | 37 +-
.../Source/include/JavaScriptCore/runtime/JSSet.h | 37 +-
.../include/JavaScriptCore/runtime/JSSetIterator.h | 37 +-
.../include/JavaScriptCore/runtime/JSSourceCode.h | 37 +-
.../include/JavaScriptCore/runtime/JSString.h | 34 +-
.../JavaScriptCore/runtime/JSStringBuilder.h | 37 +-
.../JavaScriptCore/runtime/JSStringInlines.h | 37 +-
.../JavaScriptCore/runtime/JSStringIterator.h | 37 +-
.../JavaScriptCore/runtime/JSStringJoiner.h | 37 +-
.../JavaScriptCore/runtime/JSStringSubspace.h | 37 +-
.../JavaScriptCore/runtime/JSSymbolTableObject.h | 40 +-
.../JavaScriptCore/runtime/JSTemplateRegistryKey.h | 37 +-
.../Source/include/JavaScriptCore/runtime/JSType.h | 32 +-
.../include/JavaScriptCore/runtime/JSTypeInfo.h | 18 -
.../runtime/JSTypedArrayConstructors.h | 37 +-
.../runtime/JSTypedArrayPrototypes.h | 37 +-
.../runtime/JSTypedArrayViewConstructor.h | 37 +-
.../runtime/JSTypedArrayViewPrototype.h | 37 +-
.../include/JavaScriptCore/runtime/JSTypedArrays.h | 37 +-
.../include/JavaScriptCore/runtime/JSUint16Array.h | 37 +-
.../include/JavaScriptCore/runtime/JSUint32Array.h | 37 +-
.../include/JavaScriptCore/runtime/JSUint8Array.h | 37 +-
.../JavaScriptCore/runtime/JSUint8ClampedArray.h | 37 +-
.../include/JavaScriptCore/runtime/JSWeakMap.h | 37 +-
.../include/JavaScriptCore/runtime/JSWeakSet.h | 37 +-
.../include/JavaScriptCore/runtime/JSWithScope.h | 37 +-
.../JavaScriptCore/runtime/JSWrapperObject.h | 33 +-
.../JavaScriptCore/runtime/LazyClassStructure.h | 37 +-
.../runtime/LazyClassStructureInlines.h | 37 +-
.../include/JavaScriptCore/runtime/LazyProperty.h | 37 +-
.../JavaScriptCore/runtime/LazyPropertyInlines.h | 37 +-
.../include/JavaScriptCore/runtime/LiteralParser.h | 37 +-
.../Source/include/JavaScriptCore/runtime/Lookup.h | 32 +-
.../JavaScriptCore/runtime/MachineContext.h | 37 +-
.../include/JavaScriptCore/runtime/MapBase.h | 37 +-
.../JavaScriptCore/runtime/MapConstructor.h | 37 +-
.../JavaScriptCore/runtime/MapIteratorPrototype.h | 37 +-
.../include/JavaScriptCore/runtime/MapPrototype.h | 37 +-
.../include/JavaScriptCore/runtime/MatchResult.h | 37 +-
.../include/JavaScriptCore/runtime/MathCommon.h | 37 +-
.../include/JavaScriptCore/runtime/MathObject.h | 32 +-
.../JavaScriptCore/runtime/MemoryStatistics.h | 37 +-
.../include/JavaScriptCore/runtime/Microtask.h | 37 +-
.../JavaScriptCore/runtime/ModuleLoaderPrototype.h | 38 +-
.../runtime/ModuleProgramExecutable.h | 37 +-
.../runtime/NativeErrorConstructor.h | 32 +-
.../JavaScriptCore/runtime/NativeErrorPrototype.h | 32 +-
.../JavaScriptCore/runtime/NativeExecutable.h | 37 +-
.../JavaScriptCore/runtime/NativeStdFunctionCell.h | 37 +-
.../JavaScriptCore/runtime/NullGetterFunction.h | 37 +-
.../JavaScriptCore/runtime/NullSetterFunction.h | 37 +-
.../JavaScriptCore/runtime/NumberConstructor.h | 32 +-
.../include/JavaScriptCore/runtime/NumberObject.h | 32 +-
.../JavaScriptCore/runtime/NumberPrototype.h | 32 +-
.../JavaScriptCore/runtime/NumericStrings.h | 37 +-
.../JavaScriptCore/runtime/ObjectConstructor.h | 32 +-
.../JavaScriptCore/runtime/ObjectPrototype.h | 32 +-
.../include/JavaScriptCore/runtime/Operations.h | 33 +-
.../include/JavaScriptCore/runtime/Options.h | 37 +-
.../include/JavaScriptCore/runtime/ParseInt.h | 37 +-
.../JavaScriptCore/runtime/PlatformThread.h | 37 +-
.../include/JavaScriptCore/runtime/PrivateName.h | 37 +-
.../JavaScriptCore/runtime/ProgramExecutable.h | 37 +-
.../JavaScriptCore/runtime/PropertyDescriptor.h | 37 +-
.../JavaScriptCore/runtime/PropertyMapHashTable.h | 32 +-
.../include/JavaScriptCore/runtime/PropertyName.h | 37 +-
.../JavaScriptCore/runtime/PropertyNameArray.h | 32 +-
.../JavaScriptCore/runtime/PropertyOffset.h | 37 +-
.../include/JavaScriptCore/runtime/PropertySlot.h | 32 +-
.../JavaScriptCore/runtime/PropertyStorage.h | 37 +-
.../include/JavaScriptCore/runtime/Protect.h | 32 +-
.../include/JavaScriptCore/runtime/PrototypeMap.h | 37 +-
.../JavaScriptCore/runtime/PrototypeMapInlines.h | 37 +-
.../JavaScriptCore/runtime/ProxyConstructor.h | 37 +-
.../include/JavaScriptCore/runtime/ProxyObject.h | 37 +-
.../include/JavaScriptCore/runtime/ProxyRevoke.h | 37 +-
.../include/JavaScriptCore/runtime/PureNaN.h | 37 +-
.../JavaScriptCore/runtime/PutDirectIndexMode.h | 37 +-
.../JavaScriptCore/runtime/PutPropertySlot.h | 37 +-
.../include/JavaScriptCore/runtime/ReflectObject.h | 37 +-
.../Source/include/JavaScriptCore/runtime/RegExp.h | 33 +-
.../include/JavaScriptCore/runtime/RegExpCache.h | 39 +-
.../JavaScriptCore/runtime/RegExpCachedResult.h | 37 +-
.../JavaScriptCore/runtime/RegExpConstructor.h | 32 +-
.../include/JavaScriptCore/runtime/RegExpInlines.h | 34 +-
.../include/JavaScriptCore/runtime/RegExpKey.h | 39 +-
.../JavaScriptCore/runtime/RegExpMatchesArray.h | 31 +-
.../include/JavaScriptCore/runtime/RegExpObject.h | 32 +-
.../JavaScriptCore/runtime/RegExpObjectInlines.h | 32 +-
.../JavaScriptCore/runtime/RegExpPrototype.h | 32 +-
.../include/JavaScriptCore/runtime/RuntimeFlags.h | 38 +-
.../include/JavaScriptCore/runtime/RuntimeType.h | 38 +-
.../JavaScriptCore/runtime/SamplingCounter.h | 40 +-
.../JavaScriptCore/runtime/SamplingProfiler.h | 37 +-
.../include/JavaScriptCore/runtime/ScopeOffset.h | 37 +-
.../JavaScriptCore/runtime/ScopedArguments.h | 37 +-
.../JavaScriptCore/runtime/ScopedArgumentsTable.h | 37 +-
.../JavaScriptCore/runtime/ScriptExecutable.h | 37 +-
.../include/JavaScriptCore/runtime/ScriptFetcher.h | 37 +-
.../JavaScriptCore/runtime/SetConstructor.h | 37 +-
.../JavaScriptCore/runtime/SetIteratorPrototype.h | 37 +-
.../include/JavaScriptCore/runtime/SetPrototype.h | 37 +-
.../runtime/SimpleTypedArrayController.h | 37 +-
.../JavaScriptCore/runtime/SlowPathReturnType.h | 37 +-
.../include/JavaScriptCore/runtime/SmallStrings.h | 37 +-
.../include/JavaScriptCore/runtime/SourceOrigin.h | 37 +-
.../JavaScriptCore/runtime/SparseArrayValueMap.h | 37 +-
.../JavaScriptCore/runtime/StackAlignment.h | 37 +-
.../include/JavaScriptCore/runtime/StackFrame.h | 37 +-
.../JavaScriptCore/runtime/StrictEvalActivation.h | 37 +-
.../JavaScriptCore/runtime/StringConstructor.h | 32 +-
.../runtime/StringIteratorPrototype.h | 38 +-
.../include/JavaScriptCore/runtime/StringObject.h | 32 +-
.../JavaScriptCore/runtime/StringPrototype.h | 32 +-
.../runtime/StringRecursionChecker.h | 31 +-
.../include/JavaScriptCore/runtime/Structure.h | 37 +-
.../JavaScriptCore/runtime/StructureChain.h | 37 +-
.../JavaScriptCore/runtime/StructureIDBlob.h | 37 +-
.../JavaScriptCore/runtime/StructureIDTable.h | 37 +-
.../JavaScriptCore/runtime/StructureInlines.h | 37 +-
.../JavaScriptCore/runtime/StructureRareData.h | 37 +-
.../runtime/StructureRareDataInlines.h | 37 +-
.../runtime/StructureTransitionTable.h | 37 +-
.../Source/include/JavaScriptCore/runtime/Symbol.h | 39 +-
.../JavaScriptCore/runtime/SymbolConstructor.h | 38 +-
.../include/JavaScriptCore/runtime/SymbolObject.h | 33 +-
.../JavaScriptCore/runtime/SymbolPrototype.h | 38 +-
.../include/JavaScriptCore/runtime/SymbolTable.h | 40 +-
.../JavaScriptCore/runtime/TemplateRegistry.h | 37 +-
.../JavaScriptCore/runtime/TemplateRegistryKey.h | 37 +-
.../runtime/TemplateRegistryKeyTable.h | 37 +-
.../JavaScriptCore/runtime/TestRunnerUtils.h | 37 +-
.../include/JavaScriptCore/runtime/ThrowScope.h | 37 +-
.../JavaScriptCore/runtime/ToNativeFromValue.h | 37 +-
.../include/JavaScriptCore/runtime/TypeError.h | 37 +-
.../JavaScriptCore/runtime/TypeLocationCache.h | 37 +-
.../include/JavaScriptCore/runtime/TypeProfiler.h | 37 +-
.../JavaScriptCore/runtime/TypeProfilerLog.h | 40 +-
.../include/JavaScriptCore/runtime/TypeSet.h | 37 +-
.../JavaScriptCore/runtime/TypedArrayAdaptors.h | 37 +-
.../JavaScriptCore/runtime/TypedArrayBase.h | 38 +-
.../JavaScriptCore/runtime/TypedArrayController.h | 37 +-
.../JavaScriptCore/runtime/TypedArrayInlines.h | 37 +-
.../JavaScriptCore/runtime/TypedArrayType.h | 37 +-
.../include/JavaScriptCore/runtime/TypedArrays.h | 37 +-
.../include/JavaScriptCore/runtime/TypeofType.h | 37 +-
.../include/JavaScriptCore/runtime/Uint16Array.h | 37 +-
.../JavaScriptCore/runtime/Uint16WithFraction.h | 37 +-
.../include/JavaScriptCore/runtime/Uint32Array.h | 37 +-
.../include/JavaScriptCore/runtime/Uint8Array.h | 37 +-
.../JavaScriptCore/runtime/Uint8ClampedArray.h | 37 +-
.../Source/include/JavaScriptCore/runtime/VM.h | 40 +-
.../include/JavaScriptCore/runtime/VMEntryScope.h | 37 +-
.../include/JavaScriptCore/runtime/VMInlines.h | 37 +-
.../include/JavaScriptCore/runtime/VMTraps.h | 37 +-
.../include/JavaScriptCore/runtime/VarOffset.h | 37 +-
.../include/JavaScriptCore/runtime/Watchdog.h | 37 +-
.../include/JavaScriptCore/runtime/WeakGCMap.h | 37 +-
.../JavaScriptCore/runtime/WeakGCMapInlines.h | 37 +-
.../JavaScriptCore/runtime/WeakMapConstructor.h | 37 +-
.../include/JavaScriptCore/runtime/WeakMapData.h | 37 +-
.../JavaScriptCore/runtime/WeakMapPrototype.h | 37 +-
.../JavaScriptCore/runtime/WeakSetConstructor.h | 37 +-
.../JavaScriptCore/runtime/WeakSetPrototype.h | 37 +-
.../JavaScriptCore/runtime/WebAssemblyExecutable.h | 37 +-
.../include/JavaScriptCore/runtime/WriteBarrier.h | 37 +-
.../JavaScriptCore/runtime/WriteBarrierInlines.h | 37 +-
.../JavaScriptCore/yarr/RegularExpression.h | 37 +-
.../Source/include/JavaScriptCore/yarr/Yarr.h | 39 +-
.../include/JavaScriptCore/yarr/YarrCanonicalize.h | 37 +-
.../include/JavaScriptCore/yarr/YarrInterpreter.h | 37 +-
.../Source/include/JavaScriptCore/yarr/YarrJIT.h | 37 +-
.../include/JavaScriptCore/yarr/YarrParser.h | 37 +-
.../include/JavaScriptCore/yarr/YarrPattern.h | 38 +-
.../JavaScriptCore/yarr/YarrSyntaxChecker.h | 37 +-
weex_core/Source/include/wtf/ASCIICType.h | 40 +-
weex_core/Source/include/wtf/Assertions.h | 37 +-
weex_core/Source/include/wtf/Atomics.h | 37 +-
weex_core/Source/include/wtf/AutodrainedPool.h | 40 +-
weex_core/Source/include/wtf/AutomaticThread.h | 37 +-
weex_core/Source/include/wtf/BackwardsGraph.h | 37 +-
weex_core/Source/include/wtf/Bag.h | 37 +-
weex_core/Source/include/wtf/BagToHashMap.h | 37 +-
weex_core/Source/include/wtf/BitVector.h | 37 +-
weex_core/Source/include/wtf/Bitmap.h | 30 +-
weex_core/Source/include/wtf/BlockObjCExceptions.h | 37 +-
weex_core/Source/include/wtf/BlockPtr.h | 37 +-
weex_core/Source/include/wtf/BlockStack.h | 37 +-
weex_core/Source/include/wtf/BloomFilter.h | 37 +-
weex_core/Source/include/wtf/Box.h | 37 +-
weex_core/Source/include/wtf/BubbleSort.h | 37 +-
.../Source/include/wtf/BumpPointerAllocator.h | 37 +-
weex_core/Source/include/wtf/ByteOrder.h | 18 -
weex_core/Source/include/wtf/CheckedArithmetic.h | 37 +-
weex_core/Source/include/wtf/CheckedBoolean.h | 37 +-
weex_core/Source/include/wtf/ClockType.h | 37 +-
weex_core/Source/include/wtf/CommaPrinter.h | 37 +-
weex_core/Source/include/wtf/CompilationThread.h | 37 +-
weex_core/Source/include/wtf/Compiler.h | 37 +-
weex_core/Source/include/wtf/Condition.h | 37 +-
weex_core/Source/include/wtf/CrossThreadCopier.h | 43 +-
weex_core/Source/include/wtf/CrossThreadQueue.h | 37 +-
weex_core/Source/include/wtf/CrossThreadTask.h | 37 +-
.../Source/include/wtf/CryptographicUtilities.h | 37 +-
.../include/wtf/CryptographicallyRandomNumber.h | 37 +-
weex_core/Source/include/wtf/CurrentTime.h | 43 +-
weex_core/Source/include/wtf/DataLog.h | 37 +-
weex_core/Source/include/wtf/DateMath.h | 54 +-
weex_core/Source/include/wtf/DecimalNumber.h | 37 +-
.../Source/include/wtf/DeferrableRefCounted.h | 37 +-
weex_core/Source/include/wtf/DeprecatedOptional.h | 37 +-
weex_core/Source/include/wtf/Deque.h | 41 +-
weex_core/Source/include/wtf/DisallowCType.h | 40 +-
weex_core/Source/include/wtf/Dominators.h | 37 +-
weex_core/Source/include/wtf/DoublyLinkedList.h | 37 +-
weex_core/Source/include/wtf/EnumTraits.h | 37 +-
weex_core/Source/include/wtf/Expected.h | 37 +-
weex_core/Source/include/wtf/ExportMacros.h | 42 +-
weex_core/Source/include/wtf/FastBitVector.h | 37 +-
weex_core/Source/include/wtf/FastMalloc.h | 32 +-
weex_core/Source/include/wtf/FastTLS.h | 37 +-
weex_core/Source/include/wtf/FeatureDefines.h | 40 +-
weex_core/Source/include/wtf/FilePrintStream.h | 37 +-
weex_core/Source/include/wtf/FlipBytes.h | 37 +-
.../Source/include/wtf/ForbidHeapAllocation.h | 37 +-
weex_core/Source/include/wtf/Forward.h | 32 +-
weex_core/Source/include/wtf/Function.h | 37 +-
weex_core/Source/include/wtf/FunctionDispatcher.h | 37 +-
weex_core/Source/include/wtf/GetPtr.h | 32 +-
weex_core/Source/include/wtf/GlobalVersion.h | 37 +-
weex_core/Source/include/wtf/GraphNodeWorklist.h | 37 +-
weex_core/Source/include/wtf/GregorianDateTime.h | 36 +-
weex_core/Source/include/wtf/HashCountedSet.h | 32 +-
weex_core/Source/include/wtf/HashFunctions.h | 32 +-
weex_core/Source/include/wtf/HashIterators.h | 37 +-
weex_core/Source/include/wtf/HashMap.h | 32 +-
weex_core/Source/include/wtf/HashMethod.h | 37 +-
weex_core/Source/include/wtf/HashSet.h | 32 +-
weex_core/Source/include/wtf/HashTable.h | 33 +-
weex_core/Source/include/wtf/HashTraits.h | 32 +-
weex_core/Source/include/wtf/Hasher.h | 33 +-
weex_core/Source/include/wtf/HexNumber.h | 32 +-
weex_core/Source/include/wtf/Indenter.h | 37 +-
weex_core/Source/include/wtf/IndexMap.h | 37 +-
weex_core/Source/include/wtf/IndexSet.h | 37 +-
weex_core/Source/include/wtf/IndexSparseSet.h | 37 +-
.../Source/include/wtf/IndexedContainerIterator.h | 37 +-
weex_core/Source/include/wtf/InlineASM.h | 37 +-
weex_core/Source/include/wtf/Insertion.h | 37 +-
weex_core/Source/include/wtf/IteratorAdaptors.h | 37 +-
weex_core/Source/include/wtf/IteratorRange.h | 37 +-
weex_core/Source/include/wtf/LEBDecoder.h | 37 +-
weex_core/Source/include/wtf/ListDump.h | 37 +-
weex_core/Source/include/wtf/ListHashSet.h | 33 +-
weex_core/Source/include/wtf/Lock.h | 37 +-
weex_core/Source/include/wtf/LockAlgorithm.h | 37 +-
weex_core/Source/include/wtf/LockedPrintStream.h | 37 +-
weex_core/Source/include/wtf/Locker.h | 39 +-
weex_core/Source/include/wtf/LoggingAccumulator.h | 37 +-
weex_core/Source/include/wtf/LoggingHashID.h | 37 +-
weex_core/Source/include/wtf/LoggingHashMap.h | 37 +-
weex_core/Source/include/wtf/LoggingHashSet.h | 37 +-
weex_core/Source/include/wtf/LoggingHashTraits.h | 37 +-
weex_core/Source/include/wtf/MD5.h | 42 +-
weex_core/Source/include/wtf/MainThread.h | 41 +-
weex_core/Source/include/wtf/MallocPtr.h | 37 +-
weex_core/Source/include/wtf/MathExtras.h | 37 +-
weex_core/Source/include/wtf/MediaTime.h | 40 +-
weex_core/Source/include/wtf/MemoryFootprint.h | 37 +-
.../Source/include/wtf/MemoryPressureHandler.h | 38 +-
weex_core/Source/include/wtf/MessageQueue.h | 41 +-
weex_core/Source/include/wtf/MetaAllocator.h | 40 +-
weex_core/Source/include/wtf/MetaAllocatorHandle.h | 40 +-
weex_core/Source/include/wtf/MonotonicTime.h | 37 +-
weex_core/Source/include/wtf/NakedPtr.h | 37 +-
weex_core/Source/include/wtf/NeverDestroyed.h | 37 +-
weex_core/Source/include/wtf/NoLock.h | 37 +-
weex_core/Source/include/wtf/Noncopyable.h | 32 +-
weex_core/Source/include/wtf/NumberOfCores.h | 32 +-
weex_core/Source/include/wtf/OSAllocator.h | 37 +-
weex_core/Source/include/wtf/OSObjectPtr.h | 37 +-
weex_core/Source/include/wtf/OSRandomSource.h | 37 +-
weex_core/Source/include/wtf/ObjcRuntimeExtras.h | 36 +-
weex_core/Source/include/wtf/OptionSet.h | 37 +-
weex_core/Source/include/wtf/OrderMaker.h | 37 +-
weex_core/Source/include/wtf/PackedIntVector.h | 37 +-
weex_core/Source/include/wtf/PageAllocation.h | 37 +-
weex_core/Source/include/wtf/PageBlock.h | 37 +-
weex_core/Source/include/wtf/PageReservation.h | 37 +-
weex_core/Source/include/wtf/ParallelHelperPool.h | 37 +-
weex_core/Source/include/wtf/ParallelJobs.h | 39 +-
weex_core/Source/include/wtf/ParallelJobsGeneric.h | 39 +-
.../Source/include/wtf/ParallelJobsLibdispatch.h | 39 +-
weex_core/Source/include/wtf/ParallelJobsOpenMP.h | 39 +-
.../Source/include/wtf/ParallelVectorIterator.h | 37 +-
weex_core/Source/include/wtf/ParkingLot.h | 37 +-
weex_core/Source/include/wtf/PassRefPtr.h | 32 +-
weex_core/Source/include/wtf/Platform.h | 39 +-
.../include/wtf/PlatformUserPreferredLanguages.h | 37 +-
weex_core/Source/include/wtf/PointerComparison.h | 37 +-
weex_core/Source/include/wtf/PrintStream.h | 37 +-
weex_core/Source/include/wtf/ProcessID.h | 37 +-
weex_core/Source/include/wtf/RAMSize.h | 37 +-
weex_core/Source/include/wtf/RandomNumber.h | 37 +-
weex_core/Source/include/wtf/RandomNumberSeed.h | 37 +-
weex_core/Source/include/wtf/RangeSet.h | 37 +-
weex_core/Source/include/wtf/RawPointer.h | 37 +-
.../Source/include/wtf/RecursiveLockAdapter.h | 37 +-
weex_core/Source/include/wtf/RedBlackTree.h | 40 +-
weex_core/Source/include/wtf/Ref.h | 37 +-
weex_core/Source/include/wtf/RefCounted.h | 32 +-
weex_core/Source/include/wtf/RefCountedArray.h | 37 +-
.../Source/include/wtf/RefCountedLeakCounter.h | 32 +-
weex_core/Source/include/wtf/RefCounter.h | 37 +-
weex_core/Source/include/wtf/RefPtr.h | 32 +-
weex_core/Source/include/wtf/RetainPtr.h | 32 +-
weex_core/Source/include/wtf/RunLoop.h | 39 +-
weex_core/Source/include/wtf/RunLoopTimer.h | 40 +-
weex_core/Source/include/wtf/SHA1.h | 42 +-
weex_core/Source/include/wtf/SaturatedArithmetic.h | 43 +-
weex_core/Source/include/wtf/SchedulePair.h | 40 +-
weex_core/Source/include/wtf/Scope.h | 37 +-
weex_core/Source/include/wtf/ScopedLambda.h | 37 +-
weex_core/Source/include/wtf/Seconds.h | 37 +-
weex_core/Source/include/wtf/SegmentedVector.h | 40 +-
weex_core/Source/include/wtf/SentinelLinkedList.h | 37 +-
weex_core/Source/include/wtf/SetForScope.h | 38 +-
weex_core/Source/include/wtf/SharedTask.h | 37 +-
weex_core/Source/include/wtf/SimpleStats.h | 37 +-
weex_core/Source/include/wtf/SinglyLinkedList.h | 37 +-
weex_core/Source/include/wtf/SixCharacterHash.h | 37 +-
weex_core/Source/include/wtf/SmallPtrSet.h | 37 +-
weex_core/Source/include/wtf/Spectrum.h | 37 +-
weex_core/Source/include/wtf/StackBounds.h | 38 +-
weex_core/Source/include/wtf/StackStats.h | 37 +-
weex_core/Source/include/wtf/StaticConstructors.h | 32 +-
weex_core/Source/include/wtf/StdLibExtras.h | 38 +-
weex_core/Source/include/wtf/Stopwatch.h | 36 +-
weex_core/Source/include/wtf/StreamBuffer.h | 18 -
weex_core/Source/include/wtf/StringExtras.h | 38 +-
.../Source/include/wtf/StringHashDumpContext.h | 37 +-
weex_core/Source/include/wtf/StringPrintStream.h | 37 +-
.../Source/include/wtf/SynchronizedFixedQueue.h | 37 +-
weex_core/Source/include/wtf/SystemTracing.h | 37 +-
.../Source/include/wtf/ThreadFunctionInvocation.h | 40 +-
.../include/wtf/ThreadIdentifierDataPthreads.h | 42 +-
.../Source/include/wtf/ThreadSafeRefCounted.h | 37 +-
weex_core/Source/include/wtf/ThreadSpecific.h | 42 +-
weex_core/Source/include/wtf/Threading.h | 41 +-
weex_core/Source/include/wtf/ThreadingPrimitives.h | 42 +-
.../Source/include/wtf/TimeWithDynamicClockType.h | 37 +-
weex_core/Source/include/wtf/TinyLRUCache.h | 37 +-
weex_core/Source/include/wtf/TinyPtrSet.h | 37 +-
weex_core/Source/include/wtf/Trace.h | 18 -
weex_core/Source/include/wtf/TriState.h | 37 +-
weex_core/Source/include/wtf/TypeCasts.h | 37 +-
weex_core/Source/include/wtf/UniStdExtras.h | 37 +-
weex_core/Source/include/wtf/UnionFind.h | 37 +-
weex_core/Source/include/wtf/UniqueRef.h | 37 +-
weex_core/Source/include/wtf/VMTags.h | 37 +-
weex_core/Source/include/wtf/ValueCheck.h | 37 +-
weex_core/Source/include/wtf/Vector.h | 32 +-
weex_core/Source/include/wtf/VectorTraits.h | 32 +-
weex_core/Source/include/wtf/WTFThreadData.h | 38 +-
weex_core/Source/include/wtf/WallTime.h | 37 +-
weex_core/Source/include/wtf/WeakPtr.h | 38 +-
weex_core/Source/include/wtf/WeakRandom.h | 42 +-
weex_core/Source/include/wtf/WindowsExtras.h | 36 +-
weex_core/Source/include/wtf/WordLock.h | 37 +-
weex_core/Source/include/wtf/WorkQueue.h | 38 +-
weex_core/Source/include/wtf/dtoa.h | 32 +-
.../Source/include/wtf/icu/unicode/bytestream.h | 18 -
.../Source/include/wtf/icu/unicode/localpointer.h | 18 -
.../Source/include/wtf/icu/unicode/parseerr.h | 18 -
.../Source/include/wtf/icu/unicode/platform.h | 18 -
weex_core/Source/include/wtf/icu/unicode/ptypes.h | 18 -
weex_core/Source/include/wtf/icu/unicode/putil.h | 18 -
weex_core/Source/include/wtf/icu/unicode/rep.h | 18 -
.../Source/include/wtf/icu/unicode/std_string.h | 18 -
weex_core/Source/include/wtf/icu/unicode/strenum.h | 18 -
.../Source/include/wtf/icu/unicode/stringpiece.h | 18 -
weex_core/Source/include/wtf/icu/unicode/ubrk.h | 18 -
weex_core/Source/include/wtf/icu/unicode/uchar.h | 18 -
weex_core/Source/include/wtf/icu/unicode/ucnv.h | 18 -
.../Source/include/wtf/icu/unicode/ucnv_err.h | 18 -
weex_core/Source/include/wtf/icu/unicode/ucol.h | 18 -
weex_core/Source/include/wtf/icu/unicode/uconfig.h | 18 -
weex_core/Source/include/wtf/icu/unicode/ucurr.h | 18 -
weex_core/Source/include/wtf/icu/unicode/uenum.h | 18 -
weex_core/Source/include/wtf/icu/unicode/uiter.h | 18 -
weex_core/Source/include/wtf/icu/unicode/uloc.h | 18 -
.../Source/include/wtf/icu/unicode/umachine.h | 18 -
weex_core/Source/include/wtf/icu/unicode/unistr.h | 18 -
weex_core/Source/include/wtf/icu/unicode/unorm.h | 18 -
weex_core/Source/include/wtf/icu/unicode/unorm2.h | 18 -
weex_core/Source/include/wtf/icu/unicode/uobject.h | 18 -
weex_core/Source/include/wtf/icu/unicode/urename.h | 18 -
weex_core/Source/include/wtf/icu/unicode/uscript.h | 26 +-
weex_core/Source/include/wtf/icu/unicode/uset.h | 18 -
weex_core/Source/include/wtf/icu/unicode/ustring.h | 18 -
weex_core/Source/include/wtf/icu/unicode/utext.h | 18 -
weex_core/Source/include/wtf/icu/unicode/utf.h | 18 -
weex_core/Source/include/wtf/icu/unicode/utf16.h | 18 -
weex_core/Source/include/wtf/icu/unicode/utf8.h | 18 -
weex_core/Source/include/wtf/icu/unicode/utf_old.h | 18 -
weex_core/Source/include/wtf/icu/unicode/utypes.h | 18 -
weex_core/Source/include/wtf/icu/unicode/uvernum.h | 18 -
.../Source/include/wtf/icu/unicode/uversion.h | 18 -
weex_core/Source/include/wtf/text/ASCIIFastPath.h | 33 +-
weex_core/Source/include/wtf/text/AtomicString.h | 32 +-
.../Source/include/wtf/text/AtomicStringHash.h | 40 +-
.../Source/include/wtf/text/AtomicStringImpl.h | 32 +-
.../Source/include/wtf/text/AtomicStringTable.h | 34 +-
weex_core/Source/include/wtf/text/Base64.h | 43 +-
weex_core/Source/include/wtf/text/CString.h | 37 +-
weex_core/Source/include/wtf/text/ConversionMode.h | 37 +-
.../include/wtf/text/IntegerToStringConversion.h | 33 +-
weex_core/Source/include/wtf/text/LChar.h | 38 +-
.../include/wtf/text/LineBreakIteratorPoolICU.h | 37 +-
.../include/wtf/text/NullTextBreakIterator.h | 32 +-
weex_core/Source/include/wtf/text/OrdinalNumber.h | 36 +-
weex_core/Source/include/wtf/text/StringBuffer.h | 40 +-
weex_core/Source/include/wtf/text/StringBuilder.h | 38 +-
weex_core/Source/include/wtf/text/StringCommon.h | 37 +-
.../Source/include/wtf/text/StringConcatenate.h | 37 +-
.../include/wtf/text/StringConcatenateNumbers.h | 37 +-
weex_core/Source/include/wtf/text/StringHash.h | 33 +-
weex_core/Source/include/wtf/text/StringImpl.h | 34 +-
.../Source/include/wtf/text/StringOperators.h | 33 +-
weex_core/Source/include/wtf/text/StringView.h | 37 +-
weex_core/Source/include/wtf/text/SymbolImpl.h | 37 +-
weex_core/Source/include/wtf/text/SymbolRegistry.h | 37 +-
.../Source/include/wtf/text/TextBreakIterator.h | 33 +-
.../wtf/text/TextBreakIteratorInternalICU.h | 32 +-
weex_core/Source/include/wtf/text/TextPosition.h | 36 +-
.../Source/include/wtf/text/UniquedStringImpl.h | 37 +-
weex_core/Source/include/wtf/text/WTFString.h | 33 +-
weex_core/Source/include/wtf/unicode/WTFUTF8.h | 37 +-
weex_core/Source/js_runtime/CMakeLists.txt | 290 ++++++++
.../include/ICUCompatible.h} | 5 +-
.../config.h => js_runtime/runtime/base.h} | 62 +-
.../Source/js_runtime/runtime/binding_macro.h | 45 ++
.../Source/js_runtime/runtime/engine_context.h | 115 +++
.../runtime/js_runtime_conversion.cpp} | 8 +-
.../runtime/js_runtime_conversion.h} | 51 +-
.../js_runtime/runtime/jsc/binding_macro_jsc.h | 420 +++++++++++
.../js_runtime/runtime/jsc/engine_context_jsc.cc | 338 +++++++++
.../js_runtime/runtime/jsc/engine_context_jsc.h | 115 +++
weex_core/Source/js_runtime/runtime/jsc/jsc_base.h | 48 ++
.../Source/js_runtime/runtime/jsc/jsc_utils.cc | 451 ++++++++++++
.../Source/js_runtime/runtime/jsc/jsc_utils.h | 98 +++
.../js_runtime/runtime/jsc/runtime_object_jsc.cc | 80 +++
.../js_runtime/runtime/jsc/runtime_values_jsc.cc | 202 ++++++
.../js_runtime/runtime/jsc/runtime_values_jsc.h | 113 +++
weex_core/Source/js_runtime/runtime/jsc/vm_jsc.cc | 68 ++
.../Source/js_runtime/runtime/runtime_context.h | 84 +++
.../js_runtime/runtime/runtime_context_android.cc | 79 +++
.../js_runtime/runtime/runtime_context_android.h | 80 +++
.../js_runtime/runtime/runtime_context_ios.h | 79 +++
.../js_runtime/runtime/runtime_context_ios.mm | 82 +++
.../Source/js_runtime/runtime/runtime_object.h | 93 +++
.../Source/js_runtime/runtime/runtime_values.cc | 265 +++++++
.../Source/js_runtime/runtime/runtime_values.h | 390 +++++++++++
weex_core/Source/js_runtime/runtime/runtime_vm.cc | 58 ++
weex_core/Source/js_runtime/runtime/runtime_vm.h | 70 ++
.../js_runtime/runtime/v8/engine_context_v8.cc | 62 ++
.../js_runtime/runtime/v8/engine_context_v8.h | 77 +++
.../js_runtime/runtime/v8/runtime_object_v8.cc | 48 ++
.../PutKind.h => js_runtime/runtime/v8/v8_base.h} | 9 +-
weex_core/Source/js_runtime/runtime/v8/vm_v8.cc | 36 +
weex_core/Source/js_runtime/utils/base64.hpp | 253 +++++++
weex_core/Source/js_runtime/utils/log_utils.h | 62 ++
.../weex/binding/app_context_binding.cpp | 202 ++++++
.../js_runtime/weex/binding/app_context_binding.h | 74 ++
.../js_runtime/weex/binding/weex_binding_utils.cpp | 198 ++++++
.../js_runtime/weex/binding/weex_binding_utils.h | 65 ++
.../weex/binding/weex_console_binding.cpp | 94 +++
.../js_runtime/weex/binding/weex_console_binding.h | 57 ++
.../weex/binding/weex_global_binding.cpp | 592 ++++++++++++++++
.../js_runtime/weex/binding/weex_global_binding.h | 114 +++
.../weex/binding/weex_instance_binding.cpp | 152 ++++
.../weex/binding/weex_instance_binding.h | 80 +++
.../weex/bridge/script/script_side_in_queue.cpp | 358 ++++++++++
.../weex/bridge/script/script_side_in_simple.cpp | 150 ++++
.../jsengine => js_runtime/weex}/object/args.h | 9 +-
.../weex/object/weex_global_object_v2.cpp | 245 +++++++
.../js_runtime/weex/object/weex_global_object_v2.h | 96 +++
.../weex/object/weex_object_holder_v2.cpp | 63 ++
.../js_runtime/weex/object/weex_object_holder_v2.h | 57 ++
.../Source/js_runtime/weex/object/weex_runtime.h | 105 +++
.../js_runtime/weex/object/weex_runtime_v2.cpp | 767 +++++++++++++++++++++
.../js_runtime/weex/object/weex_runtime_v2.h | 110 +++
.../weex/task/back_to_weex_core_queue.cpp | 155 +++++
.../js_runtime/weex/task/back_to_weex_core_queue.h | 118 ++++
.../task/impl/call_js_on_app_context_task.cpp} | 50 +-
.../weex/task/impl/call_js_on_app_context_task.h} | 49 +-
.../weex/task/impl/create_app_context_task.cpp} | 23 +-
.../weex/task/impl/create_app_context_task.h} | 26 +-
.../weex/task/impl/create_instance_task.cpp} | 40 +-
.../weex/task/impl/create_instance_task.h} | 40 +-
.../weex/task/impl/ctime_callback_task.cpp} | 10 +-
.../weex/task/impl/ctime_callback_task.h} | 29 +-
.../weex/task/impl/destory_app_context_task.cpp} | 21 +-
.../weex/task/impl/destory_app_context_task.h} | 28 +-
.../weex/task/impl/destory_instance_task.cpp} | 21 +-
.../weex/task/impl/destory_instance_task.h} | 34 +-
.../weex/task/impl/exe_js_on_app_with_result.cpp} | 29 +-
.../weex/task/impl/exe_js_on_app_with_result.h} | 28 +-
.../weex/task/impl/exe_js_on_instance_task.cpp} | 29 +-
.../weex/task/impl/exe_js_on_instance_task.h} | 26 +-
.../weex/task/impl/exe_js_services_task.cpp} | 23 +-
.../weex/task/impl/exe_js_services_task.h} | 27 +-
.../js_runtime/weex/task/impl/exe_js_task.cpp | 73 ++
.../weex/task/impl/exe_js_task.h} | 43 +-
.../weex/task/impl/init_framework_task.cpp | 49 ++
.../weex/task/impl/init_framework_task.h} | 35 +-
.../weex/task/impl/native_timer_task.cpp} | 43 +-
.../weex/task/impl/native_timer_task.h} | 36 +-
.../weex/task/impl/take_heap_snapshot.cpp} | 9 +-
.../weex/task/impl/take_heap_snapshot.h} | 27 +-
.../weex/task/impl/update_global_config_task.cpp} | 23 +-
.../weex/task/impl/update_global_config_task.h} | 28 +-
.../impl/update_init_framework_params_task.cpp} | 32 +-
.../task/impl/update_init_framework_params_task.h} | 31 +-
.../Source/js_runtime/weex/task/timer_queue.cpp | 205 ++++++
.../weex/task/timer_queue.h} | 68 +-
.../Source/js_runtime/weex/task/timer_task.cpp | 56 ++
.../weex/task/timer_task.h} | 37 +-
.../weex/task/weex_task.cpp} | 33 +-
weex_core/Source/js_runtime/weex/task/weex_task.h | 85 +++
.../js_runtime/weex/task/weex_task_queue.cpp | 186 +++++
.../weex/task/weex_task_queue.h} | 61 +-
.../weex/utils/weex_conversion_utils.cpp | 382 ++++++++++
.../js_runtime/weex/utils/weex_conversion_utils.h | 77 +++
.../js_runtime/weex/utils/weex_jsc_utils.cpp | 155 +++++
.../weex/utils}/weex_jsc_utils.h | 177 ++---
.../js_runtime/weex/utils/wson_for_runtime.cpp | 230 ++++++
.../weex/utils/wson_for_runtime.h} | 24 +-
weex_core/debug.sh | 2 +-
weex_core/release.sh | 33 +-
1401 files changed, 37336 insertions(+), 20114 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7b27b62..d5017f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,78 +1,22 @@
# Abstract
## Feature
-* Support direction:rtl
- * For international useage, support [direction:rtl](https://developer.mozilla.org/en-US/docs/Web/CSS/direction)
- * Pull Request: https://github.com/apache/incubator-weex/pull/1664
+* Support arm64 & ndk18 on Android platform.
+* Android JSC Runtime refactor.
+* Android & iOS multi-size screen & rotation support.
+* Background JS thread on iOS.
+* Log module on iOS and Android to support redirection
+* Synchronous call of component methods.
+* Unified C++ log system of WeexCore.
+
+## Main Bugfix
+* Animation module crash on iOS.
+* RTL layout crash on iOS.
+* NSTimer not removed by WXTimerModule on iOS.
+* Occasionally showing placeholder instead of main image on iOS.
+* Animation end progress error on iOS.
+* Some NPE issues on Android.
+* Closing fd multiple times on Android IPC.
+* box-shadow crash protection on Android.
+* GPU texture size overflow protection on Android.
+* Weexcore.so loading failure problem on Android.
-* Support richtext component
- * Support richtext component [richtext](http://weex-project.io/cn/references/components/richtext.html)
- * Pull Request: https://github.com/apache/incubator-weex/pull/1796
-
-* Performance optimization(init)
- * rm useless log && reduce reflection
- * Pull Request: https://github.com/apache/incubator-weex/pull/1844
-
-* **Major change** refine weex code:(integration code from weex_core and weex_v8core)
- * pr : https://github.com/apache/incubator-weex/pull/1999
- * change log:
- * Modify file naming from capitalized hump to lowercase
- * Modify the header file inclusion method, mainly based on google style
- * Change the file directory and move the basic function files to the base directory
- * Merge jssengine code into WeexCore repository, integrate compilation
- * Add libWTF.so to adapt to compile
-
-* send interaction time with event(after 8s)
- * Pull Request :
- * https://github.com/apache/incubator-weex/pull/2000
- * https://github.com/apache/incubator-weex/pull/2002
-
-* JsEngine multi-threaded
- * The jss sub-process adds I/O Thread, which is specially used to handle IPC message forwarding. Move the IPC operation originally attached to jsThread to I/O Thread.
- * The jss sub-process adds a JSThread to execute the tag. The page instance for use_back_thread=true holds a VM for each thread, independent of each other. The two threads do not interfere with each other, so that they can run in parallel.
-
-* ***Major change** Remove AutoConfigScan
- * Pull Request: https://github.com/apache/incubator-weex/pull/2142
-
-* Throws the exception in the componentHooks callback and hands it over to the client.
- * Pull Request: https://github.com/apache/incubator-weex/pull/2285
-
-* Add completion callback for registerService.
- * Pull Request: https://github.com/apache/incubator-weex/pull/1776
-
-* Supprot devtool show the new performance info
- * Pull Request : <https://github.com/apache/incubator-weex/pull/1751>
-
-* Support change device width and height by external interface
- * Pull Request: <https://github.com/apache/incubator-weex/pull/2263>
-
-## Bugfix
-* Emoji not show on Android 9.0(init)
- * Emoji not show on Android 9.0(init)
- * Pull Request: https://github.com/apache/incubator-weex/pull/1804/files
-
-* Support ontouch event on scroller component
- * Pull Request: https://github.com/apache/incubator-weex/pull/1896
-
-* Fix NPE && No such Element Exception
- * Pull Request: https://github.com/apache/incubator-weex/pull/1896
-
-* Bugfix java.lang.NullPointerException: println needs a message
- * Pull Request: https://github.com/apache/incubator-weex/pull/1925
-
-* ignore fixed element for interactionTime
- * Pull Request:https://github.com/apache/incubator-weex/pull/1900
-
-* Use JSON to find bundleType
- * Pull Request:https://github.com/apache/incubator-weex/pull/1927
-
-* Upload attribute information if list's column count equals or smaller than 0
- * Pull Request: https://github.com/apache/incubator-weex/pull/1957/files
-
-* try to fix threadpool rejectexception cause shutdown
- * Pull Request:https://github.com/apache/incubator-weex/pull/2001
-
-* try to fix js exception: scroll event.xxx undefined
- * Pull Request: https://github.com/apache/incubator-weex/pull/2034
-
-* fix multithread crash : task excute after instance destroy
- * Pull Request: https://github.com/apache/incubator-weex/pull/2029
\ No newline at end of file
diff --git a/HOW-TO-BUILD.md b/HOW-TO-BUILD.md
index 1c1ce59..a07099f 100644
--- a/HOW-TO-BUILD.md
+++ b/HOW-TO-BUILD.md
@@ -32,7 +32,7 @@ This article was tested in MacOSX system.
This script will build Android and iOS SDKs:
> `$ bash scripts/build_from_source.sh $NDK13_dir $NDK_16dir`
-The `$NDK13_dir` and `$NDK16_dir` should be the directory of NDK 13 and NDK 16, otherwise the Android build would failed.
+The `$NDK18_dir` should be the directory of NDK 18, otherwise the Android build would failed.
This may take a while. After that, you can look in `dist/`, `android/sdk/build/output/` and `ios/sdk/Products` for Web/Android/iOS SDK artifacts.
@@ -61,11 +61,11 @@ Move `min` version to Native SDK folder, which will be used by native SDK build.
check env
- you have gradle installed, see more details about 'how to install gradle' on the [gradle website](https://gradle.org/install).
-- NDK r16 [link](https://developer.android.com/ndk/)
+- [NDK r18](https://developer.android.com/ndk/downloads/older_releases.html)
- edit local.propteries (in `Android` dir)
```
- ndk.dir=/Users/{user}/Library/Android/sdk/ndk-bundle-r16
+ ndk.dir=/Users/{user}/Library/Android/sdk/ndk-bundle-r18
sdk.dir=/Users/{user}/Library/Android/sdk
```
diff --git a/LICENSE b/LICENSE
index d404dba..8cf0003 100644
--- a/LICENSE
+++ b/LICENSE
@@ -246,7 +246,7 @@ This product bundles vuejs v1.0.12, which is available under a
This product bundles Guava v20.0, which is available under a "Apache" license. For details, see https://github.com/google/guava/blob/v20.0/COPYING and following files:
android_sdk/src/main/java/org/apache/taobao/weex/utils/WXDataStructureUtil.java
-This product bundles json11 v1.0.0, which is available under a "MIT" license.For details, see https://github.com/dropbox/json11/tree/v1.0.0 and following files:
+This product bundles json11 v1.0.0, which is available under a "MIT" license. For details, see https://github.com/dropbox/json11/tree/v1.0.0 and following files:
weex_core/Source/third_party/json11/CMakeLists.txt
weex_core/Source/third_party/json11/json11.cc
weex_core/Source/third_party/json11/json11.hpp
@@ -272,195 +272,447 @@ This product bundles json11 v1.0.0, which is available under a "MIT" license.For
* THE SOFTWARE.
*/
-This product bundles chromium v66.0.3344.2, which is available under a "BSD-style" license. For details, see https://github.com/chromium/chromium/blob/66.0.3344.2/third_party/modp_b64/LICENSE and following files:
- weex_core/Source/base/base64/base64.cpp
- weex_core/Source/base/base64/base64.h
- weex_core/Source/base/base64/modp_base64/modp_b64_data.h
- weex_core/Source/base/base64/modp_base64/modp_b64.cc
- weex_core/Source/base/base64/modp_base64/modp_b64.h
- weex_core/Source/base/android/jniprebuild/jni_generator.py
-
- # Copyright (c) 2012 The Chromium Authors. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
+This product bundles chromium v66.0.3344.2, which is available under a "BSD-style" license. For details, see https://github.com/chromium/chromium/blob/66.0.3344.2/ and following files:
+ modp_b64:
+ The following files are copied from https://github.com/chromium/chromium/tree/master/third_party/modp_b64 and their names are listed below:
+ weex_core/Source/base/base64/modp_base64/modp_b64_data.h
+ weex_core/Source/base/base64/modp_base64/modp_b64.cc
+ weex_core/Source/base/base64/modp_base64/modp_b64.h
+
+ License for above files:
+ * MODP_B64 - High performance base64 encoder/decoder
+ * Version 1.3 -- 17-Mar-2006
+ * http://modp.com/release/base64
+ *
+ * Copyright (c) 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * Neither the name of the modp.com nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ ICU:
+ The following files are copied from https://github.com/chromium/chromium/tree/66.0.3344.2/base/third_party/icu and their names are listed below:
+ weex_core/Source/base/third_party/icu/icu_utf.h
+ weex_core/Source/base/third_party/icu/icu_utf.cpp
+
+ License for above files:
+ /* COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later)
+ *
+ * Copyright © 1991-2017 Unicode, Inc. All rights reserved.
+ * Distributed under the Terms of Use in http://www.unicode.org/copyright.html
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of the Unicode data files and any associated documentation
+ * (the "Data Files") or Unicode software and any associated documentation
+ * (the "Software") to deal in the Data Files or Software
+ * without restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, and/or sell copies of
+ * the Data Files or Software, and to permit persons to whom the Data Files
+ * or Software are furnished to do so, provided that either
+ * (a) this copyright and permission notice appear with all copies
+ * of the Data Files or Software, or
+ * (b) this copyright and permission notice appear in associated
+ * Documentation.
+ *
+ * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+ * ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT OF THIRD PARTY RIGHTS.
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
+ * NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
+ * DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THE DATA FILES OR SOFTWARE.
+ *
+ * Except as contained in this notice, the name of a copyright holder
+ * shall not be used in advertising or otherwise to promote the sale,
+ * use or other dealings in these Data Files or Software without prior
+ * written authorization of the copyright holder.
+ *
+ * ---------------------
+ *
+ * Third-Party Software Licenses
+ *
+ * This section contains third-party software notices and/or additional
+ * terms for licensed third-party software components included within ICU
+ * libraries.
+ *
+ * 1. ICU License - ICU 1.8.1 to ICU 57.1
+ *
+ * COPYRIGHT AND PERMISSION NOTICE
+ *
+ * Copyright (c) 1995-2016 International Business Machines Corporation and others
+ * All rights reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, and/or sell copies of the Software, and to permit persons
+ * to whom the Software is furnished to do so, provided that the above
+ * copyright notice(s) and this permission notice appear in all copies of
+ * the Software and that both the above copyright notice(s) and this
+ * permission notice appear in supporting documentation.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+ * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+ * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY
+ * SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
+ * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
+ * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Except as contained in this notice, the name of a copyright holder
+ * shall not be used in advertising or otherwise to promote the sale, use
+ * or other dealings in this Software without prior written authorization
+ * of the copyright holder.
+ *
+ * All trademarks and registered trademarks mentioned herein are the
+ * property of their respective owners.
+
+ Other files:
+ weex_core/Source/base/android/jniprebuild/jni_generator.py
+
+ The license for this file is below:
+ # Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
This product bundles Android Open Source Project vandroid-4.2.2_r1, which is available under a "BSD" license. For details, see https://android.googlesource.com/platform/bionic/+/android-4.2.2_r1/libc/README and following files:
weex_core/Source/IPC/futex.h
-This product bundles Webkit 2.17.4, which is available under a "BSD 2-clause" license. For details, reference https://webkit.org/licensing-webkit/ for license(Weex only uses the files under BSD license) and see https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.17.4 for following files:
- Files under: weex_core/Source/android/jsengine/dependence/
- OptionsCommon.cmake
- OptionsJSCOnly.cmake
- WeexCommon.cmake
- WeexFS.cmake
- WeexFeatures.cmake
- WeexHelpers.cmake
- WeexMacros.cmake
-
- Files under: weex_core/Source/android/jsengine/dependence/bmalloc
- CMakeLists.txt
- ChangeLog
- Makefile
-
- Files under: weex_core/Source/android/jsengine/dependence/bmalloc/Configurations
- Base.xcconfig
- DebugRelease.xcconfig
- bmalloc.xcconfig
- mbmalloc.xcconfig
-
- Files under: weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc
- Algorithm.h
- Allocator.cpp
- Allocator.h
- AsyncTask.h
- AvailableMemory.cpp
- AvailableMemory.h
- BAssert.h
- BPlatform.h
- BumpAllocator.h
- BumpRange.h
- Cache.cpp
- Cache.h
- Chunk.h
- Deallocator.cpp
- Deallocator.h
- DebugHeap.cpp
- DebugHeap.h
- Environment.cpp
- Environment.h
- FixedVector.h
- Heap.cpp
- Heap.h
- Inline.h
- LargeMap.cpp
- LargeMap.h
- LargeRange.h
- LineMetadata.h
- List.h
- Logging.cpp
- Logging.h
- Map.h
- Mutex.h
- Object.h
- ObjectType.cpp
- ObjectType.h
- PerProcess.h
- PerThread.h
- Range.h
- ScopeExit.h
- Sizes.h
- SmallLine.h
- SmallPage.h
- StaticMutex.cpp
- StaticMutex.h
- Syscall.h
- VMAllocate.h
- VMHeap.cpp
- VMHeap.h
- Vector.h
- Zone.cpp
- Zone.h
- bmalloc.h
- mbmalloc.cpp
-
- Files under: weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc/darwin
- BSoftLinking.h
-
- Files under: weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc.xcodeproj
- project.pbxproj
-
- Files under: weex_core/Source/android/jsengine/dependence/icu
- LICENSE
- README
-
- Files under: weex_core/Source/android/jsengine/dependence/icu/unicode
- localpointer.h
- parseerr.h
- platform.h
- ptypes.h
- putil.h
- ucal.h
- uchar.h
- ucnv.h
- ucnv_err.h
- ucol.h
- uconfig.h
- ucurr.h
- udat.h
- udatpg.h
- udisplaycontext.h
- uenum.h
- uformattable.h
- uiter.h
- uloc.h
- umachine.h
- umisc.h
- unorm.h
- unorm2.h
- unum.h
- unumsys.h
- urename.h
- uscript.h
- uset.h
- ustring.h
- utf.h
- utf16.h
- utf8.h
- utf_old.h
- utypes.h
- uvernum.h
- uversion.h
-
- The copyright for files above is listed below:
+This product bundles Webkit 2.17.4, which is available under a "BSD-style" license. For details, reference https://webkit.org/licensing-webkit/ for license and see https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.17.4 for following files:
+
+ Bmalloc in WebKit:
+ weex_core/Source/android/jsengine/dependence/bmalloc:
+ CMakeLists.txt
+ ChangeLog
+ Makefile
+
+ weex_core/Source/android/jsengine/dependence/bmalloc/Configurations:
+ Base.xcconfig
+ DebugRelease.xcconfig
+ bmalloc.xcconfig
+ mbmalloc.xcconfig
+
+ weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc:
+ Algorithm.h
+ Allocator.cpp
+ Allocator.h
+ AsyncTask.h
+ AvailableMemory.cpp
+ AvailableMemory.h
+ BAssert.h
+ BPlatform.h
+ BumpAllocator.h
+ BumpRange.h
+ Cache.cpp
+ Cache.h
+ Chunk.h
+ Deallocator.cpp
+ Deallocator.h
+ DebugHeap.cpp
+ DebugHeap.h
+ Environment.cpp
+ Environment.h
+ FixedVector.h
+ Heap.cpp
+ Heap.h
+ Inline.h
+ LargeMap.cpp
+ LargeMap.h
+ LargeRange.h
+ LineMetadata.h
+ List.h
+ Logging.cpp
+ Logging.h
+ Map.h
+ Mutex.h
+ Object.h
+ ObjectType.cpp
+ ObjectType.h
+ PerProcess.h
+ PerThread.h
+ Range.h
+ ScopeExit.h
+ Sizes.h
+ SmallLine.h
+ SmallPage.h
+ StaticMutex.cpp
+ StaticMutex.h
+ Syscall.h
+ VMAllocate.h
+ VMHeap.cpp
+ VMHeap.h
+ Vector.h
+ Zone.cpp
+ Zone.h
+ bmalloc.h
+ mbmalloc.cpp
+
+ weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc/darwin:
+ BSoftLinking.h
+
+ weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc.xcodeproj:
+ project.pbxproj
+
+ ICU in WebKit:
+ weex_core/Source/android/jsengine/dependence/icu:
+ LICENSE
+ README
+
+ weex_core/Source/android/jsengine/dependence/icu/unicode:
+ localpointer.h
+ parseerr.h
+ platform.h
+ ptypes.h
+ putil.h
+ ucal.h
+ uchar.h
+ ucnv.h
+ ucnv_err.h
+ ucol.h
+ uconfig.h
+ ucurr.h
+ udat.h
+ udatpg.h
+ udisplaycontext.h
+ uenum.h
+ uformattable.h
+ uiter.h
+ uloc.h
+ umachine.h
+ umisc.h
+ unorm.h
+ unorm2.h
+ unum.h
+ unumsys.h
+ urename.h
+ uscript.h
+ uset.h
+ ustring.h
+ utf.h
+ utf16.h
+ utf8.h
+ utf_old.h
+ utypes.h
+ uvernum.h
+ uversion.h
+
+ JavaScriptCore in WebKit:
+ weex_core/Source/include/JavaScriptCore/API:
+ APICallbackFunction.h
+ APICast.h
+ APIUtils.h
+ JSAPIWrapperObject.h
+ JSBase.h
+ JSBasePrivate.h
+ JSCTestRunnerUtils.h
+ JSCallbackConstructor.h
+ JSCallbackFunction.h
+ JSCallbackObject.h
+ JSCallbackObjectFunctions.h
+ JSClassRef.h
+ JSContext.h
+ JSContextInternal.h
+ JSContextPrivate.h
+ JSContextRef.h
+ JSContextRefInspectorSupport.h
+ JSContextRefInternal.h
+ JSContextRefPrivate.h
+ JSExport.h
+ JSManagedValue.h
+ JSManagedValueInternal.h
+ JSObjectRef.h
+ JSObjectRefPrivate.h
+ JSRemoteInspector.h
+ JSRetainPtr.h
+ JSScriptRefPrivate.h
+ JSStringRef.h
+ JSStringRefBSTR.h
+ JSStringRefCF.h
+ JSStringRefPrivate.h
+ JSTypedArray.h
+ JSValue.h
+ JSValueInternal.h
+ JSValueRef.h
+ JSVirtualMachine.h
+ JSVirtualMachineInternal.h
+ JSWeakObjectMapRefInternal.h
+ JSWeakObjectMapRefPrivate.h
+ JSWrapperMap.h
+ JavaScript.h
+ JavaScriptCore.h
+ ObjCCallbackFunction.h
+ ObjcRuntimeExtras.h
+ OpaqueJSString.h
+ WebKitAvailability.h
+
+ weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore:
+ APICast.h
+ JSBase.h
+ JSCTestRunnerUtils.h
+ JSContextRef.h
+ JSObjectRef.h
+ JSObjectRefPrivate.h
+ JSRetainPtr.h
+ JSStringRef.h
+ JSStringRefCF.h
+ JSTypedArray.h
+ JSValueRef.h
+ JavaScript.h
+ JavaScriptCore.h
+ OpaqueJSString.h
+ WebKitAvailability.h
+
+ Other files in Webkit:
+ weex_core/Source/android/jsengine/dependence:
+ OptionsCommon.cmake
+ OptionsJSCOnly.cmake
- COPYRIGHT AND PERMISSION NOTICE
-
- Copyright (c) 1995-2006 International Business Machines Corporation and others
-
- All rights reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy of this
- software and associated documentation files (the "Software"), to deal in the Software
- without restriction, including without limitation the rights to use, copy, modify,
- merge, publish, distribute, and/or sell copies of the Software, and to permit persons
- to whom the Software is furnished to do so, provided that the above copyright notice(s)
- and this permission notice appear in all copies of the Software and that both the above
- copyright notice(s) and this permission notice appear in supporting documentation.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
- INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
- PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER
- OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
- CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
- PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
- OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
- Except as contained in this notice, the name of a copyright holder shall not be used in
- advertising or otherwise to promote the sale, use or other dealings in this Software
- without prior written authorization of the copyright holder.
-
-
- /*
- * Copyright (C) 2016 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
\ No newline at end of file
+ The copyright for files above is listed below:
+ weex_core/Source/android/jsengine/dependence/icu:
+ COPYRIGHT AND PERMISSION NOTICE
+
+ Copyright (c) 1995-2006 International Business Machines Corporation and others
+
+ All rights reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this
+ software and associated documentation files (the "Software"), to deal in the Software
+ without restriction, including without limitation the rights to use, copy, modify,
+ merge, publish, distribute, and/or sell copies of the Software, and to permit persons
+ to whom the Software is furnished to do so, provided that the above copyright notice(s)
+ and this permission notice appear in all copies of the Software and that both the above
+ copyright notice(s) and this permission notice appear in supporting documentation.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+ PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER
+ OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
+ CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
+ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
+ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+ Except as contained in this notice, the name of a copyright holder shall not be used in
+ advertising or otherwise to promote the sale, use or other dealings in this Software
+ without prior written authorization of the copyright holder.
+
+ weex_core/Source/include/JavaScriptCore:
+
+ /*
+ * Copyright (C) 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
+ * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2006, 2008, 2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2006-2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2008, 2009, 2010, 2014 Apple Inc. All Rights Reserved.
+ * Copyright (C) 2009 Apple Inc. All rights reserved.
+ * Copyright (C) 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
+ * Copyright (C) 2013, 2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2013, 2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2007 Eric Seidel <er...@webkit.org>
+ * Copyright (C) 2007 Eric Seidel <er...@webkit.org>
+ * Copyright (C) 2008 Alp Toker <al...@atoker.com>
+ * Copyright (C) 2008 Kelvin W Sherlock (ksherlock@gmail.com)
+ * Copyright (C) 2015 Dominic Szablewski (dominic@phoboslab.org)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ weex_core/Source/android/jsengine/dependence/bmalloc:
+
+ /*
+ * Copyright (C) 2007, 2008, 2011-2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2012-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2014, 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2014, 2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2014-2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+This product bundles files from Boost under "Boost Software License". For more details, reference http://www.boost.org/LICENSE_1_0.txt
+ weex_core/Source/js_runtime/utils/base64.hpp
+
+ //
+ // Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
+ //
+ // Distributed under the Boost Software License, Version 1.0. (See accompanying
+ // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ //
diff --git a/android/playground/app/src/main/java/com/alibaba/weex/WXApplication.java b/android/playground/app/src/main/java/com/alibaba/weex/WXApplication.java
index c155743..b5f6b3d 100644
--- a/android/playground/app/src/main/java/com/alibaba/weex/WXApplication.java
+++ b/android/playground/app/src/main/java/com/alibaba/weex/WXApplication.java
@@ -87,8 +87,8 @@ public class WXApplication extends Application {
if(!TextUtils.isEmpty(BuildConfig.externalLibraryName)){
builder.addNativeLibrary(BuildConfig.externalLibraryName);
}
- WXSDKEngine.initialize(this, builder.build());
WXSDKManager.getInstance().setWxConfigAdapter(new DefaultConfigAdapter());
+ WXSDKEngine.initialize(this, builder.build());
WXSDKManager.getInstance().addWXAnalyzer(new WXAnalyzerDemoListener());
WXAnalyzerDataTransfer.isOpenPerformance = false;
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index c68cec5..b3c7201 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -117,6 +117,8 @@ android {
def android_project_dir = projectDir
+ def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : true
+
defaultConfig {
buildConfigField "String", "buildJavascriptFrameworkVersion", "\"${jsfmVersion}\""
buildConfigField "String", "buildVersion", "\"${version}\""
@@ -129,7 +131,7 @@ android {
versionName project.version
ndk {
if(!project.hasProperty('supportArmeabi-v7a') || "false" != project.getProperty('supportArmeabi-v7a')){
- abiFilters 'arm64-v8a'
+ abiFilters 'armeabi-v7a'
}
if(!project.hasProperty('supportArm64-v8a') || "false" != project.getProperty('supportArm64-v8a')){
@@ -147,7 +149,8 @@ android {
'-DANDROID_STL=' + "${cxx_stl}",
'-DCMAKE_BUILD_TYPE=Release',
'-DANDROID_PROJECT_DIR=' + "${android_project_dir}",
- '-DENABLE_ASAN=false'
+ '-DENABLE_ASAN=false',
+ '-DBUILD_RUNTIME_API='+"${buildRuntimeApi}"
}
}
}
@@ -228,34 +231,34 @@ dependencies {
testImplementation 'org.json:json:20160212'
}
- if(file('../license/LICENSE').exists()){
- license {
- header = file('../license/LICENSE')
- mapping('cpp','JAVADOC_STYLE')
- mapping('h','JAVADOC_STYLE')
- excludes(['com/taobao/weex/utils/WXDataStructureUtil.java'])
- }
-
- task weex_core_license(type: com.hierynomus.gradle.license.tasks.LicenseFormat){
- source = fileTree(dir:"../../weex_core").include(['**/*.h','**/*.cpp', '**/*.cc', '**/*.c']).
- exclude(['Source/rapidjson/**/*.h','Source/rapidjson/**/*.cpp',
- 'Source/android/base/base64/**/*.h','Source/android/base/base64/**/*.cpp',
- 'Source/android/jniprebuild/jniheader/*.h',
- 'Source/base/Compatible.cpp',
- 'Source/IPC/**/*.h','Source/IPC/**/*.cpp', 'Source/IPC/**/*.c',
- 'Source/base/third_party/icu/*.h',
- 'Source/base/third_party/icu/*.cpp',
- 'Source/android/jsengine/dependence/**/*.h',
- 'Source/android/jsengine/dependence/**/*.cpp',
- 'Source/include/wtf/**/*.h',
- 'Source/include/wtf/**/*.c',
- 'Source/include/wtf/**/*.cpp',
- 'Source/include/JavaScriptCore/**/*.h',
- 'Source/include/JavaScriptCore/**/*.c',
- 'Source/include/JavaScriptCore/**/*.cpp'])
- }
- preBuild.dependsOn licenseFormat
- }
+if(file('../license/LICENSE').exists()){
+ license {
+ header = file('../license/LICENSE')
+ mapping('cpp','JAVADOC_STYLE')
+ mapping('h','JAVADOC_STYLE')
+ excludes(['com/taobao/weex/utils/WXDataStructureUtil.java'])
+ }
+
+ task weex_core_license(type: com.hierynomus.gradle.license.tasks.LicenseFormat){
+ source = fileTree(dir:"../../weex_core").include(['**/*.h','**/*.cpp', '**/*.cc', '**/*.c']).
+ exclude(['Source/rapidjson/**/*.h','Source/rapidjson/**/*.cpp',
+ 'Source/android/base/base64/**/*.h','Source/android/base/base64/**/*.cpp',
+ 'Source/android/jniprebuild/jniheader/*.h',
+ 'Source/base/Compatible.cpp',
+ 'Source/IPC/**/*.h','Source/IPC/**/*.cpp', 'Source/IPC/**/*.c',
+ 'Source/base/third_party/icu/*.h',
+ 'Source/base/third_party/icu/*.cpp',
+ 'Source/android/jsengine/dependence/**/*.h',
+ 'Source/android/jsengine/dependence/**/*.cpp',
+ 'Source/include/wtf/**/*.h',
+ 'Source/include/wtf/**/*.c',
+ 'Source/include/wtf/**/*.cpp',
+ 'Source/include/JavaScriptCore/**/*.h',
+ 'Source/include/JavaScriptCore/**/*.c',
+ 'Source/include/JavaScriptCore/**/*.cpp'])
+ }
+ preBuild.dependsOn licenseFormat
+}
task checkNdkVersion() {
def rootDir = project.rootDir
diff --git a/android/sdk/build_jss_r.sh b/android/sdk/build_jss_r.sh
new file mode 100755
index 0000000..7334cd3
--- /dev/null
+++ b/android/sdk/build_jss_r.sh
@@ -0,0 +1,24 @@
+echo "--> # buils jsc_runtime so"
+
+
+../gradlew assembleRelease -PbuildRuntimeApi=true
+
+
+echo "--> ## cp jss_runtime so"
+
+unzip -o build/outputs/aar/weex_sdk-release.aar -d build/outputs/aar/weex_sdk-release
+
+
+cp build/outputs/aar/weex_sdk-release/jni/armeabi-v7a/libweexjss.so libs/armeabi-v7a/libweexjssr.so
+cp build/outputs/aar/weex_sdk-release/jni/arm64-v8a/libweexjss.so libs/arm64-v8a/libweexjssr.so
+cp build/outputs/aar/weex_sdk-release/jni/x86/libweexjss.so libs/x86/libweexjssr.so
+
+
+echo "--> ## cp jss_runtime Symbol so"
+
+rm -rf unstrippedSo
+mkdir unstrippedSo
+
+cp build/unstrippedSo/armeabi-v7a_libweexjss.so unstrippedSo/armeabi-v7a_libweexjssr.so
+cp build/unstrippedSo/arm64-v8a_libweexjss.so unstrippedSo/arm64-v8a_libweexjssr.so
+cp build/unstrippedSo/x86_libweexjss.so unstrippedSo/x86_libweexjssr.so
\ No newline at end of file
diff --git a/android/sdk/libs/arm64-v8a/libJavaScriptCore.so b/android/sdk/libs/arm64-v8a/libJavaScriptCore.so
index 56307f0..7f33280 100755
Binary files a/android/sdk/libs/arm64-v8a/libJavaScriptCore.so and b/android/sdk/libs/arm64-v8a/libJavaScriptCore.so differ
diff --git a/android/sdk/libs/armeabi-v7a/libJavaScriptCore.so b/android/sdk/libs/armeabi-v7a/libJavaScriptCore.so
index 2d59099..d6b471c 100755
Binary files a/android/sdk/libs/armeabi-v7a/libJavaScriptCore.so and b/android/sdk/libs/armeabi-v7a/libJavaScriptCore.so differ
diff --git a/android/sdk/libs/x86/libJavaScriptCore.so b/android/sdk/libs/x86/libJavaScriptCore.so
index e41d979..3cdfd01 100755
Binary files a/android/sdk/libs/x86/libJavaScriptCore.so and b/android/sdk/libs/x86/libJavaScriptCore.so differ
diff --git a/android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java b/android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java
index fbacaa6..2ed60bd 100644
--- a/android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java
+++ b/android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java
@@ -89,6 +89,8 @@ public class WXEnvironment {
public static boolean AUTO_UPDATE_APPLICATION_SCREEN_SIZE = true;
+ public static volatile boolean sUseRunTimeApi = false;
+
/**
* Debug model
*/
@@ -137,6 +139,8 @@ public class WXEnvironment {
private static String CORE_JSS_SO_PATH = null;
+ public static String CORE_JSS_RUNTIME_SO_PATH = null;
+
private static String CORE_JSS_ICU_PATH = null;
private static String CORE_JSC_SO_PATH = null;
@@ -528,9 +532,14 @@ public class WXEnvironment {
}
public static String getLibJssRealPath() {
+ if (WXEnvironment.sUseRunTimeApi && !TextUtils.isEmpty(CORE_JSS_RUNTIME_SO_PATH)){
+ WXLogUtils.e("test-> findLibJssRuntimeRealPath " + CORE_JSS_RUNTIME_SO_PATH);
+ return CORE_JSS_RUNTIME_SO_PATH;
+ }
+
if(TextUtils.isEmpty(CORE_JSS_SO_PATH)) {
CORE_JSS_SO_PATH = findSoPath(CORE_JSS_SO_NAME);
- WXLogUtils.e("findLibJssRealPath " + CORE_JSS_SO_PATH);
+ WXLogUtils.e("test-> findLibJssRealPath " + CORE_JSS_SO_PATH);
}
return CORE_JSS_SO_PATH;
diff --git a/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java b/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
index 1f00b4f..aa4e01a 100644
--- a/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
+++ b/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
@@ -223,6 +223,7 @@ public class WXSDKEngine implements Serializable {
final IWXUserTrackAdapter userTrackAdapter= config!=null?config.getUtAdapter():null;
final int version = 1;
mIsSoInit = WXSoInstallMgrSdk.initSo(V8_SO_NAME, version, userTrackAdapter);
+ WXSoInstallMgrSdk.copyJssRuntimeSo();
if(config!=null) {
for (String libraryName : config.getNativeLibraryList()) {
WXSoInstallMgrSdk.initSo(libraryName, version, userTrackAdapter);
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
index f9958cf..758d4d1 100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
@@ -2184,6 +2184,11 @@ public class WXBridgeManager implements Callback, BactchExecutor {
customOptions.put("enableBackupThreadCache", String.valueOf(wxJscProcessManager.enableBackUpThreadCache()));
}
+ if (!WXEnvironment.sUseRunTimeApi){
+ customOptions.put("__enable_native_promise__","true");
+ }
+
+
wxParams.setOptions(customOptions);
wxParams.setNeedInitV8(WXSDKManager.getInstance().needInitV8());
mInitParams = wxParams;
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
index 657b21a..9b2ad2a 100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
@@ -18,6 +18,7 @@
*/
package com.taobao.weex.bridge;
+import com.taobao.weex.WXEnvironment;
import com.taobao.weex.base.CalledByNative;
import com.taobao.weex.utils.WXLogUtils;
@@ -244,6 +245,11 @@ public class WXParams implements Serializable {
this.libLdPath = libLdPath;
}
+ @CalledByNative
+ public String getUseRunTimeApi() {
+ return String.valueOf(WXEnvironment.sUseRunTimeApi);
+ }
+
public Map<String, Object> toMap() {
HashMap<String, Object> map = new HashMap<>();
map.put("appName", appName);
@@ -266,6 +272,8 @@ public class WXParams implements Serializable {
map.put("libIcuPath", libIcuPath);
map.put("libLdPath", libLdPath);
map.put("options", options);
+ map.put("useRunTimeApi",WXEnvironment.sUseRunTimeApi);
+ map.put("__enable_native_promise__",!WXEnvironment.sUseRunTimeApi);
return map;
}
}
diff --git a/android/sdk/src/main/java/com/taobao/weex/performance/WXInstanceApm.java b/android/sdk/src/main/java/com/taobao/weex/performance/WXInstanceApm.java
index bfe7057..d97759a 100644
--- a/android/sdk/src/main/java/com/taobao/weex/performance/WXInstanceApm.java
+++ b/android/sdk/src/main/java/com/taobao/weex/performance/WXInstanceApm.java
@@ -321,6 +321,7 @@ public class WXInstanceApm {
addProperty(KEY_PAGE_PROPERTIES_UIKIT_TYPE, instance.getRenderType());
}
+ addProperty("wxUseRuntimeApi",WXEnvironment.sUseRunTimeApi);
if (instance != null && (instance.getRenderStrategy() == WXRenderStrategy.DATA_RENDER
|| instance.getRenderStrategy() == WXRenderStrategy.DATA_RENDER_BINARY)) {
addProperty(KEY_PAGE_PROPERTIES_RENDER_TYPE, WXEnvironment.EAGLE);
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXExceptionUtils.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXExceptionUtils.java
index 0cf3e43..1bf7d7f 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXExceptionUtils.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXExceptionUtils.java
@@ -156,10 +156,11 @@ public class WXExceptionUtils {
Map<String, String> commitMap = extParams;
if (null == commitMap){
commitMap = new HashMap<>();
- commitMap.put("wxSdkInitStartTime", String.valueOf(WXEnvironment.sSDKInitStart));
- commitMap.put("wxSDKInitCostTime", String.valueOf(WXEnvironment.sSDKInitTime));
- commitMap.put("wxSDKCurExceptionTime", String.valueOf(System.currentTimeMillis()));
}
+ commitMap.put("wxSdkInitStartTime", String.valueOf(WXEnvironment.sSDKInitStart));
+ commitMap.put("wxSDKInitCostTime", String.valueOf(WXEnvironment.sSDKInitTime));
+ commitMap.put("wxSDKCurExceptionTime", String.valueOf(System.currentTimeMillis()));
+ commitMap.put("wxUseRuntimeApi",String.valueOf(WXEnvironment.sUseRunTimeApi));
if (!TextUtils.isEmpty(instanceId)) {
instanceIdCommit = instanceId;
instance = WXSDKManager.getInstance().getAllInstanceMap().get(instanceId);
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXFileUtils.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXFileUtils.java
index 530bea8..82a4efa 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXFileUtils.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXFileUtils.java
@@ -24,6 +24,7 @@ import android.util.Base64;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
+import java.io.Closeable;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
@@ -266,4 +267,33 @@ public class WXFileUtils {
}
}
+ public static void copyFileWithException(File oldFile,File newFile ) throws Exception{
+ FileInputStream inputStream = null;
+ FileOutputStream outputStream = null;
+ try {
+ inputStream = new FileInputStream(oldFile);
+ byte[] data = new byte[1024];
+ outputStream = new FileOutputStream(newFile);
+ while (inputStream.read(data) != -1) {
+ outputStream.write(data);
+ }
+ }catch (Exception e){
+ throw e;
+ }finally {
+ closeIo(inputStream);
+ closeIo(outputStream);
+ }
+ }
+
+ public static void closeIo(Closeable c){
+ if (null == c){
+ return;
+ }
+ try {
+ c.close();
+ }catch (Throwable e){
+ e.printStackTrace();
+ }
+ }
+
}
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
index d870ef3..2bfc9f0 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
@@ -19,8 +19,11 @@
package com.taobao.weex.utils;
import android.content.Context;
+import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
+import android.content.pm.PackageInfo;
import android.os.Build;
+import android.preference.PreferenceManager;
import android.text.TextUtils;
import android.util.Log;
@@ -133,7 +136,7 @@ public class WXSoInstallMgrSdk {
System.loadLibrary("c++_shared");
}
} catch (Exception e) {
-
+ e.printStackTrace();
}
/**
@@ -304,6 +307,60 @@ public class WXSoInstallMgrSdk {
}
}
+ public static void copyJssRuntimeSo(){
+ boolean tryUseRunTimeApi = WXUtils.checkGreyConfig("wxapm","use_runtime_api","100");
+ WXLogUtils.e("weex", "tryUseRunTimeApi ? "+ tryUseRunTimeApi);
+ if (!tryUseRunTimeApi){
+ return;
+ }
+ try {
+ WXLogUtils.e("weex", "copyJssRuntimeSo: ");
+ Context c = WXEnvironment.getApplication();
+ String pkgName = c.getPackageName();
+ String toPath = "/data/data/" + pkgName + "/weex";
+ String cachePath = WXEnvironment.getApplication().getApplicationContext().getCacheDir().getPath();
+ if (cachePath != null && cachePath.indexOf("/cache") > 0) {
+ toPath = cachePath.replace("/cache", "/weex/libs");
+ }
+ File dir = new File(toPath);
+ if (!dir.exists()){
+ dir.mkdirs();
+ }
+ File targetFile = new File(toPath,"libweexjss.so");
+
+ /** 1. check so and versionCode. if update, then rm old jss.so(runtime) in pkg/libs, and copy new so from apk **/
+ String keyVersionCode = "app_version_code_weex";
+ SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(c);
+ PackageInfo info = c.getPackageManager().getPackageInfo(c.getPackageName(), 0);
+ if (targetFile.exists()){
+ if (prefs.getInt(keyVersionCode,-1) < info.versionCode){
+ targetFile.delete();
+ }else {
+ WXEnvironment.CORE_JSS_RUNTIME_SO_PATH= targetFile.getAbsolutePath();
+ WXEnvironment.sUseRunTimeApi = true;
+ WXLogUtils.e("weex", "copyJssRuntimeSo exist: return");
+ return;
+ }
+ }
+ /** 2. copy jss(runtime) so **/
+ String fromPath = ((PathClassLoader) (WXSoInstallMgrSdk.class.getClassLoader())).findLibrary("weexjssr");
+ if (TextUtils.isEmpty(fromPath)){
+ return;
+ }
+ targetFile.createNewFile();
+ WXFileUtils.copyFileWithException(new File(fromPath),targetFile);
+ /**3. update flag **/
+ WXEnvironment.CORE_JSS_RUNTIME_SO_PATH= targetFile.getAbsolutePath();
+ prefs.edit().putInt(keyVersionCode,info.versionCode).apply();
+ WXEnvironment.sUseRunTimeApi = true;
+ WXLogUtils.e("weex", "copyJssRuntimeSo: cp end and return ");
+ }catch (Throwable e){
+ e.printStackTrace();
+ WXEnvironment.sUseRunTimeApi = false;
+ WXLogUtils.e("weex", "copyJssRuntimeSo: exception" + e);
+ }
+ }
+
private static String _getFieldReflectively(Build build, String fieldName) {
try {
final Field field = Build.class.getField(fieldName);
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXUtils.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXUtils.java
index 1ec0246..44fe49e 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXUtils.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXUtils.java
@@ -26,7 +26,10 @@ import android.os.SystemClock;
import android.support.annotation.Nullable;
import android.support.v4.util.LruCache;
import android.text.TextUtils;
+import android.util.Log;
import com.taobao.weex.WXEnvironment;
+import com.taobao.weex.WXSDKManager;
+import com.taobao.weex.adapter.IWXConfigAdapter;
import com.taobao.weex.common.Constants;
import com.taobao.weex.common.WXConfig;
@@ -430,8 +433,8 @@ public class WXUtils {
ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
ActivityManager.MemoryInfo mi = new ActivityManager.MemoryInfo();
am.getMemoryInfo(mi);
- //mi.availMem; 当前系统的可用内存
- //return Formatter.formatFileSize(context, mi.availMem);// 将获取的内存大小规格化
+ //mi.availMem;
+ //return Formatter.formatFileSize(context, mi.availMem);
WXLogUtils.w("app AvailMemory ---->>>"+mi.availMem/(1024*1024));
return mi.availMem/(1024*1024);
}
@@ -569,6 +572,22 @@ public class WXUtils {
}catch (Exception e){return defaultValue;}
}
+ public static boolean checkGreyConfig(String group,String key,String defaultValue){
+ IWXConfigAdapter configAdapter = WXSDKManager.getInstance().getWxConfigAdapter();
+ if (null == configAdapter) {
+ return false;
+ }
+ double randomValue = Math.random() * 100;
+ double max = 100;
+ try {
+ String configValue = configAdapter.getConfig(group, key, defaultValue);
+ max = Double.valueOf(configValue);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return randomValue < max;
+ }
+
private static final long sInterval = System.currentTimeMillis() - SystemClock.uptimeMillis();
public static long getFixUnixTime(){
diff --git a/dangerfile.js b/dangerfile.js
index 8376cfa..f8d2245 100644
--- a/dangerfile.js
+++ b/dangerfile.js
@@ -246,7 +246,11 @@ const ignoreCopyrightVerifyPath = [
'ios/playground/bundlejs',
'ios/sdk/WeexSDK/Resources',
'ios/sdk/WeexSDK/Sources/Layout',
- 'ios/sdk/WeexSDK/dependency/SRWebSocket'
+ 'ios/sdk/WeexSDK/dependency/SRWebSocket',
+ 'weex_core/Source/include/JavaScriptCore',
+ 'weex_core/Source/include/wtf',
+ 'weex_core/Source/base/third_party/icu',
+ 'weex_core/Source/base/base64/modp_base64'
]
console.log('copyright_header_components')
@@ -259,6 +263,7 @@ filesToVerifySrcHeader.forEach(filepath => {
const content = fs.readFileSync(filepath).toString();
for (const line of copyright_header_components) {
if (!content.match(new RegExp(line))) {
+ console.error("Code file "+ filepath +" does not have the copyright header.");
fail("Code file "+ filepath +" does not have the copyright header.");
return;
}
diff --git a/pre-build/weex-main-jsfm.js b/pre-build/weex-main-jsfm.js
index c6b4dc1..ddceb30 100644
--- a/pre-build/weex-main-jsfm.js
+++ b/pre-build/weex-main-jsfm.js
@@ -1,2 +1,2 @@
-(this.nativeLog||function(e){console.log(e)})("Start JS Framework 0.29.6, Build at 2019-04-08 17:04. (Vue: 2.5.16-weex.5, Rax: 0.4.20)");var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";var t,c,r,l;function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={ex [...]
-//# sourceMappingURL=weex-js-framework.min.js.map
+(this.nativeLog||function(e){console.log(e)})("Start JS Framework 0.29.7, Build at 2019-06-10 17:34. (Vue: 2.5.16-weex.5, Rax: 0.4.20)");var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";var t,c,r,l;function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={ex [...]
+//# sourceMappingURL=weex-js-framework.min.js.map
\ No newline at end of file
diff --git a/scripts/build_from_source.sh b/scripts/build_from_source.sh
index 4975a06..de67740 100755
--- a/scripts/build_from_source.sh
+++ b/scripts/build_from_source.sh
@@ -74,7 +74,7 @@ then
echo 'include ":android_sdk"'>settings.gradle
echo "ndk.dir=$2">local.properties
- ./gradlew :android_sdk:clean :android_sdk:assembleRelease -PignoreVersionCheck="true"
+ ./gradlew :android_sdk:clean :android_sdk:assembleRelease -PignoreVersionCheck="true" -PbuildRuntimeApi=true
cp android_sdk/.externalNativeBuild/cmake/release/armeabi/Source/android/jsengine/libweexjsb.so android_sdk/libs/armeabi
cp android_sdk/.externalNativeBuild/cmake/release/armeabi/Source/android/jsengine/libweexjst.so android_sdk/libs/armeabi
diff --git a/scripts/publish_release_official.sh b/scripts/publish_release_official.sh
index d13047f..8b3c883 100755
--- a/scripts/publish_release_official.sh
+++ b/scripts/publish_release_official.sh
@@ -60,6 +60,6 @@ release-it --no-npm --no-git.commit --no-git.requireCleanWorkingDir --git.tagNam
# Publish Android to JCenter
cd android
-./gradlew clean install bintray -PignoreVersionCheck="true" -Pweexversion="$1" -PbintrayUser=alibabaweex -PbintrayApiKey="$6"
+./gradlew clean install bintray -PbuildRuntimeApi=true -PignoreVersionCheck="true" -Pweexversion="$1" -PbintrayUser=alibabaweex -PbintrayApiKey="$6"
# Publish iOS to Cocoapods
\ No newline at end of file
diff --git a/scripts/release_files.rules b/scripts/release_files.rules
index 6f6f728..02e8b0f 100644
--- a/scripts/release_files.rules
+++ b/scripts/release_files.rules
@@ -53,6 +53,13 @@
- weex_core/Source/base/android/jniprebuild/jni_files
- weex_core/Source/base/android/jniprebuild/jni_generator.py
- weex_core/Source/base/android/jniprebuild/prebuild.sh
++ /weex_core/Source/include/JavaScriptCore/API/
++ /weex_core/Source/include/JavaScriptCore/API/**
++ /weex_core/Source/include/JavaScriptCore/ForwardingHeaders/
++ /weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/
++ /weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/**
+- /weex_core/Source/include/JavaScriptCore/**
+- /weex_core/Source/include/wtf/
+ /weex_core
+ /weex_core/CMakeLists.txt
+ /weex_core/Source
diff --git a/weex_core/Source/CMakeLists.txt b/weex_core/Source/CMakeLists.txt
index 5f42847..ba42a89 100644
--- a/weex_core/Source/CMakeLists.txt
+++ b/weex_core/Source/CMakeLists.txt
@@ -97,6 +97,7 @@ set(COMMON_SRCS
./core/bridge/platform/core_side_in_platform.cpp
./core/bridge/script/core_side_in_script.cpp
./core/parser/dom_wson.cpp
+ ./core/parser/action_args_check.cpp
./core/network/http_module.cc
)
@@ -115,7 +116,20 @@ if(ANDROID)
add_definitions(-DOS_ANDROID=1)
## add_subdirectory for subdirectory has a CMakeLists.txt
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/third_party/IPC)
- add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/android/jsengine)
+
+
+ message("check build jsc BUILD_RUNTIME_API flag: ${BUILD_RUNTIME_API}")
+ if ("${BUILD_RUNTIME_API}" STREQUAL "true")
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/js_runtime)
+ message("cmake build jsApi for runtime")
+ else()
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/android/jsengine)
+ message("cmake build jsApi for jsc")
+ endif()
+
+
+
+
## include_directories for include head file
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party/IPC)
diff --git a/weex_core/Source/android/jsengine/bridge/script/core_side_in_multi_process.cpp b/weex_core/Source/android/jsengine/bridge/script/core_side_in_multi_process.cpp
index 4590ebb..6c0f0d8 100644
--- a/weex_core/Source/android/jsengine/bridge/script/core_side_in_multi_process.cpp
+++ b/weex_core/Source/android/jsengine/bridge/script/core_side_in_multi_process.cpp
@@ -319,10 +319,15 @@ namespace weex {
// }
if (result->getType() != IPCType::VOID) {
if (result->getStringLength() > 0) {
+#ifdef USE_JS_RUNTIME
+ return jString2String(result->getStringContent(),
+ result->getStringLength()).c_str();
+#else
return jString2String(result->getStringContent(),
result->getStringLength())
.utf8()
.data();
+#endif
}
}
} catch (IPCException &e) {
@@ -391,10 +396,15 @@ namespace weex {
// }
if (result->getType() != IPCType::VOID) {
if (result->getStringLength() > 0) {
+#ifdef USE_JS_RUNTIME
+ return jString2String(result->getStringContent(),
+ result->getStringLength()).c_str();
+#else
return jString2String(result->getStringContent(),
result->getStringLength())
.utf8()
.data();
+#endif
}
}
return nullptr;
diff --git a/weex_core/Source/android/jsengine/bridge/script/core_side_in_simple.cpp b/weex_core/Source/android/jsengine/bridge/script/core_side_in_simple.cpp
index 368b21d..255328a 100644
--- a/weex_core/Source/android/jsengine/bridge/script/core_side_in_simple.cpp
+++ b/weex_core/Source/android/jsengine/bridge/script/core_side_in_simple.cpp
@@ -27,6 +27,8 @@
#include "core/manager/weex_core_manager.h"
#include "core/render/manager/render_manager.h"
#include "third_party/IPC/IPCResult.h"
+#include "core/config/core_environment.h"
+#include "core/parser/action_args_check.h"
namespace weex {
namespace bridge {
@@ -38,6 +40,19 @@ CoreSideInSimple::~CoreSideInSimple() {}
void CoreSideInSimple::CallNative(const char *page_id, const char *task,
const char *callback) {
if (page_id == nullptr || task == nullptr) return;
+
+ if (WXCoreEnvironment::getInstance()->isUseRunTimeApi()){
+ if (isCallNativeToFinish(task)){
+ RenderManager::GetInstance()->CreateFinish(page_id);
+ } else {
+ WeexCoreManager::Instance()
+ ->getPlatformBridge()
+ ->platform_side()
+ ->CallNative(page_id, task, callback);
+ }
+ return;
+ }
+
if (strcmp(
task,
"[{\"module\":\"dom\",\"method\":\"createFinish\",\"args\":[]}]") ==
diff --git a/weex_core/Source/android/jsengine/bridge/script/script_bridge_in_multi_process.cpp b/weex_core/Source/android/jsengine/bridge/script/script_bridge_in_multi_process.cpp
index ade4df0..c1615fe 100644
--- a/weex_core/Source/android/jsengine/bridge/script/script_bridge_in_multi_process.cpp
+++ b/weex_core/Source/android/jsengine/bridge/script/script_bridge_in_multi_process.cpp
@@ -255,8 +255,13 @@ namespace weex {
init_framework_params->value = IPCByteArrayToWeexByteArray(ba);
if(!WeexEnv::getEnv()->enableBackupThread()) {
+#ifdef USE_JS_RUNTIME
+ std::string type = init_framework_params->type->content;
+ std::string value = init_framework_params->value->content;
+#else
auto type = String::fromUTF8(init_framework_params->type->content);
auto value = String::fromUTF8(init_framework_params->value->content);
+#endif
if(type == "enableBackupThread") {
auto enable = value == "true";
LOGE("enable backupThread %d",enable);
diff --git a/weex_core/Source/android/jsengine/bridge/script/script_side_in_queue.h b/weex_core/Source/android/jsengine/bridge/script/script_side_in_queue.h
index 7aa9e59..d71ca76 100644
--- a/weex_core/Source/android/jsengine/bridge/script/script_side_in_queue.h
+++ b/weex_core/Source/android/jsengine/bridge/script/script_side_in_queue.h
@@ -24,7 +24,11 @@
#define WEEXV8_SCRIPT_SIDE_IN_QUEUE_H
#include "core/bridge/script_bridge.h"
+#ifdef USE_JS_RUNTIME
+#include "js_runtime/weex/task/weex_task_queue.h"
+#else
#include "android/jsengine/task/weex_task_queue.h"
+#endif
namespace weex {
namespace bridge {
diff --git a/weex_core/Source/android/jsengine/object/args.cpp b/weex_core/Source/android/jsengine/object/args.cpp
index e6c9f45..5a5b332 100644
--- a/weex_core/Source/android/jsengine/object/args.cpp
+++ b/weex_core/Source/android/jsengine/object/args.cpp
@@ -16,7 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
+#ifdef USE_JS_RUNTIME
+#include "js_runtime/weex/object/args.h"
+#else
#include "android/jsengine/object/args.h"
+#endif
namespace WeexCore{
diff --git a/weex_core/Source/android/jsengine/object/args.h b/weex_core/Source/android/jsengine/object/args.h
index e058686..dcf2852 100644
--- a/weex_core/Source/android/jsengine/object/args.h
+++ b/weex_core/Source/android/jsengine/object/args.h
@@ -20,12 +20,15 @@
// Created by jianbai.gbj on 15/05/2018.
//
+#ifdef USE_JS_RUNTIME
+#include "js_runtime/weex/object/args.h"
+#else
+
#ifndef ARGS_H
#define ARGS_H
#include <string>
#include <wtf/text/WTFString.h>
-
#include "wson/wson.h"
/**
@@ -87,3 +90,4 @@ namespace WeexCore {
};
#endif
+#endif //USE_JS_RUNTIME
diff --git a/weex_core/Source/android/jsengine/object/args/exe_js_args.cpp b/weex_core/Source/android/jsengine/object/args/exe_js_args.cpp
index 6c5041b..ec54eb6 100644
--- a/weex_core/Source/android/jsengine/object/args/exe_js_args.cpp
+++ b/weex_core/Source/android/jsengine/object/args/exe_js_args.cpp
@@ -101,7 +101,7 @@ VALUE_WITH_TYPE *ExeJsArgs::copyValueToSelf(VALUE_WITH_TYPE *value_with_type) {
pType->value.string = genWeexStringSS(value_with_type->value.string->content,
value_with_type->value.string->length);
- const String &string = weexString2String(pType->value.string);
+ // const String &string = weexString2String(pType->value.string);
}
break;
diff --git a/weex_core/Source/android/jsengine/object/args/init_framework_args.h b/weex_core/Source/android/jsengine/object/args/init_framework_args.h
index 030a43c..261680c 100644
--- a/weex_core/Source/android/jsengine/object/args/init_framework_args.h
+++ b/weex_core/Source/android/jsengine/object/args/init_framework_args.h
@@ -25,7 +25,9 @@
#include <vector>
#include "include/WeexApiHeader.h"
+#ifndef USE_JS_RUNTIME
#include "include/wtf/text/WTFString.h"
+#endif
#include "third_party/IPC/IPCArguments.h"
class InitFrameworkArgs {
diff --git a/weex_core/Source/android/jsengine/object/weex_env.cpp b/weex_core/Source/android/jsengine/object/weex_env.cpp
index 6c94c13..89b7688 100644
--- a/weex_core/Source/android/jsengine/object/weex_env.cpp
+++ b/weex_core/Source/android/jsengine/object/weex_env.cpp
@@ -53,6 +53,7 @@ void WeexEnv::initJSC(bool isMultiProgress) {
// return false;
}
+#ifndef USE_JS_RUNTIME
Options::enableRestrictedOptions(true);
// Initialize JSC before getting VM.
WTF::initializeMainThread();
@@ -61,6 +62,7 @@ void WeexEnv::initJSC(bool isMultiProgress) {
#if ENABLE(WEBASSEMBLY)
JSC::Wasm::enableFastMemory();
#endif
+#endif
});
}
void WeexEnv::init_crash_handler(std::string crashFileName) {
@@ -85,7 +87,9 @@ void WeexEnv::set_m_cache_task_(volatile bool m_cache_task_) {
WeexEnv::m_cache_task_ = m_cache_task_;
}
WeexEnv::~WeexEnv() {
+#ifndef USE_JS_RUNTIME
wson::destory();
+#endif
}
void WeexEnv::sendTLog(const char *tag, const char *log) {
diff --git a/weex_core/Source/android/jsengine/object/weex_env.h b/weex_core/Source/android/jsengine/object/weex_env.h
index 24ce958..2f1e376 100644
--- a/weex_core/Source/android/jsengine/object/weex_env.h
+++ b/weex_core/Source/android/jsengine/object/weex_env.h
@@ -24,10 +24,20 @@
#define WEEXV8_WEEXENV_H
#include <mutex>
+
+#ifdef USE_JS_RUNTIME
+#include "js_runtime/weex/task/weex_task.h"
+#include "js_runtime/weex/task/back_to_weex_core_queue.h"
+#include "js_runtime/weex/task/timer_queue.h"
+#include "base/crash/crash_handler.h"
+
+#else
#include <task/weex_task.h>
#include "android/jsengine/task/back_to_weex_core_queue.h"
-
#include "android/jsengine/task/timer_queue.h"
+#endif
+
+
#include "android/jsengine/weex_ipc_server.h"
#include "android/jsengine/weex_ipc_client.h"
diff --git a/weex_core/Source/android/jsengine/object/weex_global_object.cpp b/weex_core/Source/android/jsengine/object/weex_global_object.cpp
index 3345962..436805c 100644
--- a/weex_core/Source/android/jsengine/object/weex_global_object.cpp
+++ b/weex_core/Source/android/jsengine/object/weex_global_object.cpp
@@ -191,6 +191,7 @@ void WeexGlobalObject::initWxEnvironment(std::vector<INIT_FRAMEWORK_PARAMS *> &p
// add for debug mode
if (String("debugMode") == type && String("true") == value) {
WeexCore::DebugMode = true;
+ LOGE("jss use %s"," jsc");
}
// --------------------------------------------------------
diff --git a/weex_core/Source/android/jsengine/weex_ipc_server.cpp b/weex_core/Source/android/jsengine/weex_ipc_server.cpp
index 7b66399..8e09a6f 100644
--- a/weex_core/Source/android/jsengine/weex_ipc_server.cpp
+++ b/weex_core/Source/android/jsengine/weex_ipc_server.cpp
@@ -24,10 +24,16 @@
#include "android/jsengine/weex_runtime.h"
#include "core/manager/weex_core_manager.h"
#include "android/jsengine/weex_jsc_utils.h"
+#ifdef USE_JS_RUNTIME
+#include "base/crash/crash_handler.h"
+#include <unistd.h>
+#include <sys/mman.h>
+//using namespace crash_handler;
+#else
using namespace JSC;
using namespace WTF;
using namespace WEEXICU;
-
+#endif
struct WeexJSServer::WeexJSServerImpl {
WeexJSServerImpl(int serverFd, int clientFd, bool enableTrace, std::string crashFileName);
diff --git a/weex_core/Source/android/jsengine/weex_jsc_utils.h b/weex_core/Source/android/jsengine/weex_jsc_utils.h
index a55e597..216d560 100644
--- a/weex_core/Source/android/jsengine/weex_jsc_utils.h
+++ b/weex_core/Source/android/jsengine/weex_jsc_utils.h
@@ -20,6 +20,10 @@
// Created by Darin on 11/02/2018.
//
+#ifdef USE_JS_RUNTIME
+#include "js_runtime/weex/utils/weex_jsc_utils.h"
+#else
+
#ifndef WEEXV8_UTILS_H
#define WEEXV8_UTILS_H
@@ -343,3 +347,4 @@ namespace WEEXICU {
}
#endif //WEEXV8_UTILS_H
+#endif //USE_JS_RUNTIME
diff --git a/weex_core/Source/android/jsengine/weex_runtime.h b/weex_core/Source/android/jsengine/weex_runtime.h
index e1ba811..b5adc5b 100644
--- a/weex_core/Source/android/jsengine/weex_runtime.h
+++ b/weex_core/Source/android/jsengine/weex_runtime.h
@@ -20,6 +20,10 @@
// Created by Darin on 28/04/2018.
//
+#ifdef USE_JS_RUNTIME
+#include "js_runtime/weex/object/weex_runtime.h"
+#else
+
#ifndef WEEXV8_JSRUNTIME_H
#define WEEXV8_JSRUNTIME_H
@@ -114,3 +118,4 @@ private:
#endif //WEEXV8_JSRUNTIME_H
+#endif //USE_JS_RUNTIME
diff --git a/weex_core/Source/android/utils/params_utils.cpp b/weex_core/Source/android/utils/params_utils.cpp
index 38a7c68..ef401d8 100644
--- a/weex_core/Source/android/utils/params_utils.cpp
+++ b/weex_core/Source/android/utils/params_utils.cpp
@@ -203,6 +203,24 @@ std::vector<INIT_FRAMEWORK_PARAMS*> initFromParam(
}
}
+ jmethodID m_use_runtime_api = env->GetMethodID(c_params, "getUseRunTimeApi", "()Ljava/lang/String;");
+ if (m_use_runtime_api == nullptr) {
+ LOGE("m_use_runtime_api method is missing");
+ WXCoreEnvironment::getInstance()->setUseRunTimeApi(false);
+ } else {
+ jobject j_use_runtime_api =
+ env->CallObjectMethod(params, m_use_runtime_api);
+ const char* use_runtime_api_str =
+ env->GetStringUTFChars((jstring)(j_use_runtime_api), nullptr);
+ if (nullptr == use_runtime_api_str){
+ WXCoreEnvironment::getInstance()->setUseRunTimeApi(false);
+ } else{
+ bool use_runtime_api = strstr(use_runtime_api_str, "true") != nullptr;
+ WXCoreEnvironment::getInstance()->setUseRunTimeApi(use_runtime_api);
+ env->DeleteLocalRef(j_use_runtime_api);
+ }
+ }
+
jmethodID m_get_jsc_so_path =
env->GetMethodID(c_params, "getLibJscPath", "()Ljava/lang/String;");
if (m_get_jsc_so_path != nullptr) {
diff --git a/weex_core/Source/base/base64/modp_base64/modp_b64.h b/weex_core/Source/base/base64/modp_base64/modp_b64.h
index a682ac9..af2fc6b 100644
--- a/weex_core/Source/base/base64/modp_base64/modp_b64.h
+++ b/weex_core/Source/base/base64/modp_base64/modp_b64.h
@@ -1,21 +1,3 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
/* vi: set expandtab shiftwidth=4 tabstop=4: */
diff --git a/weex_core/Source/base/base64/modp_base64/modp_b64_data.h b/weex_core/Source/base/base64/modp_base64/modp_b64_data.h
index 2ef4c57..de3400c 100644
--- a/weex_core/Source/base/base64/modp_base64/modp_b64_data.h
+++ b/weex_core/Source/base/base64/modp_base64/modp_b64_data.h
@@ -1,21 +1,23 @@
/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * \file
+ * <PRE>
+ * High performance base64 encoder / decoder
+ * Version 1.3 -- 17-Mar-2006
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Copyright © 2005, 2006, Nick Galbreath -- nickg [at] modp [dot] com
+ * All rights reserved.
+ *
+ * http://modp.com/release/base64
+ *
+ * Released under bsd license. See modp_b64.c for details.
+ * </pre>
+ *
+ * The default implementation is the standard b64 encoding with padding.
+ * It's easy to change this to use "URL safe" characters and to remove
+ * padding. See the modp_b64.c source code for details.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
*/
+
// VC8 doesn't have stdint.h. On the other hand, some compilers don't like
// the below code, because basictypes.h itself includes stdint.h and the
// typedefs below can cause conflicts.
diff --git a/weex_core/Source/base/third_party/icu/icu_utf.cpp b/weex_core/Source/base/third_party/icu/icu_utf.cpp
index 025081b..a3262b0 100644
--- a/weex_core/Source/base/third_party/icu/icu_utf.cpp
+++ b/weex_core/Source/base/third_party/icu/icu_utf.cpp
@@ -1,21 +1,3 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
diff --git a/weex_core/Source/base/third_party/icu/icu_utf.h b/weex_core/Source/base/third_party/icu/icu_utf.h
index de172f8..2ba8231 100644
--- a/weex_core/Source/base/third_party/icu/icu_utf.h
+++ b/weex_core/Source/base/third_party/icu/icu_utf.h
@@ -1,21 +1,3 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
diff --git a/weex_core/Source/core/bridge/script/core_side_in_script.cpp b/weex_core/Source/core/bridge/script/core_side_in_script.cpp
index 6813ef4..4fd7584 100644
--- a/weex_core/Source/core/bridge/script/core_side_in_script.cpp
+++ b/weex_core/Source/core/bridge/script/core_side_in_script.cpp
@@ -27,6 +27,8 @@
#include "core/render/manager/render_manager.h"
#include "core/bridge/eagle_bridge.h"
#include "wson/wson_parser.h"
+#include "core/config/core_environment.h"
+#include "core/parser/action_args_check.h"
#ifdef OS_ANDROID
#include <base/time_calculator.h>
#include "android/weex_extend_js_api.h"
@@ -52,6 +54,17 @@ void CoreSideInScript::CallNative(const char *page_id, const char *task,
const char *callback) {
if (page_id == nullptr || task == nullptr) return;
+ if (WXCoreEnvironment::getInstance()->isUseRunTimeApi()){
+ if (isCallNativeToFinish(task)){
+ RenderManager::GetInstance()->CreateFinish(page_id);
+ } else {
+ WeexCoreManager::Instance()
+ ->getPlatformBridge()
+ ->platform_side()
+ ->CallNative(page_id, task, callback);
+ }
+ return;
+ }
std::string task_str(task);
std::string target_str("[{\"module\":\"dom\",\"method\":\"createFinish\","
"\"args\":[]}]");
diff --git a/weex_core/Source/core/config/core_environment.cpp b/weex_core/Source/core/config/core_environment.cpp
index 39c4417..4e4012a 100644
--- a/weex_core/Source/core/config/core_environment.cpp
+++ b/weex_core/Source/core/config/core_environment.cpp
@@ -100,4 +100,12 @@ namespace WeexCore {
it->second = value;
}
}
+
+ void WXCoreEnvironment::setUseRunTimeApi(bool useRuntimeApi) {
+ this->mUseRuntimeApi = useRuntimeApi;
+ }
+
+ bool WXCoreEnvironment::isUseRunTimeApi(){
+ return mUseRuntimeApi;
+ }
}
diff --git a/weex_core/Source/core/config/core_environment.h b/weex_core/Source/core/config/core_environment.h
index 667f56e..08546c4 100644
--- a/weex_core/Source/core/config/core_environment.h
+++ b/weex_core/Source/core/config/core_environment.h
@@ -56,6 +56,8 @@ namespace WeexCore {
bool mInteractionLogSwitch;
+ bool mUseRuntimeApi;
+
public:
bool SetPlatform(std::string platformName);
@@ -92,6 +94,10 @@ namespace WeexCore {
const std::map<std::string, std::string> &options();
+ bool isUseRunTimeApi();
+
+ void setUseRunTimeApi(bool useRuntimeApi);
+
void AddOption(std::string key, std::string value);
void PutOption(std::string key, std::string value);
diff --git a/weex_core/Source/core/parser/action_args_check.cpp b/weex_core/Source/core/parser/action_args_check.cpp
new file mode 100644
index 0000000..10643f5
--- /dev/null
+++ b/weex_core/Source/core/parser/action_args_check.cpp
@@ -0,0 +1,59 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+//
+// Created by 陈佩翰 on 2019/3/8.
+//
+
+#include "action_args_check.h"
+#include "third_party/json11/json11.hpp"
+#include "base/utils/log_utils.h"
+
+namespace WeexCore {
+ bool isCallNativeToFinish(const char *task) {
+ if (nullptr == task) {
+ return false;
+ }
+ //try match json str:[{"args": [], "method": "createFinish", "module": "dom"}]
+ std::string task_str(task);
+ if (task_str.length() != 57) {
+ return false;
+ }
+
+ std::string errr;
+ json11::Json task_json = json11::Json::parse(task_str, errr);
+ if (!task_json.is_array() || task_json.array_items().size() <= 0) {
+ return false;
+ }
+ auto array = task_json.array_items();
+ auto item = array[0];
+ if (!array[0].is_object()) {
+ return false;
+ }
+ auto module_value = item["module"];
+ auto method_value = item["method"];
+ auto args_value = item["args"];
+
+ bool isCreateFinishAction = false;
+ if (module_value.is_string() && method_value.is_string() && args_value.is_array()) {
+ isCreateFinishAction = module_value.dump() == "\"dom\"" && method_value.dump() == "\"createFinish\"" &&
+ args_value.array_items().size() <= 0;
+ }
+ return isCreateFinishAction;
+ }
+}
diff --git a/weex_core/Source/include/wtf/MemoryFootprint.h b/weex_core/Source/core/parser/action_args_check.h
similarity index 78%
copy from weex_core/Source/include/wtf/MemoryFootprint.h
copy to weex_core/Source/core/parser/action_args_check.h
index 24f8eb0..6799e5f 100644
--- a/weex_core/Source/include/wtf/MemoryFootprint.h
+++ b/weex_core/Source/core/parser/action_args_check.h
@@ -16,15 +16,16 @@
* specific language governing permissions and limitations
* under the License.
*/
-#pragma once
+//
+// Created by chenpeihan on 2019/3/8.
+//
-#include <wtf/Optional.h>
-
-namespace WTF {
-
-WTF_EXPORT_PRIVATE std::optional<size_t> memoryFootprint();
+#ifndef PROJECT_ACTION_ARGS_CHECK_H
+#define PROJECT_ACTION_ARGS_CHECK_H
+namespace WeexCore {
+ bool isCallNativeToFinish(const char* task);
}
-using WTF::memoryFootprint;
+#endif //PROJECT_ACTION_ARGS_CHECK_H
diff --git a/weex_core/Source/core/parser/dom_wson.cpp b/weex_core/Source/core/parser/dom_wson.cpp
index ea4e23e..da019fa 100644
--- a/weex_core/Source/core/parser/dom_wson.cpp
+++ b/weex_core/Source/core/parser/dom_wson.cpp
@@ -20,12 +20,20 @@
// Created by furture on 2018/5/15.
//
+#include <list>
#include "core/render/node/render_object.h"
#include "core/render/page/render_page.h"
#include "core/render/node/factory/render_creator.h"
#include "dom_wson.h"
#include "wson/wson.h"
#include "wson/wson_parser.h"
+//#ifdef test_log
+#include "base/utils/log_utils.h"
+#include "core/config/core_environment.h"
+//#else
+//#define LOGW
+//#define LOGE
+//#endif
namespace WeexCore {
@@ -59,7 +67,7 @@ namespace WeexCore {
for(int i=0; i < size; i++){
std::string objectKey = parser.nextMapKeyUTF8();
if(0 == strcmp(objectKey.c_str(), "ref")){
- ref = parser.nextStringUTF8(parser.nextType());
+ ref = parser.nextStringUTF8(parser.nextType());
if (render != nullptr) {
// ref may be after type, so need set to render
render->set_ref(ref);
@@ -196,12 +204,132 @@ namespace WeexCore {
}
- RenderObject *Wson2RenderObject(const char *data, const std::string &pageId, bool reserveStyles){
+
+ RenderObject *parserWson2RenderObjectNew(wson_parser& parser, RenderObject *parent, int index, const std::string &pageId,bool reserveStyles){
+ int objectType = parser.nextType();
+ if(!parser.isMap(objectType)){
+ parser.skipValue(objectType);
+ return nullptr;
+ }
+
+ /**
+ * because strem key order specified, so will cann't dependecy it's keys order,
+ * if key orders right parse one time, if not first parse ref type create render object
+ * then parse others attrs
+ * */
+ int size = parser.nextMapSize();
+ std::string ref;
+ std::string renderType;
+ std::map<std::string, std::string> attrs;
+ std::map<std::string, std::string> styles;
+ std::vector<std::string> events;
+ std::vector<RenderObject*> childrens;
+
+ RenderObject *render = nullptr;
+ for(int i=0; i < size; i++){
+ std::string objectKey = parser.nextMapKeyUTF8();
+ if(0 == strcmp(objectKey.c_str(), "ref")){
+ ref = parser.nextStringUTF8(parser.nextType());
+ }else if (0 == strcmp(objectKey.c_str(), "type")) {
+ renderType = parser.nextStringUTF8(parser.nextType());
+ }else if (0 == strcmp(objectKey.c_str(), "attr")){ //attr is map object
+ uint8_t attrType = parser.nextType();
+ if(parser.isMap(attrType)){
+ int attrMapSize = parser.nextMapSize();
+ for(int attrIndex=0; attrIndex<attrMapSize; attrIndex++){
+ std::string attrKeyString = parser.nextMapKeyUTF8();
+ std::string attrValueString = parser.nextStringUTF8(parser.nextType());
+ attrs.insert({attrKeyString, attrValueString});
+ }
+ }else{
+ parser.skipValue(attrType);
+ }
+ }else if (0 == strcmp(objectKey.c_str(), "style")){ //style is map object
+ uint8_t styleType = parser.nextType();
+ if(parser.isMap(styleType)){
+ int styleMapSize = parser.nextMapSize();
+ for(int styleIndex=0; styleIndex<styleMapSize; styleIndex++){
+ std::string styleKeyString = parser.nextMapKeyUTF8();
+ std::string styleValueString = parser.nextStringUTF8(parser.nextType());
+ styles.insert({styleKeyString, styleValueString});
+ }
+ }else{
+ parser.skipValue(styleType);
+ }
+ }else if (0 == strcmp(objectKey.c_str(), "event")) {//event is array
+ uint8_t eventType = parser.nextType();
+ if(parser.isArray(eventType)){
+ int eventSize = parser.nextArraySize();
+ for(int eventIndex=0; eventIndex < eventSize; eventIndex++){
+ std::string eventValue = parser.nextStringUTF8(parser.nextType());
+ if(eventValue.size() > 0){
+ events.push_back(eventValue);
+ }
+ }
+ }else{
+ parser.skipValue(eventType);
+ }
+ }else if (0 == strcmp(objectKey.c_str(), "children")) {
+ uint8_t childType = parser.nextType();
+ if(parser.isArray(childType)){
+ int childSize = parser.nextArraySize();
+ for(int childIndex=0; childIndex < childSize; childIndex++){
+ RenderObject* child = parserWson2RenderObjectNew(parser, nullptr, childIndex, pageId,reserveStyles);
+ if(child != nullptr){
+ childrens.push_back(child);
+ }
+ }
+ }else{
+ parser.skipValue(childType);
+ }
+ }else{
+ parser.skipValue(parser.nextType());
+ }
+ }
+
+ render = (RenderObject *) RenderCreator::GetInstance()->CreateRender(renderType, ref);
+ render->set_page_id(pageId);
+
+
+ for(auto& it : attrs){
+ render->AddAttr(it.first, it.second);
+ }
+
+ for(auto& it : styles){
+ render->AddStyle(it.first, it.second,reserveStyles);
+ }
+
+ for(auto& it : events){
+ render->AddEvent(it);
+ }
+
+ int childIndex = 0;
+ for(auto& child : childrens){
+ render->AddRenderObject(childIndex, child);
+ childIndex++;
+ }
+
+
+ if (render != nullptr) {
+ render->ApplyDefaultStyle(reserveStyles);
+ render->ApplyDefaultAttr();
+ }
+ return render;
+ }
+
+
+ RenderObject *Wson2RenderObject(const char *data, const std::string &pageId,bool reserveStyles){
if(!data){
return nullptr;
}
wson_parser parser(data);
- return parserWson2RenderObject(parser, nullptr, 0, pageId, reserveStyles);
+ RenderObject* res;
+ if (WXCoreEnvironment::getInstance()->isUseRunTimeApi()){
+ res= parserWson2RenderObjectNew(parser,nullptr,0,pageId,reserveStyles);
+ } else{
+ res= parserWson2RenderObject(parser, nullptr, 0, pageId,reserveStyles);
+ }
+ return res;
}
std::vector<std::pair<std::string, std::string>> *Wson2Pairs(const char *data){
diff --git a/weex_core/Source/include/JavaScriptCore/API/APICallbackFunction.h b/weex_core/Source/include/JavaScriptCore/API/APICallbackFunction.h
index 64bd612..e5283b5 100644
--- a/weex_core/Source/include/JavaScriptCore/API/APICallbackFunction.h
+++ b/weex_core/Source/include/JavaScriptCore/API/APICallbackFunction.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef APICallbackFunction_h
#define APICallbackFunction_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/APICast.h b/weex_core/Source/include/JavaScriptCore/API/APICast.h
index 25bd5a6..8fe8d60 100644
--- a/weex_core/Source/include/JavaScriptCore/API/APICast.h
+++ b/weex_core/Source/include/JavaScriptCore/API/APICast.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef APICast_h
#define APICast_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/APIUtils.h b/weex_core/Source/include/JavaScriptCore/API/APIUtils.h
index ae82fb3..e2190c8 100644
--- a/weex_core/Source/include/JavaScriptCore/API/APIUtils.h
+++ b/weex_core/Source/include/JavaScriptCore/API/APIUtils.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef APIUtils_h
#define APIUtils_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSAPIWrapperObject.h b/weex_core/Source/include/JavaScriptCore/API/JSAPIWrapperObject.h
index 16702af..14194b6 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSAPIWrapperObject.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSAPIWrapperObject.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSAPIWrapperObject_h
#define JSAPIWrapperObject_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSBase.h b/weex_core/Source/include/JavaScriptCore/API/JSBase.h
index 4d97afb..677dff1 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSBase.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSBase.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSBase_h
#define JSBase_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSBasePrivate.h b/weex_core/Source/include/JavaScriptCore/API/JSBasePrivate.h
index 35943e5..1375949 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSBasePrivate.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSBasePrivate.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSBasePrivate_h
#define JSBasePrivate_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSCTestRunnerUtils.h b/weex_core/Source/include/JavaScriptCore/API/JSCTestRunnerUtils.h
index 6034e65..c52da52 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSCTestRunnerUtils.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSCTestRunnerUtils.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSCTestRunnerUtils_h
#define JSCTestRunnerUtils_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSCallbackConstructor.h b/weex_core/Source/include/JavaScriptCore/API/JSCallbackConstructor.h
index c8f7579..d730ad7 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSCallbackConstructor.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSCallbackConstructor.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSCallbackConstructor_h
#define JSCallbackConstructor_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSCallbackFunction.h b/weex_core/Source/include/JavaScriptCore/API/JSCallbackFunction.h
index 9dd7d8e..a4fdd06 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSCallbackFunction.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSCallbackFunction.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSCallbackFunction_h
#define JSCallbackFunction_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSCallbackObject.h b/weex_core/Source/include/JavaScriptCore/API/JSCallbackObject.h
index dbb7c48..43749e2 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSCallbackObject.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSCallbackObject.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006-2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2007 Eric Seidel <er...@webkit.org>
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSCallbackObject_h
#define JSCallbackObject_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSCallbackObjectFunctions.h b/weex_core/Source/include/JavaScriptCore/API/JSCallbackObjectFunctions.h
index 5e150f5..ee3ee2f 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSCallbackObjectFunctions.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSCallbackObjectFunctions.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006, 2008, 2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2007 Eric Seidel <er...@webkit.org>
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#include "APICast.h"
#include "Error.h"
#include "ExceptionHelpers.h"
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSClassRef.h b/weex_core/Source/include/JavaScriptCore/API/JSClassRef.h
index b343b14..fa024d3 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSClassRef.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSClassRef.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSClassRef_h
#define JSClassRef_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSContext.h b/weex_core/Source/include/JavaScriptCore/API/JSContext.h
index c9ce68e..194e352 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSContext.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSContext.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSContext_h
#define JSContext_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSContextInternal.h b/weex_core/Source/include/JavaScriptCore/API/JSContextInternal.h
index 5af7ab0..5308fbb 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSContextInternal.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSContextInternal.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSContextInternal_h
#define JSContextInternal_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSContextPrivate.h b/weex_core/Source/include/JavaScriptCore/API/JSContextPrivate.h
index 4b862b2..7d1d0cb 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSContextPrivate.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSContextPrivate.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSContextPrivate_h
#define JSContextPrivate_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSContextRef.h b/weex_core/Source/include/JavaScriptCore/API/JSContextRef.h
index e67ccd7..0c800bc 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSContextRef.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSContextRef.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSContextRef_h
#define JSContextRef_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSContextRefInspectorSupport.h b/weex_core/Source/include/JavaScriptCore/API/JSContextRefInspectorSupport.h
index 3f164b2..a09d828 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSContextRefInspectorSupport.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSContextRefInspectorSupport.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSContextRefInspectorSupport_h
#define JSContextRefInspectorSupport_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSContextRefInternal.h b/weex_core/Source/include/JavaScriptCore/API/JSContextRefInternal.h
index 2245c2c..79d7eb6 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSContextRefInternal.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSContextRefInternal.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSContextRefInternal_h
#define JSContextRefInternal_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSContextRefPrivate.h b/weex_core/Source/include/JavaScriptCore/API/JSContextRefPrivate.h
index 70c6d25..19604ea 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSContextRefPrivate.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSContextRefPrivate.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSContextRefPrivate_h
#define JSContextRefPrivate_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSExport.h b/weex_core/Source/include/JavaScriptCore/API/JSExport.h
index 3a385f0..b8a4849 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSExport.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSExport.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#import <JavaScriptCore/JavaScriptCore.h>
#if JSC_OBJC_API_ENABLED
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSManagedValue.h b/weex_core/Source/include/JavaScriptCore/API/JSManagedValue.h
index f2bcd7e..01073fa 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSManagedValue.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSManagedValue.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSManagedValue_h
#define JSManagedValue_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSManagedValueInternal.h b/weex_core/Source/include/JavaScriptCore/API/JSManagedValueInternal.h
index 9be6283..2443fe5 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSManagedValueInternal.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSManagedValueInternal.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSManagedValueInternal_h
#define JSManagedValueInternal_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSObjectRef.h b/weex_core/Source/include/JavaScriptCore/API/JSObjectRef.h
index 06b3203..95d53b7 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSObjectRef.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSObjectRef.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Kelvin W Sherlock (ksherlock@gmail.com)
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSObjectRef_h
#define JSObjectRef_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSObjectRefPrivate.h b/weex_core/Source/include/JavaScriptCore/API/JSObjectRefPrivate.h
index 5af449f..32e80ab 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSObjectRefPrivate.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSObjectRefPrivate.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2010 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSObjectRefPrivate_h
#define JSObjectRefPrivate_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSRemoteInspector.h b/weex_core/Source/include/JavaScriptCore/API/JSRemoteInspector.h
index 971967e..2bde479 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSRemoteInspector.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSRemoteInspector.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSRemoteInspector_h
#define JSRemoteInspector_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSRetainPtr.h b/weex_core/Source/include/JavaScriptCore/API/JSRetainPtr.h
index 3d8d514..e400840 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSRetainPtr.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSRetainPtr.h
@@ -1,21 +1,31 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSRetainPtr_h
#define JSRetainPtr_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSScriptRefPrivate.h b/weex_core/Source/include/JavaScriptCore/API/JSScriptRefPrivate.h
index 3d5667b..e6224ce 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSScriptRefPrivate.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSScriptRefPrivate.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSScriptRefPrivate_h
#define JSScriptRefPrivate_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSStringRef.h b/weex_core/Source/include/JavaScriptCore/API/JSStringRef.h
index 7211e92..bc03ed7 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSStringRef.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSStringRef.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSStringRef_h
#define JSStringRef_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSStringRefBSTR.h b/weex_core/Source/include/JavaScriptCore/API/JSStringRefBSTR.h
index dca506d..066c68d 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSStringRefBSTR.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSStringRefBSTR.h
@@ -1,21 +1,31 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2007 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSStringRefBSTR_h
#define JSStringRefBSTR_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSStringRefCF.h b/weex_core/Source/include/JavaScriptCore/API/JSStringRefCF.h
index a9bc95e..1e210c7 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSStringRefCF.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSStringRefCF.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSStringRefCF_h
#define JSStringRefCF_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSStringRefPrivate.h b/weex_core/Source/include/JavaScriptCore/API/JSStringRefPrivate.h
index 2520fe0..f1db806 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSStringRefPrivate.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSStringRefPrivate.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSStringRefPrivate_h
#define JSStringRefPrivate_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSTypedArray.h b/weex_core/Source/include/JavaScriptCore/API/JSTypedArray.h
index 821d958..e23b76d 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSTypedArray.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSTypedArray.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Dominic Szablewski (dominic@phoboslab.org)
+ * Copyright (C) 2015-2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSTypedArray_h
#define JSTypedArray_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSValue.h b/weex_core/Source/include/JavaScriptCore/API/JSValue.h
index ac52fa6..1410dd7 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSValue.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSValue.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSValue_h
#define JSValue_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSValueInternal.h b/weex_core/Source/include/JavaScriptCore/API/JSValueInternal.h
index 5de63f3..4f1a8f6 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSValueInternal.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSValueInternal.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSValueInternal_h
#define JSValueInternal_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSValueRef.h b/weex_core/Source/include/JavaScriptCore/API/JSValueRef.h
index 494eb2c..9815de7 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSValueRef.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSValueRef.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSValueRef_h
#define JSValueRef_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSVirtualMachine.h b/weex_core/Source/include/JavaScriptCore/API/JSVirtualMachine.h
index 2480c9e..ccf9264 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSVirtualMachine.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSVirtualMachine.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#import <JavaScriptCore/JavaScriptCore.h>
#if JSC_OBJC_API_ENABLED
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSVirtualMachineInternal.h b/weex_core/Source/include/JavaScriptCore/API/JSVirtualMachineInternal.h
index 827c2bb..5ca9a7f 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSVirtualMachineInternal.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSVirtualMachineInternal.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013, 2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSVirtualMachineInternal_h
#define JSVirtualMachineInternal_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSWeakObjectMapRefInternal.h b/weex_core/Source/include/JavaScriptCore/API/JSWeakObjectMapRefInternal.h
index 01b00a5..9037947 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSWeakObjectMapRefInternal.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSWeakObjectMapRefInternal.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2010 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSWeakObjectMapRefInternal_h
#define JSWeakObjectMapRefInternal_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSWeakObjectMapRefPrivate.h b/weex_core/Source/include/JavaScriptCore/API/JSWeakObjectMapRefPrivate.h
index 6208930..a335e23 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSWeakObjectMapRefPrivate.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSWeakObjectMapRefPrivate.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2010 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JSWeakObjectMapRefPrivate_h
#define JSWeakObjectMapRefPrivate_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JSWrapperMap.h b/weex_core/Source/include/JavaScriptCore/API/JSWrapperMap.h
index 80bfc33..c6aa1af 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JSWrapperMap.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JSWrapperMap.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#import <JavaScriptCore/JavaScriptCore.h>
#import <JSValueInternal.h>
#import <objc/objc-runtime.h>
diff --git a/weex_core/Source/include/JavaScriptCore/API/JavaScript.h b/weex_core/Source/include/JavaScriptCore/API/JavaScript.h
index a68e96e..251e393 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JavaScript.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JavaScript.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Alp Toker <al...@atoker.com>
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JavaScript_h
#define JavaScript_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/JavaScriptCore.h b/weex_core/Source/include/JavaScriptCore/API/JavaScriptCore.h
index 79c3d43..b2fde1d 100644
--- a/weex_core/Source/include/JavaScriptCore/API/JavaScriptCore.h
+++ b/weex_core/Source/include/JavaScriptCore/API/JavaScriptCore.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef JavaScriptCore_h
#define JavaScriptCore_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/ObjCCallbackFunction.h b/weex_core/Source/include/JavaScriptCore/API/ObjCCallbackFunction.h
index 1db144d..4d5b736 100644
--- a/weex_core/Source/include/JavaScriptCore/API/ObjCCallbackFunction.h
+++ b/weex_core/Source/include/JavaScriptCore/API/ObjCCallbackFunction.h
@@ -1,20 +1,26 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef ObjCCallbackFunction_h
#define ObjCCallbackFunction_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/ObjcRuntimeExtras.h b/weex_core/Source/include/JavaScriptCore/API/ObjcRuntimeExtras.h
index a661cbd..128df5c 100644
--- a/weex_core/Source/include/JavaScriptCore/API/ObjcRuntimeExtras.h
+++ b/weex_core/Source/include/JavaScriptCore/API/ObjcRuntimeExtras.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#import <objc/Protocol.h>
#import <objc/runtime.h>
#import <wtf/HashSet.h>
diff --git a/weex_core/Source/include/JavaScriptCore/API/OpaqueJSString.h b/weex_core/Source/include/JavaScriptCore/API/OpaqueJSString.h
index c113c9d..208131b 100644
--- a/weex_core/Source/include/JavaScriptCore/API/OpaqueJSString.h
+++ b/weex_core/Source/include/JavaScriptCore/API/OpaqueJSString.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef OpaqueJSString_h
#define OpaqueJSString_h
diff --git a/weex_core/Source/include/JavaScriptCore/API/WebKitAvailability.h b/weex_core/Source/include/JavaScriptCore/API/WebKitAvailability.h
index 1b3a283..ab53183 100644
--- a/weex_core/Source/include/JavaScriptCore/API/WebKitAvailability.h
+++ b/weex_core/Source/include/JavaScriptCore/API/WebKitAvailability.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008, 2009, 2010, 2014 Apple Inc. All Rights Reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef __WebKitAvailability__
#define __WebKitAvailability__
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/APICast.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/APICast.h
index 179c5a4..c108c3c 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/APICast.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/APICast.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/APICast.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSBase.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSBase.h
index b92c8ac..3cbe204 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSBase.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSBase.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSBase.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSCTestRunnerUtils.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSCTestRunnerUtils.h
index 8a10a4f..e3bdd94 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSCTestRunnerUtils.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSCTestRunnerUtils.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSCTestRunnerUtils.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSContextRef.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSContextRef.h
index cdf0a6b..0c01346 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSContextRef.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSContextRef.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSContextRef.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRef.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRef.h
index cc6ab24..5c3ac44 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRef.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRef.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSObjectRef.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRefPrivate.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRefPrivate.h
index 0d8726e..92fcbaa 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRefPrivate.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRefPrivate.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSObjectRefPrivate.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSRetainPtr.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSRetainPtr.h
index b2fd0ca..17299c5 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSRetainPtr.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSRetainPtr.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSRetainPtr.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRef.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRef.h
index c127f0a..c27c2e2 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRef.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRef.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSStringRef.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRefCF.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRefCF.h
index 9e88039..52b8276 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRefCF.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRefCF.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSStringRefCF.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSTypedArray.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSTypedArray.h
index 46a0f23..18ecccd 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSTypedArray.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSTypedArray.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSTypedArray.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSValueRef.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSValueRef.h
index f8e6d65..e0839dc 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSValueRef.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSValueRef.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JSValueRef.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScript.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScript.h
index 748f591..6c46e2a 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScript.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScript.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JavaScript.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScriptCore.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScriptCore.h
index de1e860..b24064f 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScriptCore.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScriptCore.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/JavaScriptCore.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/OpaqueJSString.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/OpaqueJSString.h
index 5dbfee0..18bdb64 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/OpaqueJSString.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/OpaqueJSString.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/OpaqueJSString.h>
diff --git a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/WebKitAvailability.h b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/WebKitAvailability.h
index bd0a27c..d79a839 100644
--- a/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/WebKitAvailability.h
+++ b/weex_core/Source/include/JavaScriptCore/ForwardingHeaders/JavaScriptCore/WebKitAvailability.h
@@ -1,19 +1 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
#include <API/WebKitAvailability.h>
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/ARM64Assembler.h b/weex_core/Source/include/JavaScriptCore/assembler/ARM64Assembler.h
index 249ddf0..095550d 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/ARM64Assembler.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/ARM64Assembler.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(ARM64)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/ARMAssembler.h b/weex_core/Source/include/JavaScriptCore/assembler/ARMAssembler.h
index 02b9eaa..91ce0b2 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/ARMAssembler.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/ARMAssembler.h
@@ -1,21 +1,30 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009, 2010 University of Szeged
+ * Copyright (C) 2017 Apple Inc.
+ * All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY UNIVERSITY OF SZEGED ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UNIVERSITY OF SZEGED OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(ARM_TRADITIONAL)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/ARMv7Assembler.h b/weex_core/Source/include/JavaScriptCore/assembler/ARMv7Assembler.h
index f15a1b7..3f81395 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/ARMv7Assembler.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/ARMv7Assembler.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2010 University of Szeged
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(ARM_THUMB2)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/AbortReason.h b/weex_core/Source/include/JavaScriptCore/assembler/AbortReason.h
index ad89d73..32ae086 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/AbortReason.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/AbortReason.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014-2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
namespace JSC {
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/AbstractMacroAssembler.h b/weex_core/Source/include/JavaScriptCore/assembler/AbstractMacroAssembler.h
index b34644c..87ae698 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/AbstractMacroAssembler.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/AbstractMacroAssembler.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "AbortReason.h"
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/AllowMacroScratchRegisterUsage.h b/weex_core/Source/include/JavaScriptCore/assembler/AllowMacroScratchRegisterUsage.h
index 4e97a08..ed7806c 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/AllowMacroScratchRegisterUsage.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/AllowMacroScratchRegisterUsage.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/AssemblerBuffer.h b/weex_core/Source/include/JavaScriptCore/assembler/AssemblerBuffer.h
index d0c0d58..7340952 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/AssemblerBuffer.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/AssemblerBuffer.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008, 2012, 2014 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/AssemblerBufferWithConstantPool.h b/weex_core/Source/include/JavaScriptCore/assembler/AssemblerBufferWithConstantPool.h
index d0cfaa8..3b63288 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/AssemblerBufferWithConstantPool.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/AssemblerBufferWithConstantPool.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009 University of Szeged
+ * All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY UNIVERSITY OF SZEGED ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UNIVERSITY OF SZEGED OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/AssemblerCommon.h b/weex_core/Source/include/JavaScriptCore/assembler/AssemblerCommon.h
index 3b098d4..2c6cb35 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/AssemblerCommon.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/AssemblerCommon.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012, 2014, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
namespace JSC {
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/CPU.h b/weex_core/Source/include/JavaScriptCore/assembler/CPU.h
index 9ee0b2b..8e8c82f 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/CPU.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/CPU.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008, 2012-2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "Options.h"
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/CodeLocation.h b/weex_core/Source/include/JavaScriptCore/assembler/CodeLocation.h
index 64d7696..a115ec3 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/CodeLocation.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/CodeLocation.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "MacroAssemblerCodeRef.h"
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/DisallowMacroScratchRegisterUsage.h b/weex_core/Source/include/JavaScriptCore/assembler/DisallowMacroScratchRegisterUsage.h
index 92b780d..91f0389 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/DisallowMacroScratchRegisterUsage.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/DisallowMacroScratchRegisterUsage.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/LinkBuffer.h b/weex_core/Source/include/JavaScriptCore/assembler/LinkBuffer.h
index 8649de1..efb26f9 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/LinkBuffer.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/LinkBuffer.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009, 2010, 2012-2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MIPSAssembler.h b/weex_core/Source/include/JavaScriptCore/assembler/MIPSAssembler.h
index 77c0127..7094a26 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MIPSAssembler.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MIPSAssembler.h
@@ -1,21 +1,31 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2009 University of Szeged
+ * All rights reserved.
+ * Copyright (C) 2010 MIPS Technologies, Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY MIPS TECHNOLOGIES, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MIPS TECHNOLOGIES, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(MIPS)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssembler.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssembler.h
index 50016cf..ddfc928 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssembler.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssembler.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARM.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARM.h
index 7fdd046..432ce04 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARM.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARM.h
@@ -1,21 +1,30 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2017 Apple Inc.
+ * Copyright (C) 2009, 2010 University of Szeged
+ * All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(ARM_TRADITIONAL)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARM64.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARM64.h
index 407b118..7f8b65d 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARM64.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARM64.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARMv7.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARMv7.h
index 2da6a69..f52ece1 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARMv7.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerARMv7.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2010 University of Szeged
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerCodeRef.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
index 792311b..c31cf85 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2009, 2012, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "ExecutableAllocator.h"
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerHelpers.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerHelpers.h
index a2a02ad..047e94c 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerHelpers.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerHelpers.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
namespace JSC {
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerMIPS.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerMIPS.h
index 6c2bf18..a98a702 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerMIPS.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerMIPS.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2010 MIPS Technologies, Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY MIPS TECHNOLOGIES, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MIPS TECHNOLOGIES, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(MIPS)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerPrinter.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerPrinter.h
index 5f89081..bbce7ee 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerPrinter.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerPrinter.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(MASM_PROBE)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerSH4.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerSH4.h
index 8e74e1d..c492a40 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerSH4.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerSH4.h
@@ -1,21 +1,30 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Cisco Systems, Inc. All rights reserved.
+ * Copyright (C) 2009-2011 STMicroelectronics. All rights reserved.
+ * Copyright (C) 2008, 2014, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(SH4)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86.h
index a87fb6f..586ca6c 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008, 2014 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(X86)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86Common.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86Common.h
index 6e0cddf..15b220c 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86Common.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86Common.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86_64.h b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86_64.h
index ca3ff49..bc34a0d 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86_64.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MacroAssemblerX86_64.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(X86_64)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/MaxFrameExtentForSlowPathCall.h b/weex_core/Source/include/JavaScriptCore/assembler/MaxFrameExtentForSlowPathCall.h
index 8f7adbb..c6f53b3 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/MaxFrameExtentForSlowPathCall.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/MaxFrameExtentForSlowPathCall.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "Register.h"
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/SH4Assembler.h b/weex_core/Source/include/JavaScriptCore/assembler/SH4Assembler.h
index 3eff024..52217d8 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/SH4Assembler.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/SH4Assembler.h
@@ -1,21 +1,30 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Cisco Systems, Inc. All rights reserved.
+ * Copyright (C) 2009-2011 STMicroelectronics. All rights reserved.
+ * Copyright (C) 2008 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && CPU(SH4)
diff --git a/weex_core/Source/include/JavaScriptCore/assembler/X86Assembler.h b/weex_core/Source/include/JavaScriptCore/assembler/X86Assembler.h
index 6a14db5..552ed1d 100644
--- a/weex_core/Source/include/JavaScriptCore/assembler/X86Assembler.h
+++ b/weex_core/Source/include/JavaScriptCore/assembler/X86Assembler.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(ASSEMBLER) && (CPU(X86) || CPU(X86_64))
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/AccessCase.h b/weex_core/Source/include/JavaScriptCore/bytecode/AccessCase.h
index 5a110e1..9f8a200 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/AccessCase.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/AccessCase.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(JIT)
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/AdaptiveInferredPropertyValueWatchpointBase.h b/weex_core/Source/include/JavaScriptCore/bytecode/AdaptiveInferredPropertyValueWatchpointBase.h
index 1253111..410a93f 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/AdaptiveInferredPropertyValueWatchpointBase.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/AdaptiveInferredPropertyValueWatchpointBase.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "ObjectPropertyCondition.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ArithProfile.h b/weex_core/Source/include/JavaScriptCore/bytecode/ArithProfile.h
index 6eb485e..40fad1b 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ArithProfile.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ArithProfile.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "GPRInfo.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ArrayAllocationProfile.h b/weex_core/Source/include/JavaScriptCore/bytecode/ArrayAllocationProfile.h
index 76b8765..cf30de6 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ArrayAllocationProfile.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ArrayAllocationProfile.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "IndexingType.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ArrayProfile.h b/weex_core/Source/include/JavaScriptCore/bytecode/ArrayProfile.h
index a2a667d..279906d 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ArrayProfile.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ArrayProfile.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "ConcurrentJSLock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ByValInfo.h b/weex_core/Source/include/JavaScriptCore/bytecode/ByValInfo.h
index 23d84a3..e5fa708 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ByValInfo.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ByValInfo.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "ClassInfo.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeBasicBlock.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeBasicBlock.h
index 514f4aa..fb81650 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeBasicBlock.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeBasicBlock.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include <limits.h>
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeConventions.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeConventions.h
index 1a00de2..7781378 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeConventions.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeConventions.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
// Register numbers used in bytecode operations have different meaning according to their ranges:
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeDumper.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeDumper.h
index f98c2ca..8b2453b 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeDumper.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeDumper.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2017 Yusuke Suzuki <ut...@gmail.com>
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CallLinkInfo.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeGeneratorification.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeGeneratorification.h
index f278ea9..c7b6137 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeGeneratorification.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeGeneratorification.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2016 Yusuke Suzuki <ut...@gmail.com>
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "UnlinkedCodeBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeGraph.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeGraph.h
index d6de5f2..38a13c6 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeGraph.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeGraph.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2016 Yusuke Suzuki <ut...@gmail.com>
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "BytecodeBasicBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeIntrinsicRegistry.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeIntrinsicRegistry.h
index 87466da..0259bc6 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeIntrinsicRegistry.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeIntrinsicRegistry.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Yusuke Suzuki <ut...@gmail.com>.
+ * Copyright (C) 2016-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "Identifier.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeKills.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeKills.h
index a7aa72d..dbdd44d 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeKills.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeKills.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.h
index 91cee4e..e12cd8e 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "BytecodeBasicBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeLivenessAnalysisInlines.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeLivenessAnalysisInlines.h
index 161c4ea..3371237 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeLivenessAnalysisInlines.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeLivenessAnalysisInlines.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "BytecodeGraph.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeRewriter.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeRewriter.h
index 0f06fb9..035f900 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeRewriter.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeRewriter.h
@@ -1,21 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2016 Yusuke Suzuki <ut...@gmail.com>
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "BytecodeGraph.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeUseDef.h b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeUseDef.h
index debb68b..e097e10 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeUseDef.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/BytecodeUseDef.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013-2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CallEdge.h b/weex_core/Source/include/JavaScriptCore/bytecode/CallEdge.h
index efab043..8c7abbc 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CallEdge.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CallEdge.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CallVariant.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CallLinkInfo.h b/weex_core/Source/include/JavaScriptCore/bytecode/CallLinkInfo.h
index 8a77fc4..91d3dd8 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CallLinkInfo.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CallLinkInfo.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012, 2014-2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CallMode.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CallLinkStatus.h b/weex_core/Source/include/JavaScriptCore/bytecode/CallLinkStatus.h
index a57495d..353deaa 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CallLinkStatus.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CallLinkStatus.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012-2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CallLinkInfo.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CallMode.h b/weex_core/Source/include/JavaScriptCore/bytecode/CallMode.h
index cff2e7e..02d90e1 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CallMode.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CallMode.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeSpecializationKind.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CallReturnOffsetToBytecodeOffset.h b/weex_core/Source/include/JavaScriptCore/bytecode/CallReturnOffsetToBytecodeOffset.h
index c52013a..2d1b00cb 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CallReturnOffsetToBytecodeOffset.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CallReturnOffsetToBytecodeOffset.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
namespace JSC {
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CallVariant.h b/weex_core/Source/include/JavaScriptCore/bytecode/CallVariant.h
index 4f3a9f2..94e72bb 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CallVariant.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CallVariant.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "FunctionExecutable.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlock.h b/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlock.h
index 63ce1ea..566c489 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlock.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlock.h
@@ -1,21 +1,32 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Cameron Zwarich <cw...@uwaterloo.ca>
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "ArrayProfile.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockHash.h b/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockHash.h
index 07e6701..b828fe8 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockHash.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockHash.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeSpecializationKind.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockJettisoningWatchpoint.h b/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockJettisoningWatchpoint.h
index 22f4562..635cd78 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockJettisoningWatchpoint.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockJettisoningWatchpoint.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "Watchpoint.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockWithJITType.h b/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockWithJITType.h
index ae5f683..37f83c4 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockWithJITType.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CodeBlockWithJITType.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CodeOrigin.h b/weex_core/Source/include/JavaScriptCore/bytecode/CodeOrigin.h
index 61ff122..38712f9 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CodeOrigin.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CodeOrigin.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2011-2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CallMode.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/CodeType.h b/weex_core/Source/include/JavaScriptCore/bytecode/CodeType.h
index 138fe35..3c38ca2 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/CodeType.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/CodeType.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
namespace JSC {
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ComplexGetStatus.h b/weex_core/Source/include/JavaScriptCore/bytecode/ComplexGetStatus.h
index 99ab39a..d94b312 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ComplexGetStatus.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ComplexGetStatus.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "JSCJSValue.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/DFGExitProfile.h b/weex_core/Source/include/JavaScriptCore/bytecode/DFGExitProfile.h
index 6df49a7..337e3ec 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/DFGExitProfile.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/DFGExitProfile.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2011-2014, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(DFG_JIT)
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/DOMJITAccessCasePatchpointParams.h b/weex_core/Source/include/JavaScriptCore/bytecode/DOMJITAccessCasePatchpointParams.h
index 9bc4e1a..8cf9751 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/DOMJITAccessCasePatchpointParams.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/DOMJITAccessCasePatchpointParams.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(JIT)
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/DataFormat.h b/weex_core/Source/include/JavaScriptCore/bytecode/DataFormat.h
index 6bd94be..22c6492 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/DataFormat.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/DataFormat.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2011, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include <wtf/Assertions.h>
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/DeferredCompilationCallback.h b/weex_core/Source/include/JavaScriptCore/bytecode/DeferredCompilationCallback.h
index 1b35276..9257110 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/DeferredCompilationCallback.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/DeferredCompilationCallback.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CompilationResult.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/DeferredSourceDump.h b/weex_core/Source/include/JavaScriptCore/bytecode/DeferredSourceDump.h
index e43f0c3..6c9943d 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/DeferredSourceDump.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/DeferredSourceDump.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeOrigin.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/DirectEvalCodeCache.h b/weex_core/Source/include/JavaScriptCore/bytecode/DirectEvalCodeCache.h
index fd8dcc2..e075357 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/DirectEvalCodeCache.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/DirectEvalCodeCache.h
@@ -1,21 +1,31 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "DirectEvalExecutable.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/EvalCodeBlock.h b/weex_core/Source/include/JavaScriptCore/bytecode/EvalCodeBlock.h
index d29f7bb..3a63817 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/EvalCodeBlock.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/EvalCodeBlock.h
@@ -1,21 +1,32 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Cameron Zwarich <cw...@uwaterloo.ca>
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "GlobalCodeBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/EvalCodeCache.h b/weex_core/Source/include/JavaScriptCore/bytecode/EvalCodeCache.h
index 5e117be..e1c1dac 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/EvalCodeCache.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/EvalCodeCache.h
@@ -1,21 +1,31 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "EvalExecutable.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ExecutableInfo.h b/weex_core/Source/include/JavaScriptCore/bytecode/ExecutableInfo.h
index 70586be..750900e 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ExecutableInfo.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ExecutableInfo.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012-2015 Apple Inc. All Rights Reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "ParserModes.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ExecutionCounter.h b/weex_core/Source/include/JavaScriptCore/bytecode/ExecutionCounter.h
index a9762be..f78a912 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ExecutionCounter.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ExecutionCounter.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012, 2014 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "JSGlobalObject.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ExitKind.h b/weex_core/Source/include/JavaScriptCore/bytecode/ExitKind.h
index efbf834..a6c2e0e 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ExitKind.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ExitKind.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012-2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
namespace JSC {
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ExitingJITType.h b/weex_core/Source/include/JavaScriptCore/bytecode/ExitingJITType.h
index beb9b0c..dfbfee4 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ExitingJITType.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ExitingJITType.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "JITCode.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/ExpressionRangeInfo.h b/weex_core/Source/include/JavaScriptCore/bytecode/ExpressionRangeInfo.h
index 2718ea8..8f83527 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/ExpressionRangeInfo.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/ExpressionRangeInfo.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012-2013, 2016 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include <wtf/StdLibExtras.h>
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/FullBytecodeLiveness.h b/weex_core/Source/include/JavaScriptCore/bytecode/FullBytecodeLiveness.h
index 63997d1..073ce27 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/FullBytecodeLiveness.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/FullBytecodeLiveness.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2013, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include <wtf/FastBitVector.h>
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/FullCodeOrigin.h b/weex_core/Source/include/JavaScriptCore/bytecode/FullCodeOrigin.h
index 1c6c16e..9e83191 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/FullCodeOrigin.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/FullCodeOrigin.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/FunctionCodeBlock.h b/weex_core/Source/include/JavaScriptCore/bytecode/FunctionCodeBlock.h
index a892e57..1a6c0ba 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/FunctionCodeBlock.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/FunctionCodeBlock.h
@@ -1,21 +1,32 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Cameron Zwarich <cw...@uwaterloo.ca>
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/GetByIdStatus.h b/weex_core/Source/include/JavaScriptCore/bytecode/GetByIdStatus.h
index d7b7847..de47bf5 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/GetByIdStatus.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/GetByIdStatus.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012, 2013, 2014 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CallLinkStatus.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/GetByIdVariant.h b/weex_core/Source/include/JavaScriptCore/bytecode/GetByIdVariant.h
index d80c7a2..8ded248 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/GetByIdVariant.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/GetByIdVariant.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2014, 2015 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CallLinkStatus.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/GetterSetterAccessCase.h b/weex_core/Source/include/JavaScriptCore/bytecode/GetterSetterAccessCase.h
index 4f33221..06192da 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/GetterSetterAccessCase.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/GetterSetterAccessCase.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#if ENABLE(JIT)
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/GlobalCodeBlock.h b/weex_core/Source/include/JavaScriptCore/bytecode/GlobalCodeBlock.h
index 00e7fd1..aa29cca 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/GlobalCodeBlock.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/GlobalCodeBlock.h
@@ -1,21 +1,32 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2008-2016 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Cameron Zwarich <cw...@uwaterloo.ca>
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#pragma once
#include "CodeBlock.h"
diff --git a/weex_core/Source/include/JavaScriptCore/bytecode/HandlerInfo.h b/weex_core/Source/include/JavaScriptCore/bytecode/HandlerInfo.h
index 4fd7311..ad7e74c 100644
--- a/weex_core/Source/include/JavaScriptCore/bytecode/HandlerInfo.h
+++ b/weex_core/Source/include/JavaScriptCore/bytecode/HandlerInfo.h
@@ -1,21 +1,28 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+/*
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
... 64364 lines suppressed ...