summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Add a way of getting the stack base on HP-UX.Thiago Macieira2009-09-041-0/+45
| | | | | | | | | Unfortunately, HP-UX's pthread doesn't allow us to get the stack address of a running thread. We have to suspend the thread. And obviously we can't suspend ourselves. The solution is to start another thread, which suspends us, gets the stack address, and resumes.
* Add PLATFORM(HPUX) and COMPILER(ACC) defines, for HP-UX support.Thiago Macieira2009-09-041-0/+24
| | | | | | | | | Also add PLATFORM(IA64) and PLATFORM(HPPA), though we don't use them and probably don't need. Just in case. Conflicts: src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h
* Fix compilation on AIX: struct tm has no timezone information.Simon Hausmann2009-09-041-1/+1
| | | | | | | | | | "/pulse/qt/src/3rdparty/webkit/JavaScriptCore/wtf/DateMath.h", line 113.42: 1540-0217 (S) "tm_gmtoff" is not a member of "struct tm". "/pulse/qt/src/3rdparty/webkit/JavaScriptCore/wtf/DateMath.h", line 115.37: 1540-0217 (S) "tm_zone" is not member of "struct tm". Conflicts: src/3rdparty/webkit/JavaScriptCore/wtf/DateMath.cpp src/3rdparty/webkit/JavaScriptCore/wtf/DateMath.h
* Implement support for getting the stack base on AIX.Thiago Macieira2009-09-041-0/+12
|
* Fix compilation with xlC 7: operator-> must return a pointer-like type.Thiago Macieira2009-09-041-1/+1
| | | | "webkit/JavaScriptCore/runtime/Protect.h", line 101.17: 1540-1196 (S) The return type cannot be "JSC::JSValue" because "class JSValue" does not have an "operator->" function.
* Work around an apparent xlC 7 bug: partial specialisation on HashMap.Thiago Macieira2009-09-041-49/+54
| | | | | | | | This problem was appearing only in the functions in the HashMap partial specialisation for Ref<T> that returned std::pair<iterator, bool>. "/pulse/qt/src/3rdparty/webkit/JavaScriptCore/wtf/RefPtrHashMap.h", line 205.5: 1540-1174 (S) The member "template std::pair<HashMap<RefPtr<T>,U,V,W,X>::iterator,bool> inlineAdd(const KeyType &, const MappedType &)" is not declared as a template in its containing class definition.
* Fix compilation with xlC 7: apparently problem with nested templates.Thiago Macieira2009-09-041-20/+20
| | | | 1540-0062 (S) The incomplete class "IsConvertibleToDouble<0, char>" must not be used as a qualifier.
* Fix compilation with Sun CC 5.9: std::pair does not call types' constructors.Thiago Macieira2009-09-041-4/+4
| | | | Error: Could not find a match for WTF::HashMap<std::pair<WTF::RefPtr<JSC::UString::Rep>, unsigned>, JSC::Structure*, JSC::StructureTransitionTableHash, JSC::StructureTransitionTableHashTraits, WTF::HashTraits<JSC::Structure*>>::remove(std::pair<JSC::UString::Rep*, unsigned>) needed in JSC::Structure::~Structure().
* Fix compilation with Sun CC 5.9: the default constructor for ↵Thiago Macieira2009-09-043-5/+23
| | | | | | HashTableIteratorAdapter isn't called. "../JavaScriptCore/wtf/RefPtrHashMap.h", line 208: Error: Cannot use std::pair<WTF::HashTableIterator<WTF::RefPtr<JSC::UString::Rep>, std::pair<WTF::RefPtr<JSC::UString::Rep>, StaticValueEntry*>, WTF::PairFirstExtractor<std::pair<WTF::RefPtr<JSC::UString::Rep>, StaticValueEntry*>>, WTF::StrHash<WTF::RefPtr<JSC::UString::Rep>>, WTF::PairHashTraits<WTF::HashTraits<WTF::RefPtr<JSC::UString::Rep>>, WTF::HashTraits<StaticValueEntry*>>, WTF::HashTraits<WTF::RefPtr<JSC::UString::Rep>>>, bool> to initialize std::pair<WTF::HashTableIteratorAdapter<WTF::HashTable<WTF::RefPtr<JSC::UString::Rep>, std::pair<WTF::RefPtr<JSC::UString::Rep>, StaticValueEntry*>, WTF::PairFirstExtractor<std::pair<WTF::RefPtr<JSC::UString::Rep>, StaticValueEntry*>>, WTF::StrHash<WTF::RefPtr<JSC::UString::Rep>>, WTF::PairHashTraits<WTF::HashTraits<WTF::RefPtr<JSC::UString::Rep>>, WTF::HashTraits<StaticValueEntry*>>, WTF::HashTraits<WTF::RefPtr<JSC::UString::Rep>>>, std::pair<WTF::RefPtr<JSC::UString::Rep>, StaticValueEntry*>>, bool>.
* Fix linking with Sun CC 5.9: function pointers for extern "C" are treated ↵Thiago Macieira2009-09-042-1/+5
| | | | | | | | | | | | | | | | | | | differently The Sun CC compiler treats C functions and C++ functions differently, as if they had a different calling sequence (they don't, but they could). So if you declare a function in C++ having a function pointer as a parameter, it's understood to be C++ even if it had previously been declared as extern "C". This could be a compiler error, though. In any case, the end result is that WebKit fails to link because of an undefined reference to NPN_PluginThreadAsyncCall. "plugins/npapi.cpp", line 177: Warning (Anachronism): Formal argument 2 of type void(*)(void*) in call to WebCore::PluginMainThreadScheduler::scheduleCall(_NPP*, void(*)(void*), void*) is being passed extern "C" void(*)(void*). There are more of these errors left in WebKit, but they are not causing problems right now.
* Fix compilation with Sun CC 5.9: ambiguity in ?:Thiago Macieira2009-09-0416-20/+20
| | | | | | | | | | Error: Ambiguous "?:" expression, second operand of type "WTF::PassRefPtr<WebCore::DocumentFragment>" and third operand of type "int" can be converted to one another. Error: Ambiguous "?:" expression, second operand of type "WTF::PassRefPtr<JSC::Label>" and third operand of type "int" can be converted to one another. [and others similar] Conflicts: src/3rdparty/webkit/WebCore/workers/WorkerContext.cpp
* Remove comma at end of enum. Some compilers are more picky than others.Thiago Macieira2009-09-0419-20/+21
| | | | | | Conflicts: src/3rdparty/webkit/WebCore/generated/CSSPropertyNames.h
* 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.