├── .qmake.conf
├── .tag
├── LICENSE.FDL
├── LICENSE.GPL2
├── LICENSE.GPL3
├── LICENSE.GPL3-EXCEPT
├── LICENSE.LGPL3
├── configure.json
├── dependencies.yaml
├── dist
├── changes-5.0.1
├── changes-5.0.2
├── changes-5.1.0
├── changes-5.1.1
├── changes-5.10.1
├── changes-5.11.0
├── changes-5.11.1
├── changes-5.11.2
├── changes-5.11.3
├── changes-5.12.0
├── changes-5.12.1
├── changes-5.12.2
├── changes-5.12.3
├── changes-5.12.4
├── changes-5.12.5
├── changes-5.13.0
├── changes-5.13.1
├── changes-5.13.2
├── changes-5.14.0
├── changes-5.14.1
├── changes-5.9.4
├── changes-5.9.5
└── changes-5.9.6
├── examples
├── examples.pro
└── script
│ ├── README
│ ├── calculator
│ ├── calculator.js
│ ├── calculator.pro
│ ├── calculator.qrc
│ ├── calculator.ui
│ └── main.cpp
│ ├── context2d
│ ├── context2d.cpp
│ ├── context2d.h
│ ├── context2d.pro
│ ├── context2d.qrc
│ ├── doc
│ │ ├── images
│ │ │ ├── context2d-example-smileysmile.png
│ │ │ └── context2d-example.png
│ │ └── src
│ │ │ └── context2d.qdoc
│ ├── domimage.cpp
│ ├── domimage.h
│ ├── environment.cpp
│ ├── environment.h
│ ├── main.cpp
│ ├── qcontext2dcanvas.cpp
│ ├── qcontext2dcanvas.h
│ ├── scripts
│ │ ├── alpha.js
│ │ ├── arc.js
│ │ ├── bezier.js
│ │ ├── clock.js
│ │ ├── fill1.js
│ │ ├── grad.js
│ │ ├── linecap.js
│ │ ├── linestye.js
│ │ ├── moveto.js
│ │ ├── moveto2.js
│ │ ├── pacman.js
│ │ ├── plasma.js
│ │ ├── pong.js
│ │ ├── quad.js
│ │ ├── rgba.js
│ │ ├── rotate.js
│ │ ├── scale.js
│ │ ├── stroke1.js
│ │ └── translate.js
│ ├── window.cpp
│ └── window.h
│ ├── customclass
│ ├── bytearrayclass.cpp
│ ├── bytearrayclass.h
│ ├── bytearrayclass.pri
│ ├── bytearrayprototype.cpp
│ ├── bytearrayprototype.h
│ ├── customclass.pro
│ └── main.cpp
│ ├── defaultprototypes
│ ├── code.js
│ ├── defaultprototypes.pro
│ ├── defaultprototypes.qrc
│ ├── doc
│ │ ├── images
│ │ │ └── defaultprototypes-example.png
│ │ └── src
│ │ │ └── defaultprototypes.qdoc
│ ├── main.cpp
│ ├── prototypes.cpp
│ └── prototypes.h
│ ├── helloscript
│ ├── doc
│ │ └── src
│ │ │ └── helloscript.qdoc
│ ├── helloscript.js
│ ├── helloscript.pro
│ ├── helloscript.qrc
│ └── main.cpp
│ ├── marshal
│ ├── main.cpp
│ └── marshal.pro
│ ├── qscript
│ ├── main.cpp
│ └── qscript.pro
│ ├── qsdbg
│ ├── example.js
│ ├── main.cpp
│ ├── qsdbg.pri
│ ├── qsdbg.pro
│ ├── scriptbreakpointmanager.cpp
│ ├── scriptbreakpointmanager.h
│ ├── scriptdebugger.cpp
│ └── scriptdebugger.h
│ ├── qstetrix
│ ├── main.cpp
│ ├── qstetrix.pro
│ ├── tetrix.qrc
│ ├── tetrixboard.cpp
│ ├── tetrixboard.h
│ ├── tetrixboard.js
│ ├── tetrixpiece.js
│ ├── tetrixwindow.js
│ └── tetrixwindow.ui
│ └── script.pro
├── qtscript.pro
├── src
├── 3rdparty
│ └── javascriptcore
│ │ ├── JavaScriptCore
│ │ ├── API
│ │ │ ├── APICast.h
│ │ │ ├── APIShims.h
│ │ │ ├── JSBase.cpp
│ │ │ ├── JSBase.h
│ │ │ ├── JSBasePrivate.h
│ │ │ ├── JSCallbackConstructor.cpp
│ │ │ ├── JSCallbackConstructor.h
│ │ │ ├── JSCallbackFunction.cpp
│ │ │ ├── JSCallbackFunction.h
│ │ │ ├── JSCallbackObject.cpp
│ │ │ ├── JSCallbackObject.h
│ │ │ ├── JSCallbackObjectFunctions.h
│ │ │ ├── JSClassRef.cpp
│ │ │ ├── JSClassRef.h
│ │ │ ├── JSContextRef.cpp
│ │ │ ├── JSContextRef.h
│ │ │ ├── JSContextRefPrivate.h
│ │ │ ├── JSObjectRef.cpp
│ │ │ ├── JSObjectRef.h
│ │ │ ├── JSProfilerPrivate.cpp
│ │ │ ├── JSProfilerPrivate.h
│ │ │ ├── JSRetainPtr.h
│ │ │ ├── JSStringRef.cpp
│ │ │ ├── JSStringRef.h
│ │ │ ├── JSStringRefBSTR.cpp
│ │ │ ├── JSStringRefBSTR.h
│ │ │ ├── JSStringRefCF.cpp
│ │ │ ├── JSStringRefCF.h
│ │ │ ├── JSValueRef.cpp
│ │ │ ├── JSValueRef.h
│ │ │ ├── JavaScript.h
│ │ │ ├── JavaScriptCore.h
│ │ │ ├── OpaqueJSString.cpp
│ │ │ ├── OpaqueJSString.h
│ │ │ └── WebKitAvailability.h
│ │ ├── AUTHORS
│ │ ├── COPYING.LIB
│ │ ├── ChangeLog
│ │ ├── ChangeLog-2002-12-03
│ │ ├── ChangeLog-2003-10-25
│ │ ├── ChangeLog-2007-10-14
│ │ ├── ChangeLog-2008-08-10
│ │ ├── ChangeLog-2009-06-16
│ │ ├── DerivedSources.make
│ │ ├── ForwardingHeaders
│ │ │ └── JavaScriptCore
│ │ │ │ ├── APICast.h
│ │ │ │ ├── JSBase.h
│ │ │ │ ├── JSContextRef.h
│ │ │ │ ├── JSObjectRef.h
│ │ │ │ ├── JSRetainPtr.h
│ │ │ │ ├── JSStringRef.h
│ │ │ │ ├── JSStringRefCF.h
│ │ │ │ ├── JSValueRef.h
│ │ │ │ ├── JavaScript.h
│ │ │ │ ├── JavaScriptCore.h
│ │ │ │ ├── OpaqueJSString.h
│ │ │ │ └── WebKitAvailability.h
│ │ ├── Info.plist
│ │ ├── JavaScriptCore.gypi
│ │ ├── JavaScriptCore.order
│ │ ├── JavaScriptCore.pri
│ │ ├── JavaScriptCorePrefix.h
│ │ ├── THANKS
│ │ ├── assembler
│ │ │ ├── ARMAssembler.cpp
│ │ │ ├── ARMAssembler.h
│ │ │ ├── ARMv7Assembler.h
│ │ │ ├── AbstractMacroAssembler.h
│ │ │ ├── AssemblerBuffer.h
│ │ │ ├── AssemblerBufferWithConstantPool.h
│ │ │ ├── CodeLocation.h
│ │ │ ├── LinkBuffer.h
│ │ │ ├── MacroAssembler.h
│ │ │ ├── MacroAssemblerARM.cpp
│ │ │ ├── MacroAssemblerARM.h
│ │ │ ├── MacroAssemblerARMv7.h
│ │ │ ├── MacroAssemblerCodeRef.h
│ │ │ ├── MacroAssemblerX86.h
│ │ │ ├── MacroAssemblerX86Common.h
│ │ │ ├── MacroAssemblerX86_64.h
│ │ │ ├── RepatchBuffer.h
│ │ │ └── X86Assembler.h
│ │ ├── bytecode
│ │ │ ├── CodeBlock.cpp
│ │ │ ├── CodeBlock.h
│ │ │ ├── EvalCodeCache.h
│ │ │ ├── Instruction.h
│ │ │ ├── JumpTable.cpp
│ │ │ ├── JumpTable.h
│ │ │ ├── Opcode.cpp
│ │ │ ├── Opcode.h
│ │ │ ├── SamplingTool.cpp
│ │ │ ├── SamplingTool.h
│ │ │ ├── StructureStubInfo.cpp
│ │ │ └── StructureStubInfo.h
│ │ ├── bytecompiler
│ │ │ ├── BytecodeGenerator.cpp
│ │ │ ├── BytecodeGenerator.h
│ │ │ ├── Label.h
│ │ │ ├── LabelScope.h
│ │ │ ├── NodesCodegen.cpp
│ │ │ └── RegisterID.h
│ │ ├── config.h
│ │ ├── create_hash_table
│ │ ├── debugger
│ │ │ ├── Debugger.cpp
│ │ │ ├── Debugger.h
│ │ │ ├── DebuggerActivation.cpp
│ │ │ ├── DebuggerActivation.h
│ │ │ ├── DebuggerCallFrame.cpp
│ │ │ └── DebuggerCallFrame.h
│ │ ├── docs
│ │ │ └── make-bytecode-docs.pl
│ │ ├── generated
│ │ │ ├── ArrayPrototype.lut.h
│ │ │ ├── DatePrototype.lut.h
│ │ │ ├── GeneratedJITStubs_RVCT.h
│ │ │ ├── Grammar.cpp
│ │ │ ├── Grammar.h
│ │ │ ├── JSONObject.lut.h
│ │ │ ├── Lexer.lut.h
│ │ │ ├── MathObject.lut.h
│ │ │ ├── NumberConstructor.lut.h
│ │ │ ├── RegExpConstructor.lut.h
│ │ │ ├── RegExpObject.lut.h
│ │ │ ├── StringPrototype.lut.h
│ │ │ └── chartables.c
│ │ ├── headers.pri
│ │ ├── interpreter
│ │ │ ├── CachedCall.h
│ │ │ ├── CallFrame.cpp
│ │ │ ├── CallFrame.h
│ │ │ ├── CallFrameClosure.h
│ │ │ ├── Interpreter.cpp
│ │ │ ├── Interpreter.h
│ │ │ ├── Register.h
│ │ │ ├── RegisterFile.cpp
│ │ │ └── RegisterFile.h
│ │ ├── jit
│ │ │ ├── ExecutableAllocator.cpp
│ │ │ ├── ExecutableAllocator.h
│ │ │ ├── ExecutableAllocatorFixedVMPool.cpp
│ │ │ ├── ExecutableAllocatorPosix.cpp
│ │ │ ├── ExecutableAllocatorSymbian.cpp
│ │ │ ├── ExecutableAllocatorWin.cpp
│ │ │ ├── JIT.cpp
│ │ │ ├── JIT.h
│ │ │ ├── JITArithmetic.cpp
│ │ │ ├── JITCall.cpp
│ │ │ ├── JITCode.h
│ │ │ ├── JITInlineMethods.h
│ │ │ ├── JITOpcodes.cpp
│ │ │ ├── JITPropertyAccess.cpp
│ │ │ ├── JITStubCall.h
│ │ │ ├── JITStubs.cpp
│ │ │ └── JITStubs.h
│ │ ├── jsc.cpp
│ │ ├── make-generated-sources.sh
│ │ ├── os-win32
│ │ │ ├── WinMain.cpp
│ │ │ └── stdbool.h
│ │ ├── parser
│ │ │ ├── Grammar.y
│ │ │ ├── Keywords.table
│ │ │ ├── Lexer.cpp
│ │ │ ├── Lexer.h
│ │ │ ├── NodeConstructors.h
│ │ │ ├── NodeInfo.h
│ │ │ ├── Nodes.cpp
│ │ │ ├── Nodes.h
│ │ │ ├── Parser.cpp
│ │ │ ├── Parser.h
│ │ │ ├── ParserArena.cpp
│ │ │ ├── ParserArena.h
│ │ │ ├── ResultType.h
│ │ │ ├── SourceCode.h
│ │ │ └── SourceProvider.h
│ │ ├── pcre
│ │ │ ├── AUTHORS
│ │ │ ├── COPYING
│ │ │ ├── dftables
│ │ │ ├── pcre.h
│ │ │ ├── pcre.pri
│ │ │ ├── pcre_compile.cpp
│ │ │ ├── pcre_exec.cpp
│ │ │ ├── pcre_internal.h
│ │ │ ├── pcre_tables.cpp
│ │ │ ├── pcre_ucp_searchfuncs.cpp
│ │ │ ├── pcre_xclass.cpp
│ │ │ ├── ucpinternal.h
│ │ │ └── ucptable.cpp
│ │ ├── profiler
│ │ │ ├── CallIdentifier.h
│ │ │ ├── Profile.cpp
│ │ │ ├── Profile.h
│ │ │ ├── ProfileGenerator.cpp
│ │ │ ├── ProfileGenerator.h
│ │ │ ├── ProfileNode.cpp
│ │ │ ├── ProfileNode.h
│ │ │ ├── Profiler.cpp
│ │ │ ├── Profiler.h
│ │ │ ├── ProfilerServer.h
│ │ │ └── ProfilerServer.mm
│ │ ├── runtime
│ │ │ ├── ArgList.cpp
│ │ │ ├── ArgList.h
│ │ │ ├── Arguments.cpp
│ │ │ ├── Arguments.h
│ │ │ ├── ArrayConstructor.cpp
│ │ │ ├── ArrayConstructor.h
│ │ │ ├── ArrayPrototype.cpp
│ │ │ ├── ArrayPrototype.h
│ │ │ ├── BatchedTransitionOptimizer.h
│ │ │ ├── BooleanConstructor.cpp
│ │ │ ├── BooleanConstructor.h
│ │ │ ├── BooleanObject.cpp
│ │ │ ├── BooleanObject.h
│ │ │ ├── BooleanPrototype.cpp
│ │ │ ├── BooleanPrototype.h
│ │ │ ├── CallData.cpp
│ │ │ ├── CallData.h
│ │ │ ├── ClassInfo.h
│ │ │ ├── Collector.cpp
│ │ │ ├── Collector.h
│ │ │ ├── CollectorHeapIterator.h
│ │ │ ├── CommonIdentifiers.cpp
│ │ │ ├── CommonIdentifiers.h
│ │ │ ├── Completion.cpp
│ │ │ ├── Completion.h
│ │ │ ├── ConstructData.cpp
│ │ │ ├── ConstructData.h
│ │ │ ├── DateConstructor.cpp
│ │ │ ├── DateConstructor.h
│ │ │ ├── DateConversion.cpp
│ │ │ ├── DateConversion.h
│ │ │ ├── DateInstance.cpp
│ │ │ ├── DateInstance.h
│ │ │ ├── DateInstanceCache.h
│ │ │ ├── DatePrototype.cpp
│ │ │ ├── DatePrototype.h
│ │ │ ├── Error.cpp
│ │ │ ├── Error.h
│ │ │ ├── ErrorConstructor.cpp
│ │ │ ├── ErrorConstructor.h
│ │ │ ├── ErrorInstance.cpp
│ │ │ ├── ErrorInstance.h
│ │ │ ├── ErrorPrototype.cpp
│ │ │ ├── ErrorPrototype.h
│ │ │ ├── ExceptionHelpers.cpp
│ │ │ ├── ExceptionHelpers.h
│ │ │ ├── Executable.cpp
│ │ │ ├── Executable.h
│ │ │ ├── FunctionConstructor.cpp
│ │ │ ├── FunctionConstructor.h
│ │ │ ├── FunctionPrototype.cpp
│ │ │ ├── FunctionPrototype.h
│ │ │ ├── GetterSetter.cpp
│ │ │ ├── GetterSetter.h
│ │ │ ├── GlobalEvalFunction.cpp
│ │ │ ├── GlobalEvalFunction.h
│ │ │ ├── Identifier.cpp
│ │ │ ├── Identifier.h
│ │ │ ├── InitializeThreading.cpp
│ │ │ ├── InitializeThreading.h
│ │ │ ├── InternalFunction.cpp
│ │ │ ├── InternalFunction.h
│ │ │ ├── JSAPIValueWrapper.cpp
│ │ │ ├── JSAPIValueWrapper.h
│ │ │ ├── JSActivation.cpp
│ │ │ ├── JSActivation.h
│ │ │ ├── JSArray.cpp
│ │ │ ├── JSArray.h
│ │ │ ├── JSByteArray.cpp
│ │ │ ├── JSByteArray.h
│ │ │ ├── JSCell.cpp
│ │ │ ├── JSCell.h
│ │ │ ├── JSFunction.cpp
│ │ │ ├── JSFunction.h
│ │ │ ├── JSGlobalData.cpp
│ │ │ ├── JSGlobalData.h
│ │ │ ├── JSGlobalObject.cpp
│ │ │ ├── JSGlobalObject.h
│ │ │ ├── JSGlobalObjectFunctions.cpp
│ │ │ ├── JSGlobalObjectFunctions.h
│ │ │ ├── JSImmediate.cpp
│ │ │ ├── JSImmediate.h
│ │ │ ├── JSLock.cpp
│ │ │ ├── JSLock.h
│ │ │ ├── JSNotAnObject.cpp
│ │ │ ├── JSNotAnObject.h
│ │ │ ├── JSNumberCell.cpp
│ │ │ ├── JSNumberCell.h
│ │ │ ├── JSONObject.cpp
│ │ │ ├── JSONObject.h
│ │ │ ├── JSObject.cpp
│ │ │ ├── JSObject.h
│ │ │ ├── JSPropertyNameIterator.cpp
│ │ │ ├── JSPropertyNameIterator.h
│ │ │ ├── JSStaticScopeObject.cpp
│ │ │ ├── JSStaticScopeObject.h
│ │ │ ├── JSString.cpp
│ │ │ ├── JSString.h
│ │ │ ├── JSType.h
│ │ │ ├── JSTypeInfo.h
│ │ │ ├── JSValue.cpp
│ │ │ ├── JSValue.h
│ │ │ ├── JSVariableObject.cpp
│ │ │ ├── JSVariableObject.h
│ │ │ ├── JSWrapperObject.cpp
│ │ │ ├── JSWrapperObject.h
│ │ │ ├── JSZombie.cpp
│ │ │ ├── JSZombie.h
│ │ │ ├── LiteralParser.cpp
│ │ │ ├── LiteralParser.h
│ │ │ ├── Lookup.cpp
│ │ │ ├── Lookup.h
│ │ │ ├── MarkStack.cpp
│ │ │ ├── MarkStack.h
│ │ │ ├── MarkStackNone.cpp
│ │ │ ├── MarkStackPosix.cpp
│ │ │ ├── MarkStackSymbian.cpp
│ │ │ ├── MarkStackWin.cpp
│ │ │ ├── MathObject.cpp
│ │ │ ├── MathObject.h
│ │ │ ├── NativeErrorConstructor.cpp
│ │ │ ├── NativeErrorConstructor.h
│ │ │ ├── NativeErrorPrototype.cpp
│ │ │ ├── NativeErrorPrototype.h
│ │ │ ├── NativeFunctionWrapper.h
│ │ │ ├── NumberConstructor.cpp
│ │ │ ├── NumberConstructor.h
│ │ │ ├── NumberObject.cpp
│ │ │ ├── NumberObject.h
│ │ │ ├── NumberPrototype.cpp
│ │ │ ├── NumberPrototype.h
│ │ │ ├── NumericStrings.h
│ │ │ ├── ObjectConstructor.cpp
│ │ │ ├── ObjectConstructor.h
│ │ │ ├── ObjectPrototype.cpp
│ │ │ ├── ObjectPrototype.h
│ │ │ ├── Operations.cpp
│ │ │ ├── Operations.h
│ │ │ ├── PropertyDescriptor.cpp
│ │ │ ├── PropertyDescriptor.h
│ │ │ ├── PropertyMapHashTable.h
│ │ │ ├── PropertyNameArray.cpp
│ │ │ ├── PropertyNameArray.h
│ │ │ ├── PropertySlot.cpp
│ │ │ ├── PropertySlot.h
│ │ │ ├── Protect.h
│ │ │ ├── PrototypeFunction.cpp
│ │ │ ├── PrototypeFunction.h
│ │ │ ├── PutPropertySlot.h
│ │ │ ├── RegExp.cpp
│ │ │ ├── RegExp.h
│ │ │ ├── RegExpConstructor.cpp
│ │ │ ├── RegExpConstructor.h
│ │ │ ├── RegExpMatchesArray.h
│ │ │ ├── RegExpObject.cpp
│ │ │ ├── RegExpObject.h
│ │ │ ├── RegExpPrototype.cpp
│ │ │ ├── RegExpPrototype.h
│ │ │ ├── ScopeChain.cpp
│ │ │ ├── ScopeChain.h
│ │ │ ├── ScopeChainMark.h
│ │ │ ├── SmallStrings.cpp
│ │ │ ├── SmallStrings.h
│ │ │ ├── StringBuilder.h
│ │ │ ├── StringConstructor.cpp
│ │ │ ├── StringConstructor.h
│ │ │ ├── StringObject.cpp
│ │ │ ├── StringObject.h
│ │ │ ├── StringObjectThatMasqueradesAsUndefined.h
│ │ │ ├── StringPrototype.cpp
│ │ │ ├── StringPrototype.h
│ │ │ ├── Structure.cpp
│ │ │ ├── Structure.h
│ │ │ ├── StructureChain.cpp
│ │ │ ├── StructureChain.h
│ │ │ ├── StructureTransitionTable.h
│ │ │ ├── SymbolTable.h
│ │ │ ├── TimeoutChecker.cpp
│ │ │ ├── TimeoutChecker.h
│ │ │ ├── Tracing.h
│ │ │ ├── UString.cpp
│ │ │ ├── UString.h
│ │ │ ├── UStringImpl.cpp
│ │ │ ├── UStringImpl.h
│ │ │ ├── WeakGCMap.h
│ │ │ ├── WeakGCPtr.h
│ │ │ └── WeakRandom.h
│ │ ├── wrec
│ │ │ ├── CharacterClass.cpp
│ │ │ ├── CharacterClass.h
│ │ │ ├── CharacterClassConstructor.cpp
│ │ │ ├── CharacterClassConstructor.h
│ │ │ ├── Escapes.h
│ │ │ ├── Quantifier.h
│ │ │ ├── WREC.cpp
│ │ │ ├── WREC.h
│ │ │ ├── WRECFunctors.cpp
│ │ │ ├── WRECFunctors.h
│ │ │ ├── WRECGenerator.cpp
│ │ │ ├── WRECGenerator.h
│ │ │ ├── WRECParser.cpp
│ │ │ └── WRECParser.h
│ │ ├── wscript
│ │ ├── wtf
│ │ │ ├── ASCIICType.h
│ │ │ ├── AVLTree.h
│ │ │ ├── AlwaysInline.h
│ │ │ ├── Assertions.cpp
│ │ │ ├── Assertions.h
│ │ │ ├── ByteArray.cpp
│ │ │ ├── ByteArray.h
│ │ │ ├── CONTRIBUTORS.pthreads-win32
│ │ │ ├── CrossThreadRefCounted.h
│ │ │ ├── CurrentTime.cpp
│ │ │ ├── CurrentTime.h
│ │ │ ├── DateMath.cpp
│ │ │ ├── DateMath.h
│ │ │ ├── Deque.h
│ │ │ ├── DisallowCType.h
│ │ │ ├── FastAllocBase.h
│ │ │ ├── FastMalloc.cpp
│ │ │ ├── FastMalloc.h
│ │ │ ├── Forward.h
│ │ │ ├── GetPtr.h
│ │ │ ├── HashCountedSet.h
│ │ │ ├── HashFunctions.h
│ │ │ ├── HashIterators.h
│ │ │ ├── HashMap.h
│ │ │ ├── HashSet.h
│ │ │ ├── HashTable.cpp
│ │ │ ├── HashTable.h
│ │ │ ├── HashTraits.h
│ │ │ ├── ListHashSet.h
│ │ │ ├── ListRefPtr.h
│ │ │ ├── Locker.h
│ │ │ ├── MainThread.cpp
│ │ │ ├── MainThread.h
│ │ │ ├── MallocZoneSupport.h
│ │ │ ├── MathExtras.h
│ │ │ ├── MessageQueue.h
│ │ │ ├── Noncopyable.h
│ │ │ ├── NotFound.h
│ │ │ ├── OwnArrayPtr.h
│ │ │ ├── OwnFastMallocPtr.h
│ │ │ ├── OwnPtr.h
│ │ │ ├── OwnPtrCommon.h
│ │ │ ├── OwnPtrWin.cpp
│ │ │ ├── PassOwnPtr.h
│ │ │ ├── PassRefPtr.h
│ │ │ ├── Platform.h
│ │ │ ├── PossiblyNull.h
│ │ │ ├── PtrAndFlags.h
│ │ │ ├── RandomNumber.cpp
│ │ │ ├── RandomNumber.h
│ │ │ ├── RandomNumberSeed.h
│ │ │ ├── RefCounted.h
│ │ │ ├── RefCountedLeakCounter.cpp
│ │ │ ├── RefCountedLeakCounter.h
│ │ │ ├── RefPtr.h
│ │ │ ├── RefPtrHashMap.h
│ │ │ ├── RetainPtr.h
│ │ │ ├── SegmentedVector.h
│ │ │ ├── StdLibExtras.h
│ │ │ ├── StringExtras.cpp
│ │ │ ├── StringExtras.h
│ │ │ ├── StringHashFunctions.h
│ │ │ ├── TCPackedCache.h
│ │ │ ├── TCPageMap.h
│ │ │ ├── TCSpinLock.h
│ │ │ ├── TCSystemAlloc.cpp
│ │ │ ├── TCSystemAlloc.h
│ │ │ ├── ThreadIdentifierDataPthreads.cpp
│ │ │ ├── ThreadIdentifierDataPthreads.h
│ │ │ ├── ThreadSpecific.h
│ │ │ ├── ThreadSpecificWin.cpp
│ │ │ ├── Threading.cpp
│ │ │ ├── Threading.h
│ │ │ ├── ThreadingNone.cpp
│ │ │ ├── ThreadingPthreads.cpp
│ │ │ ├── ThreadingWin.cpp
│ │ │ ├── TypeTraits.cpp
│ │ │ ├── TypeTraits.h
│ │ │ ├── UnusedParam.h
│ │ │ ├── VMTags.h
│ │ │ ├── Vector.h
│ │ │ ├── VectorTraits.h
│ │ │ ├── android
│ │ │ │ ├── AndroidThreading.h
│ │ │ │ └── MainThreadAndroid.cpp
│ │ │ ├── dtoa.cpp
│ │ │ ├── dtoa.h
│ │ │ ├── qt
│ │ │ │ ├── MainThreadQt.cpp
│ │ │ │ └── ThreadingQt.cpp
│ │ │ ├── symbian
│ │ │ │ ├── BlockAllocatorSymbian.cpp
│ │ │ │ ├── BlockAllocatorSymbian.h
│ │ │ │ ├── RegisterFileAllocatorSymbian.cpp
│ │ │ │ ├── RegisterFileAllocatorSymbian.h
│ │ │ │ └── SymbianDefines.h
│ │ │ ├── unicode
│ │ │ │ ├── Collator.h
│ │ │ │ ├── CollatorDefault.cpp
│ │ │ │ ├── UTF8.cpp
│ │ │ │ ├── UTF8.h
│ │ │ │ ├── Unicode.h
│ │ │ │ ├── glib
│ │ │ │ │ ├── UnicodeGLib.cpp
│ │ │ │ │ ├── UnicodeGLib.h
│ │ │ │ │ └── UnicodeMacrosFromICU.h
│ │ │ │ ├── icu
│ │ │ │ │ ├── CollatorICU.cpp
│ │ │ │ │ └── UnicodeIcu.h
│ │ │ │ ├── qt4
│ │ │ │ │ └── UnicodeQt4.h
│ │ │ │ └── wince
│ │ │ │ │ ├── UnicodeWince.cpp
│ │ │ │ │ └── UnicodeWince.h
│ │ │ └── wince
│ │ │ │ ├── FastMallocWince.h
│ │ │ │ ├── MemoryManager.cpp
│ │ │ │ ├── MemoryManager.h
│ │ │ │ └── mt19937ar.c
│ │ └── yarr
│ │ │ ├── RegexCompiler.cpp
│ │ │ ├── RegexCompiler.h
│ │ │ ├── RegexInterpreter.cpp
│ │ │ ├── RegexInterpreter.h
│ │ │ ├── RegexJIT.cpp
│ │ │ ├── RegexJIT.h
│ │ │ ├── RegexParser.h
│ │ │ └── RegexPattern.h
│ │ ├── VERSION.TXT
│ │ ├── WebKit.pri
│ │ └── qt_attribution.json
├── plugins
│ └── script
│ │ ├── qtdbus
│ │ ├── main.cpp
│ │ ├── main.h
│ │ ├── qtdbus.pro
│ │ └── qtdbusscriptplugin.json
│ │ └── script.pro
├── script
│ ├── api
│ │ ├── api.pri
│ │ ├── qscriptable.cpp
│ │ ├── qscriptable.h
│ │ ├── qscriptable_p.h
│ │ ├── qscriptclass.cpp
│ │ ├── qscriptclass.h
│ │ ├── qscriptclasspropertyiterator.cpp
│ │ ├── qscriptclasspropertyiterator.h
│ │ ├── qscriptcontext.cpp
│ │ ├── qscriptcontext.h
│ │ ├── qscriptcontext_p.h
│ │ ├── qscriptcontextinfo.cpp
│ │ ├── qscriptcontextinfo.h
│ │ ├── qscriptengine.cpp
│ │ ├── qscriptengine.h
│ │ ├── qscriptengine_p.h
│ │ ├── qscriptengineagent.cpp
│ │ ├── qscriptengineagent.h
│ │ ├── qscriptengineagent_p.h
│ │ ├── qscriptextensioninterface.h
│ │ ├── qscriptextensionplugin.cpp
│ │ ├── qscriptextensionplugin.h
│ │ ├── qscriptprogram.cpp
│ │ ├── qscriptprogram.h
│ │ ├── qscriptprogram_p.h
│ │ ├── qscriptstring.cpp
│ │ ├── qscriptstring.h
│ │ ├── qscriptstring_p.h
│ │ ├── qscriptvalue.cpp
│ │ ├── qscriptvalue.h
│ │ ├── qscriptvalue_p.h
│ │ ├── qscriptvalueiterator.cpp
│ │ ├── qscriptvalueiterator.h
│ │ └── qtscriptglobal.h
│ ├── bridge
│ │ ├── bridge.pri
│ │ ├── qscriptactivationobject.cpp
│ │ ├── qscriptactivationobject_p.h
│ │ ├── qscriptclassobject.cpp
│ │ ├── qscriptclassobject_p.h
│ │ ├── qscriptdeclarativeclass.cpp
│ │ ├── qscriptdeclarativeclass_p.h
│ │ ├── qscriptdeclarativeobject.cpp
│ │ ├── qscriptdeclarativeobject_p.h
│ │ ├── qscriptfunction.cpp
│ │ ├── qscriptfunction_p.h
│ │ ├── qscriptglobalobject.cpp
│ │ ├── qscriptglobalobject_p.h
│ │ ├── qscriptobject.cpp
│ │ ├── qscriptobject_p.h
│ │ ├── qscriptqobject.cpp
│ │ ├── qscriptqobject_p.h
│ │ ├── qscriptstaticscopeobject.cpp
│ │ ├── qscriptstaticscopeobject_p.h
│ │ ├── qscriptvariant.cpp
│ │ └── qscriptvariant_p.h
│ ├── configure.json
│ ├── doc
│ │ ├── images
│ │ │ └── qtscript-debugger.png
│ │ ├── qtscript.qdocconf
│ │ ├── snippets
│ │ │ ├── code
│ │ │ │ ├── doc_src_examples_hellotr.qdoc
│ │ │ │ ├── doc_src_qtscript.cpp
│ │ │ │ ├── doc_src_qtscript.js
│ │ │ │ ├── doc_src_qtscript.pro
│ │ │ │ ├── doc_src_qtscript.qdoc
│ │ │ │ ├── doc_src_qtscriptextensions.js
│ │ │ │ ├── src_script_qscriptable.cpp
│ │ │ │ ├── src_script_qscriptclass.cpp
│ │ │ │ ├── src_script_qscriptcontext.cpp
│ │ │ │ ├── src_script_qscriptengine.cpp
│ │ │ │ ├── src_script_qscriptengineagent.cpp
│ │ │ │ ├── src_script_qscriptvalue.cpp
│ │ │ │ └── src_script_qscriptvalueiterator.cpp
│ │ │ └── qtscript
│ │ │ │ ├── evaluation
│ │ │ │ └── main.cpp
│ │ │ │ ├── registeringobjects
│ │ │ │ └── main.cpp
│ │ │ │ └── registeringvalues
│ │ │ │ └── main.cpp
│ │ └── src
│ │ │ ├── ecmascript.qdoc
│ │ │ ├── external-resources.qdoc
│ │ │ ├── includes
│ │ │ └── deprecation.qdocinc
│ │ │ ├── qtscript-index.qdoc
│ │ │ ├── qtscript-module.qdoc
│ │ │ ├── qtscriptdebugger-manual.qdoc
│ │ │ └── qtscriptextensions.qdoc
│ ├── parser
│ │ ├── make-parser.sh
│ │ ├── parser.pri
│ │ ├── qscript.g
│ │ ├── qscriptast.cpp
│ │ ├── qscriptast_p.h
│ │ ├── qscriptastfwd_p.h
│ │ ├── qscriptastvisitor.cpp
│ │ ├── qscriptastvisitor_p.h
│ │ ├── qscriptgrammar.cpp
│ │ ├── qscriptgrammar_p.h
│ │ ├── qscriptlexer.cpp
│ │ ├── qscriptlexer_p.h
│ │ ├── qscriptparser.cpp
│ │ ├── qscriptparser_p.h
│ │ ├── qscriptsyntaxchecker.cpp
│ │ └── qscriptsyntaxchecker_p.h
│ ├── script.pri
│ └── script.pro
├── scripttools
│ ├── debugging
│ │ ├── debugging.pri
│ │ ├── images
│ │ │ ├── breakpoint.png
│ │ │ ├── breakpoint.svg
│ │ │ ├── d_breakpoint.png
│ │ │ ├── d_breakpoint.svg
│ │ │ ├── d_interrupt.png
│ │ │ ├── d_play.png
│ │ │ ├── delete.png
│ │ │ ├── find.png
│ │ │ ├── interrupt.png
│ │ │ ├── location.png
│ │ │ ├── location.svg
│ │ │ ├── mac
│ │ │ │ ├── closetab.png
│ │ │ │ ├── next.png
│ │ │ │ ├── plus.png
│ │ │ │ └── previous.png
│ │ │ ├── new.png
│ │ │ ├── play.png
│ │ │ ├── reload.png
│ │ │ ├── return.png
│ │ │ ├── runtocursor.png
│ │ │ ├── runtonewscript.png
│ │ │ ├── stepinto.png
│ │ │ ├── stepout.png
│ │ │ ├── stepover.png
│ │ │ ├── win
│ │ │ │ ├── closetab.png
│ │ │ │ ├── next.png
│ │ │ │ ├── plus.png
│ │ │ │ └── previous.png
│ │ │ └── wrap.png
│ │ ├── qscriptbreakpointdata.cpp
│ │ ├── qscriptbreakpointdata_p.h
│ │ ├── qscriptbreakpointsmodel.cpp
│ │ ├── qscriptbreakpointsmodel_p.h
│ │ ├── qscriptbreakpointswidget.cpp
│ │ ├── qscriptbreakpointswidget_p.h
│ │ ├── qscriptbreakpointswidgetinterface.cpp
│ │ ├── qscriptbreakpointswidgetinterface_p.h
│ │ ├── qscriptbreakpointswidgetinterface_p_p.h
│ │ ├── qscriptcompletionproviderinterface_p.h
│ │ ├── qscriptcompletiontask.cpp
│ │ ├── qscriptcompletiontask_p.h
│ │ ├── qscriptcompletiontaskinterface.cpp
│ │ ├── qscriptcompletiontaskinterface_p.h
│ │ ├── qscriptcompletiontaskinterface_p_p.h
│ │ ├── qscriptdebugger.cpp
│ │ ├── qscriptdebugger_p.h
│ │ ├── qscriptdebuggeragent.cpp
│ │ ├── qscriptdebuggeragent_p.h
│ │ ├── qscriptdebuggeragent_p_p.h
│ │ ├── qscriptdebuggerbackend.cpp
│ │ ├── qscriptdebuggerbackend_p.h
│ │ ├── qscriptdebuggerbackend_p_p.h
│ │ ├── qscriptdebuggercodefinderwidget.cpp
│ │ ├── qscriptdebuggercodefinderwidget_p.h
│ │ ├── qscriptdebuggercodefinderwidgetinterface.cpp
│ │ ├── qscriptdebuggercodefinderwidgetinterface_p.h
│ │ ├── qscriptdebuggercodefinderwidgetinterface_p_p.h
│ │ ├── qscriptdebuggercodeview.cpp
│ │ ├── qscriptdebuggercodeview_p.h
│ │ ├── qscriptdebuggercodeviewinterface.cpp
│ │ ├── qscriptdebuggercodeviewinterface_p.h
│ │ ├── qscriptdebuggercodeviewinterface_p_p.h
│ │ ├── qscriptdebuggercodewidget.cpp
│ │ ├── qscriptdebuggercodewidget_p.h
│ │ ├── qscriptdebuggercodewidgetinterface.cpp
│ │ ├── qscriptdebuggercodewidgetinterface_p.h
│ │ ├── qscriptdebuggercodewidgetinterface_p_p.h
│ │ ├── qscriptdebuggercommand.cpp
│ │ ├── qscriptdebuggercommand_p.h
│ │ ├── qscriptdebuggercommandexecutor.cpp
│ │ ├── qscriptdebuggercommandexecutor_p.h
│ │ ├── qscriptdebuggercommandschedulerfrontend.cpp
│ │ ├── qscriptdebuggercommandschedulerfrontend_p.h
│ │ ├── qscriptdebuggercommandschedulerinterface_p.h
│ │ ├── qscriptdebuggercommandschedulerjob.cpp
│ │ ├── qscriptdebuggercommandschedulerjob_p.h
│ │ ├── qscriptdebuggercommandschedulerjob_p_p.h
│ │ ├── qscriptdebuggerconsole.cpp
│ │ ├── qscriptdebuggerconsole_p.h
│ │ ├── qscriptdebuggerconsolecommand.cpp
│ │ ├── qscriptdebuggerconsolecommand_p.h
│ │ ├── qscriptdebuggerconsolecommand_p_p.h
│ │ ├── qscriptdebuggerconsolecommandgroupdata.cpp
│ │ ├── qscriptdebuggerconsolecommandgroupdata_p.h
│ │ ├── qscriptdebuggerconsolecommandjob.cpp
│ │ ├── qscriptdebuggerconsolecommandjob_p.h
│ │ ├── qscriptdebuggerconsolecommandjob_p_p.h
│ │ ├── qscriptdebuggerconsolecommandmanager.cpp
│ │ ├── qscriptdebuggerconsolecommandmanager_p.h
│ │ ├── qscriptdebuggerconsoleglobalobject.cpp
│ │ ├── qscriptdebuggerconsoleglobalobject_p.h
│ │ ├── qscriptdebuggerconsolehistorianinterface_p.h
│ │ ├── qscriptdebuggerconsolewidget.cpp
│ │ ├── qscriptdebuggerconsolewidget_p.h
│ │ ├── qscriptdebuggerconsolewidgetinterface.cpp
│ │ ├── qscriptdebuggerconsolewidgetinterface_p.h
│ │ ├── qscriptdebuggerconsolewidgetinterface_p_p.h
│ │ ├── qscriptdebuggerevent.cpp
│ │ ├── qscriptdebuggerevent_p.h
│ │ ├── qscriptdebuggereventhandlerinterface_p.h
│ │ ├── qscriptdebuggerfrontend.cpp
│ │ ├── qscriptdebuggerfrontend_p.h
│ │ ├── qscriptdebuggerfrontend_p_p.h
│ │ ├── qscriptdebuggerjob.cpp
│ │ ├── qscriptdebuggerjob_p.h
│ │ ├── qscriptdebuggerjob_p_p.h
│ │ ├── qscriptdebuggerjobschedulerinterface_p.h
│ │ ├── qscriptdebuggerlocalsmodel.cpp
│ │ ├── qscriptdebuggerlocalsmodel_p.h
│ │ ├── qscriptdebuggerlocalswidget.cpp
│ │ ├── qscriptdebuggerlocalswidget_p.h
│ │ ├── qscriptdebuggerlocalswidgetinterface.cpp
│ │ ├── qscriptdebuggerlocalswidgetinterface_p.h
│ │ ├── qscriptdebuggerlocalswidgetinterface_p_p.h
│ │ ├── qscriptdebuggerobjectsnapshotdelta_p.h
│ │ ├── qscriptdebuggerresponse.cpp
│ │ ├── qscriptdebuggerresponse_p.h
│ │ ├── qscriptdebuggerresponsehandlerinterface_p.h
│ │ ├── qscriptdebuggerscriptedconsolecommand.cpp
│ │ ├── qscriptdebuggerscriptedconsolecommand_p.h
│ │ ├── qscriptdebuggerscriptsmodel.cpp
│ │ ├── qscriptdebuggerscriptsmodel_p.h
│ │ ├── qscriptdebuggerscriptswidget.cpp
│ │ ├── qscriptdebuggerscriptswidget_p.h
│ │ ├── qscriptdebuggerscriptswidgetinterface.cpp
│ │ ├── qscriptdebuggerscriptswidgetinterface_p.h
│ │ ├── qscriptdebuggerscriptswidgetinterface_p_p.h
│ │ ├── qscriptdebuggerstackmodel.cpp
│ │ ├── qscriptdebuggerstackmodel_p.h
│ │ ├── qscriptdebuggerstackwidget.cpp
│ │ ├── qscriptdebuggerstackwidget_p.h
│ │ ├── qscriptdebuggerstackwidgetinterface.cpp
│ │ ├── qscriptdebuggerstackwidgetinterface_p.h
│ │ ├── qscriptdebuggerstackwidgetinterface_p_p.h
│ │ ├── qscriptdebuggerstandardwidgetfactory.cpp
│ │ ├── qscriptdebuggerstandardwidgetfactory_p.h
│ │ ├── qscriptdebuggervalue.cpp
│ │ ├── qscriptdebuggervalue_p.h
│ │ ├── qscriptdebuggervalueproperty.cpp
│ │ ├── qscriptdebuggervalueproperty_p.h
│ │ ├── qscriptdebuggerwidgetfactoryinterface_p.h
│ │ ├── qscriptdebugoutputwidget.cpp
│ │ ├── qscriptdebugoutputwidget_p.h
│ │ ├── qscriptdebugoutputwidgetinterface.cpp
│ │ ├── qscriptdebugoutputwidgetinterface_p.h
│ │ ├── qscriptdebugoutputwidgetinterface_p_p.h
│ │ ├── qscriptedit.cpp
│ │ ├── qscriptedit_p.h
│ │ ├── qscriptenginedebugger.cpp
│ │ ├── qscriptenginedebugger.h
│ │ ├── qscriptenginedebuggerfrontend.cpp
│ │ ├── qscriptenginedebuggerfrontend_p.h
│ │ ├── qscripterrorlogwidget.cpp
│ │ ├── qscripterrorlogwidget_p.h
│ │ ├── qscripterrorlogwidgetinterface.cpp
│ │ ├── qscripterrorlogwidgetinterface_p.h
│ │ ├── qscripterrorlogwidgetinterface_p_p.h
│ │ ├── qscriptmessagehandlerinterface_p.h
│ │ ├── qscriptobjectsnapshot.cpp
│ │ ├── qscriptobjectsnapshot_p.h
│ │ ├── qscriptscriptdata.cpp
│ │ ├── qscriptscriptdata_p.h
│ │ ├── qscriptstdmessagehandler.cpp
│ │ ├── qscriptstdmessagehandler_p.h
│ │ ├── qscriptsyntaxhighlighter.cpp
│ │ ├── qscriptsyntaxhighlighter_p.h
│ │ ├── qscripttooltipproviderinterface_p.h
│ │ ├── qscriptvalueproperty.cpp
│ │ ├── qscriptvalueproperty_p.h
│ │ ├── qscriptxmlparser.cpp
│ │ ├── qscriptxmlparser_p.h
│ │ ├── scripts
│ │ │ └── commands
│ │ │ │ ├── advance.qs
│ │ │ │ ├── backtrace.qs
│ │ │ │ ├── break.qs
│ │ │ │ ├── clear.qs
│ │ │ │ ├── complete.qs
│ │ │ │ ├── condition.qs
│ │ │ │ ├── continue.qs
│ │ │ │ ├── delete.qs
│ │ │ │ ├── disable.qs
│ │ │ │ ├── down.qs
│ │ │ │ ├── enable.qs
│ │ │ │ ├── eval.qs
│ │ │ │ ├── finish.qs
│ │ │ │ ├── frame.qs
│ │ │ │ ├── help.qs
│ │ │ │ ├── ignore.qs
│ │ │ │ ├── info.qs
│ │ │ │ ├── interrupt.qs
│ │ │ │ ├── list.qs
│ │ │ │ ├── next.qs
│ │ │ │ ├── print.qs
│ │ │ │ ├── return.qs
│ │ │ │ ├── step.qs
│ │ │ │ ├── tbreak.qs
│ │ │ │ └── up.qs
│ │ └── scripttools_debugging.qrc
│ ├── doc
│ │ ├── qtscripttools.qdocconf
│ │ ├── snippets
│ │ │ ├── doc_src_qtscripttools.cpp
│ │ │ ├── doc_src_qtscripttools.pro
│ │ │ ├── scriptdebugger.cpp
│ │ │ └── src.scripttools.qscriptenginedebugger.cpp
│ │ └── src
│ │ │ ├── qtscripttools-index.qdoc
│ │ │ └── qtscripttools-module.qdoc
│ └── scripttools.pro
└── src.pro
├── sync.profile
├── tests
├── README
├── auto
│ ├── auto.pro
│ ├── bic
│ │ └── data
│ │ │ ├── QtScript.5.0.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.1.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.10.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.11.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.13.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.14.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.2.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.3.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.4.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.6.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.7.0.linux-gcc-amd64.txt
│ │ │ ├── QtScript.5.8.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.0.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.1.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.10.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.11.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.13.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.14.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.2.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.3.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.4.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.6.0.linux-gcc-amd64.txt
│ │ │ ├── QtScriptTools.5.7.0.linux-gcc-amd64.txt
│ │ │ └── QtScriptTools.5.8.0.linux-gcc-amd64.txt
│ ├── cmake
│ │ ├── CMakeLists.txt
│ │ └── cmake.pro
│ ├── guiapplauncher
│ │ ├── README.txt
│ │ └── examples.txt
│ ├── host.pro
│ ├── qscriptable
│ │ ├── qscriptable.pro
│ │ └── tst_qscriptable.cpp
│ ├── qscriptclass
│ │ ├── qscriptclass.pro
│ │ └── tst_qscriptclass.cpp
│ ├── qscriptcontext
│ │ ├── qscriptcontext.pro
│ │ └── tst_qscriptcontext.cpp
│ ├── qscriptcontextinfo
│ │ ├── qscriptcontextinfo.pro
│ │ └── tst_qscriptcontextinfo.cpp
│ ├── qscriptengine
│ │ ├── idtranslatable-unicode.js
│ │ ├── idtranslatable.js
│ │ ├── qscriptengine.pro
│ │ ├── qscriptengine.qrc
│ │ ├── script
│ │ │ └── com
│ │ │ │ ├── __init__.js
│ │ │ │ └── trolltech
│ │ │ │ ├── __init__.js
│ │ │ │ ├── recursive
│ │ │ │ └── __init__.js
│ │ │ │ └── syntaxerror
│ │ │ │ └── __init__.js
│ │ ├── translatable-unicode.js
│ │ ├── translatable.js
│ │ ├── translatable2.js
│ │ ├── translations
│ │ │ ├── idtranslatable-unicode.qm
│ │ │ ├── idtranslatable-unicode.ts
│ │ │ ├── idtranslatable_la.qm
│ │ │ ├── idtranslatable_la.ts
│ │ │ ├── translatable-unicode.qm
│ │ │ ├── translatable-unicode.ts
│ │ │ ├── translatable_la.qm
│ │ │ └── translatable_la.ts
│ │ └── tst_qscriptengine.cpp
│ ├── qscriptengineagent
│ │ ├── qscriptengineagent.pro
│ │ └── tst_qscriptengineagent.cpp
│ ├── qscriptenginedebugger
│ │ ├── qscriptenginedebugger.pro
│ │ └── tst_qscriptenginedebugger.cpp
│ ├── qscriptextensionplugin
│ │ ├── qscriptextensionplugin.pro
│ │ ├── simpleplugin
│ │ │ ├── simpleplugin.cpp
│ │ │ ├── simpleplugin.json
│ │ │ └── simpleplugin.pro
│ │ ├── staticplugin
│ │ │ ├── __init__.js
│ │ │ ├── staticplugin.cpp
│ │ │ ├── staticplugin.json
│ │ │ ├── staticplugin.pro
│ │ │ └── staticplugin.qrc
│ │ ├── test
│ │ │ └── test.pro
│ │ └── tst_qscriptextensionplugin.cpp
│ ├── qscriptextqobject
│ │ ├── qscriptextqobject.pro
│ │ └── tst_qscriptextqobject.cpp
│ ├── qscriptjstestsuite
│ │ ├── BLACKLIST
│ │ ├── expect_fail.txt
│ │ ├── qscriptjstestsuite.pro
│ │ ├── qscriptjstestsuite.qrc
│ │ ├── skip.txt
│ │ ├── tests
│ │ │ ├── ecma
│ │ │ │ ├── Array
│ │ │ │ │ ├── 15.4-1.js
│ │ │ │ │ ├── 15.4-2.js
│ │ │ │ │ ├── 15.4.1.1.js
│ │ │ │ │ ├── 15.4.1.2.js
│ │ │ │ │ ├── 15.4.1.3.js
│ │ │ │ │ ├── 15.4.1.js
│ │ │ │ │ ├── 15.4.2.1-1.js
│ │ │ │ │ ├── 15.4.2.1-2.js
│ │ │ │ │ ├── 15.4.2.1-3.js
│ │ │ │ │ ├── 15.4.2.2-1.js
│ │ │ │ │ ├── 15.4.2.2-2.js
│ │ │ │ │ ├── 15.4.2.3.js
│ │ │ │ │ ├── 15.4.3.1-2.js
│ │ │ │ │ ├── 15.4.3.2.js
│ │ │ │ │ ├── 15.4.4.1.js
│ │ │ │ │ ├── 15.4.4.2.js
│ │ │ │ │ ├── 15.4.4.3-1.js
│ │ │ │ │ ├── 15.4.4.4-1.js
│ │ │ │ │ ├── 15.4.4.4-2.js
│ │ │ │ │ ├── 15.4.4.5-1.js
│ │ │ │ │ ├── 15.4.4.5-2.js
│ │ │ │ │ ├── 15.4.4.5-3.js
│ │ │ │ │ ├── 15.4.4.js
│ │ │ │ │ ├── 15.4.5.1-1.js
│ │ │ │ │ ├── 15.4.5.1-2.js
│ │ │ │ │ ├── 15.4.5.2-1.js
│ │ │ │ │ ├── 15.4.5.2-2.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Boolean
│ │ │ │ │ ├── 15.6.1.js
│ │ │ │ │ ├── 15.6.2.js
│ │ │ │ │ ├── 15.6.3.1-1.js
│ │ │ │ │ ├── 15.6.3.1-2.js
│ │ │ │ │ ├── 15.6.3.1-3.js
│ │ │ │ │ ├── 15.6.3.1-4.js
│ │ │ │ │ ├── 15.6.3.1.js
│ │ │ │ │ ├── 15.6.4-1.js
│ │ │ │ │ ├── 15.6.4.1.js
│ │ │ │ │ ├── 15.6.4.2-1.js
│ │ │ │ │ ├── 15.6.4.2-2.js
│ │ │ │ │ ├── 15.6.4.2-3.js
│ │ │ │ │ ├── 15.6.4.2-4-n.js
│ │ │ │ │ ├── 15.6.4.3-1.js
│ │ │ │ │ ├── 15.6.4.3-2.js
│ │ │ │ │ ├── 15.6.4.3-3.js
│ │ │ │ │ ├── 15.6.4.3-4-n.js
│ │ │ │ │ ├── 15.6.4.3.js
│ │ │ │ │ ├── 15.6.4.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Date
│ │ │ │ │ ├── 15.9.1.1-1.js
│ │ │ │ │ ├── 15.9.1.1-2.js
│ │ │ │ │ ├── 15.9.1.13-1.js
│ │ │ │ │ ├── 15.9.2.1.js
│ │ │ │ │ ├── 15.9.2.2-1.js
│ │ │ │ │ ├── 15.9.2.2-2.js
│ │ │ │ │ ├── 15.9.2.2-3.js
│ │ │ │ │ ├── 15.9.2.2-4.js
│ │ │ │ │ ├── 15.9.2.2-5.js
│ │ │ │ │ ├── 15.9.2.2-6.js
│ │ │ │ │ ├── 15.9.3.1-1.js
│ │ │ │ │ ├── 15.9.3.1-2.js
│ │ │ │ │ ├── 15.9.3.1-3.js
│ │ │ │ │ ├── 15.9.3.1-4.js
│ │ │ │ │ ├── 15.9.3.1-5.js
│ │ │ │ │ ├── 15.9.3.2-1.js
│ │ │ │ │ ├── 15.9.3.2-2.js
│ │ │ │ │ ├── 15.9.3.2-3.js
│ │ │ │ │ ├── 15.9.3.2-4.js
│ │ │ │ │ ├── 15.9.3.2-5.js
│ │ │ │ │ ├── 15.9.3.8-1.js
│ │ │ │ │ ├── 15.9.3.8-2.js
│ │ │ │ │ ├── 15.9.3.8-3.js
│ │ │ │ │ ├── 15.9.3.8-4.js
│ │ │ │ │ ├── 15.9.3.8-5.js
│ │ │ │ │ ├── 15.9.4.2-1.js
│ │ │ │ │ ├── 15.9.4.2.js
│ │ │ │ │ ├── 15.9.4.3.js
│ │ │ │ │ ├── 15.9.5.1.js
│ │ │ │ │ ├── 15.9.5.10-1.js
│ │ │ │ │ ├── 15.9.5.10-10.js
│ │ │ │ │ ├── 15.9.5.10-11.js
│ │ │ │ │ ├── 15.9.5.10-12.js
│ │ │ │ │ ├── 15.9.5.10-13.js
│ │ │ │ │ ├── 15.9.5.10-2.js
│ │ │ │ │ ├── 15.9.5.10-3.js
│ │ │ │ │ ├── 15.9.5.10-4.js
│ │ │ │ │ ├── 15.9.5.10-5.js
│ │ │ │ │ ├── 15.9.5.10-6.js
│ │ │ │ │ ├── 15.9.5.10-7.js
│ │ │ │ │ ├── 15.9.5.10-8.js
│ │ │ │ │ ├── 15.9.5.10-9.js
│ │ │ │ │ ├── 15.9.5.11-1.js
│ │ │ │ │ ├── 15.9.5.11-2.js
│ │ │ │ │ ├── 15.9.5.11-3.js
│ │ │ │ │ ├── 15.9.5.11-4.js
│ │ │ │ │ ├── 15.9.5.11-5.js
│ │ │ │ │ ├── 15.9.5.11-6.js
│ │ │ │ │ ├── 15.9.5.11-7.js
│ │ │ │ │ ├── 15.9.5.12-1.js
│ │ │ │ │ ├── 15.9.5.12-2.js
│ │ │ │ │ ├── 15.9.5.12-3.js
│ │ │ │ │ ├── 15.9.5.12-4.js
│ │ │ │ │ ├── 15.9.5.12-5.js
│ │ │ │ │ ├── 15.9.5.12-6.js
│ │ │ │ │ ├── 15.9.5.12-7.js
│ │ │ │ │ ├── 15.9.5.12-8.js
│ │ │ │ │ ├── 15.9.5.13-1.js
│ │ │ │ │ ├── 15.9.5.13-2.js
│ │ │ │ │ ├── 15.9.5.13-3.js
│ │ │ │ │ ├── 15.9.5.13-4.js
│ │ │ │ │ ├── 15.9.5.13-5.js
│ │ │ │ │ ├── 15.9.5.13-6.js
│ │ │ │ │ ├── 15.9.5.13-7.js
│ │ │ │ │ ├── 15.9.5.13-8.js
│ │ │ │ │ ├── 15.9.5.14.js
│ │ │ │ │ ├── 15.9.5.15.js
│ │ │ │ │ ├── 15.9.5.16.js
│ │ │ │ │ ├── 15.9.5.17.js
│ │ │ │ │ ├── 15.9.5.18.js
│ │ │ │ │ ├── 15.9.5.19.js
│ │ │ │ │ ├── 15.9.5.2-1.js
│ │ │ │ │ ├── 15.9.5.2-2-n.js
│ │ │ │ │ ├── 15.9.5.2.js
│ │ │ │ │ ├── 15.9.5.20.js
│ │ │ │ │ ├── 15.9.5.21-1.js
│ │ │ │ │ ├── 15.9.5.21-2.js
│ │ │ │ │ ├── 15.9.5.21-3.js
│ │ │ │ │ ├── 15.9.5.21-4.js
│ │ │ │ │ ├── 15.9.5.21-5.js
│ │ │ │ │ ├── 15.9.5.21-6.js
│ │ │ │ │ ├── 15.9.5.21-7.js
│ │ │ │ │ ├── 15.9.5.21-8.js
│ │ │ │ │ ├── 15.9.5.22-1.js
│ │ │ │ │ ├── 15.9.5.22-2.js
│ │ │ │ │ ├── 15.9.5.22-3.js
│ │ │ │ │ ├── 15.9.5.22-4.js
│ │ │ │ │ ├── 15.9.5.22-5.js
│ │ │ │ │ ├── 15.9.5.22-6.js
│ │ │ │ │ ├── 15.9.5.22-7.js
│ │ │ │ │ ├── 15.9.5.22-8.js
│ │ │ │ │ ├── 15.9.5.23-1.js
│ │ │ │ │ ├── 15.9.5.23-10.js
│ │ │ │ │ ├── 15.9.5.23-11.js
│ │ │ │ │ ├── 15.9.5.23-12.js
│ │ │ │ │ ├── 15.9.5.23-13.js
│ │ │ │ │ ├── 15.9.5.23-14.js
│ │ │ │ │ ├── 15.9.5.23-15.js
│ │ │ │ │ ├── 15.9.5.23-16.js
│ │ │ │ │ ├── 15.9.5.23-17.js
│ │ │ │ │ ├── 15.9.5.23-18.js
│ │ │ │ │ ├── 15.9.5.23-2.js
│ │ │ │ │ ├── 15.9.5.23-3-n.js
│ │ │ │ │ ├── 15.9.5.23-4.js
│ │ │ │ │ ├── 15.9.5.23-5.js
│ │ │ │ │ ├── 15.9.5.23-6.js
│ │ │ │ │ ├── 15.9.5.23-7.js
│ │ │ │ │ ├── 15.9.5.23-8.js
│ │ │ │ │ ├── 15.9.5.23-9.js
│ │ │ │ │ ├── 15.9.5.24-1.js
│ │ │ │ │ ├── 15.9.5.24-2.js
│ │ │ │ │ ├── 15.9.5.24-3.js
│ │ │ │ │ ├── 15.9.5.24-4.js
│ │ │ │ │ ├── 15.9.5.24-5.js
│ │ │ │ │ ├── 15.9.5.24-6.js
│ │ │ │ │ ├── 15.9.5.24-7.js
│ │ │ │ │ ├── 15.9.5.24-8.js
│ │ │ │ │ ├── 15.9.5.25-1.js
│ │ │ │ │ ├── 15.9.5.26-1.js
│ │ │ │ │ ├── 15.9.5.27-1.js
│ │ │ │ │ ├── 15.9.5.28-1.js
│ │ │ │ │ ├── 15.9.5.29-1.js
│ │ │ │ │ ├── 15.9.5.3-1-n.js
│ │ │ │ │ ├── 15.9.5.3-2.js
│ │ │ │ │ ├── 15.9.5.30-1.js
│ │ │ │ │ ├── 15.9.5.31-1.js
│ │ │ │ │ ├── 15.9.5.32-1.js
│ │ │ │ │ ├── 15.9.5.33-1.js
│ │ │ │ │ ├── 15.9.5.34-1.js
│ │ │ │ │ ├── 15.9.5.35-1.js
│ │ │ │ │ ├── 15.9.5.36-1.js
│ │ │ │ │ ├── 15.9.5.36-2.js
│ │ │ │ │ ├── 15.9.5.36-3.js
│ │ │ │ │ ├── 15.9.5.36-4.js
│ │ │ │ │ ├── 15.9.5.36-5.js
│ │ │ │ │ ├── 15.9.5.36-6.js
│ │ │ │ │ ├── 15.9.5.36-7.js
│ │ │ │ │ ├── 15.9.5.37-1.js
│ │ │ │ │ ├── 15.9.5.37-2.js
│ │ │ │ │ ├── 15.9.5.37-3.js
│ │ │ │ │ ├── 15.9.5.37-4.js
│ │ │ │ │ ├── 15.9.5.37-5.js
│ │ │ │ │ ├── 15.9.5.4-1.js
│ │ │ │ │ ├── 15.9.5.4-2-n.js
│ │ │ │ │ ├── 15.9.5.5.js
│ │ │ │ │ ├── 15.9.5.6.js
│ │ │ │ │ ├── 15.9.5.7.js
│ │ │ │ │ ├── 15.9.5.8.js
│ │ │ │ │ ├── 15.9.5.9.js
│ │ │ │ │ ├── 15.9.5.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── ExecutionContexts
│ │ │ │ │ ├── 10.1.3-1.js
│ │ │ │ │ ├── 10.1.3-2.js
│ │ │ │ │ ├── 10.1.3.js
│ │ │ │ │ ├── 10.1.4-1.js
│ │ │ │ │ ├── 10.1.4-10.js
│ │ │ │ │ ├── 10.1.4-2.js
│ │ │ │ │ ├── 10.1.4-3.js
│ │ │ │ │ ├── 10.1.4-4.js
│ │ │ │ │ ├── 10.1.4-5.js
│ │ │ │ │ ├── 10.1.4-6.js
│ │ │ │ │ ├── 10.1.4-7.js
│ │ │ │ │ ├── 10.1.4-8.js
│ │ │ │ │ ├── 10.1.5-1.js
│ │ │ │ │ ├── 10.1.5-2.js
│ │ │ │ │ ├── 10.1.5-3.js
│ │ │ │ │ ├── 10.1.5-4.js
│ │ │ │ │ ├── 10.1.8-2.js
│ │ │ │ │ ├── 10.1.8-3.js
│ │ │ │ │ ├── 10.2.1.js
│ │ │ │ │ ├── 10.2.2-1.js
│ │ │ │ │ ├── 10.2.2-2.js
│ │ │ │ │ ├── 10.2.3-1.js
│ │ │ │ │ ├── 10.2.3-2.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Expressions
│ │ │ │ │ ├── 11.1.1.js
│ │ │ │ │ ├── 11.10-1.js
│ │ │ │ │ ├── 11.10-2.js
│ │ │ │ │ ├── 11.10-3.js
│ │ │ │ │ ├── 11.12-1.js
│ │ │ │ │ ├── 11.12-2-n.js
│ │ │ │ │ ├── 11.12-3.js
│ │ │ │ │ ├── 11.12-4.js
│ │ │ │ │ ├── 11.13.1.js
│ │ │ │ │ ├── 11.13.2-1.js
│ │ │ │ │ ├── 11.13.2-2.js
│ │ │ │ │ ├── 11.13.2-3.js
│ │ │ │ │ ├── 11.13.2-4.js
│ │ │ │ │ ├── 11.13.2-5.js
│ │ │ │ │ ├── 11.13.js
│ │ │ │ │ ├── 11.14-1.js
│ │ │ │ │ ├── 11.2.1-1.js
│ │ │ │ │ ├── 11.2.1-2.js
│ │ │ │ │ ├── 11.2.1-3-n.js
│ │ │ │ │ ├── 11.2.1-4-n.js
│ │ │ │ │ ├── 11.2.1-5.js
│ │ │ │ │ ├── 11.2.2-1-n.js
│ │ │ │ │ ├── 11.2.2-1.js
│ │ │ │ │ ├── 11.2.2-10-n.js
│ │ │ │ │ ├── 11.2.2-11.js
│ │ │ │ │ ├── 11.2.2-2-n.js
│ │ │ │ │ ├── 11.2.2-3-n.js
│ │ │ │ │ ├── 11.2.2-4-n.js
│ │ │ │ │ ├── 11.2.2-5-n.js
│ │ │ │ │ ├── 11.2.2-6-n.js
│ │ │ │ │ ├── 11.2.2-7-n.js
│ │ │ │ │ ├── 11.2.2-8-n.js
│ │ │ │ │ ├── 11.2.2-9-n.js
│ │ │ │ │ ├── 11.2.3-1.js
│ │ │ │ │ ├── 11.2.3-2-n.js
│ │ │ │ │ ├── 11.2.3-3-n.js
│ │ │ │ │ ├── 11.2.3-4-n.js
│ │ │ │ │ ├── 11.2.3-5.js
│ │ │ │ │ ├── 11.3.1.js
│ │ │ │ │ ├── 11.3.2.js
│ │ │ │ │ ├── 11.4.1.js
│ │ │ │ │ ├── 11.4.2.js
│ │ │ │ │ ├── 11.4.3.js
│ │ │ │ │ ├── 11.4.4.js
│ │ │ │ │ ├── 11.4.5.js
│ │ │ │ │ ├── 11.4.6.js
│ │ │ │ │ ├── 11.4.7-01.js
│ │ │ │ │ ├── 11.4.7-02.js
│ │ │ │ │ ├── 11.4.8.js
│ │ │ │ │ ├── 11.4.9.js
│ │ │ │ │ ├── 11.5.1.js
│ │ │ │ │ ├── 11.5.2.js
│ │ │ │ │ ├── 11.5.3.js
│ │ │ │ │ ├── 11.6.1-1.js
│ │ │ │ │ ├── 11.6.1-2.js
│ │ │ │ │ ├── 11.6.1-3.js
│ │ │ │ │ ├── 11.6.2-1.js
│ │ │ │ │ ├── 11.6.3.js
│ │ │ │ │ ├── 11.7.1.js
│ │ │ │ │ ├── 11.7.2.js
│ │ │ │ │ ├── 11.7.3.js
│ │ │ │ │ ├── 11.8.1.js
│ │ │ │ │ ├── 11.8.2.js
│ │ │ │ │ ├── 11.8.3.js
│ │ │ │ │ ├── 11.8.4.js
│ │ │ │ │ ├── 11.9.1.js
│ │ │ │ │ ├── 11.9.2.js
│ │ │ │ │ ├── 11.9.3.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── FunctionObjects
│ │ │ │ │ ├── 15.3.1.1-1.js
│ │ │ │ │ ├── 15.3.1.1-2.js
│ │ │ │ │ ├── 15.3.1.1-3.js
│ │ │ │ │ ├── 15.3.2.1-1.js
│ │ │ │ │ ├── 15.3.2.1-2.js
│ │ │ │ │ ├── 15.3.2.1-3.js
│ │ │ │ │ ├── 15.3.3.1-2.js
│ │ │ │ │ ├── 15.3.3.1-3.js
│ │ │ │ │ ├── 15.3.3.1-4.js
│ │ │ │ │ ├── 15.3.3.2.js
│ │ │ │ │ ├── 15.3.4-1.js
│ │ │ │ │ ├── 15.3.4.1.js
│ │ │ │ │ ├── 15.3.4.js
│ │ │ │ │ ├── 15.3.5-1.js
│ │ │ │ │ ├── 15.3.5-2.js
│ │ │ │ │ ├── 15.3.5.1.js
│ │ │ │ │ ├── 15.3.5.3.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── GlobalObject
│ │ │ │ │ ├── 15.1-1-n.js
│ │ │ │ │ ├── 15.1-2-n.js
│ │ │ │ │ ├── 15.1.1.1.js
│ │ │ │ │ ├── 15.1.1.2.js
│ │ │ │ │ ├── 15.1.2.1-2.js
│ │ │ │ │ ├── 15.1.2.2-1.js
│ │ │ │ │ ├── 15.1.2.2-2.js
│ │ │ │ │ ├── 15.1.2.3-1.js
│ │ │ │ │ ├── 15.1.2.3-2.js
│ │ │ │ │ ├── 15.1.2.4.js
│ │ │ │ │ ├── 15.1.2.5-1.js
│ │ │ │ │ ├── 15.1.2.5-2.js
│ │ │ │ │ ├── 15.1.2.5-3.js
│ │ │ │ │ ├── 15.1.2.6.js
│ │ │ │ │ ├── 15.1.2.7.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── LexicalConventions
│ │ │ │ │ ├── 7.1-1.js
│ │ │ │ │ ├── 7.1-2.js
│ │ │ │ │ ├── 7.1-3.js
│ │ │ │ │ ├── 7.2-1.js
│ │ │ │ │ ├── 7.2-2-n.js
│ │ │ │ │ ├── 7.2-3-n.js
│ │ │ │ │ ├── 7.2-4-n.js
│ │ │ │ │ ├── 7.2-5-n.js
│ │ │ │ │ ├── 7.2-6.js
│ │ │ │ │ ├── 7.3-1.js
│ │ │ │ │ ├── 7.3-10.js
│ │ │ │ │ ├── 7.3-11.js
│ │ │ │ │ ├── 7.3-12.js
│ │ │ │ │ ├── 7.3-13-n.js
│ │ │ │ │ ├── 7.3-2.js
│ │ │ │ │ ├── 7.3-3.js
│ │ │ │ │ ├── 7.3-4.js
│ │ │ │ │ ├── 7.3-5.js
│ │ │ │ │ ├── 7.3-6.js
│ │ │ │ │ ├── 7.3-7.js
│ │ │ │ │ ├── 7.3-8.js
│ │ │ │ │ ├── 7.3-9.js
│ │ │ │ │ ├── 7.4.1-1-n.js
│ │ │ │ │ ├── 7.4.1-2-n.js
│ │ │ │ │ ├── 7.4.1-3-n.js
│ │ │ │ │ ├── 7.4.2-1-n.js
│ │ │ │ │ ├── 7.4.2-10-n.js
│ │ │ │ │ ├── 7.4.2-11-n.js
│ │ │ │ │ ├── 7.4.2-12-n.js
│ │ │ │ │ ├── 7.4.2-13-n.js
│ │ │ │ │ ├── 7.4.2-14-n.js
│ │ │ │ │ ├── 7.4.2-15-n.js
│ │ │ │ │ ├── 7.4.2-16-n.js
│ │ │ │ │ ├── 7.4.2-2-n.js
│ │ │ │ │ ├── 7.4.2-3-n.js
│ │ │ │ │ ├── 7.4.2-4-n.js
│ │ │ │ │ ├── 7.4.2-5-n.js
│ │ │ │ │ ├── 7.4.2-6-n.js
│ │ │ │ │ ├── 7.4.2-7-n.js
│ │ │ │ │ ├── 7.4.2-8-n.js
│ │ │ │ │ ├── 7.4.2-9-n.js
│ │ │ │ │ ├── 7.4.3-1-n.js
│ │ │ │ │ ├── 7.4.3-10-n.js
│ │ │ │ │ ├── 7.4.3-11-n.js
│ │ │ │ │ ├── 7.4.3-12-n.js
│ │ │ │ │ ├── 7.4.3-13-n.js
│ │ │ │ │ ├── 7.4.3-14-n.js
│ │ │ │ │ ├── 7.4.3-15-n.js
│ │ │ │ │ ├── 7.4.3-16-n.js
│ │ │ │ │ ├── 7.4.3-2-n.js
│ │ │ │ │ ├── 7.4.3-3-n.js
│ │ │ │ │ ├── 7.4.3-4-n.js
│ │ │ │ │ ├── 7.4.3-5-n.js
│ │ │ │ │ ├── 7.4.3-6-n.js
│ │ │ │ │ ├── 7.4.3-7-n.js
│ │ │ │ │ ├── 7.4.3-8-n.js
│ │ │ │ │ ├── 7.4.3-9-n.js
│ │ │ │ │ ├── 7.5-1.js
│ │ │ │ │ ├── 7.5-10-n.js
│ │ │ │ │ ├── 7.5-2-n.js
│ │ │ │ │ ├── 7.5-3-n.js
│ │ │ │ │ ├── 7.5-4-n.js
│ │ │ │ │ ├── 7.5-5-n.js
│ │ │ │ │ ├── 7.5-6.js
│ │ │ │ │ ├── 7.5-7.js
│ │ │ │ │ ├── 7.5-8-n.js
│ │ │ │ │ ├── 7.5-9-n.js
│ │ │ │ │ ├── 7.6.js
│ │ │ │ │ ├── 7.7.1.js
│ │ │ │ │ ├── 7.7.2.js
│ │ │ │ │ ├── 7.7.3-1.js
│ │ │ │ │ ├── 7.7.3-2.js
│ │ │ │ │ ├── 7.7.3.js
│ │ │ │ │ ├── 7.7.4.js
│ │ │ │ │ ├── 7.8.2-n.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Math
│ │ │ │ │ ├── 15.8-2-n.js
│ │ │ │ │ ├── 15.8-3-n.js
│ │ │ │ │ ├── 15.8.1.1-1.js
│ │ │ │ │ ├── 15.8.1.1-2.js
│ │ │ │ │ ├── 15.8.1.2-1.js
│ │ │ │ │ ├── 15.8.1.2-2.js
│ │ │ │ │ ├── 15.8.1.3-1.js
│ │ │ │ │ ├── 15.8.1.3-2.js
│ │ │ │ │ ├── 15.8.1.4-1.js
│ │ │ │ │ ├── 15.8.1.4-2.js
│ │ │ │ │ ├── 15.8.1.5-1.js
│ │ │ │ │ ├── 15.8.1.5-2.js
│ │ │ │ │ ├── 15.8.1.6-1.js
│ │ │ │ │ ├── 15.8.1.6-2.js
│ │ │ │ │ ├── 15.8.1.7-1.js
│ │ │ │ │ ├── 15.8.1.7-2.js
│ │ │ │ │ ├── 15.8.1.8-1.js
│ │ │ │ │ ├── 15.8.1.8-2.js
│ │ │ │ │ ├── 15.8.1.8-3.js
│ │ │ │ │ ├── 15.8.1.js
│ │ │ │ │ ├── 15.8.2.1.js
│ │ │ │ │ ├── 15.8.2.10.js
│ │ │ │ │ ├── 15.8.2.11.js
│ │ │ │ │ ├── 15.8.2.12.js
│ │ │ │ │ ├── 15.8.2.13.js
│ │ │ │ │ ├── 15.8.2.14.js
│ │ │ │ │ ├── 15.8.2.15.js
│ │ │ │ │ ├── 15.8.2.16.js
│ │ │ │ │ ├── 15.8.2.17.js
│ │ │ │ │ ├── 15.8.2.18.js
│ │ │ │ │ ├── 15.8.2.2.js
│ │ │ │ │ ├── 15.8.2.3.js
│ │ │ │ │ ├── 15.8.2.4.js
│ │ │ │ │ ├── 15.8.2.5.js
│ │ │ │ │ ├── 15.8.2.6.js
│ │ │ │ │ ├── 15.8.2.7.js
│ │ │ │ │ ├── 15.8.2.8.js
│ │ │ │ │ ├── 15.8.2.9.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── NativeObjects
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Number
│ │ │ │ │ ├── 15.7.1.js
│ │ │ │ │ ├── 15.7.2.js
│ │ │ │ │ ├── 15.7.3.1-1.js
│ │ │ │ │ ├── 15.7.3.1-2.js
│ │ │ │ │ ├── 15.7.3.1-3.js
│ │ │ │ │ ├── 15.7.3.2-1.js
│ │ │ │ │ ├── 15.7.3.2-2.js
│ │ │ │ │ ├── 15.7.3.2-3.js
│ │ │ │ │ ├── 15.7.3.2-4.js
│ │ │ │ │ ├── 15.7.3.3-1.js
│ │ │ │ │ ├── 15.7.3.3-2.js
│ │ │ │ │ ├── 15.7.3.3-3.js
│ │ │ │ │ ├── 15.7.3.3-4.js
│ │ │ │ │ ├── 15.7.3.4-1.js
│ │ │ │ │ ├── 15.7.3.4-2.js
│ │ │ │ │ ├── 15.7.3.4-3.js
│ │ │ │ │ ├── 15.7.3.4-4.js
│ │ │ │ │ ├── 15.7.3.5-1.js
│ │ │ │ │ ├── 15.7.3.5-2.js
│ │ │ │ │ ├── 15.7.3.5-3.js
│ │ │ │ │ ├── 15.7.3.5-4.js
│ │ │ │ │ ├── 15.7.3.6-1.js
│ │ │ │ │ ├── 15.7.3.6-2.js
│ │ │ │ │ ├── 15.7.3.6-3.js
│ │ │ │ │ ├── 15.7.3.6-4.js
│ │ │ │ │ ├── 15.7.3.js
│ │ │ │ │ ├── 15.7.4-1.js
│ │ │ │ │ ├── 15.7.4.1.js
│ │ │ │ │ ├── 15.7.4.2-1.js
│ │ │ │ │ ├── 15.7.4.2-2-n.js
│ │ │ │ │ ├── 15.7.4.2-3-n.js
│ │ │ │ │ ├── 15.7.4.2-4.js
│ │ │ │ │ ├── 15.7.4.3-1.js
│ │ │ │ │ ├── 15.7.4.3-2.js
│ │ │ │ │ ├── 15.7.4.3-3-n.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── ObjectObjects
│ │ │ │ │ ├── 15.2.1.1.js
│ │ │ │ │ ├── 15.2.1.2.js
│ │ │ │ │ ├── 15.2.2.1.js
│ │ │ │ │ ├── 15.2.2.2.js
│ │ │ │ │ ├── 15.2.3-1.js
│ │ │ │ │ ├── 15.2.3.1-1.js
│ │ │ │ │ ├── 15.2.3.1-2.js
│ │ │ │ │ ├── 15.2.3.1-3.js
│ │ │ │ │ ├── 15.2.3.1-4.js
│ │ │ │ │ ├── 15.2.3.js
│ │ │ │ │ ├── 15.2.4.1.js
│ │ │ │ │ ├── 15.2.4.2.js
│ │ │ │ │ ├── 15.2.4.3.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── README
│ │ │ │ ├── SourceText
│ │ │ │ │ ├── 6-1.js
│ │ │ │ │ ├── 6-2.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Statements
│ │ │ │ │ ├── 12.10-1.js
│ │ │ │ │ ├── 12.10.js
│ │ │ │ │ ├── 12.2-1.js
│ │ │ │ │ ├── 12.5-1.js
│ │ │ │ │ ├── 12.5-2.js
│ │ │ │ │ ├── 12.6.1-1.js
│ │ │ │ │ ├── 12.6.2-1.js
│ │ │ │ │ ├── 12.6.2-2.js
│ │ │ │ │ ├── 12.6.2-3.js
│ │ │ │ │ ├── 12.6.2-4.js
│ │ │ │ │ ├── 12.6.2-5.js
│ │ │ │ │ ├── 12.6.2-6.js
│ │ │ │ │ ├── 12.6.2-7.js
│ │ │ │ │ ├── 12.6.2-8.js
│ │ │ │ │ ├── 12.6.2-9-n.js
│ │ │ │ │ ├── 12.6.3-1.js
│ │ │ │ │ ├── 12.6.3-10.js
│ │ │ │ │ ├── 12.6.3-11.js
│ │ │ │ │ ├── 12.6.3-12.js
│ │ │ │ │ ├── 12.6.3-19.js
│ │ │ │ │ ├── 12.6.3-2.js
│ │ │ │ │ ├── 12.6.3-3.js
│ │ │ │ │ ├── 12.6.3-4.js
│ │ │ │ │ ├── 12.6.3-5-n.js
│ │ │ │ │ ├── 12.6.3-6-n.js
│ │ │ │ │ ├── 12.6.3-7-n.js
│ │ │ │ │ ├── 12.6.3-8-n.js
│ │ │ │ │ ├── 12.6.3-9-n.js
│ │ │ │ │ ├── 12.7-1-n.js
│ │ │ │ │ ├── 12.8-1-n.js
│ │ │ │ │ ├── 12.9-1-n.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── String
│ │ │ │ │ ├── 15.5.1.js
│ │ │ │ │ ├── 15.5.2.js
│ │ │ │ │ ├── 15.5.3.1-1.js
│ │ │ │ │ ├── 15.5.3.1-2.js
│ │ │ │ │ ├── 15.5.3.1-3.js
│ │ │ │ │ ├── 15.5.3.1-4.js
│ │ │ │ │ ├── 15.5.3.2-1.js
│ │ │ │ │ ├── 15.5.3.2-2.js
│ │ │ │ │ ├── 15.5.3.2-3.js
│ │ │ │ │ ├── 15.5.3.js
│ │ │ │ │ ├── 15.5.4.1.js
│ │ │ │ │ ├── 15.5.4.10-1.js
│ │ │ │ │ ├── 15.5.4.11-1.js
│ │ │ │ │ ├── 15.5.4.11-2.js
│ │ │ │ │ ├── 15.5.4.11-3.js
│ │ │ │ │ ├── 15.5.4.11-4.js
│ │ │ │ │ ├── 15.5.4.11-5.js
│ │ │ │ │ ├── 15.5.4.11-6.js
│ │ │ │ │ ├── 15.5.4.12-1.js
│ │ │ │ │ ├── 15.5.4.12-2.js
│ │ │ │ │ ├── 15.5.4.12-3.js
│ │ │ │ │ ├── 15.5.4.12-4.js
│ │ │ │ │ ├── 15.5.4.12-5.js
│ │ │ │ │ ├── 15.5.4.2-1.js
│ │ │ │ │ ├── 15.5.4.2-2-n.js
│ │ │ │ │ ├── 15.5.4.2-3.js
│ │ │ │ │ ├── 15.5.4.2.js
│ │ │ │ │ ├── 15.5.4.3-1.js
│ │ │ │ │ ├── 15.5.4.3-2.js
│ │ │ │ │ ├── 15.5.4.3-3-n.js
│ │ │ │ │ ├── 15.5.4.4-1.js
│ │ │ │ │ ├── 15.5.4.4-2.js
│ │ │ │ │ ├── 15.5.4.4-3.js
│ │ │ │ │ ├── 15.5.4.4-4.js
│ │ │ │ │ ├── 15.5.4.5-1.js
│ │ │ │ │ ├── 15.5.4.5-2.js
│ │ │ │ │ ├── 15.5.4.5-3.js
│ │ │ │ │ ├── 15.5.4.5-4.js
│ │ │ │ │ ├── 15.5.4.5-5.js
│ │ │ │ │ ├── 15.5.4.6-1.js
│ │ │ │ │ ├── 15.5.4.6-2.js
│ │ │ │ │ ├── 15.5.4.7-1.js
│ │ │ │ │ ├── 15.5.4.7-2.js
│ │ │ │ │ ├── 15.5.4.8-1.js
│ │ │ │ │ ├── 15.5.4.8-2.js
│ │ │ │ │ ├── 15.5.4.8-3.js
│ │ │ │ │ ├── 15.5.4.9-1.js
│ │ │ │ │ ├── 15.5.4.js
│ │ │ │ │ ├── 15.5.5.1.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── TypeConversion
│ │ │ │ │ ├── 9.2.js
│ │ │ │ │ ├── 9.3-1.js
│ │ │ │ │ ├── 9.3.1-1.js
│ │ │ │ │ ├── 9.3.1-2.js
│ │ │ │ │ ├── 9.3.1-3.js
│ │ │ │ │ ├── 9.3.js
│ │ │ │ │ ├── 9.4-1.js
│ │ │ │ │ ├── 9.4-2.js
│ │ │ │ │ ├── 9.5-2.js
│ │ │ │ │ ├── 9.6.js
│ │ │ │ │ ├── 9.7.js
│ │ │ │ │ ├── 9.8.1.js
│ │ │ │ │ ├── 9.9-1.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Types
│ │ │ │ │ ├── 8.1.js
│ │ │ │ │ ├── 8.4.js
│ │ │ │ │ ├── 8.6.2.1-1.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── browser.js
│ │ │ │ ├── extensions
│ │ │ │ │ ├── 10.1.4-9.js
│ │ │ │ │ ├── 10.1.6.js
│ │ │ │ │ ├── 10.1.8-1.js
│ │ │ │ │ ├── 11.6.1-1.js
│ │ │ │ │ ├── 11.6.1-2.js
│ │ │ │ │ ├── 11.6.1-3.js
│ │ │ │ │ ├── 11.6.2-1.js
│ │ │ │ │ ├── 15-1.js
│ │ │ │ │ ├── 15-2.js
│ │ │ │ │ ├── 15.1.2.1-1.js
│ │ │ │ │ ├── 15.2.1.1.js
│ │ │ │ │ ├── 15.2.3-1.js
│ │ │ │ │ ├── 15.2.4.js
│ │ │ │ │ ├── 15.3.1.1-1.js
│ │ │ │ │ ├── 15.3.1.1-2.js
│ │ │ │ │ ├── 15.3.2.1-1.js
│ │ │ │ │ ├── 15.3.2.1-2.js
│ │ │ │ │ ├── 15.3.3.1-1.js
│ │ │ │ │ ├── 15.4.3.js
│ │ │ │ │ ├── 15.5.3.js
│ │ │ │ │ ├── 15.5.4.2.js
│ │ │ │ │ ├── 15.5.4.4-4.js
│ │ │ │ │ ├── 15.5.4.5-6.js
│ │ │ │ │ ├── 15.5.4.7-3.js
│ │ │ │ │ ├── 15.6.3.1-5.js
│ │ │ │ │ ├── 15.6.3.js
│ │ │ │ │ ├── 15.6.4-2.js
│ │ │ │ │ ├── 15.7.3.js
│ │ │ │ │ ├── 15.7.4.js
│ │ │ │ │ ├── 15.8-1.js
│ │ │ │ │ ├── 15.9.5.js
│ │ │ │ │ ├── 8.6.2.1-1.js
│ │ │ │ │ ├── 9.9-1.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── jsref.js
│ │ │ │ ├── shell.js
│ │ │ │ └── template.js
│ │ │ ├── ecma_2
│ │ │ │ ├── Exceptions
│ │ │ │ │ ├── boolean-001.js
│ │ │ │ │ ├── boolean-002.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── date-001.js
│ │ │ │ │ ├── date-002.js
│ │ │ │ │ ├── date-003.js
│ │ │ │ │ ├── date-004.js
│ │ │ │ │ ├── exception-001.js
│ │ │ │ │ ├── exception-002.js
│ │ │ │ │ ├── exception-003.js
│ │ │ │ │ ├── exception-004.js
│ │ │ │ │ ├── exception-005.js
│ │ │ │ │ ├── exception-006.js
│ │ │ │ │ ├── exception-007.js
│ │ │ │ │ ├── exception-008.js
│ │ │ │ │ ├── exception-009.js
│ │ │ │ │ ├── exception-010-n.js
│ │ │ │ │ ├── exception-011-n.js
│ │ │ │ │ ├── expression-001.js
│ │ │ │ │ ├── expression-002.js
│ │ │ │ │ ├── expression-003.js
│ │ │ │ │ ├── expression-004.js
│ │ │ │ │ ├── expression-005.js
│ │ │ │ │ ├── expression-006.js
│ │ │ │ │ ├── expression-007.js
│ │ │ │ │ ├── expression-008.js
│ │ │ │ │ ├── expression-009.js
│ │ │ │ │ ├── expression-010.js
│ │ │ │ │ ├── expression-011.js
│ │ │ │ │ ├── expression-012.js
│ │ │ │ │ ├── expression-013.js
│ │ │ │ │ ├── expression-014.js
│ │ │ │ │ ├── expression-015.js
│ │ │ │ │ ├── expression-016.js
│ │ │ │ │ ├── expression-017.js
│ │ │ │ │ ├── expression-019.js
│ │ │ │ │ ├── function-001.js
│ │ │ │ │ ├── global-001.js
│ │ │ │ │ ├── global-002.js
│ │ │ │ │ ├── lexical-001.js
│ │ │ │ │ ├── lexical-002.js
│ │ │ │ │ ├── lexical-003.js
│ │ │ │ │ ├── lexical-004.js
│ │ │ │ │ ├── lexical-005.js
│ │ │ │ │ ├── lexical-006.js
│ │ │ │ │ ├── lexical-007.js
│ │ │ │ │ ├── lexical-008.js
│ │ │ │ │ ├── lexical-009.js
│ │ │ │ │ ├── lexical-010.js
│ │ │ │ │ ├── lexical-011.js
│ │ │ │ │ ├── lexical-012.js
│ │ │ │ │ ├── lexical-013.js
│ │ │ │ │ ├── lexical-014.js
│ │ │ │ │ ├── lexical-015.js
│ │ │ │ │ ├── lexical-016.js
│ │ │ │ │ ├── lexical-017.js
│ │ │ │ │ ├── lexical-018.js
│ │ │ │ │ ├── lexical-019.js
│ │ │ │ │ ├── lexical-020.js
│ │ │ │ │ ├── lexical-021.js
│ │ │ │ │ ├── lexical-022.js
│ │ │ │ │ ├── lexical-023.js
│ │ │ │ │ ├── lexical-024.js
│ │ │ │ │ ├── lexical-025.js
│ │ │ │ │ ├── lexical-026.js
│ │ │ │ │ ├── lexical-027.js
│ │ │ │ │ ├── lexical-028.js
│ │ │ │ │ ├── lexical-029.js
│ │ │ │ │ ├── lexical-030.js
│ │ │ │ │ ├── lexical-031.js
│ │ │ │ │ ├── lexical-032.js
│ │ │ │ │ ├── lexical-033.js
│ │ │ │ │ ├── lexical-034.js
│ │ │ │ │ ├── lexical-035.js
│ │ │ │ │ ├── lexical-036.js
│ │ │ │ │ ├── lexical-037.js
│ │ │ │ │ ├── lexical-038.js
│ │ │ │ │ ├── lexical-039.js
│ │ │ │ │ ├── lexical-040.js
│ │ │ │ │ ├── lexical-041.js
│ │ │ │ │ ├── lexical-042.js
│ │ │ │ │ ├── lexical-047.js
│ │ │ │ │ ├── lexical-048.js
│ │ │ │ │ ├── lexical-049.js
│ │ │ │ │ ├── lexical-050.js
│ │ │ │ │ ├── lexical-051.js
│ │ │ │ │ ├── lexical-052.js
│ │ │ │ │ ├── lexical-053.js
│ │ │ │ │ ├── lexical-054.js
│ │ │ │ │ ├── number-001.js
│ │ │ │ │ ├── number-002.js
│ │ │ │ │ ├── number-003.js
│ │ │ │ │ ├── shell.js
│ │ │ │ │ ├── statement-001.js
│ │ │ │ │ ├── statement-002.js
│ │ │ │ │ ├── statement-003.js
│ │ │ │ │ ├── statement-004.js
│ │ │ │ │ ├── statement-005.js
│ │ │ │ │ ├── statement-006.js
│ │ │ │ │ ├── statement-007.js
│ │ │ │ │ ├── statement-008.js
│ │ │ │ │ ├── statement-009.js
│ │ │ │ │ ├── string-001.js
│ │ │ │ │ └── string-002.js
│ │ │ │ ├── Expressions
│ │ │ │ │ ├── StrictEquality-001.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── FunctionObjects
│ │ │ │ │ ├── apply-001-n.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── call-1.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── LexicalConventions
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── keywords-001.js
│ │ │ │ │ ├── regexp-literals-001.js
│ │ │ │ │ ├── regexp-literals-002.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── README
│ │ │ │ ├── RegExp
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── constructor-001.js
│ │ │ │ │ ├── exec-001.js
│ │ │ │ │ ├── exec-002.js
│ │ │ │ │ ├── function-001.js
│ │ │ │ │ ├── hex-001.js
│ │ │ │ │ ├── multiline-001.js
│ │ │ │ │ ├── octal-001.js
│ │ │ │ │ ├── octal-002.js
│ │ │ │ │ ├── octal-003.js
│ │ │ │ │ ├── properties-001.js
│ │ │ │ │ ├── properties-002.js
│ │ │ │ │ ├── regexp-enumerate-001.js
│ │ │ │ │ ├── regress-001.js
│ │ │ │ │ ├── shell.js
│ │ │ │ │ └── unicode-001.js
│ │ │ │ ├── Statements
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── dowhile-001.js
│ │ │ │ │ ├── dowhile-002.js
│ │ │ │ │ ├── dowhile-003.js
│ │ │ │ │ ├── dowhile-004.js
│ │ │ │ │ ├── dowhile-005.js
│ │ │ │ │ ├── dowhile-006.js
│ │ │ │ │ ├── dowhile-007.js
│ │ │ │ │ ├── forin-001.js
│ │ │ │ │ ├── forin-002.js
│ │ │ │ │ ├── if-001.js
│ │ │ │ │ ├── label-001.js
│ │ │ │ │ ├── label-002.js
│ │ │ │ │ ├── shell.js
│ │ │ │ │ ├── switch-001.js
│ │ │ │ │ ├── switch-002.js
│ │ │ │ │ ├── switch-003.js
│ │ │ │ │ ├── switch-004.js
│ │ │ │ │ ├── try-001.js
│ │ │ │ │ ├── try-003.js
│ │ │ │ │ ├── try-004.js
│ │ │ │ │ ├── try-005.js
│ │ │ │ │ ├── try-006.js
│ │ │ │ │ ├── try-007.js
│ │ │ │ │ ├── try-008.js
│ │ │ │ │ ├── try-009.js
│ │ │ │ │ ├── try-010.js
│ │ │ │ │ ├── try-012.js
│ │ │ │ │ ├── while-001.js
│ │ │ │ │ ├── while-002.js
│ │ │ │ │ ├── while-003.js
│ │ │ │ │ └── while-004.js
│ │ │ │ ├── String
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── match-001.js
│ │ │ │ │ ├── match-002.js
│ │ │ │ │ ├── match-003.js
│ │ │ │ │ ├── match-004.js
│ │ │ │ │ ├── replace-001.js
│ │ │ │ │ ├── shell.js
│ │ │ │ │ ├── split-001.js
│ │ │ │ │ ├── split-002.js
│ │ │ │ │ └── split-003.js
│ │ │ │ ├── browser.js
│ │ │ │ ├── extensions
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── constructor-001.js
│ │ │ │ │ ├── function-001.js
│ │ │ │ │ ├── instanceof-001.js
│ │ │ │ │ ├── instanceof-002.js
│ │ │ │ │ ├── instanceof-003-n.js
│ │ │ │ │ ├── instanceof-004-n.js
│ │ │ │ │ ├── instanceof-005-n.js
│ │ │ │ │ ├── instanceof-006.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── instanceof
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── instanceof-001.js
│ │ │ │ │ ├── instanceof-002.js
│ │ │ │ │ ├── instanceof-003.js
│ │ │ │ │ ├── regress-7635.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── jsref.js
│ │ │ │ ├── shell.js
│ │ │ │ └── template.js
│ │ │ ├── ecma_3
│ │ │ │ ├── Array
│ │ │ │ │ ├── 15.4.4.11-01.js
│ │ │ │ │ ├── 15.4.4.3-1.js
│ │ │ │ │ ├── 15.4.4.4-001.js
│ │ │ │ │ ├── 15.4.5.1-01.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-101488.js
│ │ │ │ │ ├── regress-130451.js
│ │ │ │ │ ├── regress-322135-01.js
│ │ │ │ │ ├── regress-322135-02.js
│ │ │ │ │ ├── regress-322135-03.js
│ │ │ │ │ ├── regress-322135-04.js
│ │ │ │ │ ├── regress-387501.js
│ │ │ │ │ ├── regress-421325.js
│ │ │ │ │ ├── regress-430717.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Date
│ │ │ │ │ ├── 15.9.1.2-01.js
│ │ │ │ │ ├── 15.9.3.2-1.js
│ │ │ │ │ ├── 15.9.4.3.js
│ │ │ │ │ ├── 15.9.5.3.js
│ │ │ │ │ ├── 15.9.5.4.js
│ │ │ │ │ ├── 15.9.5.5-02.js
│ │ │ │ │ ├── 15.9.5.5.js
│ │ │ │ │ ├── 15.9.5.6.js
│ │ │ │ │ ├── 15.9.5.7.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Exceptions
│ │ │ │ │ ├── 15.11.1.1.js
│ │ │ │ │ ├── 15.11.4.4-1.js
│ │ │ │ │ ├── 15.11.7.6-001.js
│ │ │ │ │ ├── 15.11.7.6-002.js
│ │ │ │ │ ├── 15.11.7.6-003.js
│ │ │ │ │ ├── binding-001.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-181654.js
│ │ │ │ │ ├── regress-181914.js
│ │ │ │ │ ├── regress-58946.js
│ │ │ │ │ ├── regress-95101.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── ExecutionContexts
│ │ │ │ │ ├── 10.1.3-1.js
│ │ │ │ │ ├── 10.1.3-2.js
│ │ │ │ │ ├── 10.1.3.js
│ │ │ │ │ ├── 10.1.4-1.js
│ │ │ │ │ ├── 10.6.1-01.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-23346.js
│ │ │ │ │ ├── regress-448595-01.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Expressions
│ │ │ │ │ ├── 11.10-01.js
│ │ │ │ │ ├── 11.10-02.js
│ │ │ │ │ ├── 11.10-03.js
│ │ │ │ │ ├── 11.6.1-1.js
│ │ │ │ │ ├── 11.7.1-01.js
│ │ │ │ │ ├── 11.7.2-01.js
│ │ │ │ │ ├── 11.7.3-01.js
│ │ │ │ │ ├── 11.9.6-1.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── FunExpr
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── fe-001-n.js
│ │ │ │ │ ├── fe-001.js
│ │ │ │ │ ├── fe-002.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Function
│ │ │ │ │ ├── 15.3.4.3-1.js
│ │ │ │ │ ├── 15.3.4.4-1.js
│ │ │ │ │ ├── arguments-001.js
│ │ │ │ │ ├── arguments-002.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── call-001.js
│ │ │ │ │ ├── regress-131964.js
│ │ │ │ │ ├── regress-137181.js
│ │ │ │ │ ├── regress-193555.js
│ │ │ │ │ ├── regress-313570.js
│ │ │ │ │ ├── regress-49286.js
│ │ │ │ │ ├── regress-58274.js
│ │ │ │ │ ├── regress-85880.js
│ │ │ │ │ ├── regress-94506.js
│ │ │ │ │ ├── regress-97921.js
│ │ │ │ │ ├── scope-001.js
│ │ │ │ │ ├── scope-002.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── LexicalConventions
│ │ │ │ │ ├── 7.9.1.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Number
│ │ │ │ │ ├── 15.7.4.2-01.js
│ │ │ │ │ ├── 15.7.4.3-01.js
│ │ │ │ │ ├── 15.7.4.3-02.js
│ │ │ │ │ ├── 15.7.4.5-1.js
│ │ │ │ │ ├── 15.7.4.6-1.js
│ │ │ │ │ ├── 15.7.4.7-1.js
│ │ │ │ │ ├── 15.7.4.7-2.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-442242-01.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── NumberFormatting
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── shell.js
│ │ │ │ │ └── tostring-001.js
│ │ │ │ ├── Object
│ │ │ │ │ ├── 8.6.1-01.js
│ │ │ │ │ ├── 8.6.2.6-001.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── class-001.js
│ │ │ │ │ ├── class-002.js
│ │ │ │ │ ├── class-003.js
│ │ │ │ │ ├── class-004.js
│ │ │ │ │ ├── class-005.js
│ │ │ │ │ ├── regress-361274.js
│ │ │ │ │ ├── regress-385393-07.js
│ │ │ │ │ ├── regress-72773.js
│ │ │ │ │ ├── regress-79129-001.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Operators
│ │ │ │ │ ├── 11.13.1-001.js
│ │ │ │ │ ├── 11.13.1-002.js
│ │ │ │ │ ├── 11.4.1-001.js
│ │ │ │ │ ├── 11.4.1-002.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── order-01.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── README
│ │ │ │ ├── RegExp
│ │ │ │ │ ├── 15.10.2-1.js
│ │ │ │ │ ├── 15.10.2.12.js
│ │ │ │ │ ├── 15.10.3.1-1.js
│ │ │ │ │ ├── 15.10.3.1-2.js
│ │ │ │ │ ├── 15.10.4.1-1.js
│ │ │ │ │ ├── 15.10.4.1-2.js
│ │ │ │ │ ├── 15.10.4.1-3.js
│ │ │ │ │ ├── 15.10.4.1-4.js
│ │ │ │ │ ├── 15.10.4.1-5-n.js
│ │ │ │ │ ├── 15.10.6.2-1.js
│ │ │ │ │ ├── 15.10.6.2-2.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── octal-001.js
│ │ │ │ │ ├── octal-002.js
│ │ │ │ │ ├── perlstress-001.js
│ │ │ │ │ ├── perlstress-002.js
│ │ │ │ │ ├── regress-100199.js
│ │ │ │ │ ├── regress-105972.js
│ │ │ │ │ ├── regress-119909.js
│ │ │ │ │ ├── regress-122076.js
│ │ │ │ │ ├── regress-123437.js
│ │ │ │ │ ├── regress-165353.js
│ │ │ │ │ ├── regress-169497.js
│ │ │ │ │ ├── regress-169534.js
│ │ │ │ │ ├── regress-187133.js
│ │ │ │ │ ├── regress-188206.js
│ │ │ │ │ ├── regress-191479.js
│ │ │ │ │ ├── regress-202564.js
│ │ │ │ │ ├── regress-209067.js
│ │ │ │ │ ├── regress-209919.js
│ │ │ │ │ ├── regress-216591.js
│ │ │ │ │ ├── regress-220367-001.js
│ │ │ │ │ ├── regress-223273.js
│ │ │ │ │ ├── regress-223535.js
│ │ │ │ │ ├── regress-224676.js
│ │ │ │ │ ├── regress-225289.js
│ │ │ │ │ ├── regress-225343.js
│ │ │ │ │ ├── regress-24712.js
│ │ │ │ │ ├── regress-285219.js
│ │ │ │ │ ├── regress-28686.js
│ │ │ │ │ ├── regress-289669.js
│ │ │ │ │ ├── regress-307456.js
│ │ │ │ │ ├── regress-309840.js
│ │ │ │ │ ├── regress-311414.js
│ │ │ │ │ ├── regress-312351.js
│ │ │ │ │ ├── regress-31316.js
│ │ │ │ │ ├── regress-330684.js
│ │ │ │ │ ├── regress-334158.js
│ │ │ │ │ ├── regress-346090.js
│ │ │ │ │ ├── regress-367888.js
│ │ │ │ │ ├── regress-375642.js
│ │ │ │ │ ├── regress-375711.js
│ │ │ │ │ ├── regress-375715-01-n.js
│ │ │ │ │ ├── regress-375715-02.js
│ │ │ │ │ ├── regress-375715-03.js
│ │ │ │ │ ├── regress-375715-04.js
│ │ │ │ │ ├── regress-57572.js
│ │ │ │ │ ├── regress-57631.js
│ │ │ │ │ ├── regress-67773.js
│ │ │ │ │ ├── regress-72964.js
│ │ │ │ │ ├── regress-76683.js
│ │ │ │ │ ├── regress-78156.js
│ │ │ │ │ ├── regress-85721.js
│ │ │ │ │ ├── regress-87231.js
│ │ │ │ │ ├── regress-98306.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Regress
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-385393-04.js
│ │ │ │ │ ├── regress-419152.js
│ │ │ │ │ ├── regress-420087.js
│ │ │ │ │ ├── regress-420610.js
│ │ │ │ │ ├── regress-441477-01.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Statements
│ │ │ │ │ ├── 12.6.3.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-121744.js
│ │ │ │ │ ├── regress-131348.js
│ │ │ │ │ ├── regress-157509.js
│ │ │ │ │ ├── regress-194364.js
│ │ │ │ │ ├── regress-226517.js
│ │ │ │ │ ├── regress-302439.js
│ │ │ │ │ ├── regress-324650.js
│ │ │ │ │ ├── regress-74474-001.js
│ │ │ │ │ ├── regress-74474-002.js
│ │ │ │ │ ├── regress-74474-003.js
│ │ │ │ │ ├── regress-83532-001.js
│ │ │ │ │ ├── regress-83532-002.js
│ │ │ │ │ ├── shell.js
│ │ │ │ │ └── switch-001.js
│ │ │ │ ├── String
│ │ │ │ │ ├── 15.5.4.11.js
│ │ │ │ │ ├── 15.5.4.14.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-104375.js
│ │ │ │ │ ├── regress-189898.js
│ │ │ │ │ ├── regress-304376.js
│ │ │ │ │ ├── regress-313567.js
│ │ │ │ │ ├── regress-392378.js
│ │ │ │ │ ├── regress-83293.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── Unicode
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-352044-01.js
│ │ │ │ │ ├── regress-352044-02-n.js
│ │ │ │ │ ├── shell.js
│ │ │ │ │ ├── uc-001-n.js
│ │ │ │ │ ├── uc-001.js
│ │ │ │ │ ├── uc-002-n.js
│ │ │ │ │ ├── uc-002.js
│ │ │ │ │ ├── uc-003.js
│ │ │ │ │ ├── uc-004.js
│ │ │ │ │ └── uc-005.js
│ │ │ │ ├── browser.js
│ │ │ │ ├── extensions
│ │ │ │ │ ├── 10.1.3-2.js
│ │ │ │ │ ├── 7.9.1.js
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── regress-103087.js
│ │ │ │ │ ├── regress-188206-01.js
│ │ │ │ │ ├── regress-188206-02.js
│ │ │ │ │ ├── regress-220367-002.js
│ │ │ │ │ ├── regress-228087.js
│ │ │ │ │ ├── regress-274152.js
│ │ │ │ │ ├── regress-320854.js
│ │ │ │ │ ├── regress-327170.js
│ │ │ │ │ ├── regress-368516.js
│ │ │ │ │ ├── regress-385393-03.js
│ │ │ │ │ ├── regress-429248.js
│ │ │ │ │ ├── regress-430740.js
│ │ │ │ │ └── shell.js
│ │ │ │ ├── shell.js
│ │ │ │ └── template.js
│ │ │ └── shell.js
│ │ └── tst_qscriptjstestsuite.cpp
│ ├── qscriptqwidgets
│ │ ├── qscriptqwidgets.pro
│ │ └── tst_qscriptqwidgets.cpp
│ ├── qscriptstring
│ │ ├── qscriptstring.pro
│ │ └── tst_qscriptstring.cpp
│ ├── qscriptv8testsuite
│ │ ├── abstracttestsuite.cpp
│ │ ├── abstracttestsuite.h
│ │ ├── abstracttestsuite.pri
│ │ ├── expect_fail.txt
│ │ ├── qscriptv8testsuite.pro
│ │ ├── qscriptv8testsuite.qrc
│ │ ├── skip.txt
│ │ ├── tests
│ │ │ ├── apply.js
│ │ │ ├── arguments-call-apply.js
│ │ │ ├── arguments-enum.js
│ │ │ ├── arguments-indirect.js
│ │ │ ├── arguments-opt.js
│ │ │ ├── arguments.js
│ │ │ ├── array-concat.js
│ │ │ ├── array-functions-prototype.js
│ │ │ ├── array-indexing.js
│ │ │ ├── array-iteration.js
│ │ │ ├── array-join.js
│ │ │ ├── array-length.js
│ │ │ ├── array-sort.js
│ │ │ ├── array-splice-webkit.js
│ │ │ ├── array-splice.js
│ │ │ ├── array_length.js
│ │ │ ├── ascii-regexp-subject.js
│ │ │ ├── binary-operation-overwrite.js
│ │ │ ├── body-not-visible.js
│ │ │ ├── call-non-function-call.js
│ │ │ ├── call-non-function.js
│ │ │ ├── call.js
│ │ │ ├── char-escape.js
│ │ │ ├── class-of-builtins.js
│ │ │ ├── closure.js
│ │ │ ├── compare-nan.js
│ │ │ ├── const-redecl.js
│ │ │ ├── const.js
│ │ │ ├── cyclic-array-to-string.js
│ │ │ ├── date-parse.js
│ │ │ ├── date.js
│ │ │ ├── declare-locally.js
│ │ │ ├── deep-recursion.js
│ │ │ ├── delay-syntax-error.js
│ │ │ ├── delete-global-properties.js
│ │ │ ├── delete-in-eval.js
│ │ │ ├── delete-in-with.js
│ │ │ ├── delete-vars-from-eval.js
│ │ │ ├── delete.js
│ │ │ ├── do-not-strip-fc.js
│ │ │ ├── dont-enum-array-holes.js
│ │ │ ├── dont-reinit-global-var.js
│ │ │ ├── double-equals.js
│ │ │ ├── dtoa.js
│ │ │ ├── enumeration_order.js
│ │ │ ├── escape.js
│ │ │ ├── eval-typeof-non-existing.js
│ │ │ ├── execScript-case-insensitive.js
│ │ │ ├── extra-arguments.js
│ │ │ ├── extra-commas.js
│ │ │ ├── for-in-null-or-undefined.js
│ │ │ ├── for-in-special-cases.js
│ │ │ ├── for-in.js
│ │ │ ├── fun-as-prototype.js
│ │ │ ├── fun_name.js
│ │ │ ├── function-arguments-null.js
│ │ │ ├── function-caller.js
│ │ │ ├── function-property.js
│ │ │ ├── function-prototype.js
│ │ │ ├── function-source.js
│ │ │ ├── function.js
│ │ │ ├── fuzz-accessors.js
│ │ │ ├── getter-in-value-prototype.js
│ │ │ ├── global-const-var-conflicts.js
│ │ │ ├── global-vars-eval.js
│ │ │ ├── global-vars-with.js
│ │ │ ├── has-own-property.js
│ │ │ ├── html-comments.js
│ │ │ ├── html-string-funcs.js
│ │ │ ├── if-in-undefined.js
│ │ │ ├── in.js
│ │ │ ├── instanceof.js
│ │ │ ├── integer-to-string.js
│ │ │ ├── invalid-lhs.js
│ │ │ ├── keyed-ic.js
│ │ │ ├── large-object-literal.js
│ │ │ ├── lazy-load.js
│ │ │ ├── length.js
│ │ │ ├── math-min-max.js
│ │ │ ├── megamorphic-callbacks.js
│ │ │ ├── mjsunit.js
│ │ │ ├── mul-exhaustive.js
│ │ │ ├── negate-zero.js
│ │ │ ├── negate.js
│ │ │ ├── nested-repetition-count-overflow.js
│ │ │ ├── new.js
│ │ │ ├── newline-in-string.js
│ │ │ ├── no-branch-elimination.js
│ │ │ ├── no-octal-constants-above-256.js
│ │ │ ├── no-semicolon.js
│ │ │ ├── non-ascii-replace.js
│ │ │ ├── nul-characters.js
│ │ │ ├── number-limits.js
│ │ │ ├── number-tostring.js
│ │ │ ├── obj-construct.js
│ │ │ ├── parse-int-float.js
│ │ │ ├── property-object-key.js
│ │ │ ├── proto.js
│ │ │ ├── prototype.js
│ │ │ ├── regexp-multiline-stack-trace.js
│ │ │ ├── regexp-multiline.js
│ │ │ ├── regexp-standalones.js
│ │ │ ├── regexp-static.js
│ │ │ ├── regexp.js
│ │ │ ├── scanner.js
│ │ │ ├── smi-negative-zero.js
│ │ │ ├── smi-ops.js
│ │ │ ├── sparse-array-reverse.js
│ │ │ ├── sparse-array.js
│ │ │ ├── str-to-num.js
│ │ │ ├── stress-array-push.js
│ │ │ ├── strict-equals.js
│ │ │ ├── string-case.js
│ │ │ ├── string-charat.js
│ │ │ ├── string-charcodeat.js
│ │ │ ├── string-flatten.js
│ │ │ ├── string-index.js
│ │ │ ├── string-indexof.js
│ │ │ ├── string-lastindexof.js
│ │ │ ├── string-localecompare.js
│ │ │ ├── string-search.js
│ │ │ ├── string-split.js
│ │ │ ├── substr.js
│ │ │ ├── this-in-callbacks.js
│ │ │ ├── this.js
│ │ │ ├── throw-exception-for-null-access.js
│ │ │ ├── to-precision.js
│ │ │ ├── tobool.js
│ │ │ ├── toint32.js
│ │ │ ├── touint32.js
│ │ │ ├── try-finally-nested.js
│ │ │ ├── try.js
│ │ │ ├── try_catch_scopes.js
│ │ │ ├── unicode-string-to-number.js
│ │ │ ├── unicode-test.js
│ │ │ ├── unusual-constructor.js
│ │ │ ├── uri.js
│ │ │ ├── value-callic-prototype-change.js
│ │ │ ├── var.js
│ │ │ ├── with-leave.js
│ │ │ ├── with-parameter-access.js
│ │ │ └── with-value.js
│ │ └── tst_qscriptv8testsuite.cpp
│ ├── qscriptvalue
│ │ ├── qscriptvalue.pro
│ │ ├── tst_qscriptvalue.cpp
│ │ └── tst_qscriptvalue.h
│ ├── qscriptvaluegenerated
│ │ ├── qscriptvaluegenerated.pro
│ │ ├── tst_qscriptvalue.cpp
│ │ ├── tst_qscriptvalue.h
│ │ ├── tst_qscriptvalue_generated_cast.cpp
│ │ ├── tst_qscriptvalue_generated_comparison.cpp
│ │ ├── tst_qscriptvalue_generated_init.cpp
│ │ ├── tst_qscriptvalue_generated_isXXX.cpp
│ │ └── tst_qscriptvalue_generated_toXXX.cpp
│ ├── qscriptvalueiterator
│ │ ├── qscriptvalueiterator.pro
│ │ └── tst_qscriptvalueiterator.cpp
│ └── shared
│ │ ├── util.h
│ │ └── util.pri
├── benchmarks
│ └── script
│ │ ├── context2d
│ │ ├── context2d.pro
│ │ └── tst_context2d.cpp
│ │ ├── qscriptclass
│ │ ├── qscriptclass.pro
│ │ └── tst_qscriptclass.cpp
│ │ ├── qscriptclass_bytearray
│ │ ├── qscriptclass_bytearray.pro
│ │ ├── qscriptclass_bytearray.qrc
│ │ ├── tests
│ │ │ ├── construct-copy.js
│ │ │ ├── construct.js
│ │ │ ├── for-in.js
│ │ │ ├── get-element.js
│ │ │ ├── get-length.js
│ │ │ ├── mid.js
│ │ │ ├── set-element.js
│ │ │ ├── set-length.js
│ │ │ ├── sum.js
│ │ │ └── trimmed.js
│ │ └── tst_qscriptclass_bytearray.cpp
│ │ ├── qscriptengine
│ │ ├── qscriptengine.pro
│ │ └── tst_qscriptengine.cpp
│ │ ├── qscriptqobject
│ │ ├── qscriptqobject.pro
│ │ └── tst_qscriptqobject.cpp
│ │ ├── qscriptvalue
│ │ ├── qscriptvalue.pro
│ │ └── tst_qscriptvalue.cpp
│ │ ├── qscriptvalueiterator
│ │ ├── qscriptvalueiterator.pro
│ │ └── tst_qscriptvalueiterator.cpp
│ │ ├── script.pro
│ │ ├── sunspider
│ │ ├── sunspider.pro
│ │ ├── sunspider.qrc
│ │ ├── tests
│ │ │ ├── 3d-cube.js
│ │ │ ├── 3d-morph.js
│ │ │ ├── 3d-raytrace.js
│ │ │ ├── LICENSE.txt
│ │ │ ├── VERSION
│ │ │ ├── access-binary-trees.js
│ │ │ ├── access-fannkuch.js
│ │ │ ├── access-nbody.js
│ │ │ ├── access-nsieve.js
│ │ │ ├── bitops-3bit-bits-in-byte.js
│ │ │ ├── bitops-bits-in-byte.js
│ │ │ ├── bitops-bitwise-and.js
│ │ │ ├── bitops-nsieve-bits.js
│ │ │ ├── controlflow-recursive.js
│ │ │ ├── crypto-aes.js
│ │ │ ├── crypto-md5.js
│ │ │ ├── crypto-sha1.js
│ │ │ ├── date-format-tofte.js
│ │ │ ├── date-format-xparb.js
│ │ │ ├── math-cordic.js
│ │ │ ├── math-partial-sums.js
│ │ │ ├── math-spectral-norm.js
│ │ │ ├── qt_attribution.json
│ │ │ ├── regexp-dna.js
│ │ │ ├── string-base64.js
│ │ │ ├── string-fasta.js
│ │ │ ├── string-tagcloud.js
│ │ │ ├── string-unpack-code.js
│ │ │ └── string-validate-input.js
│ │ └── tst_sunspider.cpp
│ │ └── v8
│ │ ├── tests
│ │ ├── LICENSE.txt
│ │ ├── README.txt
│ │ ├── base.js
│ │ ├── crypto.js
│ │ ├── deltablue.js
│ │ ├── earley-boyer.js
│ │ ├── qt_attribution.json
│ │ ├── raytrace.js
│ │ ├── regexp.js
│ │ ├── richards.js
│ │ └── splay.js
│ │ ├── tst_v8.cpp
│ │ ├── v8.pro
│ │ └── v8.qrc
├── global
│ └── global.cfg
└── tests.pro
└── util
└── mkdist-javascriptcore
/.qmake.conf:
--------------------------------------------------------------------------------
1 | load(qt_build_config)
2 | android|boot2qt: CONFIG -= headersclean
3 |
4 | DEFINES += QT_NO_FOREACH QT_NO_JAVA_STYLE_ITERATORS
5 |
6 | MODULE_VERSION = 6.0.0
7 |
--------------------------------------------------------------------------------
/.tag:
--------------------------------------------------------------------------------
1 | 2c1ffc66bf5d5db05018d7b06253b5ca51e557ab
2 |
--------------------------------------------------------------------------------
/configure.json:
--------------------------------------------------------------------------------
1 | {
2 | "subconfigs": [
3 | "src/script"
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/dependencies.yaml:
--------------------------------------------------------------------------------
1 | dependencies:
2 | ../qtbase:
3 | ref: 40143c189b7c1bf3c2058b77d00ea5c4e3be8b28
4 | required: true
5 | ../qttools:
6 | ref: cc52debd905e0ed061290d6fd00a5f1ab67478a5
7 | required: false
8 |
--------------------------------------------------------------------------------
/dist/changes-5.0.2:
--------------------------------------------------------------------------------
1 | Qt 5.0.2 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.0.0 and 5.0.1.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://qt-project.org/doc/qt-5.0/
8 |
9 | Some of the changes listed in this file include issue tracking numbers
10 | corresponding to tasks in the Qt Bug Tracker:
11 |
12 | http://bugreports.qt-project.org/
13 |
14 | Each of these identifiers can be entered in the bug tracker to obtain more
15 | information about a particular change.
16 |
17 |
18 | ****************************************************************************
19 | * General *
20 | ****************************************************************************
21 |
22 | General Improvements
23 | --------------------
24 |
25 | - This release contains only minor code improvements.
26 |
--------------------------------------------------------------------------------
/dist/changes-5.1.0:
--------------------------------------------------------------------------------
1 | Qt 5.1 introduces many new features and improvements as well as bugfixes
2 | over the 5.0.x series. For more details, refer to the online documentation
3 | included in this distribution. The documentation is also available online:
4 |
5 | http://qt-project.org/doc/qt-5.1
6 |
7 | The Qt version 5.1 series is binary compatible with the 5.0.x series.
8 | Applications compiled for 5.0 will continue to run with 5.1.
9 |
10 | Some of the changes listed in this file include issue tracking numbers
11 | corresponding to tasks in the Qt Bug Tracker:
12 |
13 | http://bugreports.qt-project.org/
14 |
15 | Each of these identifiers can be entered in the bug tracker to obtain more
16 | information about a particular change.
17 |
18 | ****************************************************************************
19 | * General *
20 | ****************************************************************************
21 |
22 | - This release contains only minor code improvements.
23 |
--------------------------------------------------------------------------------
/dist/changes-5.1.1:
--------------------------------------------------------------------------------
1 | Qt 5.1.1 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.1.0.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://qt-project.org/doc/qt-5.1/
8 |
9 | The Qt version 5.1 series is binary compatible with the 5.0.x series.
10 | Applications compiled for 5.0 will continue to run with 5.1.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | http://bugreports.qt-project.org/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 |
21 | ****************************************************************************
22 | * General *
23 | ****************************************************************************
24 |
25 | - This release contains only minor code improvements.
26 |
--------------------------------------------------------------------------------
/dist/changes-5.10.1:
--------------------------------------------------------------------------------
1 | Qt 5.10.1 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.10.0.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.10 series is binary compatible with the 5.9.x series.
10 | Applications compiled for 5.9 will continue to run with 5.10.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | This release contains all fixes included in the Qt 5.9.4 release.
21 |
22 | ****************************************************************************
23 | * Qt 5.10.1 Changes *
24 | ****************************************************************************
25 |
26 | - This release contains only minor code improvements.
27 |
--------------------------------------------------------------------------------
/dist/changes-5.11.0:
--------------------------------------------------------------------------------
1 | Qt 5.11 introduces many new features and improvements as well as bugfixes
2 | over the 5.10.x series. For more details, refer to the online documentation
3 | included in this distribution. The documentation is also available online:
4 |
5 | http://doc.qt.io/qt-5/index.html
6 |
7 | The Qt version 5.11 series is binary compatible with the 5.10.x series.
8 | Applications compiled for 5.10 will continue to run with 5.11.
9 |
10 | Some of the changes listed in this file include issue tracking numbers
11 | corresponding to tasks in the Qt Bug Tracker:
12 |
13 | https://bugreports.qt.io/
14 |
15 | Each of these identifiers can be entered in the bug tracker to obtain more
16 | information about a particular change.
17 |
18 | ****************************************************************************
19 | * Qt 5.11.0 Changes *
20 | ****************************************************************************
21 |
22 | - This release contains only minor code improvements.
23 |
--------------------------------------------------------------------------------
/dist/changes-5.11.1:
--------------------------------------------------------------------------------
1 | Qt 5.11.1 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.11.0.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.11 series is binary compatible with the 5.10.x series.
10 | Applications compiled for 5.10 will continue to run with 5.11.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | ****************************************************************************
21 | * Qt 5.11.1 Changes *
22 | ****************************************************************************
23 |
24 | ****************************************************************************
25 | * QtScript *
26 | ****************************************************************************
27 |
28 | - [QTBUG-68367] Fix incorrect script evaluations on 64-bit systems with
29 | gcc 8.
30 |
--------------------------------------------------------------------------------
/dist/changes-5.11.2:
--------------------------------------------------------------------------------
1 | Qt 5.11.2 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.11.0 through 5.11.1.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.11 series is binary compatible with the 5.10.x series.
10 | Applications compiled for 5.10 will continue to run with 5.11.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | ****************************************************************************
21 | * Qt 5.11.2 Changes *
22 | ****************************************************************************
23 |
24 | - This release contains only minor code improvements.
25 |
--------------------------------------------------------------------------------
/dist/changes-5.11.3:
--------------------------------------------------------------------------------
1 | Qt 5.11.3 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.11.0 through 5.11.2.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.11 series is binary compatible with the 5.10.x series.
10 | Applications compiled for 5.10 will continue to run with 5.11.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.12.0:
--------------------------------------------------------------------------------
1 | Qt 5.12 introduces many new features and improvements as well as bugfixes
2 | over the 5.11.x series. For more details, refer to the online documentation
3 | included in this distribution. The documentation is also available online:
4 |
5 | https://doc.qt.io/qt-5/index.html
6 |
7 | The Qt version 5.12 series is binary compatible with the 5.11.x series.
8 | Applications compiled for 5.11 will continue to run with 5.12.
9 |
10 | Some of the changes listed in this file include issue tracking numbers
11 | corresponding to tasks in the Qt Bug Tracker:
12 |
13 | https://bugreports.qt.io/
14 |
15 | Each of these identifiers can be entered in the bug tracker to obtain more
16 | information about a particular change.
17 |
18 | - This release contains only minor code improvements.
19 |
--------------------------------------------------------------------------------
/dist/changes-5.12.1:
--------------------------------------------------------------------------------
1 | Qt 5.12.1 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.12.0.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.12 series is binary compatible with the 5.11.x series.
10 | Applications compiled for 5.11 will continue to run with 5.12.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.12.2:
--------------------------------------------------------------------------------
1 | Qt 5.12.2 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.12.0 through 5.12.1.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | https://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.12 series is binary compatible with the 5.11.x series.
10 | Applications compiled for 5.11 will continue to run with 5.12.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.12.3:
--------------------------------------------------------------------------------
1 | Qt 5.12.3 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.12.0 through 5.12.2.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | https://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.12 series is binary compatible with the 5.11.x series.
10 | Applications compiled for 5.11 will continue to run with 5.12.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.12.4:
--------------------------------------------------------------------------------
1 | Qt 5.12.4 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.12.0 through 5.12.3.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | https://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.12 series is binary compatible with the 5.11.x series.
10 | Applications compiled for 5.11 will continue to run with 5.12.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.12.5:
--------------------------------------------------------------------------------
1 | Qt 5.12.5 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.12.0 through 5.12.4.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | https://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.12 series is binary compatible with the 5.11.x series.
10 | Applications compiled for 5.11 will continue to run with 5.12.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.13.0:
--------------------------------------------------------------------------------
1 | Qt 5.13 introduces many new features and improvements as well as bugfixes
2 | over the 5.12.x series. For more details, refer to the online documentation
3 | included in this distribution. The documentation is also available online:
4 |
5 | https://doc.qt.io/qt-5/index.html
6 |
7 | The Qt version 5.13 series is binary compatible with the 5.12.x series.
8 | Applications compiled for 5.12 will continue to run with 5.13.
9 |
10 | Some of the changes listed in this file include issue tracking numbers
11 | corresponding to tasks in the Qt Bug Tracker:
12 |
13 | https://bugreports.qt.io/
14 |
15 | Each of these identifiers can be entered in the bug tracker to obtain more
16 | information about a particular change.
17 |
18 | - This release contains only minor code improvements.
19 |
--------------------------------------------------------------------------------
/dist/changes-5.13.1:
--------------------------------------------------------------------------------
1 | Qt 5.13.1 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.13.0.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | https://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.13 series is binary compatible with the 5.12.x series.
10 | Applications compiled for 5.12 will continue to run with 5.13.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.13.2:
--------------------------------------------------------------------------------
1 | Qt 5.13.2 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.13.0 through 5.13.1.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | https://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.13 series is binary compatible with the 5.12.x series.
10 | Applications compiled for 5.12 will continue to run with 5.13.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.14.0:
--------------------------------------------------------------------------------
1 | Qt 5.14 introduces many new features and improvements as well as bugfixes
2 | over the 5.13.x series. For more details, refer to the online documentation
3 | included in this distribution. The documentation is also available online:
4 |
5 | https://doc.qt.io/qt-5/index.html
6 |
7 | The Qt version 5.14 series is binary compatible with the 5.13.x series.
8 | Applications compiled for 5.13 will continue to run with 5.14.
9 |
10 | Some of the changes listed in this file include issue tracking numbers
11 | corresponding to tasks in the Qt Bug Tracker:
12 |
13 | https://bugreports.qt.io/
14 |
15 | Each of these identifiers can be entered in the bug tracker to obtain more
16 | information about a particular change.
17 |
18 | - This release contains only minor code improvements.
19 |
--------------------------------------------------------------------------------
/dist/changes-5.14.1:
--------------------------------------------------------------------------------
1 | Qt 5.14.1 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.14.0.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | https://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.14 series is binary compatible with the 5.13.x series.
10 | Applications compiled for 5.13 will continue to run with 5.14.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | - This release contains only minor code improvements.
21 |
--------------------------------------------------------------------------------
/dist/changes-5.9.4:
--------------------------------------------------------------------------------
1 | Qt 5.9.4 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.9.0.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.9 series is binary compatible with the 5.8.x series.
10 | Applications compiled for 5.8 will continue to run with 5.9.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | ****************************************************************************
21 | * Qt 5.9.4 Changes *
22 | ****************************************************************************
23 |
24 | - This release contains only minor code improvements.
25 |
26 |
--------------------------------------------------------------------------------
/dist/changes-5.9.5:
--------------------------------------------------------------------------------
1 | Qt 5.9.5 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.9.0.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.9 series is binary compatible with the 5.8.x series.
10 | Applications compiled for 5.8 will continue to run with 5.9.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | ****************************************************************************
21 | * Qt 5.9.5 Changes *
22 | ****************************************************************************
23 |
24 | - This release contains only minor code improvements.
25 |
--------------------------------------------------------------------------------
/dist/changes-5.9.6:
--------------------------------------------------------------------------------
1 | Qt 5.9.6 is a bug-fix release. It maintains both forward and backward
2 | compatibility (source and binary) with Qt 5.9.0 through 5.9.5.
3 |
4 | For more details, refer to the online documentation included in this
5 | distribution. The documentation is also available online:
6 |
7 | http://doc.qt.io/qt-5/index.html
8 |
9 | The Qt version 5.9 series is binary compatible with the 5.8.x series.
10 | Applications compiled for 5.8 will continue to run with 5.9.
11 |
12 | Some of the changes listed in this file include issue tracking numbers
13 | corresponding to tasks in the Qt Bug Tracker:
14 |
15 | https://bugreports.qt.io/
16 |
17 | Each of these identifiers can be entered in the bug tracker to obtain more
18 | information about a particular change.
19 |
20 | ****************************************************************************
21 | * Qt 5.9.6 Changes *
22 | ****************************************************************************
23 |
24 | - This release contains only minor code improvements.
25 |
--------------------------------------------------------------------------------
/examples/examples.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += script
3 |
--------------------------------------------------------------------------------
/examples/script/README:
--------------------------------------------------------------------------------
1 | Qt is provided with a powerful embedded scripting environment through the Qt Script
2 | classes.
3 |
4 | These examples demonstrate the fundamental aspects of scripting applications
5 | with Qt.
6 |
7 |
8 | Documentation for these examples can be found via the Examples
9 | link in the main Qt documentation.
10 |
--------------------------------------------------------------------------------
/examples/script/calculator/calculator.pro:
--------------------------------------------------------------------------------
1 | QT += script widgets uitools
2 | RESOURCES += calculator.qrc
3 | SOURCES += main.cpp
4 | QMAKE_PROJECT_NAME = scripted_calculator
5 |
6 | qtHaveModule(scripttools): QT += scripttools
7 |
8 | target.path = $$[QT_INSTALL_EXAMPLES]/script/calculator
9 | INSTALLS += target
10 |
11 | maemo5: CONFIG += qt_example
12 |
--------------------------------------------------------------------------------
/examples/script/calculator/calculator.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | calculator.js
4 | calculator.ui
5 |
6 |
7 |
--------------------------------------------------------------------------------
/examples/script/context2d/context2d.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = app
2 | QT += widgets script
3 | # Input
4 | HEADERS += qcontext2dcanvas.h \
5 | context2d.h \
6 | domimage.h \
7 | environment.h \
8 | window.h
9 | SOURCES += qcontext2dcanvas.cpp \
10 | context2d.cpp \
11 | domimage.cpp \
12 | environment.cpp \
13 | window.cpp \
14 | main.cpp
15 | RESOURCES += context2d.qrc
16 |
17 | qtHaveModule(scripttools): QT += scripttools
18 |
19 | target.path = $$[QT_INSTALL_EXAMPLES]/script/context2d
20 | INSTALLS += target
21 |
22 | maemo5: CONFIG += qt_example
23 |
24 |
--------------------------------------------------------------------------------
/examples/script/context2d/context2d.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | scripts
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/script/context2d/doc/images/context2d-example-smileysmile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/examples/script/context2d/doc/images/context2d-example-smileysmile.png
--------------------------------------------------------------------------------
/examples/script/context2d/doc/images/context2d-example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/examples/script/context2d/doc/images/context2d-example.png
--------------------------------------------------------------------------------
/examples/script/context2d/scripts/alpha.js:
--------------------------------------------------------------------------------
1 | var ctx = document.getElementById('tutorial').getContext('2d');
2 | // draw background
3 | ctx.fillStyle = '#FD0';
4 | ctx.fillRect(0,0,75,75);
5 | ctx.fillStyle = '#6C0';
6 | ctx.fillRect(75,0,75,75);
7 | ctx.fillStyle = '#09F';
8 | ctx.fillRect(0,75,75,75);
9 | ctx.fillStyle = '#F30';
10 | ctx.fillRect(75,75,75,75);
11 | ctx.fillStyle = '#FFF';
12 |
13 | // set transparency value
14 | ctx.globalAlpha = 0.2;
15 |
16 | // Draw semi transparent circles
17 | for (i=0;i<7;i++){
18 | ctx.beginPath();
19 | ctx.arc(75,75,10+10*i,0,Math.PI*2,true);
20 | ctx.fill();
21 | }
22 |
--------------------------------------------------------------------------------
/examples/script/context2d/scripts/arc.js:
--------------------------------------------------------------------------------
1 | var canvas = document.getElementById('tutorial');
2 |
3 | // Make sure we don't execute when canvas isn't supported
4 | if (canvas.getContext){
5 |
6 | // use getContext to use the canvas for drawing
7 | var ctx = canvas.getContext('2d');
8 |
9 | // Draw shapes
10 | for (i=0;i<4;i++){
11 | for(j=0;j<3;j++){
12 | ctx.beginPath();
13 | var x = 25+j*50; // x coordinate
14 | var y = 25+i*50; // y coordinate
15 | var radius = 20; // Arc radius
16 | var startAngle = 0; // Starting point on circle
17 | var endAngle = Math.PI+(Math.PI*j)/2; // End point on circle
18 | var clockwise = i%2==0 ? false : true; // clockwise or anticlockwise
19 |
20 | ctx.arc(x,y,radius,startAngle,endAngle, clockwise);
21 |
22 | if (i>1){
23 | ctx.fill();
24 | } else {
25 | ctx.stroke();
26 | }
27 | }
28 | }
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/examples/script/context2d/scripts/bezier.js:
--------------------------------------------------------------------------------
1 | function drawShape() {
2 | // get the canvas element using the DOM
3 | var canvas = document.getElementById('tutorial');
4 |
5 | // Make sure we don't execute when canvas isn't supported
6 | if (canvas.getContext){
7 |
8 | // use getContext to use the canvas for drawing
9 | var ctx = canvas.getContext('2d');
10 |
11 | // Draw shapes
12 |
13 | ctx.beginPath();
14 | ctx.moveTo(75,40);
15 | ctx.bezierCurveTo(75,37,70,25,50,25);
16 | ctx.bezierCurveTo(20,25,20,62.5,20,62.5);
17 | ctx.bezierCurveTo(20,80,40,102,75,120);
18 | ctx.bezierCurveTo(110,102,130,80,130,62.5);
19 | ctx.bezierCurveTo(130,62.5,130,25,100,25);
20 | ctx.bezierCurveTo(85,25,75,37,75,40);
21 | ctx.fill();
22 | ctx.globalAlpha = 0.5;
23 | }
24 | }
25 |
26 | drawShape();
27 |
--------------------------------------------------------------------------------
/examples/script/context2d/scripts/fill1.js:
--------------------------------------------------------------------------------
1 | var ctx = document.getElementById('tutorial').getContext('2d');
2 | for (i=0;i<6;i++){
3 | for (j=0;j<6;j++){
4 | ctx.fillStyle = 'rgb(' + Math.floor(255-42.5*i) + ',' +
5 | Math.floor(255-42.5*j) + ',0)';
6 | ctx.fillRect(j*25,i*25,25,25);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/examples/script/context2d/scripts/grad.js:
--------------------------------------------------------------------------------
1 | var ctx = document.getElementById('tutorial').getContext('2d');
2 |
3 | // Create gradients
4 | var lingrad = ctx.createLinearGradient(0,0,0,150);
5 | lingrad.addColorStop(0, '#00ABEB');
6 | lingrad.addColorStop(0.5, '#fff');
7 | lingrad.addColorStop(0.5, '#66CC00');
8 | lingrad.addColorStop(1, '#fff');
9 |
10 | var lingrad2 = ctx.createLinearGradient(0,50,0,95);
11 | lingrad2.addColorStop(0.5, '#000');
12 | lingrad2.addColorStop(1, 'rgba(0,0,0,0)');
13 |
14 | // assign gradients to fill and stroke styles
15 | ctx.fillStyle = lingrad;
16 | ctx.strokeStyle = lingrad2;
17 |
18 | // draw shapes
19 | ctx.fillRect(10,10,130,130);
20 | ctx.strokeRect(50,50,50,50);
21 |
--------------------------------------------------------------------------------
/examples/script/context2d/scripts/linecap.js:
--------------------------------------------------------------------------------
1 | var ctx = document.getElementById('tutorial').getContext('2d');
2 | var lineCap = ['butt','round','square'];
3 |
4 | // Draw guides
5 | ctx.save();
6 | ctx.strokeStyle = '#09f';
7 | ctx.beginPath();
8 | ctx.moveTo(10,10);
9 | ctx.lineTo(140,10);
10 | ctx.moveTo(10,140);
11 | ctx.lineTo(140,140);
12 | ctx.stroke();
13 |
14 | // Draw lines
15 | ctx.strokeStyle = 'black';
16 | for (i=0;i20000) break;
21 | var x2 = (R+r)*Math.cos(i*Math.PI/72) - (r+O)*Math.cos(((R+r)/r)*(i*Math.PI/72))
22 | var y2 = (R+r)*Math.sin(i*Math.PI/72) - (r+O)*Math.sin(((R+r)/r)*(i*Math.PI/72))
23 | ctx.lineTo(x2,y2);
24 | x1 = x2;
25 | y1 = y2;
26 | i++;
27 | } while (x2 != R-O && y2 != 0 );
28 | ctx.stroke();
29 | }
30 |
--------------------------------------------------------------------------------
/examples/script/customclass/bytearrayclass.pri:
--------------------------------------------------------------------------------
1 | SOURCES += $$PWD/bytearrayclass.cpp \
2 | $$PWD/bytearrayprototype.cpp
3 | HEADERS += $$PWD/bytearrayclass.h \
4 | $$PWD/bytearrayprototype.h
5 |
6 | INCLUDEPATH += $$PWD
7 |
--------------------------------------------------------------------------------
/examples/script/customclass/customclass.pro:
--------------------------------------------------------------------------------
1 | QT = core script
2 | win32: CONFIG += console
3 | mac:CONFIG -= app_bundle
4 |
5 | SOURCES += main.cpp
6 |
7 | include(bytearrayclass.pri)
8 |
9 | target.path = $$[QT_INSTALL_EXAMPLES]/script/customclass
10 | INSTALLS += target
11 |
12 | maemo5: CONFIG += qt_example
13 |
--------------------------------------------------------------------------------
/examples/script/defaultprototypes/code.js:
--------------------------------------------------------------------------------
1 | //! [0]
2 | listWidget.addItem("Red");
3 | listWidget.addItem("Blue");
4 | listWidget.addItem("Green");
5 | listWidget.addItem("Cyan");
6 | listWidget.addItem("Yellow");
7 | listWidget.addItem("Purple");
8 | listWidget.addItems(["Orange", "Gray"]);
9 | //! [0]
10 |
11 | //! [1]
12 | listWidget.currentItemChanged.connect(
13 | function(item)
14 | {
15 | listWidget.setBackgroundColor(item.text);
16 | }
17 | );
18 | //! [1]
19 |
--------------------------------------------------------------------------------
/examples/script/defaultprototypes/defaultprototypes.pro:
--------------------------------------------------------------------------------
1 | QT += widgets script
2 | RESOURCES += defaultprototypes.qrc
3 | SOURCES += main.cpp prototypes.cpp
4 | HEADERS += prototypes.h
5 |
6 | target.path = $$[QT_INSTALL_EXAMPLES]/script/defaultprototypes
7 | INSTALLS += target
8 |
9 | maemo5: CONFIG += qt_example
10 |
--------------------------------------------------------------------------------
/examples/script/defaultprototypes/defaultprototypes.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | code.js
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/script/defaultprototypes/doc/images/defaultprototypes-example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/examples/script/defaultprototypes/doc/images/defaultprototypes-example.png
--------------------------------------------------------------------------------
/examples/script/helloscript/helloscript.js:
--------------------------------------------------------------------------------
1 | //! [0]
2 | button.text = qsTr('Hello World!');
3 | button.styleSheet = 'font-style: italic';
4 | button.show();
5 | //! [0]
6 |
--------------------------------------------------------------------------------
/examples/script/helloscript/helloscript.pro:
--------------------------------------------------------------------------------
1 | QT += widgets script
2 | RESOURCES += helloscript.qrc
3 | SOURCES += main.cpp
4 |
5 | target.path = $$[QT_INSTALL_EXAMPLES]/script/helloscript
6 | INSTALLS += target
7 |
8 | maemo5: CONFIG += qt_example
9 |
--------------------------------------------------------------------------------
/examples/script/helloscript/helloscript.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | helloscript.js
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/script/marshal/marshal.pro:
--------------------------------------------------------------------------------
1 | QT = core script
2 | CONFIG += console
3 | SOURCES += main.cpp
4 |
5 | target.path = $$[QT_INSTALL_EXAMPLES]/script/marshal
6 | INSTALLS += target
7 |
8 | maemo5: CONFIG += qt_example
9 |
--------------------------------------------------------------------------------
/examples/script/qscript/qscript.pro:
--------------------------------------------------------------------------------
1 |
2 | QT += script
3 | win32:CONFIG += console no_batch
4 | mac:CONFIG -= app_bundle
5 |
6 | SOURCES += main.cpp
7 |
8 | include(../customclass/bytearrayclass.pri)
9 |
10 | target.path = $$[QT_INSTALL_EXAMPLES]/script/qscript
11 | INSTALLS += target
12 |
13 | maemo5: CONFIG += qt_example
14 |
--------------------------------------------------------------------------------
/examples/script/qsdbg/example.js:
--------------------------------------------------------------------------------
1 | function bar() {
2 | var x = 1;
3 | var y = 2;
4 | return x + y;
5 | }
6 |
7 | function foo(a, b, c) {
8 | var i = a + bar();
9 | var j = b - bar();
10 | var k = c * bar();
11 | return Math.cos(i) + Math.sin(j) - Math.atan(k);
12 | }
13 |
14 | var first = foo(1, 2, 3);
15 | var second = foo(4, 5, 6);
16 | print("first was:", first, ", and second was:", second);
17 |
18 |
--------------------------------------------------------------------------------
/examples/script/qsdbg/qsdbg.pri:
--------------------------------------------------------------------------------
1 | SOURCES += \
2 | $$PWD/scriptdebugger.cpp \
3 | $$PWD/scriptbreakpointmanager.cpp
4 |
5 | HEADERS += \
6 | $$PWD/scriptdebugger.h \
7 | $$PWD/scriptbreakpointmanager.h
8 |
9 | INCLUDEPATH += $$PWD
10 |
--------------------------------------------------------------------------------
/examples/script/qsdbg/qsdbg.pro:
--------------------------------------------------------------------------------
1 | QT = core script
2 | win32: CONFIG += console
3 | mac: CONFIG -= app_bundle
4 |
5 | SOURCES += main.cpp
6 |
7 | include(qsdbg.pri)
8 |
9 | EXAMPLE_FILES = *.js
10 |
11 | target.path = $$[QT_INSTALL_EXAMPLES]/script/qsdbg
12 | INSTALLS += target
13 |
14 | maemo5: CONFIG += qt_example
15 |
--------------------------------------------------------------------------------
/examples/script/qstetrix/qstetrix.pro:
--------------------------------------------------------------------------------
1 | QT += widgets script uitools
2 |
3 | HEADERS = tetrixboard.h
4 | SOURCES = main.cpp \
5 | tetrixboard.cpp
6 |
7 | RESOURCES = tetrix.qrc
8 |
9 | qtHaveModule(scripttools): QT += scripttools
10 |
11 | target.path = $$[QT_INSTALL_EXAMPLES]/script/qstetrix
12 | INSTALLS += target
13 |
14 | maemo5: CONFIG += qt_example
15 |
--------------------------------------------------------------------------------
/examples/script/qstetrix/tetrix.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | tetrixwindow.js
4 | tetrixwindow.ui
5 | tetrixboard.js
6 | tetrixpiece.js
7 |
8 |
9 |
--------------------------------------------------------------------------------
/examples/script/qstetrix/tetrixwindow.js:
--------------------------------------------------------------------------------
1 | function TetrixWindow(ui)
2 | {
3 | this.ui = ui;
4 |
5 | var boardUi = ui.findChild("board");
6 | boardUi.nextPieceLabel = ui.findChild("nextPieceLabel");
7 |
8 | this.board = new TetrixBoard(boardUi);
9 |
10 | ui.findChild("startButton").clicked.connect(this.board, this.board.start);
11 | ui.findChild("quitButton").clicked.connect(Qt.App.quit);
12 | ui.findChild("pauseButton").clicked.connect(this.board, this.board.pause);
13 | boardUi.scoreChanged.connect(ui.findChild("scoreLcd")["display(int)"]);
14 | boardUi.levelChanged.connect(ui.findChild("levelLcd")["display(int)"]);
15 | boardUi.linesRemovedChanged.connect(ui.findChild("linesLcd")["display(int)"]);
16 | }
17 |
--------------------------------------------------------------------------------
/examples/script/script.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS = customclass
3 |
4 | qtHaveModule(gui): SUBDIRS += qsdbg
5 |
6 | qtHaveModule(widgets) {
7 | SUBDIRS += \
8 | helloscript \
9 | context2d \
10 | defaultprototypes
11 |
12 | qtHaveModule(uitools) {
13 | SUBDIRS += \
14 | calculator \
15 | qstetrix
16 | }
17 |
18 | !wince {
19 | SUBDIRS += \
20 | qscript
21 | }
22 | }
23 |
24 | !wince {
25 | qtHaveModule(gui): SUBDIRS += marshal
26 | }
27 |
28 | maemo5: CONFIG += qt_example
29 |
--------------------------------------------------------------------------------
/qtscript.pro:
--------------------------------------------------------------------------------
1 | requires(!integrity:!vxworks:!winrt:!tvos:!watchos)
2 |
3 | load(qt_parts)
4 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/API/JavaScriptCore.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 | *
4 | * Redistribution and use in source and binary forms, with or without
5 | * modification, are permitted provided that the following conditions
6 | * are met:
7 | * 1. Redistributions of source code must retain the above copyright
8 | * notice, this list of conditions and the following disclaimer.
9 | * 2. Redistributions in binary form must reproduce the above copyright
10 | * notice, this list of conditions and the following disclaimer in the
11 | * documentation and/or other materials provided with the distribution.
12 | *
13 | * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
14 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
17 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 | */
25 |
26 | #ifndef JavaScriptCore_h
27 | #define JavaScriptCore_h
28 |
29 | #include
30 | #include
31 |
32 | #endif /* JavaScriptCore_h */
33 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/AUTHORS:
--------------------------------------------------------------------------------
1 | Harri Porten (porten@kde.org)
2 | Peter Kelly (pmk@post.com)
3 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/APICast.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSBase.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSContextRef.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSObjectRef.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSRetainPtr.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRef.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSStringRefCF.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JSValueRef.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScript.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/JavaScriptCore.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/OpaqueJSString.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders/JavaScriptCore/WebKitAvailability.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleExecutable
8 | ${PRODUCT_NAME}
9 | CFBundleGetInfoString
10 | ${BUNDLE_VERSION}, Copyright 2003-2010 Apple Inc.; Copyright 1999-2001 Harri Porten <porten@kde.org>; Copyright 2001 Peter Kelly <pmk@post.com>; Copyright 1997-2005 University of Cambridge; Copyright 1991, 2000, 2001 by Lucent Technologies.
11 | CFBundleIdentifier
12 | com.apple.${PRODUCT_NAME}
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | ${PRODUCT_NAME}
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | ${SHORT_VERSION_STRING}
21 | CFBundleVersion
22 | ${BUNDLE_VERSION}
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCorePrefix.h:
--------------------------------------------------------------------------------
1 | #ifdef __cplusplus
2 | #define NULL __null
3 | #else
4 | #define NULL ((void *)0)
5 | #endif
6 |
7 | #include
8 | #include
9 | #include
10 | #include
11 | #include
12 | #include
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include
20 |
21 | #ifdef __cplusplus
22 |
23 | #include
24 | #include
25 |
26 | #endif
27 |
28 | #ifdef __cplusplus
29 | #define new ("if you use new/delete make sure to include config.h at the top of the file"())
30 | #define delete ("if you use new/delete make sure to include config.h at the top of the file"())
31 | #endif
32 |
33 | /* Work around bug with C++ library that screws up Objective-C++ when exception support is disabled. */
34 | #undef try
35 | #undef catch
36 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/THANKS:
--------------------------------------------------------------------------------
1 |
2 | I would like to thank the following people for their help:
3 |
4 | Richard Moore - for filling the Math object with some life
5 | Daegeun Lee - for pointing out some bugs and providing
6 | much code for the String and Date object.
7 | Marco Pinelli - for his patches
8 | Christian Kirsch - for his contribution to the Date object
9 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/docs/make-bytecode-docs.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl -w
2 |
3 | use strict;
4 |
5 | open MACHINE, "<" . $ARGV[0];
6 | open OUTPUT, ">" . $ARGV[1];
7 |
8 | my @undocumented = ();
9 |
10 | print OUTPUT "\n";
11 |
12 | while () {
13 | if (/^ *DEFINE_OPCODE/) {
14 | chomp;
15 | s/^ *DEFINE_OPCODE\(op_//;
16 | s/\).*$//;
17 | my $opcode = $_;
18 | $_ = ;
19 | chomp;
20 | if (m|/\* |) {
21 | my $format = $_;
22 | $format =~ s|.* /\* ||;
23 | my $doc = "";
24 | while () {
25 | if (m|\*/|) {
26 | last;
27 | }
28 | $doc .= $_ . " ";
29 | }
30 |
31 | print OUTPUT "${opcode}
\nFormat: \n${format}\n
\n\n${doc}\n
\n";
32 | } else {
33 | push @undocumented, $opcode;
34 | }
35 | }
36 | }
37 |
38 | close OUTPUT;
39 |
40 | for my $undoc (@undocumented) {
41 | print "UNDOCUMENTED: ${undoc}\n";
42 | }
43 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/generated/JSONObject.lut.h:
--------------------------------------------------------------------------------
1 | // Automatically generated from runtime/JSONObject.cpp using /home/khansen/dev/qtwebkit-qtscript-integration/JavaScriptCore/create_hash_table. DO NOT EDIT!
2 |
3 | #include "Lookup.h"
4 |
5 | namespace JSC {
6 |
7 | static const struct HashTableValue jsonTableValues[3] = {
8 | { "parse", DontEnum|Function, (intptr_t)JSONProtoFuncParse, (intptr_t)1 },
9 | { "stringify", DontEnum|Function, (intptr_t)JSONProtoFuncStringify, (intptr_t)1 },
10 | { 0, 0, 0, 0 }
11 | };
12 |
13 | extern JSC_CONST_HASHTABLE HashTable jsonTable =
14 | { 4, 3, jsonTableValues, 0 };
15 | } // namespace
16 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/generated/NumberConstructor.lut.h:
--------------------------------------------------------------------------------
1 | // Automatically generated from runtime/NumberConstructor.cpp using /home/khansen/dev/qtwebkit-qtscript-integration/JavaScriptCore/create_hash_table. DO NOT EDIT!
2 |
3 | #include "Lookup.h"
4 |
5 | namespace JSC {
6 |
7 | static const struct HashTableValue numberTableValues[6] = {
8 | { "NaN", DontEnum|DontDelete|ReadOnly, (intptr_t)numberConstructorNaNValue, (intptr_t)0 },
9 | { "NEGATIVE_INFINITY", DontEnum|DontDelete|ReadOnly, (intptr_t)numberConstructorNegInfinity, (intptr_t)0 },
10 | { "POSITIVE_INFINITY", DontEnum|DontDelete|ReadOnly, (intptr_t)numberConstructorPosInfinity, (intptr_t)0 },
11 | { "MAX_VALUE", DontEnum|DontDelete|ReadOnly, (intptr_t)numberConstructorMaxValue, (intptr_t)0 },
12 | { "MIN_VALUE", DontEnum|DontDelete|ReadOnly, (intptr_t)numberConstructorMinValue, (intptr_t)0 },
13 | { 0, 0, 0, 0 }
14 | };
15 |
16 | extern JSC_CONST_HASHTABLE HashTable numberTable =
17 | { 16, 15, numberTableValues, 0 };
18 | } // namespace
19 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/generated/RegExpObject.lut.h:
--------------------------------------------------------------------------------
1 | // Automatically generated from runtime/RegExpObject.cpp using /home/khansen/dev/qtwebkit-qtscript-integration/JavaScriptCore/create_hash_table. DO NOT EDIT!
2 |
3 | #include "Lookup.h"
4 |
5 | namespace JSC {
6 |
7 | static const struct HashTableValue regExpTableValues[6] = {
8 | { "global", DontDelete|ReadOnly|DontEnum, (intptr_t)regExpObjectGlobal, (intptr_t)0 },
9 | { "ignoreCase", DontDelete|ReadOnly|DontEnum, (intptr_t)regExpObjectIgnoreCase, (intptr_t)0 },
10 | { "multiline", DontDelete|ReadOnly|DontEnum, (intptr_t)regExpObjectMultiline, (intptr_t)0 },
11 | { "source", DontDelete|ReadOnly|DontEnum, (intptr_t)regExpObjectSource, (intptr_t)0 },
12 | { "lastIndex", DontDelete|DontEnum, (intptr_t)regExpObjectLastIndex, (intptr_t)setRegExpObjectLastIndex },
13 | { 0, 0, 0, 0 }
14 | };
15 |
16 | extern JSC_CONST_HASHTABLE HashTable regExpTable =
17 | { 17, 15, regExpTableValues, 0 };
18 | } // namespace
19 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/headers.pri:
--------------------------------------------------------------------------------
1 | JS_API_HEADERS += \
2 | JSBase.h \
3 | JSContextRef.h \
4 | JSObjectRef.h \
5 | JSStringRef.h \
6 | JSStringRefCF.h \
7 | JSStringRefBSTR.h \
8 | JSValueRef.h \
9 | JavaScriptCore.h
10 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/make-generated-sources.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | export SRCROOT=$PWD
4 | export WebCore=$PWD
5 | export CREATE_HASH_TABLE="$SRCROOT/create_hash_table"
6 |
7 | mkdir -p DerivedSources/JavaScriptCore
8 | cd DerivedSources/JavaScriptCore
9 |
10 | make -f ../../DerivedSources.make JavaScriptCore=../.. BUILT_PRODUCTS_DIR=../..
11 | cd ../..
12 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/os-win32/stdbool.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2005, 2006 Apple Computer, Inc.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #ifndef STDBOOL_WIN32_H
22 | #define STDBOOL_WIN32_H
23 |
24 | #if !COMPILER(MSVC)
25 | #error "This stdbool.h file should only be compiled with MSVC"
26 | #endif
27 |
28 | #ifndef __cplusplus
29 |
30 | typedef unsigned char bool;
31 |
32 | #define true 1
33 | #define false 0
34 |
35 | #ifndef CASSERT
36 | #define CASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1];
37 | #endif
38 |
39 | CASSERT(sizeof(bool) == 1, bool_is_one_byte)
40 | CASSERT(true, true_is_true)
41 | CASSERT(!false, false_is_false)
42 |
43 | #endif
44 |
45 | #endif
46 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/pcre/AUTHORS:
--------------------------------------------------------------------------------
1 | Originally written by: Philip Hazel
2 | Email local part: ph10
3 | Email domain: cam.ac.uk
4 |
5 | University of Cambridge Computing Service,
6 | Cambridge, England. Phone: +44 1223 334714.
7 |
8 | Copyright (c) 1997-2005 University of Cambridge. All rights reserved.
9 |
10 | Adapted for JavaScriptCore and WebKit by Apple Inc.
11 |
12 | Copyright (c) 2005, 2006, 2007 Apple Inc. All rights reserved.
13 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.pri:
--------------------------------------------------------------------------------
1 | # Perl Compatible Regular Expressions - Qt4 build info
2 | VPATH += $$PWD
3 | INCLUDEPATH += $$PWD $$OUTPUT_DIR/JavaScriptCore/tmp
4 |
5 | SOURCES += \
6 | pcre_compile.cpp \
7 | pcre_exec.cpp \
8 | pcre_tables.cpp \
9 | pcre_ucp_searchfuncs.cpp \
10 | pcre_xclass.cpp
11 |
12 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/profiler/ProfilerServer.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 | *
4 | * Redistribution and use in source and binary forms, with or without
5 | * modification, are permitted provided that the following conditions
6 | * are met:
7 | * 1. Redistributions of source code must retain the above copyright
8 | * notice, this list of conditions and the following disclaimer.
9 | * 2. Redistributions in binary form must reproduce the above copyright
10 | * notice, this list of conditions and the following disclaimer in the
11 | * documentation and/or other materials provided with the distribution.
12 | *
13 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
14 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
17 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 | */
25 |
26 | #ifndef ProfileServer_h
27 | #define ProfileServer_h
28 |
29 | namespace JSC {
30 |
31 | void startProfilerServerIfNeeded();
32 |
33 | } // namespace JSC
34 |
35 | #endif // ProfileServer_h
36 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ArrayConstructor.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef ArrayConstructor_h
22 | #define ArrayConstructor_h
23 |
24 | #include "InternalFunction.h"
25 |
26 | namespace JSC {
27 |
28 | class ArrayPrototype;
29 |
30 | class ArrayConstructor : public InternalFunction {
31 | public:
32 | ArrayConstructor(ExecState*, NonNullPassRefPtr, ArrayPrototype*, Structure*);
33 |
34 | virtual ConstructType getConstructData(ConstructData&);
35 | virtual CallType getCallData(CallData&);
36 | };
37 |
38 | } // namespace JSC
39 |
40 | #endif // ArrayConstructor_h
41 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ArrayPrototype.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2007 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef ArrayPrototype_h
22 | #define ArrayPrototype_h
23 |
24 | #include "JSArray.h"
25 | #include "Lookup.h"
26 |
27 | namespace JSC {
28 |
29 | class ArrayPrototype : public JSArray {
30 | public:
31 | explicit ArrayPrototype(NonNullPassRefPtr);
32 |
33 | bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&);
34 | virtual bool getOwnPropertyDescriptor(ExecState*, const Identifier&, PropertyDescriptor&);
35 |
36 | virtual const ClassInfo* classInfo() const { return &info; }
37 | static const ClassInfo info;
38 | };
39 |
40 | } // namespace JSC
41 |
42 | #endif // ArrayPrototype_h
43 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/BooleanConstructor.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef BooleanConstructor_h
22 | #define BooleanConstructor_h
23 |
24 | #include "InternalFunction.h"
25 |
26 | namespace JSC {
27 |
28 | class BooleanPrototype;
29 |
30 | class BooleanConstructor : public InternalFunction {
31 | public:
32 | BooleanConstructor(ExecState*, NonNullPassRefPtr, BooleanPrototype*);
33 |
34 | private:
35 | virtual ConstructType getConstructData(ConstructData&);
36 | virtual CallType getCallData(CallData&);
37 | };
38 |
39 | JSObject* constructBooleanFromImmediateBoolean(ExecState*, JSValue);
40 | JSObject* constructBoolean(ExecState*, const ArgList&);
41 |
42 | } // namespace JSC
43 |
44 | #endif // BooleanConstructor_h
45 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/BooleanObject.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2003, 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #include "config.h"
22 | #include "BooleanObject.h"
23 |
24 | namespace JSC {
25 |
26 | ASSERT_CLASS_FITS_IN_CELL(BooleanObject);
27 |
28 | const ClassInfo BooleanObject::info = { "Boolean", 0, 0, 0 };
29 |
30 | BooleanObject::BooleanObject(NonNullPassRefPtr structure)
31 | : JSWrapperObject(structure)
32 | {
33 | }
34 |
35 | } // namespace JSC
36 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/BooleanPrototype.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef BooleanPrototype_h
22 | #define BooleanPrototype_h
23 |
24 | #include "BooleanObject.h"
25 |
26 | namespace JSC {
27 |
28 | class BooleanPrototype : public BooleanObject {
29 | public:
30 | BooleanPrototype(ExecState*, NonNullPassRefPtr, Structure* prototypeFunctionStructure);
31 | };
32 |
33 | } // namespace JSC
34 |
35 | #endif // BooleanPrototype_h
36 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/CommonIdentifiers.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2003, 2007, 2009 Apple Inc. All rights reserved.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #include "config.h"
22 | #include "CommonIdentifiers.h"
23 |
24 | namespace JSC {
25 |
26 | static const char* const nullCString = 0;
27 |
28 | #define INITIALIZE_PROPERTY_NAME(name) , name(globalData, #name)
29 |
30 | CommonIdentifiers::CommonIdentifiers(JSGlobalData* globalData)
31 | : nullIdentifier(globalData, nullCString)
32 | , emptyIdentifier(globalData, "")
33 | , underscoreProto(globalData, "__proto__")
34 | , thisIdentifier(globalData, "this")
35 | JSC_COMMON_IDENTIFIERS_EACH_PROPERTY_NAME(INITIALIZE_PROPERTY_NAME)
36 | {
37 | }
38 |
39 | } // namespace JSC
40 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/DateConstructor.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef DateConstructor_h
22 | #define DateConstructor_h
23 |
24 | #include "InternalFunction.h"
25 |
26 | namespace JSC {
27 |
28 | class DatePrototype;
29 |
30 | class DateConstructor : public InternalFunction {
31 | public:
32 | DateConstructor(ExecState*, NonNullPassRefPtr, Structure* prototypeFunctionStructure, DatePrototype*);
33 |
34 | private:
35 | virtual ConstructType getConstructData(ConstructData&);
36 | virtual CallType getCallData(CallData&);
37 | };
38 |
39 | JSObject* constructDate(ExecState*, const ArgList&);
40 |
41 | } // namespace JSC
42 |
43 | #endif // DateConstructor_h
44 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ErrorConstructor.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef ErrorConstructor_h
22 | #define ErrorConstructor_h
23 |
24 | #include "ErrorInstance.h"
25 | #include "InternalFunction.h"
26 |
27 | namespace JSC {
28 |
29 | class ErrorPrototype;
30 |
31 | class ErrorConstructor : public InternalFunction {
32 | public:
33 | ErrorConstructor(ExecState*, NonNullPassRefPtr, ErrorPrototype*);
34 |
35 | private:
36 | virtual ConstructType getConstructData(ConstructData&);
37 | virtual CallType getCallData(CallData&);
38 | };
39 |
40 | ErrorInstance* constructError(ExecState*, const ArgList&);
41 |
42 | } // namespace JSC
43 |
44 | #endif // ErrorConstructor_h
45 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ErrorInstance.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2003, 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #include "config.h"
22 | #include "ErrorInstance.h"
23 |
24 | namespace JSC {
25 |
26 | const ClassInfo ErrorInstance::info = { "Error", 0, 0, 0 };
27 |
28 | ErrorInstance::ErrorInstance(NonNullPassRefPtr structure)
29 | : JSObject(structure)
30 | {
31 | }
32 |
33 | } // namespace JSC
34 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ErrorInstance.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef ErrorInstance_h
22 | #define ErrorInstance_h
23 |
24 | #include "JSObject.h"
25 |
26 | namespace JSC {
27 |
28 | class ErrorInstance : public JSObject {
29 | public:
30 | explicit ErrorInstance(NonNullPassRefPtr);
31 |
32 | virtual const ClassInfo* classInfo() const { return &info; }
33 | static const ClassInfo info;
34 | };
35 |
36 | } // namespace JSC
37 |
38 | #endif // ErrorInstance_h
39 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ErrorPrototype.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef ErrorPrototype_h
22 | #define ErrorPrototype_h
23 |
24 | #include "ErrorInstance.h"
25 |
26 | namespace JSC {
27 |
28 | class ObjectPrototype;
29 |
30 | class ErrorPrototype : public ErrorInstance {
31 | public:
32 | ErrorPrototype(ExecState*, NonNullPassRefPtr, Structure* prototypeFunctionStructure);
33 | };
34 |
35 | } // namespace JSC
36 |
37 | #endif // ErrorPrototype_h
38 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/GetterSetter.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2002 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2001 Peter Kelly (pmk@post.com)
4 | * Copyright (C) 2004, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Library General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2 of the License, or (at your option) any later version.
10 | *
11 | * This library is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Library General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Library General Public License
17 | * along with this library; see the file COPYING.LIB. If not, write to
18 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 | * Boston, MA 02110-1301, USA.
20 | *
21 | */
22 |
23 | #include "config.h"
24 | #include "GetterSetter.h"
25 |
26 | #include "JSObject.h"
27 | #include
28 |
29 | namespace JSC {
30 |
31 | void GetterSetter::markChildren(MarkStack& markStack)
32 | {
33 | JSCell::markChildren(markStack);
34 |
35 | if (m_getter)
36 | markStack.append(m_getter);
37 | if (m_setter)
38 | markStack.append(m_setter);
39 | }
40 |
41 | bool GetterSetter::isGetterSetter() const
42 | {
43 | return true;
44 | }
45 |
46 | } // namespace JSC
47 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2002 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2001 Peter Kelly (pmk@post.com)
4 | * Copyright (C) 2004, 2007, 2008 Apple Inc. All rights reserved.
5 | *
6 | * This library is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Library General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2 of the License, or (at your option) any later version.
10 | *
11 | * This library is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Library General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Library General Public License
17 | * along with this library; see the file COPYING.LIB. If not, write to
18 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 | * Boston, MA 02110-1301, USA.
20 | *
21 | */
22 |
23 | #include "config.h"
24 | #include "JSAPIValueWrapper.h"
25 |
26 | #include "NumberObject.h"
27 | #include "UString.h"
28 |
29 | namespace JSC {
30 |
31 | } // namespace JSC
32 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSImmediate.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2003-2006, 2008 Apple Inc. All rights reserved.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #include "config.h"
22 | #include "JSImmediate.h"
23 |
24 | namespace JSC {
25 |
26 | } // namespace JSC
27 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSType.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #ifndef JSType_h
22 | #define JSType_h
23 |
24 | namespace JSC {
25 |
26 | /**
27 | * Primitive types
28 | */
29 | enum JSType {
30 | UnspecifiedType = 0,
31 | UndefinedType = 1,
32 | BooleanType = 2,
33 | NumberType = 3,
34 | NullType = 4,
35 | StringType = 5,
36 | // The CompoundType value must come before any JSType that may have children
37 | CompoundType = 6,
38 | ObjectType = 7,
39 | GetterSetterType = 8
40 | };
41 |
42 | } // namespace JSC
43 |
44 | #endif
45 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSWrapperObject.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2006 Maks Orlovich
3 | * Copyright (C) 2006, 2009 Apple, Inc.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Library General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Library General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Library General Public License
16 | * along with this library; see the file COPYING.LIB. If not, write to
17 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 | * Boston, MA 02110-1301, USA.
19 | *
20 | */
21 |
22 | #include "config.h"
23 | #include "JSWrapperObject.h"
24 |
25 | namespace JSC {
26 |
27 | ASSERT_CLASS_FITS_IN_CELL(JSWrapperObject);
28 |
29 | void JSWrapperObject::markChildren(MarkStack& markStack)
30 | {
31 | JSObject::markChildren(markStack);
32 | if (m_internalValue)
33 | markStack.append(m_internalValue);
34 | }
35 |
36 | } // namespace JSC
37 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/MarkStackSymbian.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (C) 2015 The Qt Company Ltd
3 |
4 | This library is free software; you can redistribute it and/or
5 | modify it under the terms of the GNU Library General Public
6 | License as published by the Free Software Foundation; either
7 | version 2 of the License, or (at your option) any later version.
8 |
9 | This library is distributed in the hope that it will be useful,
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | Library General Public License for more details.
13 |
14 | You should have received a copy of the GNU Library General Public License
15 | along with this library; see the file COPYING.LIB. If not, write to
16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | Boston, MA 02110-1301, USA.
18 | */
19 |
20 | #include "config.h"
21 | #include "MarkStack.h"
22 |
23 | #if OS(SYMBIAN)
24 |
25 | #include
26 |
27 | namespace JSC {
28 |
29 | void MarkStack::initializePagesize()
30 | {
31 | TInt page_size;
32 | UserHal::PageSizeInBytes(page_size);
33 | MarkStack::s_pageSize = page_size;
34 | }
35 |
36 | void* MarkStack::allocateStack(size_t size)
37 | {
38 | return fastMalloc(size);
39 | }
40 |
41 | void MarkStack::releaseStack(void* addr, size_t size)
42 | {
43 | return fastFree(addr);
44 | }
45 |
46 | }
47 |
48 | #endif
49 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NativeErrorPrototype.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2003, 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #include "config.h"
22 | #include "NativeErrorPrototype.h"
23 |
24 | #include "ErrorPrototype.h"
25 | #include "JSString.h"
26 | #include "UString.h"
27 |
28 | namespace JSC {
29 |
30 | ASSERT_CLASS_FITS_IN_CELL(NativeErrorPrototype);
31 |
32 | NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, NonNullPassRefPtr structure, const UString& name, const UString& message)
33 | #ifdef QT_BUILD_SCRIPT_LIB
34 | : ErrorInstance(structure)
35 | #else
36 | : JSObject(structure)
37 | #endif
38 | {
39 | putDirect(exec->propertyNames().name, jsString(exec, name), 0);
40 | putDirect(exec->propertyNames().message, jsString(exec, message), 0);
41 | }
42 |
43 | } // namespace JSC
44 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NativeErrorPrototype.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef NativeErrorPrototype_h
22 | #define NativeErrorPrototype_h
23 |
24 | #include "JSObject.h"
25 | #ifdef QT_BUILD_SCRIPT_LIB
26 | #include "ErrorInstance.h"
27 | #endif
28 |
29 | namespace JSC {
30 |
31 | class NativeErrorPrototype :
32 | #ifdef QT_BUILD_SCRIPT_LIB //According to ECMAScript Specification 15.11.7, errors must have the "Error" class
33 | public ErrorInstance
34 | #else
35 | public JSObject
36 | #endif
37 | {
38 | public:
39 | NativeErrorPrototype(ExecState*, NonNullPassRefPtr, const UString& name, const UString& message);
40 | };
41 |
42 | } // namespace JSC
43 |
44 | #endif // NativeErrorPrototype_h
45 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NumberPrototype.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef NumberPrototype_h
22 | #define NumberPrototype_h
23 |
24 | #include "NumberObject.h"
25 |
26 | namespace JSC {
27 |
28 | class NumberPrototype : public NumberObject {
29 | public:
30 | NumberPrototype(ExecState*, NonNullPassRefPtr, Structure* prototypeFunctionStructure);
31 | };
32 |
33 | } // namespace JSC
34 |
35 | #endif // NumberPrototype_h
36 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ObjectConstructor.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef ObjectConstructor_h
22 | #define ObjectConstructor_h
23 |
24 | #include "InternalFunction.h"
25 |
26 | namespace JSC {
27 |
28 | class ObjectPrototype;
29 |
30 | class ObjectConstructor : public InternalFunction {
31 | public:
32 | ObjectConstructor(ExecState*, NonNullPassRefPtr, ObjectPrototype*, Structure* prototypeFunctionStructure);
33 |
34 | private:
35 | virtual ConstructType getConstructData(ConstructData&);
36 | virtual CallType getCallData(CallData&);
37 | };
38 |
39 | } // namespace JSC
40 |
41 | #endif // ObjectConstructor_h
42 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpPrototype.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2003, 2007, 2008 Apple Inc. All Rights Reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef RegExpPrototype_h
22 | #define RegExpPrototype_h
23 |
24 | #include "JSObject.h"
25 |
26 | namespace JSC {
27 |
28 | class RegExpPrototype : public JSObject {
29 | public:
30 | RegExpPrototype(ExecState*, NonNullPassRefPtr, Structure* prototypeFunctionStructure);
31 |
32 | virtual const ClassInfo* classInfo() const { return &info; }
33 | static const ClassInfo info;
34 | };
35 |
36 | } // namespace JSC
37 |
38 | #endif // RegExpPrototype_h
39 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/ScopeChainMark.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2003, 2006, 2008, 2009 Apple Inc. All rights reserved.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #ifndef ScopeChainMark_h
22 | #define ScopeChainMark_h
23 |
24 | #include "ScopeChain.h"
25 |
26 | namespace JSC {
27 |
28 | inline void ScopeChain::markAggregate(MarkStack& markStack) const
29 | {
30 | for (ScopeChainNode* n = m_node; n; n = n->next)
31 | markStack.append(n->object);
32 | }
33 |
34 | } // namespace JSC
35 |
36 | #endif // ScopeChainMark_h
37 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/runtime/StringConstructor.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 | * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | *
19 | */
20 |
21 | #ifndef StringConstructor_h
22 | #define StringConstructor_h
23 |
24 | #include "InternalFunction.h"
25 |
26 | namespace JSC {
27 |
28 | class StringPrototype;
29 |
30 | class StringConstructor : public InternalFunction {
31 | public:
32 | StringConstructor(ExecState*, NonNullPassRefPtr, Structure* prototypeFunctionStructure, StringPrototype*);
33 |
34 | virtual ConstructType getConstructData(ConstructData&);
35 | virtual CallType getCallData(CallData&);
36 | };
37 |
38 | } // namespace JSC
39 |
40 | #endif // StringConstructor_h
41 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Forward.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #ifndef WTF_Forward_h
22 | #define WTF_Forward_h
23 |
24 | #include
25 |
26 | namespace WTF {
27 | template class ListRefPtr;
28 | template class OwnArrayPtr;
29 | template class OwnPtr;
30 | template class PassOwnPtr;
31 | template class PassRefPtr;
32 | template class RefPtr;
33 | template class Vector;
34 | }
35 |
36 | using WTF::ListRefPtr;
37 | using WTF::OwnArrayPtr;
38 | using WTF::OwnPtr;
39 | using WTF::PassOwnPtr;
40 | using WTF::PassRefPtr;
41 | using WTF::RefPtr;
42 | using WTF::Vector;
43 |
44 | #endif // WTF_Forward_h
45 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/wtf/GetPtr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2006 Apple Computer, Inc.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #ifndef WTF_GetPtr_h
22 | #define WTF_GetPtr_h
23 |
24 | namespace WTF {
25 |
26 | template inline T* getPtr(T* p)
27 | {
28 | return p;
29 | }
30 |
31 | } // namespace WTF
32 |
33 | #endif // WTF_GetPtr_h
34 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/wtf/NotFound.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 | *
4 | * Redistribution and use in source and binary forms, with or without
5 | * modification, are permitted provided that the following conditions
6 | * are met:
7 | * 1. Redistributions of source code must retain the above copyright
8 | * notice, this list of conditions and the following disclaimer.
9 | * 2. Redistributions in binary form must reproduce the above copyright
10 | * notice, this list of conditions and the following disclaimer in the
11 | * documentation and/or other materials provided with the distribution.
12 | *
13 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
14 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
17 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 | */
25 |
26 | #ifndef NotFound_h
27 | #define NotFound_h
28 |
29 | namespace WTF {
30 |
31 | const size_t notFound = static_cast(-1);
32 |
33 | } // namespace WTF
34 |
35 | using WTF::notFound;
36 |
37 | #endif // NotFound_h
38 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/wtf/RefCountedLeakCounter.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2008 Apple Inc. All rights reserved.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #ifndef RefCountedLeakCounter_h
22 | #define RefCountedLeakCounter_h
23 |
24 | #include "Assertions.h"
25 | #include "Threading.h"
26 |
27 | namespace WTF {
28 |
29 | struct RefCountedLeakCounter {
30 | static void suppressMessages(const char*);
31 | static void cancelMessageSuppression(const char*);
32 |
33 | explicit RefCountedLeakCounter(const char* description);
34 | ~RefCountedLeakCounter();
35 |
36 | void increment();
37 | void decrement();
38 |
39 | #ifndef NDEBUG
40 | private:
41 | volatile int m_count;
42 | const char* m_description;
43 | #endif
44 | };
45 |
46 | } // namespace WTF
47 |
48 | #endif
49 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2006 Apple Computer, Inc.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Library General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2 of the License, or (at your option) any later version.
8 | *
9 | * This library is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Library General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Library General Public License
15 | * along with this library; see the file COPYING.LIB. If not, write to
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 | * Boston, MA 02110-1301, USA.
18 | *
19 | */
20 |
21 | #ifndef WTF_UnusedParam_h
22 | #define WTF_UnusedParam_h
23 |
24 | /* don't use this for C++, it should only be used in plain C files or
25 | ObjC methods, where leaving off the parameter name is not allowed. */
26 |
27 | #define UNUSED_PARAM(x) (void)x
28 |
29 | #endif /* WTF_UnusedParam_h */
30 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/Unicode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2006 George Staikos
3 | * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved.
4 | * Copyright (C) 2007-2009 Torch Mobile, Inc.
5 | *
6 | * This library is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Library General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2 of the License, or (at your option) any later version.
10 | *
11 | * This library is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Library General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Library General Public License
17 | * along with this library; see the file COPYING.LIB. If not, write to
18 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 | * Boston, MA 02110-1301, USA.
20 | *
21 | */
22 |
23 | #ifndef WTF_UNICODE_H
24 | #define WTF_UNICODE_H
25 |
26 | #include
27 |
28 | #if USE(QT4_UNICODE)
29 | #include "qt4/UnicodeQt4.h"
30 | #elif USE(ICU_UNICODE)
31 | #include
32 | #elif USE(GLIB_UNICODE)
33 | #include
34 | #elif USE(WINCE_UNICODE)
35 | #include
36 | #else
37 | #error "Unknown Unicode implementation"
38 | #endif
39 |
40 | COMPILE_ASSERT(sizeof(UChar) == 2, UCharIsTwoBytes);
41 |
42 | #endif // WTF_UNICODE_H
43 |
--------------------------------------------------------------------------------
/src/3rdparty/javascriptcore/VERSION.TXT:
--------------------------------------------------------------------------------
1 | This is a snapshot of JavaScriptCore from
2 |
3 | git://gitorious.org/qtwebkit/qtwebkit.git
4 |
5 | The commit imported was from the
6 |
7 | javascriptcore-snapshot-27012011 branch/tag
8 |
9 | and has the sha1 checksum
10 |
11 | 3ab0f621048fbeb480b687a28ed31d92d8506150
12 |
--------------------------------------------------------------------------------
/src/plugins/script/qtdbus/qtdbus.pro:
--------------------------------------------------------------------------------
1 | TARGET = qtscriptdbus
2 |
3 | QT = core gui script
4 | CONFIG += qdbus
5 |
6 | SOURCES += main.cpp
7 | HEADERS += main.h
8 |
9 | PLUGIN_TYPE = script
10 | PLUGIN_CLASS_NAME = QtDBusScriptPlugin
11 | load(qt_plugin)
12 |
--------------------------------------------------------------------------------
/src/plugins/script/qtdbus/qtdbusscriptplugin.json:
--------------------------------------------------------------------------------
1 | {
2 | "Keys": [ "qt.dbus" ]
3 | }
4 |
--------------------------------------------------------------------------------
/src/plugins/script/script.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | qtHaveModule(dbus): SUBDIRS += qtdbus
3 |
--------------------------------------------------------------------------------
/src/script/api/api.pri:
--------------------------------------------------------------------------------
1 | SOURCES += \
2 | $$PWD/qscriptclass.cpp \
3 | $$PWD/qscriptclasspropertyiterator.cpp \
4 | $$PWD/qscriptcontext.cpp \
5 | $$PWD/qscriptcontextinfo.cpp \
6 | $$PWD/qscriptengine.cpp \
7 | $$PWD/qscriptengineagent.cpp \
8 | $$PWD/qscriptextensionplugin.cpp \
9 | $$PWD/qscriptprogram.cpp \
10 | $$PWD/qscriptstring.cpp \
11 | $$PWD/qscriptvalue.cpp \
12 | $$PWD/qscriptvalueiterator.cpp \
13 | $$PWD/qscriptable.cpp
14 |
15 | HEADERS += \
16 | $$PWD/qscriptclass.h \
17 | $$PWD/qscriptclasspropertyiterator.h \
18 | $$PWD/qscriptcontext.h \
19 | $$PWD/qscriptcontext_p.h \
20 | $$PWD/qscriptcontextinfo.h \
21 | $$PWD/qscriptengine.h \
22 | $$PWD/qscriptengine_p.h \
23 | $$PWD/qscriptengineagent.h \
24 | $$PWD/qscriptengineagent_p.h \
25 | $$PWD/qscriptextensioninterface.h \
26 | $$PWD/qscriptextensionplugin.h \
27 | $$PWD/qscriptprogram.h \
28 | $$PWD/qscriptprogram_p.h \
29 | $$PWD/qscriptstring.h \
30 | $$PWD/qscriptstring_p.h \
31 | $$PWD/qscriptvalue.h \
32 | $$PWD/qscriptvalue_p.h \
33 | $$PWD/qscriptvalueiterator.h \
34 | $$PWD/qscriptable.h \
35 | $$PWD/qscriptable_p.h \
36 | $$PWD/qtscriptglobal.h
37 |
--------------------------------------------------------------------------------
/src/script/bridge/bridge.pri:
--------------------------------------------------------------------------------
1 | SOURCES += \
2 | $$PWD/qscriptfunction.cpp \
3 | $$PWD/qscriptobject.cpp \
4 | $$PWD/qscriptclassobject.cpp \
5 | $$PWD/qscriptvariant.cpp \
6 | $$PWD/qscriptqobject.cpp \
7 | $$PWD/qscriptglobalobject.cpp \
8 | $$PWD/qscriptactivationobject.cpp \
9 | $$PWD/qscriptstaticscopeobject.cpp \
10 | $$PWD/qscriptdeclarativeobject.cpp \
11 | $$PWD/qscriptdeclarativeclass.cpp
12 |
13 | HEADERS += \
14 | $$PWD/qscriptfunction_p.h \
15 | $$PWD/qscriptobject_p.h \
16 | $$PWD/qscriptclassobject_p.h \
17 | $$PWD/qscriptvariant_p.h \
18 | $$PWD/qscriptqobject_p.h \
19 | $$PWD/qscriptglobalobject_p.h \
20 | $$PWD/qscriptactivationobject_p.h \
21 | $$PWD/qscriptstaticscopeobject_p.h \
22 | $$PWD/qscriptdeclarativeobject_p.h \
23 | $$PWD/qscriptdeclarativeclass_p.h
24 |
--------------------------------------------------------------------------------
/src/script/configure.json:
--------------------------------------------------------------------------------
1 | {
2 | "module": "script",
3 | "testDir": "../../config.tests",
4 |
5 | "tests": {
6 | "asm_hwcap_h": {
7 | "label": "asm/hwcap.h",
8 | "condition": "config.android",
9 | "type": "compile",
10 | "test": {
11 | "include": "asm/hwcap.h"
12 | }
13 | }
14 | },
15 |
16 | "features": {
17 | "asm_hwcap_h": {
18 | "label": "asm/hwcap.h",
19 | "condition": "config.android && tests.asm_hwcap_h",
20 | "output": [ "privateFeature" ]
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/script/doc/images/qtscript-debugger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/script/doc/images/qtscript-debugger.png
--------------------------------------------------------------------------------
/src/script/doc/src/external-resources.qdoc:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | **
3 | ** Copyright (C) 2017 The Qt Company Ltd.
4 | ** Contact: https://www.qt.io/licensing/
5 | **
6 | ** This file is part of the documentation of the Qt Toolkit.
7 | **
8 | ** $QT_BEGIN_LICENSE:FDL$
9 | ** Commercial License Usage
10 | ** Licensees holding valid commercial Qt licenses may use this file in
11 | ** accordance with the commercial license agreement provided with the
12 | ** Software or, alternatively, in accordance with the terms contained in
13 | ** a written agreement between you and The Qt Company. For licensing terms
14 | ** and conditions see https://www.qt.io/terms-conditions. For further
15 | ** information use the contact form at https://www.qt.io/contact-us.
16 | **
17 | ** GNU Free Documentation License Usage
18 | ** Alternatively, this file may be used under the terms of the GNU Free
19 | ** Documentation License version 1.3 as published by the Free Software
20 | ** Foundation and appearing in the file included in the packaging of
21 | ** this file. Please review the following information to ensure
22 | ** the GNU Free Documentation License version 1.3 requirements
23 | ** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
24 | ** $QT_END_LICENSE$
25 | **
26 | ****************************************************************************/
27 |
28 | /*!
29 | \externalpage http://www.ecma-international.org/publications/standards/Ecma-262.htm
30 | \title ECMA-262
31 | */
32 |
33 | /*!
34 | \externalpage http://shop.oreilly.com/product/9780596805531.do
35 | \title JavaScript: The Definitive Guide
36 | */
37 |
--------------------------------------------------------------------------------
/src/script/doc/src/includes/deprecation.qdocinc:
--------------------------------------------------------------------------------
1 | \warning This module is not actively developed. It is provided for backwards
2 | compatibility with Qt 4 only. For new code, use \l QJSEngine and related
3 | classes in the Qt QML module instead.
4 |
--------------------------------------------------------------------------------
/src/script/parser/parser.pri:
--------------------------------------------------------------------------------
1 | SOURCES += \
2 | $$PWD/qscriptast.cpp \
3 | $$PWD/qscriptastvisitor.cpp \
4 | $$PWD/qscriptgrammar.cpp \
5 | $$PWD/qscriptsyntaxchecker.cpp \
6 | $$PWD/qscriptlexer.cpp \
7 | #$$PWD/qscriptparser.cpp
8 |
9 | HEADERS += \
10 | $$PWD/qscriptastfwd_p.h \
11 | $$PWD/qscriptast_p.h \
12 | $$PWD/qscriptastvisitor_p.h \
13 | $$PWD/qscriptgrammar_p.h \
14 | $$PWD/qscriptsyntaxchecker_p.h \
15 | $$PWD/qscriptlexer_p.h \
16 | #$$PWD/qscriptparser_p.h
17 |
18 | INCLUDEPATH += \
19 | $$PWD
20 |
--------------------------------------------------------------------------------
/src/script/script.pri:
--------------------------------------------------------------------------------
1 | include($$PWD/api/api.pri)
2 | include($$PWD/bridge/bridge.pri)
3 | include($$PWD/parser/parser.pri)
4 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/breakpoint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/breakpoint.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/d_breakpoint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/d_breakpoint.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/d_interrupt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/d_interrupt.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/d_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/d_play.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/delete.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/find.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/find.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/interrupt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/interrupt.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/location.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/mac/closetab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/mac/closetab.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/mac/next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/mac/next.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/mac/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/mac/plus.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/mac/previous.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/mac/previous.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/new.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/new.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/play.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/reload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/reload.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/return.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/return.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/runtocursor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/runtocursor.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/runtonewscript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/runtonewscript.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/stepinto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/stepinto.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/stepout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/stepout.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/stepover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/stepover.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/win/closetab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/win/closetab.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/win/next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/win/next.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/win/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/win/plus.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/win/previous.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/win/previous.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/images/wrap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/src/scripttools/debugging/images/wrap.png
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/advance.qs:
--------------------------------------------------------------------------------
1 | name = "advance";
2 |
3 | group = "running";
4 |
5 | shortDescription = "Continue the program up to the given location";
6 |
7 | longDescription = "This command has the same syntax as the \"break\" command.";
8 |
9 | seeAlso = [ "break", "tbreak" ];
10 |
11 | argumentTypes = [ "script-filename" ];
12 |
13 | function execute() {
14 | if (arguments.length == 0) {
15 | message("Missing argument(s).");
16 | return;
17 | }
18 | var arg = arguments[0];
19 | var colonIndex = arg.lastIndexOf(':');
20 | if (colonIndex == -1) {
21 | lineNumber = parseInt(arg);
22 | if (isNaN(lineNumber)) {
23 | message("Location must be of the form : or .");
24 | return;
25 | }
26 | var sid = getCurrentScriptId();
27 | if (sid == -1) {
28 | message("No script.");
29 | return;
30 | }
31 | scheduleRunToLocation(sid, lineNumber);
32 | } else {
33 | fileName = arg.slice(0, colonIndex);
34 | lineNumber = parseInt(arg.slice(colonIndex+1));
35 | // ### resolve the script to see if it's loaded or not? (e.g. so we can issue a warning)
36 | scheduleRunToLocation(fileName, lineNumber);
37 | }
38 | }
39 |
40 | function handleResponse(resp) {
41 | }
42 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/backtrace.qs:
--------------------------------------------------------------------------------
1 | name = "backtrace";
2 |
3 | group = "stack";
4 |
5 | shortDescription = "Print backtrace of stack frames";
6 |
7 | longDescription = "";
8 |
9 | aliases = [ "bt" ];
10 |
11 | seeAlso = [ "frame", "info" ];
12 |
13 | function execute() {
14 | scheduleGetBacktrace();
15 | };
16 |
17 | function handleResponse(resp) {
18 | var strings = resp.result;
19 | var msg = "";
20 | for (var i = 0; i < strings.length; ++i) {
21 | if (i > 0)
22 | msg += "\n";
23 | msg += "#" + i + " " + strings[i];
24 | }
25 | message(msg);
26 | }
27 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/complete.qs:
--------------------------------------------------------------------------------
1 | name = "complete";
2 |
3 | group = "void";
4 |
5 | shortDescription = "List the completions for the rest of the line as a command";
6 |
7 | longDescription = "";
8 |
9 | function execute() {
10 | var prefix = (arguments.length > 0) ? arguments[0] : "";
11 | var completions = getCommandCompletions(prefix);
12 | for (var i = 0; i < completions.length; ++i)
13 | message(completions[i]);
14 | }
15 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/continue.qs:
--------------------------------------------------------------------------------
1 | name = "continue";
2 |
3 | group = "running";
4 |
5 | shortDescription = "Continue evaluation";
6 |
7 | longDescription = "Evaluation will continue until an uncaught exception occurs, "
8 | longDescription += "a breakpoint is hit or evaluation is explicitly interrupted.";
9 |
10 | aliases = [ "c", "fg" ];
11 |
12 | seeAlso = [ "step", "interrupt" ];
13 |
14 | function execute() {
15 | scheduleContinue();
16 | };
17 |
18 | function handleResponse(resp) {
19 | if (!resp.async) {
20 | message("The target is not evaluating code.");
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/delete.qs:
--------------------------------------------------------------------------------
1 | name = "delete";
2 |
3 | group = "breakpoints";
4 |
5 | shortDescription = "Delete breakpoint(s)";
6 |
7 | longDescription = "delete : Deletes the breakpoint with the given id.";
8 |
9 | seeAlso = [ "clear", "disable" ];
10 |
11 | function execute() {
12 | if (arguments.length == 0) {
13 | // delete all breakpoints
14 | scheduleClearBreakpoints();
15 | state = 1;
16 | } else {
17 | var id = parseInt(arguments[0]);
18 | if (isNaN(id)) {
19 | message("Breakpoint id expected.");
20 | return;
21 | }
22 | scheduleDeleteBreakpoint(id);
23 | breakpointId = id;
24 | state = 2;
25 | }
26 | }
27 |
28 | function handleResponse(resp) {
29 | if (state == 1) {
30 | } else if (state == 2) {
31 | if (resp.error != 0) {
32 | message("No breakpoint number " + breakpointId + ".");
33 | return;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/down.qs:
--------------------------------------------------------------------------------
1 | name = "down";
2 |
3 | group = "stack";
4 |
5 | shortDescription = "Select and print the stack frame below the current one";
6 |
7 | longDescription = "";
8 |
9 | seeAlso = [ "up", "frame" ];
10 |
11 | function execute() {
12 | var idx = getCurrentFrameIndex();
13 | if (idx == 0) {
14 | warning("Already at bottom (innermost) frame.");
15 | return;
16 | }
17 | setCurrentFrameIndex(idx - 1);
18 | scheduleGetContextInfo(idx - 1);
19 | state = 1;
20 | }
21 |
22 | function handleResponse(resp, id) {
23 | if (state == 1) {
24 | var info = resp.result;
25 | setCurrentScriptId(info.scriptId);
26 | setCurrentLineNumber(info.lineNumber);
27 | scheduleGetBacktrace();
28 | state = 2;
29 | } else if (state == 2) {
30 | var backtrace = resp.result;
31 | message("#" + getCurrentFrameIndex() + " " + backtrace[getCurrentFrameIndex()]);
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/enable.qs:
--------------------------------------------------------------------------------
1 | name = "enable";
2 |
3 | group = "breakpoints";
4 |
5 | shortDescription = "Enable breakpoint(s)";
6 |
7 | longDescription = "enable : Enable the breakpoint with the given id.";
8 |
9 | seeAlso = [ "disable" ];
10 |
11 | function execute() {
12 | if (arguments.length == 0) {
13 | // enable all breakpoints
14 | state = 1;
15 | scheduleGetBreakpoints();
16 | } else {
17 | var id = parseInt(arguments[0]);
18 | if (isNaN(id)) {
19 | message("Breakpoint id expected.");
20 | return;
21 | }
22 | scheduleGetBreakpointData(id);
23 | breakpointId = id;
24 | state = 3;
25 | }
26 | };
27 |
28 | function handleResponse(resp) {
29 | if (state == 1) {
30 | var breakpoints = resp.result;
31 | if (breakpoints == undefined)
32 | return;
33 | for (var id in breakpoints) {
34 | var data = breakpoints[id];
35 | if (!data.enabled) {
36 | data.enabled = true;
37 | scheduleSetBreakpointData(id, data);
38 | }
39 | }
40 | state = 2;
41 | } else if (state == 2) {
42 | state = 0;
43 | } else if (state == 3) {
44 | var data = resp.result;
45 | if (data == undefined) {
46 | message("No breakpoint number " + breakpointId + ".");
47 | return;
48 | } else if (!data.enabled) {
49 | data.enabled = true;
50 | scheduleSetBreakpointData(breakpointId, data);
51 | state = 4;
52 | }
53 | } else if (state == 4) {
54 | state = 0;
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/eval.qs:
--------------------------------------------------------------------------------
1 | name = "eval";
2 |
3 | group = "running";
4 |
5 | shortDescription = "Evaluate program";
6 |
7 | longDescription = "";
8 |
9 | argumentTypes = [ "script" ];
10 |
11 | function execute() {
12 | if (arguments.length == 0) {
13 | message("Missing argument (program).");
14 | return;
15 | }
16 | setEvaluateAction(0);
17 | scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
18 | };
19 |
20 | function handleResponse(resp, id) {
21 | }
22 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/finish.qs:
--------------------------------------------------------------------------------
1 | name = "finish";
2 |
3 | group = "running";
4 |
5 | shortDescription = "Execute until the current stack frame returns";
6 |
7 | longDescription = "Upon return, the value returned is printed.";
8 |
9 | seeAlso = [ "next", "continue" ];
10 |
11 | function execute() {
12 | scheduleStepOut();
13 | };
14 |
15 | function handleResponse(resp) {
16 | }
17 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/frame.qs:
--------------------------------------------------------------------------------
1 | name = "frame";
2 |
3 | group = "stack";
4 |
5 | shortDescription = "Select and print a stack frame";
6 |
7 | longDescription = "";
8 |
9 | aliases = [ "f" ];
10 |
11 | function execute() {
12 | if (arguments.length == 0)
13 | requestedFrameIndex = getCurrentFrameIndex();
14 | else
15 | requestedFrameIndex = parseInt(arguments[0]);
16 | scheduleGetContextInfo(requestedFrameIndex);
17 | state = 1;
18 | };
19 |
20 | function handleResponse(resp, id) {
21 | if (state == 1) {
22 | var info = resp.result;
23 | if (info == undefined) {
24 | message("Frame index out of range.");
25 | return;
26 | }
27 | setCurrentFrameIndex(requestedFrameIndex);
28 | setCurrentScriptId(info.scriptId);
29 | setCurrentLineNumber(info.lineNumber);
30 | scheduleGetBacktrace();
31 | state = 2;
32 | } else if (state == 2) {
33 | var backtrace = resp.result;
34 | message("#" + getCurrentFrameIndex() + " " + backtrace[getCurrentFrameIndex()]);
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/ignore.qs:
--------------------------------------------------------------------------------
1 | name = "ignore";
2 |
3 | group = "breakpoints";
4 |
5 | shortDescription = "Set ignore-count of a breakpoint";
6 |
7 | longDescription = "ignore : Ignores the breakpoint with the given id the next count times it is hit.";
8 |
9 | seeAlso = [ "condition" ];
10 |
11 | function execute() {
12 | if (arguments.length < 1) {
13 | message("Missing arguments (breakpoing number and ignore-count).");
14 | return;
15 | }
16 | if (arguments.length < 2) {
17 | message("Missing argument (ignore-count).");
18 | return;
19 | }
20 | var id = parseInt(arguments[0]);
21 | if (isNaN(id)) {
22 | message("First argument (breakpoint id) must be a number.");
23 | return;
24 | }
25 | var count = parseInt(arguments[1]);
26 | if (isNaN(count)) {
27 | message("Second argument (ignore-count) must be a number.");
28 | return;
29 | }
30 | scheduleGetBreakpointData(id);
31 | breakpointId = id;
32 | if (count < 0)
33 | count = 0;
34 | ignoreCount = count;
35 | state = 1;
36 | }
37 |
38 | function handleResponse(resp) {
39 | if (state == 1) {
40 | var data = resp.result;
41 | if (data == undefined) {
42 | message("No breakpoint number " + breakpointId + ".");
43 | return;
44 | }
45 | data.ignoreCount = ignoreCount;
46 | scheduleSetBreakpointData(breakpointId, data);
47 | state = 2;
48 | } else if (state == 2) {
49 | message("Breakpoint " + breakpointId + " will be ignored the next " + ignoreCount + " time(s).");
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/interrupt.qs:
--------------------------------------------------------------------------------
1 | name = "interrupt";
2 |
3 | group = "running";
4 |
5 | shortDescription = "Interrupt evaluation";
6 |
7 | longDescription = "Interruption will occur as soon as a new script statement is reached.";
8 |
9 | function execute() {
10 | scheduleInterrupt();
11 | }
12 |
13 | function handleResponse(resp) {
14 | }
15 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/next.qs:
--------------------------------------------------------------------------------
1 | name = "next";
2 |
3 | group = "running";
4 |
5 | shortDescription = "Step program, proceeding through subroutine calls";
6 |
7 | longDescription = "Like the \"step\" command as long as subroutine calls do not happen;";
8 | longDescription += "\nwhen they do, the call is treated as one instruction.";
9 | longDescription += "\nIf a number N is given as argument, this will be done N times before execution is stopped.";
10 | aliases = [ "n" ];
11 |
12 | seeAlso = [ "step", "continue", "finish", "advance" ];
13 |
14 | function execute() {
15 | var count = 1;
16 | if (arguments.length != 0) {
17 | var arg = arguments[0];
18 | // ### evaluate the expression in the current frame?
19 | var num = parseInt(arg);
20 | if (!isNaN(num) && (num >= 1))
21 | count = num;
22 | }
23 | scheduleStepOver(count);
24 | };
25 |
26 | function handleResponse(resp) {
27 | }
28 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/print.qs:
--------------------------------------------------------------------------------
1 | // ### exactly the same as eval, but provided for convenience
2 |
3 | name = "print";
4 |
5 | group = "status";
6 |
7 | shortDescription = "Print value of an expression";
8 |
9 | longDescription = "";
10 |
11 | argumentTypes = [ "script" ];
12 |
13 | function execute() {
14 | if (arguments.length == 0) {
15 | message("Missing argument (expression).");
16 | return;
17 | }
18 | setEvaluateAction(0);
19 | scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
20 | };
21 |
22 | function handleResponse(resp, id) {
23 | }
24 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/return.qs:
--------------------------------------------------------------------------------
1 | name = "return";
2 |
3 | group = "running";
4 |
5 | shortDescription = "Make selected stack frame return to its caller";
6 |
7 | longDescription = "";
8 |
9 | argumentTypes = [ "script" ];
10 |
11 | function execute() {
12 | // TODO:
13 | // 1. schedule evaluate of the expression.
14 | // 2. install event handler/filter, so that we're notified when the evaluate is done.
15 | // - what if another event occurs while we evaluate? (e.g. an exception or breakpoint)
16 | // - the event filter needs to uninstall itself, or the event needs to be consumed internally
17 | // 3. in the event handler, schedule forced return with the result as argument.
18 | setEvaluateAction(1);
19 | scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
20 | };
21 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/step.qs:
--------------------------------------------------------------------------------
1 | name = "step";
2 |
3 | group = "running";
4 |
5 | shortDescription = "Step program until a new statement is reached";
6 |
7 | longDescription = "If a number N is given as argument, this will be done N times before execution is stopped.";
8 |
9 | aliases = [ "s" ];
10 |
11 | seeAlso = [ "next" ];
12 |
13 | function execute() {
14 | var count = 1;
15 | if (arguments.length != 0) {
16 | var arg = arguments[0];
17 | // ### evaluate the expression in the current frame?
18 | var num = parseInt(arg);
19 | if (!isNaN(num) && (num >= 1))
20 | count = num;
21 | }
22 | scheduleStepInto(count);
23 | };
24 |
25 | function handleResponse(resp) {
26 | }
27 |
--------------------------------------------------------------------------------
/src/scripttools/debugging/scripts/commands/up.qs:
--------------------------------------------------------------------------------
1 | name = "up";
2 |
3 | group = "stack";
4 |
5 | shortDescription = "Select and print the stack frame above the current one";
6 |
7 | longDescription = "";
8 |
9 | seeAlso = [ "down", "frame" ];
10 |
11 | function execute() {
12 | scheduleGetContextCount();
13 | state = 1;
14 | }
15 |
16 | function handleResponse(resp) {
17 | if (state == 1) {
18 | var count = resp.result;
19 | var idx = getCurrentFrameIndex() + 1;
20 | if (idx == count) {
21 | warning("Already at top (outermost) frame.");
22 | return;
23 | }
24 | setCurrentFrameIndex(idx);
25 | scheduleGetContextInfo(idx);
26 | state = 2;
27 | } else if (state == 2) {
28 | var info = resp.result;
29 | setCurrentScriptId(info.scriptId);
30 | setCurrentLineNumber(info.lineNumber);
31 | scheduleGetBacktrace();
32 | state = 3;
33 | } else if (state == 3) {
34 | var backtrace = resp.result;
35 | message("#" + getCurrentFrameIndex() + " " + backtrace[getCurrentFrameIndex()]);
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/src/scripttools/scripttools.pro:
--------------------------------------------------------------------------------
1 | TARGET = QtScriptTools
2 | QT = core-private
3 | QT_PRIVATE = gui widgets-private script
4 |
5 | DEFINES += QT_NO_USING_NAMESPACE
6 | #win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000
7 |
8 | QMAKE_DOCS = $$PWD/doc/qtscripttools.qdocconf
9 |
10 | include(debugging/debugging.pri)
11 |
12 | load(qt_module)
13 |
--------------------------------------------------------------------------------
/src/src.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | CONFIG += ordered
3 | SUBDIRS += script
4 | qtHaveModule(widgets): {
5 | QT_FOR_CONFIG += widgets
6 | qtConfig(textedit): SUBDIRS += scripttools
7 | }
8 |
--------------------------------------------------------------------------------
/sync.profile:
--------------------------------------------------------------------------------
1 | %modules = ( # path to module name map
2 | "QtScript" => "$basedir/src/script",
3 | "QtScriptTools" => "$basedir/src/scripttools",
4 | );
5 | %moduleheaders = ( # restrict the module headers to those found in relative path
6 | );
7 |
--------------------------------------------------------------------------------
/tests/README:
--------------------------------------------------------------------------------
1 | This directory contains autotests and benchmarks based on QTestlib. In order
2 | to run the autotests reliably, you need to configure a desktop to match the
3 | test environment that these tests are written for.
4 |
5 | Linux X11:
6 |
7 | * The user must be logged in to an active desktop; you can't run the
8 | autotests without a valid DISPLAY that allows X11 connections.
9 |
10 | * The tests are run against a KDE3 or KDE4 desktop.
11 |
12 | * Window manager uses "click to focus", and not "focus follows mouse". Many
13 | tests move the mouse cursor around and expect this to not affect focus
14 | and activation.
15 |
16 | * Disable "click to activate", i.e., when a window is opened, the window
17 | manager should automatically activate it (give it input focus) and not
18 | wait for the user to click the window.
19 |
--------------------------------------------------------------------------------
/tests/auto/auto.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=subdirs
2 | SUBDIRS=\
3 | qscriptable \
4 | qscriptclass \
5 | qscriptcontext \
6 | qscriptcontextinfo \
7 | qscriptengine \
8 | qscriptenginedebugger \
9 | qscriptextensionplugin \
10 | qscriptextqobject \
11 | qscriptjstestsuite \
12 | qscriptstring \
13 | qscriptv8testsuite \
14 | qscriptvalue \
15 | qscriptvaluegenerated \
16 | qscriptvalueiterator \
17 | qscriptqwidgets \
18 | cmake \
19 |
20 | !contains(QT_CONFIG, private_tests): SUBDIRS -= \
21 | qscriptcontext \
22 | qscriptengineagent
23 |
24 | !qtHaveModule(widgets):SUBDIRS -= \
25 | qscriptable \
26 | qscriptengine \
27 | qscriptenginedebugger \
28 | qscriptextqobject \
29 | qscriptqwidgets \
30 | qscriptvalue
31 |
32 | !cross_compile: SUBDIRS += host.pro
33 |
34 | # QTBUG-63916
35 | boot2qt: {
36 | contains(QT_ARCH, arm64): SUBDIRS -= cmake
37 | }
38 |
--------------------------------------------------------------------------------
/tests/auto/cmake/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | cmake_minimum_required(VERSION 2.8)
3 |
4 | project(qmake_cmake_files)
5 |
6 | enable_testing()
7 |
8 | find_package(Qt5Core REQUIRED)
9 |
10 | include("${_Qt5CTestMacros}")
11 |
12 | set(qt_module_includes
13 | Script QScriptEngine
14 | )
15 |
16 | if (NOT NO_WIDGETS)
17 | list(APPEND qt_module_includes
18 | ScriptTools QScriptEngineDebugger
19 | )
20 | endif()
21 |
22 | test_module_includes(
23 | ${qt_module_includes}
24 | )
25 |
--------------------------------------------------------------------------------
/tests/auto/cmake/cmake.pro:
--------------------------------------------------------------------------------
1 |
2 | # Cause make to do nothing.
3 | TEMPLATE = subdirs
4 |
5 | CMAKE_QT_MODULES_UNDER_TEST = script
6 | qtHaveModule(widgets): CMAKE_QT_MODULES_UNDER_TEST += scripttools
7 |
8 | CONFIG += ctest_testcase
9 |
--------------------------------------------------------------------------------
/tests/auto/guiapplauncher/README.txt:
--------------------------------------------------------------------------------
1 | The guiapplauncher from the qtqa repository uses the data in this
2 | directory to do its testing for this module.
3 |
--------------------------------------------------------------------------------
/tests/auto/guiapplauncher/examples.txt:
--------------------------------------------------------------------------------
1 | "script/calculator Example", "examples/script/calculator", "calculator", 6, -1
2 | "script/qstetrix Example", "examples/script/qstetrix", "qstetrix", 0, -1
3 |
--------------------------------------------------------------------------------
/tests/auto/host.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=subdirs
2 | SUBDIRS=\
3 |
4 |
5 |
--------------------------------------------------------------------------------
/tests/auto/qscriptable/qscriptable.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptable
2 | CONFIG += testcase
3 | QT = core script testlib
4 | SOURCES += tst_qscriptable.cpp
5 |
6 |
7 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
8 |
--------------------------------------------------------------------------------
/tests/auto/qscriptclass/qscriptclass.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptclass
2 | CONFIG += testcase
3 | QT = core script testlib
4 | SOURCES += tst_qscriptclass.cpp
5 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
6 |
--------------------------------------------------------------------------------
/tests/auto/qscriptcontext/qscriptcontext.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptcontext
2 | CONFIG += testcase
3 | QT = core script testlib
4 | SOURCES += tst_qscriptcontext.cpp
5 |
6 | # QTBUG-23463
7 | linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC
8 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
9 |
--------------------------------------------------------------------------------
/tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptcontextinfo
2 | CONFIG += testcase
3 | QT = core script testlib
4 | SOURCES += tst_qscriptcontextinfo.cpp
5 |
6 |
7 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
8 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/idtranslatable-unicode.js:
--------------------------------------------------------------------------------
1 | qsTrId('\u01F8\u01D2\u0199\u01D0\u01E1');
2 |
3 | QT_TRID_NOOP("\u0191\u01CE\u0211\u0229\u019C\u018E\u019A\u01D0");
4 |
5 | qsTrId("\u0181\u01A1\u0213\u018F\u018C", 10);
6 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/idtranslatable.js:
--------------------------------------------------------------------------------
1 | qsTrId("qtn_foo_bar");
2 |
3 | var more_greeting_strings = [ QT_TRID_NOOP("qtn_needle"), QT_TRID_NOOP("qtn_haystack") ];
4 |
5 | qsTrId("qtn_bar_baz", 10);
6 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/qscriptengine.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptengine
2 | CONFIG += testcase
3 | QT = core gui widgets script script-private testlib
4 | SOURCES += tst_qscriptengine.cpp
5 | RESOURCES += qscriptengine.qrc
6 | include(../shared/util.pri)
7 |
8 | wince* {
9 | DEFINES += SRCDIR=\\\"./\\\"
10 | } else {
11 | DEFINES += SRCDIR=\\\"$$PWD\\\"
12 | }
13 |
14 | wince* {
15 | addFiles.files = script
16 | addFiles.path = .
17 | DEPLOYMENT += addFiles
18 | }
19 |
20 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
21 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/qscriptengine.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | translations/translatable_la.qm
4 | translations/idtranslatable_la.qm
5 | translations/translatable-unicode.qm
6 | translations/idtranslatable-unicode.qm
7 |
8 |
9 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/script/com/__init__.js:
--------------------------------------------------------------------------------
1 | var wasDefinedAlready = (this["com"] != undefined);
2 | __setupPackage__("com");
3 | com.wasDefinedAlready = wasDefinedAlready;
4 | com.name = __extension__;
5 | com.level = 1;
6 |
7 | com.postInitCallCount = 0;
8 | com.originalPostInit = __postInit__;
9 | __postInit__ = function() { ++com.postInitCallCount; };
10 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/script/com/trolltech/__init__.js:
--------------------------------------------------------------------------------
1 | var wasDefinedAlready = (com["trolltech"] != undefined);
2 | __setupPackage__("com.trolltech");
3 | com.trolltech.wasDefinedAlready = wasDefinedAlready;
4 | com.trolltech.name = __extension__;
5 | com.trolltech.level = com.level + 1;
6 |
7 | com.trolltech.postInitCallCount = 0;
8 | com.trolltech.originalPostInit = __postInit__;
9 | __postInit__ = function() { ++com.trolltech.postInitCallCount; };
10 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/script/com/trolltech/recursive/__init__.js:
--------------------------------------------------------------------------------
1 | __import__("com.trolltech.recursive");
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/script/com/trolltech/syntaxerror/__init__.js:
--------------------------------------------------------------------------------
1 | function () {
2 | }
3 |
4 | 0 = 1;
5 |
6 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translatable-unicode.js:
--------------------------------------------------------------------------------
1 | qsTr("H\u2082O");
2 | qsTranslate("\u010C\u0101\u011F\u0115", "CO\u2082");
3 |
4 | var unicode_strings = [
5 | QT_TR_NOOP("\u0391\u0392\u0393"),
6 | QT_TRANSLATE_NOOP("\u010C\u0101\u011F\u0115", "\u0414\u0415\u0416")
7 | ];
8 |
9 | qsTr("H\u2082O", "not the same H\u2082O");
10 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translatable.js:
--------------------------------------------------------------------------------
1 | qsTr("One");
2 | qsTranslate("FooContext", "Two");
3 |
4 | var greeting_strings = [
5 | QT_TR_NOOP("Hello"),
6 | QT_TRANSLATE_NOOP("FooContext", "Goodbye")
7 | ];
8 |
9 | qsTr("One", "not the same one");
10 |
11 | qsTr("%n message(s) saved", "", 10);
12 | qsTranslate("FooContext", "%n fooish bar(s) found", "", 10);
13 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translatable2.js:
--------------------------------------------------------------------------------
1 | qsTr("Three");
2 | qsTranslate("BarContext", "Four");
3 |
4 | var celebration_strings = [
5 | QT_TR_NOOP("Happy birthday!"),
6 | QT_TRANSLATE_NOOP("BarContext", "Congratulations!")
7 | ];
8 |
9 | qsTr("Three", "not the same three");
10 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translations/idtranslatable-unicode.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptengine/translations/idtranslatable-unicode.qm
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translations/idtranslatable-unicode.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | UTF-8
5 |
6 |
7 |
8 |
9 |
10 | Ƨưƈȼȝȿș
11 |
12 |
13 |
14 |
15 | Ǡȡȋȅȕ
16 |
17 |
18 |
19 |
20 |
21 | Ƒưǹ
22 | %n ƒơǒ(ș)
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translations/idtranslatable_la.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptengine/translations/idtranslatable_la.qm
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translations/idtranslatable_la.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | First string
10 |
11 |
12 |
13 |
14 | Second string
15 |
16 |
17 |
18 |
19 | Third string
20 |
21 |
22 |
23 |
24 |
25 | Fourth string
26 | %n fooish bar(s) found
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translations/translatable-unicode.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptengine/translations/translatable-unicode.qm
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translations/translatable-unicode.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | UTF-8
5 |
6 | translatable-unicode
7 |
8 |
9 | H₂O
10 | ͻͼͽ
11 |
12 |
13 |
14 | ΑΒΓ
15 | ӜҴѼ
16 |
17 |
18 |
19 | H₂O
20 | not the same H₂O
21 | ԶՊՒ
22 |
23 |
24 |
25 | Čāğĕ
26 |
27 |
28 | CO₂
29 | בךע
30 |
31 |
32 |
33 | ДЕЖ
34 | خسس
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/tests/auto/qscriptengine/translations/translatable_la.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptengine/translations/translatable_la.qm
--------------------------------------------------------------------------------
/tests/auto/qscriptengineagent/qscriptengineagent.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptengineagent
2 | CONFIG += testcase
3 | QT = core script testlib
4 | SOURCES += tst_qscriptengineagent.cpp
5 |
6 |
7 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
8 |
--------------------------------------------------------------------------------
/tests/auto/qscriptenginedebugger/qscriptenginedebugger.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptenginedebugger
2 | CONFIG += testcase
3 | QT += script widgets scripttools testlib
4 | SOURCES += tst_qscriptenginedebugger.cpp
5 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
6 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextensionplugin/qscriptextensionplugin.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | CONFIG -= app_bundle
3 | test.depends = simpleplugin staticplugin
4 | SUBDIRS = simpleplugin staticplugin test
5 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.json:
--------------------------------------------------------------------------------
1 | {
2 | "Keys": [ "simple", "simple.foo", "simple.foo.bar" ]
3 | }
4 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | CONFIG += plugin
3 | SOURCES = simpleplugin.cpp
4 | OTHER_FILES += simpleplugin.json
5 | QT = core script
6 | TARGET = simpleplugin
7 | DESTDIR = ../plugins/script
8 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
9 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextensionplugin/staticplugin/__init__.js:
--------------------------------------------------------------------------------
1 | spy = {
2 | extension: __extension__,
3 | setupPackage: __setupPackage__,
4 | postInit: __postInit__
5 | };
6 | __postInit__ = function() { postInitWasCalled = true; };
7 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextensionplugin/staticplugin/staticplugin.json:
--------------------------------------------------------------------------------
1 | {
2 | "Keys": [ "static" ]
3 | }
4 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextensionplugin/staticplugin/staticplugin.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | CONFIG += static plugin
3 | CONFIG -= create_prl # not needed, and complicates debug/release
4 | SOURCES = staticplugin.cpp
5 | RESOURCES = staticplugin.qrc
6 | QT = core script
7 | DEFINES += QT_STATICPLUGIN
8 | TARGET = staticplugin
9 | DESTDIR = ../plugins/script
10 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
11 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextensionplugin/staticplugin/staticplugin.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | __init__.js
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextensionplugin/test/test.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_test
2 | CONFIG += testcase
3 |
4 | QT = core script testlib
5 | SOURCES = ../tst_qscriptextensionplugin.cpp
6 | CONFIG -= app_bundle
7 | LIBS += -L../plugins/script -lstaticplugin
8 |
9 | TARGET = tst_qscriptextensionplugin
10 | CONFIG(debug_and_release) {
11 | CONFIG(debug, debug|release) {
12 | DESTDIR = ../debug
13 | } else {
14 | DESTDIR = ../release
15 | }
16 | } else {
17 | DESTDIR = ..
18 | }
19 |
20 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
21 |
--------------------------------------------------------------------------------
/tests/auto/qscriptextqobject/qscriptextqobject.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptextqobject
2 | CONFIG += testcase
3 | QT = core gui widgets script testlib
4 | SOURCES += tst_qscriptextqobject.cpp
5 | include(../shared/util.pri)
6 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
7 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/BLACKLIST:
--------------------------------------------------------------------------------
1 | [ecma/Expressions:-(-2147483648) == 2147483648]
2 | # QTBUG-63916
3 | b2qt 64bit
4 |
5 | [ecma/TypeConversion:- -"0x80000000"]
6 | # QTBUG-63916
7 | b2qt 64bit
8 |
9 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/qscriptjstestsuite.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptjstestsuite
2 | CONFIG += testcase
3 | QT = core-private script testlib
4 | SOURCES += tst_qscriptjstestsuite.cpp
5 | RESOURCES += qscriptjstestsuite.qrc
6 | include(../qscriptv8testsuite/abstracttestsuite.pri)
7 |
8 | wince* {
9 | testFiles.files = tests
10 | testFiles.path = .
11 | DEPLOYMENT += testFiles
12 | }
13 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
14 | win32:CONFIG += insignificant_test # QTBUG-36632
15 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/qscriptjstestsuite.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | expect_fail.txt
4 | skip.txt
5 |
6 |
7 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/skip.txt:
--------------------------------------------------------------------------------
1 | .+/15\.9\.2\..+ | unstable on slow machines
2 | .+/15\.9\.5\..+ | too slooow
3 | regress-130451.js | asserts
4 | regress-322135-01.js | asserts
5 | regress-322135-02.js | asserts
6 | regress-322135-03.js | takes forever
7 | regress-322135-04.js | takes forever
8 | ecma_3/Array/regress-387501.js | Produces wrong error message
9 | ecma_3/RegExp/regress-375715-04.js | bug
10 | ecma_3/RegExp/regress-289669.js | Can fail due to relying on wall-clock time
11 | ecma_3/RegExp/regress-311414.js | Can fail due to relying on wall-clock time
12 | ecma_3/RegExp/regress-330684.js | Can fail due to relying on wall-clock time
13 | ecma_3/RegExp/regress-375711.js | Can fail due to relying on wall-clock time
14 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Array/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/Array/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Array/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Array';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Boolean/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/Boolean/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Boolean/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Boolean';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Date/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/Date/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Date/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Date';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/ExecutionContexts/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/ExecutionContexts/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/ExecutionContexts/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'ExecutionContexts';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Expressions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/Expressions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Expressions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Expressions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/FunctionObjects/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/FunctionObjects/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/FunctionObjects/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'FunctionObjects';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/GlobalObject/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/GlobalObject/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/GlobalObject/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'GlobalObject';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/LexicalConventions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/LexicalConventions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/LexicalConventions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'LexicalConventions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Math/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/Math/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Math/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Math';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/NativeObjects/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/NativeObjects/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/NativeObjects/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'NativeObjects';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Number/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/Number/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Number/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Number';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/ObjectObjects/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/ObjectObjects/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/ObjectObjects/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'ObjectObjects';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/README:
--------------------------------------------------------------------------------
1 | ECMA 262 Edition 1
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/SourceText/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/SourceText/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/SourceText/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'SourceText';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Statements/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/Statements/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Statements/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Statements';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/String/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/String/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/String/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'String';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/TypeConversion/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/TypeConversion/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/TypeConversion/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'TypeConversion';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Types/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/Types/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/Types/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Types';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/extensions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma/extensions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma/extensions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'extensions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/Exceptions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/Exceptions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/Exceptions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Exceptions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/Expressions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/Expressions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/Expressions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Expressions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/FunctionObjects/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/FunctionObjects/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/FunctionObjects/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'FunctionObjects';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/LexicalConventions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/LexicalConventions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/LexicalConventions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'LexicalConventions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/README:
--------------------------------------------------------------------------------
1 | ECMA 262 Edition 2
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/RegExp/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/RegExp/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/RegExp/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'RegExp';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/Statements/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/Statements/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/Statements/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Statements';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/String/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/String/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/String/replace-001.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/String/replace-001.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/String/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'String';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/extensions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/extensions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/extensions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'extensions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/instanceof/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_2/instanceof/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_2/instanceof/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'instanceof';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Array/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Array/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Array/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Array';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Exceptions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Exceptions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Exceptions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Exceptions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/ExecutionContexts/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/ExecutionContexts/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/ExecutionContexts/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'ExecutionContexts';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Expressions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Expressions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Expressions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Expressions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/FunExpr/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/FunExpr/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/FunExpr/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'FunExpr';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Function/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Function/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Function/call-001.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Function/call-001.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Function/regress-58274.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Function/regress-58274.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Function/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Function';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/LexicalConventions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/LexicalConventions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/LexicalConventions/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'LexicalConventions';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Number/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Number/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Number/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Number';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/NumberFormatting/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/NumberFormatting/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/NumberFormatting/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'NumberFormatting';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Object/browser.js:
--------------------------------------------------------------------------------
1 | var GLOBAL = 'Window';
2 |
3 | function isObject(obj)
4 | {
5 | return obj instanceof Object || obj == window;
6 | }
7 |
8 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Operators/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Operators/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Operators/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Operators';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/README:
--------------------------------------------------------------------------------
1 | ECMA 262 Edition 3
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/RegExp/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/RegExp/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Regress/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Regress/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Regress/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Regress';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Statements/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Statements/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Statements/regress-302439.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Statements/regress-302439.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Statements/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Statements';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/String/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/String/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/String/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'String';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Unicode/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Unicode/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Unicode/shell.js:
--------------------------------------------------------------------------------
1 | gTestsubsuite = 'Unicode';
2 |
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/Unicode/uc-005.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/Unicode/uc-005.js
--------------------------------------------------------------------------------
/tests/auto/qscriptjstestsuite/tests/ecma_3/extensions/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtscript/2c1ffc66bf5d5db05018d7b06253b5ca51e557ab/tests/auto/qscriptjstestsuite/tests/ecma_3/extensions/browser.js
--------------------------------------------------------------------------------
/tests/auto/qscriptqwidgets/qscriptqwidgets.pro:
--------------------------------------------------------------------------------
1 |
2 | CONFIG += testcase
3 |
4 | TEMPLATE = app
5 | TARGET = tst_qscriptqwidgets
6 | INCLUDEPATH += .
7 |
8 | QT += widgets script testlib
9 |
10 | # Input
11 | SOURCES += tst_qscriptqwidgets.cpp
12 |
--------------------------------------------------------------------------------
/tests/auto/qscriptstring/qscriptstring.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptstring
2 | CONFIG += testcase
3 | QT = core script testlib
4 | SOURCES += tst_qscriptstring.cpp
5 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
6 |
--------------------------------------------------------------------------------
/tests/auto/qscriptv8testsuite/abstracttestsuite.pri:
--------------------------------------------------------------------------------
1 | SOURCES += $$PWD/abstracttestsuite.cpp
2 | HEADERS += $$PWD/abstracttestsuite.h
3 | INCLUDEPATH += $$PWD
4 |
--------------------------------------------------------------------------------
/tests/auto/qscriptv8testsuite/expect_fail.txt:
--------------------------------------------------------------------------------
1 | # testcase | actual | expected | message
2 | arguments-enum | 2 | 0
3 | const-redecl | undefined | TypeError | local:'const x; var x'
4 | date-parse | NaN | 946713600000 | Sat, 01-Jan-2000 08:00:00 GMT+00:00
5 | delete-global-properties | true | false
6 | delete | false | true | delete 100
7 | function-arguments-null | false | true
8 | function-caller | null | function eval() {\n [native code]\n}
9 | function-prototype | prototype | disconnectconnect
10 | global-const-var-conflicts | false | true
11 | number-tostring | 0 | 0.0000a7c5ac471b4788
12 | parse-int-float | 1e+21 | 1
13 | regexp | false | true
14 | string-lastindexof | 0 | -1
15 | string-split | 4 | 3 | 19 - array length
16 | substr | abcdefghijklmn |
17 |
--------------------------------------------------------------------------------
/tests/auto/qscriptv8testsuite/qscriptv8testsuite.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptv8testsuite
2 | CONFIG += testcase
3 | QT = core-private script testlib
4 | SOURCES += tst_qscriptv8testsuite.cpp
5 | RESOURCES += qscriptv8testsuite.qrc
6 | include(abstracttestsuite.pri)
7 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
8 |
--------------------------------------------------------------------------------
/tests/auto/qscriptv8testsuite/qscriptv8testsuite.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | tests
4 | expect_fail.txt
5 | skip.txt
6 |
7 |
8 |
--------------------------------------------------------------------------------
/tests/auto/qscriptv8testsuite/skip.txt:
--------------------------------------------------------------------------------
1 | # testcase | message
2 | debug-* | not applicable
3 | mirror-* | not applicable
4 | array-concat | Hangs on JSC backend
5 | array-splice | Hangs on JSC backend
6 | sparse-array-reverse | Hangs on JSC backend
7 | string-case | V8-specific behavior? (Doesn't pass on SpiderMonkey either)
8 |
9 | [Q_OS_WINCE]
10 | deep-recursion | Demands too much memory on WinCE
11 | nested-repetition-count-overflow | Demands too much memory on WinCE
12 | unicode-test | Demands too much memory on WinCE
13 | mul-exhaustive | Demands too much memory on WinCE
14 |
15 | [Q_OS_SYMBIAN]
16 | nested-repetition-count-overflow | Demands too much memory on Symbian
17 | unicode-test | Demands too much memory on Symbian
18 |
19 | [Q_CC_INTEL]
20 | math-min-max | Unresolved failures with intel compiler
21 | negate-zero | Unresolved failures with intel compiler
22 | smi-negative-zero | Unresolved failures with intel compiler
23 | str-to-num | Unresolved failures with intel compiler
24 | to-precision | Unresolved failures with intel compiler
25 |
26 | [Q_OS_MAC]
27 | smi-negative-zero | Unresolved failures on Mac OS X (Cocoa)
28 | to-precision | Unresolved failures on Mac OS X (Cocoa)
29 |
30 | [Q_OS_WIN]
31 | to-precision | Unresolved failures on Windows
32 | smi-negative-zero | Unresolved failure on Windows 8 (QTBUG-41321)
33 |
34 | [Q_OS_LINUX]
35 | smi-negative-zero | Unresolved sign failure for Ubuntu 11.10 x64 (QTBUG-23463)
36 | to-precision | Unresolved failure on Ubuntu 11.10 x64 (QTBUG-23463)
37 |
--------------------------------------------------------------------------------
/tests/auto/qscriptvalue/qscriptvalue.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptvalue
2 | CONFIG += testcase
3 | QT = core gui widgets script testlib
4 | SOURCES += tst_qscriptvalue.cpp
5 | HEADERS += tst_qscriptvalue.h
6 |
7 | win32-msvc* {
8 | # With -O2, MSVC takes up to 24 minutes to compile this test!
9 | QMAKE_CXXFLAGS_RELEASE -= -O1 -O2
10 | QMAKE_CXXFLAGS_RELEASE += -Od
11 | }
12 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
13 |
--------------------------------------------------------------------------------
/tests/auto/qscriptvaluegenerated/qscriptvaluegenerated.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptvaluegenerated
2 | CONFIG += testcase
3 | QT = core script testlib
4 | SOURCES += tst_qscriptvalue.cpp
5 | HEADERS += tst_qscriptvalue.h
6 |
7 | # Generated by testgen
8 | SOURCES += \
9 | tst_qscriptvalue_generated_init.cpp \
10 | tst_qscriptvalue_generated_cast.cpp \
11 | tst_qscriptvalue_generated_comparison.cpp \
12 | tst_qscriptvalue_generated_isXXX.cpp \
13 | tst_qscriptvalue_generated_toXXX.cpp
14 |
15 | win32-msvc* {
16 | # With -O2, MSVC takes up to 24 minutes to compile this test!
17 | QMAKE_CXXFLAGS_RELEASE -= -O1 -O2
18 | QMAKE_CXXFLAGS_RELEASE += -Od
19 | }
20 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
21 |
--------------------------------------------------------------------------------
/tests/auto/qscriptvalueiterator/qscriptvalueiterator.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_qscriptvalueiterator
2 | CONFIG += testcase
3 | QT = core script testlib
4 | SOURCES += tst_qscriptvalueiterator.cpp
5 |
6 |
7 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
8 |
--------------------------------------------------------------------------------
/tests/auto/shared/util.pri:
--------------------------------------------------------------------------------
1 | HEADERS += $$PWD/util.h
2 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/context2d/context2d.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_context2d
4 |
5 | SOURCES += tst_context2d.cpp
6 |
7 | CONTEXT2D_EXAMPLE_DIR = ../../../../examples/script/context2d
8 | INCLUDEPATH += $$CONTEXT2D_EXAMPLE_DIR
9 |
10 | HEADERS += $$CONTEXT2D_EXAMPLE_DIR/qcontext2dcanvas.h \
11 | $$CONTEXT2D_EXAMPLE_DIR/context2d.h \
12 | $$CONTEXT2D_EXAMPLE_DIR/domimage.h \
13 | $$CONTEXT2D_EXAMPLE_DIR/environment.h
14 |
15 | SOURCES += $$CONTEXT2D_EXAMPLE_DIR/qcontext2dcanvas.cpp \
16 | $$CONTEXT2D_EXAMPLE_DIR/context2d.cpp \
17 | $$CONTEXT2D_EXAMPLE_DIR/domimage.cpp \
18 | $$CONTEXT2D_EXAMPLE_DIR/environment.cpp
19 |
20 | RESOURCES += $$CONTEXT2D_EXAMPLE_DIR/context2d.qrc
21 |
22 | QT += script testlib
23 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
24 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass/qscriptclass.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_qscriptclass
4 |
5 | SOURCES += tst_qscriptclass.cpp
6 |
7 | QT += script testlib
8 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
9 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/qscriptclass_bytearray.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_qscriptclass_bytearray
4 |
5 | SOURCES += tst_qscriptclass_bytearray.cpp
6 | RESOURCES += qscriptclass_bytearray.qrc
7 |
8 | include(../../../../examples/script/customclass/bytearrayclass.pri)
9 |
10 | QT = core script testlib
11 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
12 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/qscriptclass_bytearray.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | tests
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/construct-copy.js:
--------------------------------------------------------------------------------
1 | ba = new ByteArray(123);
2 | for (i = 0; i < 5000; ++i)
3 | new ByteArray(ba);
4 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/construct.js:
--------------------------------------------------------------------------------
1 | for (i = 0; i < 5000; ++i)
2 | new ByteArray(123);
3 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/for-in.js:
--------------------------------------------------------------------------------
1 | ba = new ByteArray(8000);
2 | for (var p in ba)
3 | ;
4 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/get-element.js:
--------------------------------------------------------------------------------
1 | ba = new ByteArray(123);
2 | for (i = 0; i < 10000; ++i)
3 | ba[10];
4 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/get-length.js:
--------------------------------------------------------------------------------
1 | ba = new ByteArray(123);
2 | for (i = 0; i < 10000; ++i)
3 | ba.length;
4 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/mid.js:
--------------------------------------------------------------------------------
1 | ba = new ByteArray(123);
2 | for (i = 0; i < 3000; ++i)
3 | ba.mid(50);
4 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/set-element.js:
--------------------------------------------------------------------------------
1 | ba = new ByteArray(123);
2 | for (i = 0; i < 10000; ++i)
3 | ba[10] = 123;
4 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/set-length.js:
--------------------------------------------------------------------------------
1 | ba = new ByteArray();
2 | for (i = 0; i < 10000; ++i)
3 | ba.length = 123;
4 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/sum.js:
--------------------------------------------------------------------------------
1 | function sum(ba) {
2 | var result = 0;
3 | for (var i = 0; i < ba.length; ++i)
4 | result += ba[i];
5 | return result;
6 | }
7 |
8 | sum(new ByteArray(10000));
9 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptclass_bytearray/tests/trimmed.js:
--------------------------------------------------------------------------------
1 | ba = new ByteArray(123);
2 | for (i = 0; i < 3000; ++i)
3 | ba.trimmed();
4 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptengine/qscriptengine.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_qscriptengine
4 |
5 | SOURCES += tst_qscriptengine.cpp
6 |
7 | QT += script testlib
8 |
9 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
10 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptqobject/qscriptqobject.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_qscriptqobject
4 |
5 | SOURCES += tst_qscriptqobject.cpp
6 |
7 | QT += script testlib
8 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
9 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptvalue/qscriptvalue.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_qscriptvalue
4 |
5 | SOURCES += tst_qscriptvalue.cpp
6 |
7 | QT += script testlib
8 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
9 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/qscriptvalueiterator/qscriptvalueiterator.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_qscriptvalueiterator
4 |
5 | SOURCES += tst_qscriptvalueiterator.cpp
6 |
7 | QT = core script testlib
8 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
9 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/script.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS = \
3 | context2d \
4 | qscriptclass \
5 | qscriptclass_bytearray \
6 | qscriptengine \
7 | qscriptvalue \
8 | sunspider \
9 | qscriptqobject \
10 | qscriptvalueiterator \
11 | v8
12 |
13 | TRUSTED_BENCHMARKS += \
14 | qscriptclass \
15 | qscriptvalue \
16 | qscriptengine \
17 | qscriptobject \
18 | context2d
19 |
20 | include(../trusted-benchmarks.pri)
21 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/sunspider.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_sunspider
4 | RESOURCES += sunspider.qrc
5 | SOURCES += tst_sunspider.cpp
6 |
7 | QT = core script testlib
8 |
9 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
10 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/sunspider.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | tests
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/VERSION:
--------------------------------------------------------------------------------
1 | SunSpider 0.9.1
2 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/access-binary-trees.js:
--------------------------------------------------------------------------------
1 | /* The Great Computer Language Shootout
2 | http://shootout.alioth.debian.org/
3 | contributed by Isaac Gouy */
4 |
5 | function TreeNode(left,right,item){
6 | this.left = left;
7 | this.right = right;
8 | this.item = item;
9 | }
10 |
11 | TreeNode.prototype.itemCheck = function(){
12 | if (this.left==null) return this.item;
13 | else return this.item + this.left.itemCheck() - this.right.itemCheck();
14 | }
15 |
16 | function bottomUpTree(item,depth){
17 | if (depth>0){
18 | return new TreeNode(
19 | bottomUpTree(2*item-1, depth-1)
20 | ,bottomUpTree(2*item, depth-1)
21 | ,item
22 | );
23 | }
24 | else {
25 | return new TreeNode(null,null,item);
26 | }
27 | }
28 |
29 | var ret;
30 |
31 | for ( var n = 4; n <= 7; n += 1 ) {
32 | var minDepth = 4;
33 | var maxDepth = Math.max(minDepth + 2, n);
34 | var stretchDepth = maxDepth + 1;
35 |
36 | var check = bottomUpTree(0,stretchDepth).itemCheck();
37 |
38 | var longLivedTree = bottomUpTree(0,maxDepth);
39 | for (var depth=minDepth; depth<=maxDepth; depth+=2){
40 | var iterations = 1 << (maxDepth - depth + minDepth);
41 |
42 | check = 0;
43 | for (var i=1; i<=iterations; i++){
44 | check += bottomUpTree(i,depth).itemCheck();
45 | check += bottomUpTree(-i,depth).itemCheck();
46 | }
47 | }
48 |
49 | ret = longLivedTree.itemCheck();
50 | }
51 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/access-nsieve.js:
--------------------------------------------------------------------------------
1 | // The Great Computer Language Shootout
2 | // http://shootout.alioth.debian.org/
3 | //
4 | // modified by Isaac Gouy
5 |
6 | function pad(number,width){
7 | var s = number.toString();
8 | var prefixWidth = width - s.length;
9 | if (prefixWidth>0){
10 | for (var i=1; i<=prefixWidth; i++) s = " " + s;
11 | }
12 | return s;
13 | }
14 |
15 | function nsieve(m, isPrime){
16 | var i, k, count;
17 |
18 | for (i=2; i<=m; i++) { isPrime[i] = true; }
19 | count = 0;
20 |
21 | for (i=2; i<=m; i++){
22 | if (isPrime[i]) {
23 | for (k=i+i; k<=m; k+=i) isPrime[k] = false;
24 | count++;
25 | }
26 | }
27 | return count;
28 | }
29 |
30 | function sieve() {
31 | for (var i = 1; i <= 3; i++ ) {
32 | var m = (1<> ((b << 1) & 14));
8 | c += 3 & (bi3b >> ((b >> 2) & 14));
9 | c += 3 & (bi3b >> ((b >> 5) & 6));
10 | return c;
11 |
12 | /*
13 | lir4,0xE994; 9 instructions, no memory access, minimal register dependence, 6 shifts, 2 adds, 1 inline assign
14 | rlwinmr5,r3,1,28,30
15 | rlwinmr6,r3,30,28,30
16 | rlwinmr7,r3,27,29,30
17 | rlwnmr8,r4,r5,30,31
18 | rlwnmr9,r4,r6,30,31
19 | rlwnmr10,r4,r7,30,31
20 | addr3,r8,r9
21 | addr3,r3,r10
22 | */
23 | }
24 |
25 |
26 | function TimeFunc(func) {
27 | var x, y, t;
28 | for(var x=0; x<500; x++)
29 | for(var y=0; y<256; y++) func(y);
30 | }
31 |
32 | TimeFunc(fast3bitlookup);
33 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/bitops-bits-in-byte.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2004 by Arthur Langereis (arthur_ext at domain xfinitegames, tld com)
2 |
3 |
4 | // 1 op = 2 assigns, 16 compare/branches, 8 ANDs, (0-8) ADDs, 8 SHLs
5 | // O(n)
6 | function bitsinbyte(b) {
7 | var m = 1, c = 0;
8 | while(m<0x100) {
9 | if(b & m) c++;
10 | m <<= 1;
11 | }
12 | return c;
13 | }
14 |
15 | function TimeFunc(func) {
16 | var x, y, t;
17 | for(var x=0; x<350; x++)
18 | for(var y=0; y<256; y++) func(y);
19 | }
20 |
21 | TimeFunc(bitsinbyte);
22 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/bitops-bitwise-and.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2007 Apple Inc. All rights reserved.
3 | *
4 | * Redistribution and use in source and binary forms, with or without
5 | * modification, are permitted provided that the following conditions
6 | * are met:
7 | * 1. Redistributions of source code must retain the above copyright
8 | * notice, this list of conditions and the following disclaimer.
9 | * 2. Redistributions in binary form must reproduce the above copyright
10 | * notice, this list of conditions and the following disclaimer in the
11 | * documentation and/or other materials provided with the distribution.
12 | *
13 | * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
14 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
17 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 | */
25 |
26 | bitwiseAndValue = 4294967296;
27 | for (var i = 0; i < 600000; i++)
28 | bitwiseAndValue = bitwiseAndValue & i;
29 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/bitops-nsieve-bits.js:
--------------------------------------------------------------------------------
1 | // The Great Computer Language Shootout
2 | // http://shootout.alioth.debian.org
3 | //
4 | // Contributed by Ian Osgood
5 |
6 | function pad(n,width) {
7 | var s = n.toString();
8 | while (s.length < width) s = ' ' + s;
9 | return s;
10 | }
11 |
12 | function primes(isPrime, n) {
13 | var i, count = 0, m = 10000<>5;
14 |
15 | for (i=0; i>5] & 1<<(i&31)) {
19 | for (var j=i+i; j>5] &= ~(1<<(j&31));
21 | count++;
22 | }
23 | }
24 |
25 | function sieve() {
26 | for (var i = 4; i <= 4; i++) {
27 | var isPrime = new Array((10000<>5);
28 | primes(isPrime, i);
29 | }
30 | }
31 |
32 | sieve();
33 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/controlflow-recursive.js:
--------------------------------------------------------------------------------
1 | // The Computer Language Shootout
2 | // http://shootout.alioth.debian.org/
3 | // contributed by Isaac Gouy
4 |
5 | function ack(m,n){
6 | if (m==0) { return n+1; }
7 | if (n==0) { return ack(m-1,1); }
8 | return ack(m-1, ack(m,n-1) );
9 | }
10 |
11 | function fib(n) {
12 | if (n < 2){ return 1; }
13 | return fib(n-2) + fib(n-1);
14 | }
15 |
16 | function tak(x,y,z) {
17 | if (y >= x) return z;
18 | return tak(tak(x-1,y,z), tak(y-1,z,x), tak(z-1,x,y));
19 | }
20 |
21 | for ( var i = 3; i <= 5; i++ ) {
22 | ack(3,i);
23 | fib(17.0+i);
24 | tak(3*i+3,2*i+2,i+1);
25 | }
26 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/math-partial-sums.js:
--------------------------------------------------------------------------------
1 | // The Computer Language Shootout
2 | // http://shootout.alioth.debian.org/
3 | // contributed by Isaac Gouy
4 |
5 | function partial(n){
6 | var a1 = a2 = a3 = a4 = a5 = a6 = a7 = a8 = a9 = 0.0;
7 | var twothirds = 2.0/3.0;
8 | var alt = -1.0;
9 | var k2 = k3 = sk = ck = 0.0;
10 |
11 | for (var k = 1; k <= n; k++){
12 | k2 = k*k;
13 | k3 = k2*k;
14 | sk = Math.sin(k);
15 | ck = Math.cos(k);
16 | alt = -alt;
17 |
18 | a1 += Math.pow(twothirds,k-1);
19 | a2 += Math.pow(k,-0.5);
20 | a3 += 1.0/(k*(k+1.0));
21 | a4 += 1.0/(k3 * sk*sk);
22 | a5 += 1.0/(k3 * ck*ck);
23 | a6 += 1.0/k;
24 | a7 += 1.0/k2;
25 | a8 += alt/k;
26 | a9 += alt/(2*k -1);
27 | }
28 | }
29 |
30 | for (var i = 1024; i <= 16384; i *= 2) {
31 | partial(i);
32 | }
33 |
34 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/sunspider/tests/math-spectral-norm.js:
--------------------------------------------------------------------------------
1 | // The Great Computer Language Shootout
2 | // http://shootout.alioth.debian.org/
3 | //
4 | // contributed by Ian Osgood
5 |
6 | function A(i,j) {
7 | return 1/((i+j)*(i+j+1)/2+i+1);
8 | }
9 |
10 | function Au(u,v) {
11 | for (var i=0; i
18 | Copyright (C) 2007 Apple Inc
19 | Copyright (C) Rich Moore
20 | Copyright (C) 2007 John Resig (jquery.com)
21 | Copyright (C) Paul Johnston 1999 - 2002
22 | Copyright (C) Geg Holt
23 | Copyright (C) Andrew Kepert
24 | Copyright (C) Ydnar
25 | Copyright (C) Lostinet
26 | Copyright (C) 2004 by Arthur Langereis (arthur_ext at domain xfinitegames, tld com)
27 | Copyright (C) 2000 Martijn Pieters
28 | Copyright (C) Samuel Sieb
29 | Copyright (C) Jesse Millikan
30 | Copyright (C) Isaac Gouy
31 | Copyright (C) Ian Osgood
32 | Copyright (C) Simon Speich"
33 | }
34 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/v8/tests/qt_attribution.json:
--------------------------------------------------------------------------------
1 | {
2 | "Id": "benchmarks-v8",
3 | "Name": "V8 benchmark tests",
4 | "QDocModule": "qtscript",
5 | "QtUsage": "Used in the benchmarking tests for Qt Script.",
6 | "QtParts": [ "tests" ],
7 |
8 | "Description": "A collection of pure JavaScript benchmarks that are used to tune V8.",
9 | "Homepage": "https://developers.google.com/v8/",
10 | "LicenseId": "BSD-3-Clause",
11 | "License": "BSD 3-clause \"New\" or \"Revised\" License",
12 | "LicenseFile": "LICENSE.txt",
13 | "Copyright": "Copyright 1996 John Maloney and Mario Wolczko
14 | Copyright 2003-2005 Tom Wu
15 | Copyright 2005-2007 Sam Stephenson
16 | Copyright 2006-2010 the V8 project authors"
17 | }
18 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/v8/v8.pro:
--------------------------------------------------------------------------------
1 | CONFIG += testcase
2 | TEMPLATE = app
3 | TARGET = tst_bench_v8
4 | RESOURCES += v8.qrc
5 | SOURCES += tst_v8.cpp
6 |
7 | QT = core script testlib
8 |
9 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
10 |
--------------------------------------------------------------------------------
/tests/benchmarks/script/v8/v8.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | tests
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/global/global.cfg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/tests/tests.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += auto
3 |
--------------------------------------------------------------------------------