summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
Commit message (Collapse)AuthorAgeFilesLines
* 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-1211-44/+198
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Phonon: On windows, cross fading was brokenThierry Bastian2009-08-121-1/+2
| |
| * Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | | | | | Reviewed-by: Trust Me
| * Phonon: avoids assert when switching sourceThierry Bastian2009-08-111-0/+2
| | | | | | | | | | The problem was that when switching source, the previous one was still running. So we now explicitly stop it.
| * Phonon::VideoWidget still flickeringThierry Bastian2009-08-111-0/+2
| | | | | | | | | | | | | | small patch to make sure even the native events of the pending ones won't trigger anything in the paintevent Task-number: 251776
| * Fix Whitespace errorsPrasanth Ullattil2009-08-112-29/+29
| | | | | | | | Reviewed-by: Trust Me
| * Fix compile error on 64BitPrasanth Ullattil2009-08-112-0/+34
| | | | | | | | | | | | Added new overload with int64 parameter. Reviewed-by: Simon Hausmann
| * Add support for hooking BeginPaint/EndPaint on 64Bit WindowsPrasanth Ullattil2009-08-113-2/+111
| | | | | | | | | | | | | | | | | | | | Webkit uses the runtime patching trick explained by "Feng Yuan" for hooking these paint functions. It currently supports only 32bit assembly code. This patch adds support for 64Bit version. Since inline-assemblies are not supported for 64Bit, we have use a seperate .asm file. Reviewed-by: Simon Hausmann Reviewed-by: Thiago Macieira
| * Phonon: Video widget on Windows flickers when going to next videoThierry Bastian2009-08-111-1/+14
| | | | | | | | | | | | | | Now we just disable the updates during a short amount of time. This should give enough time to the video to start. Task-number: 251776
| * Phonon: improve locking to make it safer to load a sourceThierry Bastian2009-08-112-13/+22
| | | | | | | | Task-number: 259482
| * QtWebKit compile fix for Windows CEJoerg Bornemann2009-08-101-1/+1
| | | | | | | | | | | | There's no getenv on Windows CE. Reviewed-By: Simon Hausmann
| * Fixed an assert that could happen when the mediaSource is deletedThierry Bastian2009-08-103-40/+24
| | | | | | | | | | | | | | | | | | | | | | | | When using streaming, it could happen that the last reference to the MediaSource is in another thread. So the objects are destroyed from another thread. In which case we would delete QObject (ioDevice) in another thread. That is fixed by calling deleteLater which will ensure that they are deleted in their own thread. Note: there was a nother assert that could happen due to a race condition in the worker thread. That is also fixed with this patch. Reviewed-by: jbache
* | 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)
* | Debugger modification. Debugger receive column number from op_debugJedrzej Nowacki2009-08-106-12/+17
| | | | | | | | | | | | | | opcode and pass it for DidReachBreakpoint and WillExecuteStatement events as an argument. Compilation fix for JIT.
* | don't add the jscprint function when building QtScriptKent Hansen2009-08-101-0/+2
| | | | | | | | QtScript defines its own print function.
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-101-1/+1
|\ \ | |/ | | | | | | | | | | | | | | qtscript-jsc-backend Conflicts: src/script/api/qscriptable.cpp src/script/api/qscriptable_p.h src/script/qscriptclassdata.cpp
| * In a .pro file the include() function does not warn if specified fileKeith Isdale2009-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can not be found change that behavior to warn by default. Currently the default behavior of include() in a .pro file is not to warn if the supplied file argument can not be found which can lead to hard to find build errors. The include() will now,by default, warn if the specified file can not be found. If a warning is not required because the included file is optional then example use in the .pro file: include(SomePriFile.pri", "", true) Task-number:259398 Reviewed-by:Marius Storm-Olsen
* | update JS bindings to be in sync with commit ↵Kent Hansen2009-08-1017-24/+24
| | | | | | | | | | | | 394f62d779e6e120ce2fc19bd61ec64bd29a87a9 The virtual deleteProperty() method has a new argument (bool checkDontDelete).
* | make JSC::Register members private againKent Hansen2009-08-061-1/+1
| | | | | | | | | | This was a hack that was added for QtScript, but it's not needed anymore.
* | give Error constructors DontEnum attributeKent Hansen2009-08-061-6/+6
| | | | | | | | As per ECMA-262, chapter 15.
* | Should be part of last commit 3350281b3b4640b24b09f2897b033678670ed37aJedrzej Nowacki2009-08-061-0/+1
| | | | | | | | Member initialization
* | Force parser to send information about current column number.Jedrzej Nowacki2009-08-0611-41/+49
| | | | | | | | | | | | | | | | | | | | Add new member in all statements nodes which suppose to be a column number from parser. All calls to setLoc were changed, they should pass 2xline number (first and last line) and column number of current "cursor"(token?) position. Develop op_debug opcode to contain column number. Review by: Kent Hansen
* | Updates getPropertyNames() on all javascript object to use the flagBenjamin Poulain2009-08-0573-110/+109
| | | | | | | | | | | | | | | | getPropertyNames() now uses a flag to specify which property should be filtered. This flag should be used by all javascript objects. This patch fixes the changes introduced by e520df1f8678bd59adb341fb586f008a7de17fe8
* | RegExp.prototype.toString() when pattern is emptyKent Hansen2009-08-051-0/+4
| | | | | | | | | | Like ECMA-262 says, // starts a single-line comment; /(?:)/ represents an empty regular expression.
* | compileKent Hansen2009-08-051-1/+1
| |
* | construct a QScriptObject instead of a JSObjectKent Hansen2009-08-051-1/+4
| | | | | | | | | | | | | | | | We need it to be a QScriptObject so that it's possible to call e.g. setScriptClass() on the result. Also, return the default-constructed object if the result of calling the constructor function is not an object.
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-0510-27/+39
|\ \ | |/ | | | | | | | | | | qtscript-jsc-backend Conflicts: src/script/qscriptextqobject.cpp
| * Fixed warnings on phonon/ds9 with mingw (gcc 4)Thierry Bastian2009-08-039-23/+28
| | | | | | | | Reviewed-by: Trustme
| * Doc: there is no group of explicitly shared classes, only one class uses this.Volker Hilsheimer2009-07-301-4/+11
| | | | | | | | | | Explain the implications in the QWebHistoryItem documentation, and get rid of the "group".
* | New UString method. Conversion from UString to QString.Jedrzej Nowacki2009-08-051-0/+12
| | | | | | | | Review by: Kent Hansen
* | add ifdefs for qtscript-specific changesKent Hansen2009-08-053-1/+19
| |
* | Make it possible to delete properties even though they have the DontDelete ↵Kent Hansen2009-08-0421-52/+52
| | | | | | | | | | | | | | attribute This makes it possible to delete properties in C++, even though they can't be deleted in JS.
* | Make TimeoutChecker::didTimeOut() virtual.Tor Arne Vestbø2009-08-031-1/+1
| |
* | Allow setting the checking interval for TimeoutCheckerTor Arne Vestbø2009-08-032-3/+6
| |
* | Make JSC::TimeoutChecker subclassable and replacable in the global dataTor Arne Vestbø2009-08-0322-49/+56
| |
* | Complete the implementation of QScriptValueIterator with JSCoreBenjamin Poulain2009-08-034-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | This new implementation of QScriptValueIterator passes all the tests. QScriptValueIterator uses an linked list instead of JSC::PropertyNameArray so the list can be modified by ::remove() and to be able to add internal properties for the strings and arrays. Structure::getPropertyNames() has been modified to not show the property from the prototype. Reviewed-by: Kent Hansen
* | Fix up generated files to match the previous commitTor Arne Vestbø2009-07-3140-58/+58
| | | | | | | | | | The changes to WebCore/bindings/scripts/CodeGeneratorJS.pm will take care of this once we upstream the change.
* | QScriptValueIterator: fix missing non-enumerable valuesTor Arne Vestbø2009-07-3132-56/+59
| | | | | | | | | | | | | | | | | | | | Added an extra argument to JSObject::getPropertyNames() that specifies if the non-enumerable properties (those with the DontEnum attribute set) should be included or not. Tried looking at using a unsigned as an attribute-inclusion or exclusion filter, but the semantics of either the calling or the callee code would be very strange so I opted out.
* | use "fileName" instead of "sourceURL" as error property nameKent Hansen2009-07-303-3/+5
| | | | | | | | | | JSC uses "sourceURL", but for compatibility with the old back-end we need it to be called "fileName".
* | document that qtscript neeeds some private JSC APIKent Hansen2009-07-301-1/+5
| |
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-07-3016-13/+245
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qtscript-jsc-backend Conflicts: src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebKit/qt/Api/qwebview.cpp src/script/qscriptbuffer_p.h src/script/qscriptclassinfo_p.h src/script/qscriptecmadate.cpp src/script/qscriptgc_p.h src/script/qscriptmemberfwd_p.h src/script/qscriptsyntaxcheckresult_p.h src/script/qscriptvalueimplfwd_p.h tests/auto/qscriptengine/tst_qscriptengine.cpp util/webkit/mkdist-webkit