From 518b5c46ca8a0439c8f516750d2eb6bc0caa187d Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Wed, 18 Mar 2009 19:58:05 -0500 Subject: [PATCH] Fixing deploy tests --- basis/tools/deploy/deploy-tests.factor | 2 +- extra/webkit-demo/webkit-demo.factor | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/basis/tools/deploy/deploy-tests.factor b/basis/tools/deploy/deploy-tests.factor index 0a7549430d..3bebf7236d 100644 --- a/basis/tools/deploy/deploy-tests.factor +++ b/basis/tools/deploy/deploy-tests.factor @@ -26,7 +26,7 @@ os macosx? [ [ t ] [ "webkit-demo" shake-and-bake 500000 small-enough? ] unit-test ] when -[ t ] [ "benchmark.regex-dna" shake-and-bake 1200000 small-enough? ] unit-test +[ t ] [ "benchmark.regex-dna" shake-and-bake 900000 small-enough? ] unit-test { "tools.deploy.test.1" diff --git a/extra/webkit-demo/webkit-demo.factor b/extra/webkit-demo/webkit-demo.factor index 83f06ec137..728764226e 100644 --- a/extra/webkit-demo/webkit-demo.factor +++ b/extra/webkit-demo/webkit-demo.factor @@ -1,17 +1,18 @@ -! Copyright (C) 2008 Slava Pestov. +! Copyright (C) 2008, 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: kernel cocoa cocoa.application cocoa.types cocoa.classes -cocoa.windows ; +cocoa.windows +core-graphics.types ; IN: webkit-demo FRAMEWORK: /System/Library/Frameworks/WebKit.framework IMPORT: WebView -: rect ( -- rect ) 0 0 700 500 ; +: rect ( -- rect ) 0 0 700 500 ; : ( -- id ) WebView -> alloc