summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation with Sun CC 5.9: moving elements in a vector requires source ↵Thiago Macieira2009-09-041-6/+6
| | | | | | | | | | not to be const I don't know why the compiler couldn't call src->~T() on a const T *src, but fact is it couldn't. In any case, since move is copying the source and deleting it, formally the argument shouldn't be const anyway.
* Fix compilation error on Solaris: mmap/munmap take/return a char*, not void*.Thiago Macieira2009-09-042-3/+3
| | | | | | "../JavaScriptCore/interpreter/RegisterFile.h", line 128: Error: Using static_cast to convert from char* to JSC::Register* not allowed. Error: Formal argument 1 of type char* in call to munmap(char*, unsigned) is being passed JSC::Register*.
* Fix linking with SunCC 5.9: de-inline the operator new and delete in ↵Thiago Macieira2009-09-042-17/+18
| | | | | | | | | | | | | | | | | | ParserArenaDeletable. If you mark functions as "inline", the compiler doesn't have to emit out-of-line copies. What happens is that Nodes.h declares these functions, but the inline bodies are in NodeConstructors.h. ParserArena.cpp used these functions, but didn't include NodeConstructor.h. I could have added the missing #include, but this is error-prone, since you have to remember to do that. Moving the bodies into Nodes.h was also not possible, because it requires JSC::Parser to be defined and Parser.h needs to #include "Nodes.h". So the solution is to de-inline.
* Fix oversize-buffer support for aligning.Thiago Macieira2009-09-041-3/+8
| | | | Since Vector initialises VectorBase with the value of inlineBuffer(), it does so before the m_inlineBuffer member has had a chance to initialise. This lead to dereferencing of uninitialised pointers and, as was expected, crashes.
* Create exceptionCatch eventsJedrzej Nowacki2009-09-013-0/+18
| | | | | | | Call to JSC::Debugger::exceptionCatch when exception is catched were added for JIT enabled. Few XFAIL were moved. Reviewed-by: Kent Hansen
* Fix column number in QScriptEngineAgentJedrzej Nowacki2009-09-011-4/+0
| | | | | | | Fix column number in QScriptEngineAgent with JIT enabled and in the same time with QT_BUILD_SCRIPT_LIB disabled Reviewed-by: Kent Hansen
* make JIT construct objects of type QScriptObject, not JSC::JSObjectKent Hansen2009-08-261-0/+8
| | | | | Commit 25e76959da84fe4c40f98cf32b7b8c69e5087681 changed it for the interpreter, this commit makes it work with the JIT enabled as well.
* Fix column number in QScriptEngineAgent with JIT enabledJedrzej Nowacki2009-08-261-0/+1
| | | | | | | Column number in executed JS source code is correctly passed to debugger. Few autotest were repaired. Reviewed-by: Kent Hansen
* Removed library added by mistake in 91e1f75992a5fa720ad748d8487a44b5a242ca2dFriedemann Kleint2009-08-251-28/+0
|
* Fix valgrind warning (use of uninitialized) in JavaScriptCoreOlivier Goffart2009-08-251-0/+2
| | | | Reviewed-by: Kent Hansen
* Fix compile error on Windows7(64Bit) with latest SDK.Prasanth Ullattil2009-08-241-0/+1
| | | | | | Added the missing include file. Reviewed-by: TrustMe
* compile fix with namespaced Qthjk2009-08-246-2/+12
|
* Doc - Organizing diagrams for designer's manualKavindra Devi Palaraja2009-08-241-0/+28
| | | | | | Reviewed-By: TrustMe Also added rgbController.ui which I used for some parts the manual
* Fix compilation with WINSCW: no varargs macrosThiago Macieira2009-08-221-9/+9
| | | | src\3rdparty\webkit\JavaScriptCore\wtf\Assertions.h:150: badly punctuated parameter list in `#define'
* Merge commit 'qt/master'Jason Barron2009-08-212-11/+27
|\
| * qdoc: Redesigned the Class and Function Documentation page.Martin Smith2009-08-211-1/+1
| |
| * JSC::Debugger fix. Events exceptionThrow and functionExit modificationJedrzej Nowacki2009-08-211-10/+26
| | | | | | | | | | | | | | | | | | | | JSC::Debugger::exceptionThrow event was moved _before_ stacks unwinding so there is possibility to check stack state before it's deletion. Missing functionExit event was added in Interpreter::unwind() Reviewed-by: Kent Hansen
* | Merge commit 'qt/master'Jason Barron2009-08-21159-381/+1092
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe examples/examples.pro qmake/Makefile.unix qmake/Makefile.win32 qmake/Makefile.win32-g++ qmake/Makefile.win32-g++-sh qmake/qmake.pro src/script/api/qscriptable.h src/script/api/qscriptclasspropertyiterator.h src/script/api/qscriptcontext.h src/script/api/qscriptengineagent.cpp src/script/api/qscriptstring.cpp src/script/api/qscriptstring.h src/script/api/qscriptvalueiterator.cpp src/script/api/qscriptvalueiterator.h src/script/qscriptclass.cpp src/script/qscriptcontext.cpp src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptvalue.cpp src/script/qscriptvalue_p.h src/script/qscriptvalueimplfwd_p.h src/script/script.pro src/src.pro tests/auto/auto.pro tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp tools/configure/configureapp.cpp
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-201-1/+1
| |\ | | | | | | | | | | | | | | | | | | qtscript-jsc-backend Conflicts: src/3rdparty/webkit/JavaScriptCore/JavaScriptCore.pri
| * | Remove useless variable from Lexer.Jedrzej Nowacki2009-08-201-3/+2
| | |
| * | Fix JavaScriptCore::Lexer column countJedrzej Nowacki2009-08-202-2/+9
| | | | | | | | | | | | | | | | | | | | | Column number is rest after each new line character in the source code. Reviewed-by: Kent Hansen
| * | set the current frame when getting callbacks in JSC DebuggerKent Hansen2009-08-201-0/+3
| | | | | | | | | | | | | | | If the debugger stops execution, we want the frame pointer to be in sync (so we get the full backtrace).
| * | add missing includeKent Hansen2009-08-201-0/+1
| | |
| * | Fix JavaScriptCore build on systems without anonymous mmappingNorbert Leser2009-08-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use fastMalloc when neither MMAP nor VIRTUALALLOC are enabled RegisterFile constructor currently throws #error when both MMAP and VIRTUALALLOC conditions fail. On any platform that does not provide these features (for instance, Symbian), the fallback should be regular malloc (or fastMalloc). It is functionally equivalent in this case, even though it may have certain drawbacks such as lack of dynamic pre-allocation. Taken upstream from https://bugs.webkit.org/show_bug.cgi?id=27051 Reviewed-by: Simon Hausmann
| * | add platforms AIX and HPUXKent Hansen2009-08-201-1/+35
| | | | | | | | | | | | Also add some compilers, and define PLATFORM(UNIX) on Solaris.
| * | use PLATFORM(SOLARIS) instead of Qt-specific defineKent Hansen2009-08-202-2/+2
| | |
| * | build on SolarisKent Hansen2009-08-192-2/+12
| | | | | | | | | | | | | | | Work-around for "Error: A union member cannot have a user-defined assignment operator."
| * | Add support for aligned buffers without alignment macrosThiago Macieira2009-08-191-1/+13
| | | | | | | | | | | | | | | If we don't have alignment macros, we do what we can: overcommit 64 bytes and find the proper 64-byte-aligned position in the buffer.
| * | Clean upJedrzej Nowacki2009-08-181-1/+1
| | | | | | | | | | | | | | | | | | Unused variables removed. Reviewed-by: Kent Hansen
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-1811-55/+93
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qtscript-jsc-backend Conflicts: src/script/qscriptclass.cpp src/script/qscriptcontext.cpp src/script/qscriptengine.cpp src/script/qscriptvalue.cpp
| * | | Clean up.Jedrzej Nowacki2009-08-184-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of conversion functions QScript::qtStringFromJSCUString and QScript::qtStringToJSCUString. Code was moved to cast operators. Reviewed-by: Kent Hansen
| * | | use ExecutableAllocatorWin.cpp on all Windows platformsKent Hansen2009-08-181-1/+1
| | | | | | | | | | | | | | | | In particular, this is needed for Windows CE.
| * | | Build on Windows CEKent Hansen2009-08-171-1/+4
| | | |
| * | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-172-3/+4
| |\ \ \ | | | | | | | | | | | | | | | qtscript-jsc-backend
| * | | | disable variadic macros on MSVC7Kent Hansen2009-08-171-4/+8
| | | | | | | | | | | | | | | | | | | | See the comment near the top of the file.
| * | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-141-158/+220
| |\ \ \ \ | | | | | | | | | | | | | | | | | | qtscript-jsc-backend
| * | | | | Added missing copyright headersSimon Hausmann2009-08-142-0/+36
| | | | | |
| * | | | | Fix compilationSimon Hausmann2009-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Include config.h first.
| * | | | | Fix compilation on WindowsSimon Hausmann2009-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The forward declaration of DebuggerCallFrame is not enough for MSVC to compile.
| * | | | | compileOlivier Goffart2009-08-121-0/+1
| | | | | |
| * | | | | Refactor the way the JS stack are created for native functionOlivier Goffart2009-08-124-100/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original JavaScriptCore doesn't create stack frame or scope for native function. JSC has been patched to support that. This commit revert our patches to JSC, and implement create the stack frame from QScript Reviewed-by: Kent Hansen
| * | | | | Move JSC::Debugger's events calls from JSC::evaluate() toJedrzej Nowacki2009-08-121-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QSCriptEngine::evaluate() Fix broken behavior after bad integration with 538153994cacc4613aef1eb8ef77e501be7f5a88 commit
| * | | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-126-3/+146
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qtscript-jsc-backend Conflicts: configure src/script/qscriptarray_p.h src/script/qscriptasm.cpp src/script/qscriptasm_p.h src/script/qscriptbuffer_p.h src/script/qscriptclass.cpp src/script/qscriptclassdata.cpp src/script/qscriptclassdata_p.h src/script/qscriptclassinfo_p.h src/script/qscriptclasspropertyiterator_p.h src/script/qscriptcompiler.cpp src/script/qscriptcompiler_p.h src/script/qscriptcontext_p.cpp src/script/qscriptcontext_p.h src/script/qscriptcontextfwd_p.h src/script/qscriptcontextinfo_p.h src/script/qscriptecmaarray.cpp src/script/qscriptecmaarray_p.h src/script/qscriptecmaboolean.cpp src/script/qscriptecmaboolean_p.h src/script/qscriptecmacore.cpp src/script/qscriptecmacore_p.h src/script/qscriptecmadate.cpp src/script/qscriptecmadate_p.h src/script/qscriptecmaerror.cpp src/script/qscriptecmaerror_p.h src/script/qscriptecmafunction.cpp src/script/qscriptecmafunction_p.h src/script/qscriptecmaglobal.cpp src/script/qscriptecmaglobal_p.h src/script/qscriptecmamath.cpp src/script/qscriptecmamath_p.h src/script/qscriptecmanumber.cpp src/script/qscriptecmanumber_p.h src/script/qscriptecmaobject.cpp src/script/qscriptecmaobject_p.h src/script/qscriptecmaregexp.cpp src/script/qscriptecmaregexp_p.h src/script/qscriptecmastring.cpp src/script/qscriptecmastring_p.h src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptengine_p.h src/script/qscriptengineagent_p.h src/script/qscriptenginefwd_p.h src/script/qscriptextenumeration.cpp src/script/qscriptextenumeration_p.h src/script/qscriptextqobject.cpp src/script/qscriptextqobject_p.h src/script/qscriptextvariant.cpp src/script/qscriptextvariant_p.h src/script/qscriptfunction.cpp src/script/qscriptfunction_p.h src/script/qscriptgc_p.h src/script/qscriptglobals_p.h src/script/qscriptmember_p.h src/script/qscriptnameid_p.h src/script/qscriptnodepool_p.h src/script/qscriptobject_p.h src/script/qscriptobjectfwd_p.h src/script/qscriptprettypretty.cpp src/script/qscriptprettypretty_p.h src/script/qscriptsyntaxcheckresult_p.h src/script/qscriptvalue.cpp src/script/qscriptvalue_p.h src/script/qscriptvaluefwd_p.h src/script/qscriptvalueimpl.cpp src/script/qscriptvalueimpl_p.h src/script/qscriptvalueimplfwd_p.h src/script/qscriptvalueiteratorimpl.cpp src/script/qscriptvalueiteratorimpl_p.h
| * | | | | | remove erroneous operator==(int)Kent Hansen2009-08-122-2/+0
| | | | | | |
| * | | | | | Calls to JSC::Debugger's new events that where created inJedrzej Nowacki2009-08-111-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b62ab93d001d2f3238e24faa133720cb877e3023 commit. Calls to Debuggers's evaluateStart, evaluateStop, exceptionThrow methods where created.
| * | | | | | Calls to JSC::Debugger's new events that where created inJedrzej Nowacki2009-08-115-4/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b62ab93d001d2f3238e24faa133720cb877e3023 commit. In CallData and ConstructData native function call were replaced by class with operator() that decorate every call with debugger->functionEntry and debugger->functionExit events. In Interpreter new debugger calls for functionExit, functionEntry, exceptionThrow and exceptionCatch events where created
| * | | | | | JSGlobalObject debugger's setterJedrzej Nowacki2009-08-101-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting Debugger for JSGlobalObject automatically set it to ScriptPool object. Should be part of f5af011ede569bb88ec9b27ff7a65fe99f7d17fd commit
| * | | | | | Move some debug hooksJedrzej Nowacki2009-08-101-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generation point of debug opcode for different statements were changed to simulate old - backend QtScript's debugger. Code is Qt specific and secured by QT_BUILD_SCRIPT_LIB define.
| * | | | | | New class and new JSC::JSGlobalData attribute.Jedrzej Nowacki2009-08-107-1/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SourcePool's objects should be responsible for calling debugger each time scriptLoad or scriptUnload event occurs. This code is specific to Qt only.
| * | | | | | Debugger API develop. New events corresponding to QtScript old-backendJedrzej Nowacki2009-08-101-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | where created: scriptUnload, scriptLoad, contextPush, contextPop, evaluateStart, evaluateStop, exceptionThrow, exceptionCatch, functionExit Some of them are really similar to standard JSC events but not enough to implement correct old QtScript debugger behavior. Default empty implementation where created (the new events are not pure virtual methods as the others)