run-jsc-stress-tests should be smart enough to call JSRegress "regress/script-tests" rather than "script-tests"
https://bugs.webkit.org/show_bug.cgi?id=120994

Reviewed by Geoffrey Garen.
        
run-jsc-stress-tests accepts a list of directories containing tests.  It needs to
come up with names for all of them.  Currently it uses the basename of the test
directory.  But that means that JSRegress gets called "script-tests", which is
unfortunate since any directory in LayoutTests containing .js files will be
called "script-tests".  So, this changes run-jsc-stress-tests to use more than
just the basename if the basename has the word "tests" in it.  This causes
JSRegress to be called "regress/script-tests".

* Scripts/run-jsc-stress-tests:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r155069 and r155138.
http://trac.webkit.org/changeset/155069
http://trac.webkit.org/changeset/155138
https://bugs.webkit.org/show_bug.cgi?id=121008

Seems to have broken many tests (bug 120963) (Requested by ap
on #webkit).

Source/WebCore:

* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/cg/PDFDocumentImage.cpp:
(WebCore::PDFDocumentImage::PDFDocumentImage):
(WebCore::PDFDocumentImage::~PDFDocumentImage):
(WebCore::PDFDocumentImage::size):
(WebCore::PDFDocumentImage::dataChanged):
(WebCore::PDFDocumentImage::adjustCTM):
(WebCore::PDFDocumentImage::setCurrentPage):
(WebCore::PDFDocumentImage::pageCount):
(WebCore::PDFDocumentImage::draw):
* platform/graphics/cg/PDFDocumentImage.h:
(WebCore::PDFDocumentImage::create):
(WebCore::PDFDocumentImage::hasSingleSecurityOrigin):
(WebCore::PDFDocumentImage::destroyDecodedData):
(WebCore::PDFDocumentImage::decodedSize):
* platform/graphics/mac/PDFDocumentImageMac.mm: Removed.
* platform/mac/SoftLinking.h:

LayoutTests:

* fast/images/pdf-as-image-with-annotations-expected.html: Removed.
* fast/images/pdf-as-image-with-annotations.html: Removed.
* fast/images/resources/annotation.pdf: Removed.
* platform/mac/fast/images/pdf-as-image-landscape-expected.png:
* platform/mac/fast/images/pdf-as-image-landscape-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
run-jsc-stress-tests should run tests in parallel if possible
https://bugs.webkit.org/show_bug.cgi?id=120996

Reviewed by Oliver Hunt.
        
Run tests in parallel by using Makefile hacks. This lets make take care of all load
balancing. It's a really awesome speed-up for these tests.
        
This reduces the FTL debug build stress test run time from 8m18s to 2m11s. The 
no-FTL debug build stress test time goes from 1m11s to 16s. This patch is pretty
much awesome.

* Scripts/run-jsc-stress-tests:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move WTF::notFound to Vector.h and delete NotFound.h
https://bugs.webkit.org/show_bug.cgi?id=120990

Reviewed by Sam Weinig.

Source/WebCore:

* html/HTMLImageElement.cpp:
* loader/archive/mhtml/MHTMLParser.cpp:
* platform/graphics/cairo/GraphicsContext3DCairo.cpp:
* platform/graphics/win/GraphicsContext3DWin.cpp:
* platform/network/soup/SocketStreamHandleSoup.cpp:

Source/WebKit/blackberry:

* Api/BackingStore.cpp:

Source/WebKit2:

* Shared/EditorState.h:

Source/WTF:

* GNUmakefile.list.am:
* WTF.pro:
* WTF.vcxproj/WTF.vcxproj:
* WTF.vcxproj/WTF.vcxproj.filters:
* WTF.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/NotFound.h: Removed.
* wtf/Vector.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155308 268f45cc-cd09-0410-ab3c-d52691b4dbfc