Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28F5AD499 for ; Fri, 26 Oct 2012 15:34:08 +0000 (UTC) Received: (qmail 10708 invoked by uid 500); 26 Oct 2012 15:34:07 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 10234 invoked by uid 500); 26 Oct 2012 15:34:07 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 10217 invoked by uid 99); 26 Oct 2012 15:34:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 15:34:06 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aharui@adobe.com designates 64.18.1.37 as permitted sender) Received: from [64.18.1.37] (HELO exprod6og116.obsmtp.com) (64.18.1.37) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 15:33:58 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob116.postini.com ([64.18.5.12]) with SMTP ID DSNKUIqtUd+X/k1/JNg2/6LZZUNJH6phIV8g@postini.com; Fri, 26 Oct 2012 08:33:38 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q9QFUq1v002697 for ; Fri, 26 Oct 2012 08:30:52 -0700 (PDT) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q9QFXbNd004881 for ; Fri, 26 Oct 2012 08:33:37 -0700 (PDT) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Fri, 26 Oct 2012 08:33:37 -0700 From: Alex Harui To: "flex-dev@incubator.apache.org" Date: Fri, 26 Oct 2012 08:33:47 -0700 Subject: Re: About Flex runtime Thread-Topic: About Flex runtime Thread-Index: Ac2zjWVqaOQ74ppcQw+wIONFXAwmwgAAeTFY Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.13.0.120411 acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org ImageDiff is old and hasn't been maintained. Let's try to get ImageDiffAIR to work. Try building it yourself from sources. On 10/26/12 8:19 AM, "Fr=E9d=E9ric THOMAS" wrote: > In imageDiff.mxml, there's > > public function compareBitmaps():void > { > > init(); > ... > } > > The init() function doesn't exist but there is a initLC() function > > -----Message d'origine----- > From: Fr=E9d=E9ric THOMAS > Sent: Friday, October 26, 2012 5:13 PM > To: flex-dev@incubator.apache.org > Subject: Re: About Flex runtime > > I tried to install the air app and had in french a message saying the fil= e > was damage. > > For ImageDiff, i'm still trying to get why I've got this error > > -----Message d'origine----- > From: Alex Harui > Sent: Friday, October 26, 2012 5:05 PM > To: flex-dev@incubator.apache.org > Subject: Re: About Flex runtime > > ImageDiff works as long as both sides have an image that is the same size= . > > For ImageDiffAIR, did you open the .air file and install it? You can't j= ust > run the ImageDiffAIR.swf since it is an AIR app. What error did you get? > > > On 10/26/12 5:51 AM, "Fr=E9d=E9ric THOMAS" wrot= e: > >> So, now I can compile mustella but the tests with FP 10.3 still fails, I >> tried to use ImageDiffAIR but the file is damaged, I tried to use >> ImageDiff >> too but it has some bugs, one when I ckicked on compare: >> >> TypeError: Error #1009: Il est impossible d'acc=E9der =E0 la propri=E9t= =E9 ou =E0 la >> m=E9thode d'une r=E9f=E9rence d'objet nul. >> at imageDiff/compareBitmaps() >> at imageDiff/___imageDiff_Button3_click() >> >> >> the other one when I click on the last get pixel with the same error. >> >> >> (body:step 2) compare returned[object BitmapData] >> [java] components/Label/styles/Label_styles_tester_Spark >> Spark_textDecoration_underline_Style_Label Failed CompareB >> itmap(body:step 2) compare returned[object BitmapData] >> [java] components/Label/styles/Label_styles_tester_Spark >> Spark_textIndent_0_Style_Label Failed CompareBitmap(body:s >> tep 2) compare returned[object BitmapData] >> [java] components/Label/styles/Label_styles_tester_Spark >> Spark_textIndent_20_Style_Label Failed CompareBitmap(body: >> step 2) compare returned[object BitmapData] >> [java] components/Label/styles/Label_styles_tester_Spark >> Spark_textIndent_negative_Style_Label Failed CompareBitmap >> (body:step 2) compare returned[object BitmapData] >> [java] >> [java] >> [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >> [java] Passes: 89 >> [java] Fails: 166 >> [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >> [java] >> [java] >> [java] Wrote summary to results.txt >> [java] Wrote failures to failures.txt >> >> BUILD FAILED >> U:\asf\flex\sdk\develop\mustella\build.xml:1507: The following error >> occurred while executing this line: >> U:\asf\flex\sdk\develop\mustella\build.xml:1625: Java returned: 1 >> >> Total time: 1 minute 27 seconds >> >> -----Message d'origine----- >> From: Fr=E9d=E9ric THOMAS >> Sent: Friday, October 26, 2012 1:55 PM >> To: flex-dev@incubator.apache.org >> Subject: Re: About Flex runtime >> >> In SwfLoaderTestAdapter, it should be "compm.compile(loader_mxml_file, n= ew >> ArrayList(Arrays.asList(args)));" instead of >> "compm.compile(loader_mxml_file, args);" because the compile method of >> CompileMxmlUtils is defined like that "public void compile(String >> mxml,ArrayList optionalArgs) throws Exception", the optionalArgs is >> defined >> as an ArrayList whereas args is defined as String [] >> >> -----Message d'origine----- >> From: Fr=E9d=E9ric THOMAS >> Sent: Friday, October 26, 2012 1:08 PM >> To: flex-dev@incubator.apache.org >> Subject: Re: About Flex runtime >> >> I tried twice from yesterday to checkout de develop branch, once on my >> computer at work, on at me, in both cases, after compiling the sdk, I >> tried >> to run the tests and had that: >> >> $ sh mini_run.sh tests/components/Label >> Skipping testcase check >> Doing a regular mini run >> Buildfile: U:\asf\flex\sdk\develop\mustella\build.xml >> [echo] JAVA_HOME: C:/Program Files >> (x86)/Java/jdk1.6.0_33 >> [echo] FLASHPLAYER_DEBUGGER: T:\opt\flashplayer-10.3.183.29 >> [echo] sdk.dir: U:\asf\flex\sdk\develop\mustella/.. >> [echo] air.sdk.dir: U:\adobe\air\3.1 >> [echo] mustella exclude file: >> U:/asf/flex/sdk/develop/mustella/tests/ExcludeListWin.txt >> >> cleanswfs: >> >> clean: >> [echo] Deleting old results and files from previous testsuite build >> >> handle_adt_jar: >> >> prepare: >> [echo] Preparing testsuite. >> >> prepare: >> [echo] Creating build directory... >> >> compile-mustella: >> [echo] Compiling mustella source code... >> [javac] U:\asf\flex\sdk\develop\mustella\java\src\build.xml:79: >> warning: >> 'includeantruntime' was not set, defaulting >> to build.sysclasspath=3Dlast; set to false for repeatable builds >> [javac] Compiling 13 source files to >> U:\asf\flex\sdk\develop\mustella\classes >> [javac] >> U:\asf\flex\sdk\develop\mustella\java\src\mustella\SwfLoaderTestAdapter.jav= a:>> 1 >> 01: >> cannot find symbol >> [javac] symbol : method compile(java.lang.String,java.lang.String[]= ) >> [javac] location: class utils.CompileMxmlUtils >> [javac] compm.compile(loader_mxml_file, args); >> [javac] ^ >> [javac] 1 error >> >> BUILD FAILED >> U:\asf\flex\sdk\develop\mustella\build.xml:896: The following error >> occurred >> while executing this line: >> U:\asf\flex\sdk\develop\mustella\java\src\build.xml:79: Compile failed; >> see >> the compiler error output for details. >> >> Total time: 3 seconds >> >> >> What's wrong ? >> >> >> >> -----Message d'origine----- >> From: Fr=E9d=E9ric THOMAS >> Sent: Friday, October 26, 2012 2:57 AM >> To: flex-dev@incubator.apache.org >> Subject: Re: About Flex runtime >> >> unfortunatly, the only things I had time to do today was checking out th= e >> develop and trunk branch once more and even if I was able to build them >> easily, as soon as I tried to run the Mustella tests, I had java errors, >> I'll try once again tomorrow but today, even if it was supposed to be >> simple, everythings worked in the wrong way. >> >> -----Message d'origine----- >> From: Fr=E9d=E9ric THOMAS >> Sent: Wednesday, October 24, 2012 7:09 PM >> To: flex-dev@incubator.apache.org >> Subject: RE: About Flex runtime >> >> Ok, I'll do that tomorrow now cuz' it's later here now, need to go back >> home, I'll keep in touch. >> >> Fred >> >> -----Original Message----- >> From: Alex Harui [mailto:aharui@adobe.com] >> Sent: Wednesday, October 24, 2012 6:59 PM >> To: flex-dev@incubator.apache.org >> Subject: Re: About Flex runtime >> >> Sync up with SVN and try again. Carol put in a check to make sure you ar= e >> using embedded fonts. >> >> It would be unfortunate if there are significant rendering differences o= n >> 10.3. Use the ImageDiffAIR tool in the mustella/as3 directory and see i= f >> the differences are just in edges of the glyphs. >> >> >> On 10/24/12 9:31 AM, "Fr=E9d=E9ric THOMAS" wro= te: >> >>> I rebuilt the framework except I changed the playerglobal and the >>> flashplayer debug version to 11.1 instead of 10.3 : >>> >>> [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >>> [java] Failed: >>> [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >>> [java] components/Label/styles/Label_styles_tester_Spark >>> Spark_fontSize_100_Style_Label Failed CompareBitmap(body:step 2) >>> compare retu rned[object BitmapData] >>> [java] >>> [java] >>> [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >>> [java] Passes: 256 >>> [java] Fails: 1 >>> [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >>> [java] >>> [java] >>> [java] Wrote summary to results.txt >>> [java] Wrote failures to failures.txt >>> >>> >>> In flashlog: >>> >>> TestCase Start: >>> components/Label/styles/Label_styles_tester_Spark$Spark_textIndent_neg >>> ative_ >>> Style_Label >>> sending: >>> http://localhost:9999/testCaseStart?components/Label/styles/Label_styl >>> es_tes ter_Spark$Spark_textIndent_negative_Style_Label at: Wed Oct 24 >>> 18:24:22 >>> GMT+0200 2012 >>> [Event type=3D"open" bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >>> [HTTPStatusEvent type=3D"httpStatus" bubbles=3Dfalse cancelable=3Dfalse >>> eventPhase=3D2 status=3D200 responseURL=3Dnull] [Event type=3D"complete= " >>> bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >>> CompareBitmap: No ConditionalValues found. configID is null >>> readPNG:requesting url: >>> file:///U|/sources/asf/flex/sdk/mustella/tests/components/Label/styles >>> /basel ines/textIndent_negative_Style_Label_Spark.png >>> RESULT: scriptName=3Dcomponents/Label/styles/Label_styles_tester_Spark >>> id=3DSpark_textIndent_negative_Style_Label result=3Dpass elapsed=3D216 >>> phase=3Dbody >>> started=3D1351095862392 extraInfo=3D msg=3D >>> sending: >>> http://localhost:9999/testCaseResult?scriptName=3Dcomponents/Label/styl= e >>> s/Labe >>> l_styles_tester_Spark&id=3DSpark_textIndent_negative_Style_Label&result= =3D >>> pass&e lapsed=3D216&phase=3Dbody&started=3D1351095862392&extraInfo=3D&m= sg=3D at: >>> Wed Oct 24 >>> 18:24:22 GMT+0200 2012 >>> [Event type=3D"open" bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >>> [HTTPStatusEvent type=3D"httpStatus" bubbles=3Dfalse cancelable=3Dfalse >>> eventPhase=3D2 status=3D200 responseURL=3Dnull] [Event type=3D"complete= " >>> bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] testComplete >>> ScriptComplete: completely done >>> sending: http://localhost:9999/ScriptComplete?0 at: Wed Oct 24 >>> 18:24:22 >>> GMT+0200 2012 >>> >>> >>> >>> Doesn't it mean the playerglobal and the flashplayer debug version is >>> the clue ? >>> >>> Fred >>> >>> >>> >>> -----Original Message----- >>> From: Fr=E9d=E9ric THOMAS [mailto:webdoublefx@hotmail.com] >>> Sent: Wednesday, October 24, 2012 6:14 PM >>> To: flex-dev@incubator.apache.org >>> Subject: RE: About Flex runtime >>> >>> I've still got the console logs but it doesn't tell too much, for the >>> last error : >>> >>> [java] components/Label/styles/Label_styles_tester_Spark >>> Spark_textIndent_negative_Style_Label Failed CompareBitmap(body:step >>> 2) compa re returned[object BitmapData] >>> >>> In flashlogs, I guess the relative trace is: >>> >>> TestCase Start: >>> components/Label/styles/Label_styles_tester_Spark$Spark_textIndent_neg >>> ative_ >>> Style_Label >>> sending: >>> http://localhost:9999/testCaseStart?components/Label/styles/Label_styl >>> es_tes ter_Spark$Spark_textIndent_negative_Style_Label at: Wed Oct 24 >>> 17:11:33 >>> GMT+0200 2012 >>> [Event type=3D"open" bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >>> [HTTPStatusEvent type=3D"httpStatus" bubbles=3Dfalse cancelable=3Dfalse >>> eventPhase=3D2 status=3D200 responseURL=3Dnull] [Event type=3D"complete= " >>> bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >>> CompareBitmap: No ConditionalValues found. configID is null >>> readPNG:requesting url: >>> file:///U|/sources/asf/flex/sdk/mustella/tests/components/Label/styles >>> /basel ines/textIndent_negative_Style_Label_Spark.png >>> image size: 738 >>> writing url: >>> http://localhost:9998/baselines/baseline.jsp?filename=3Du:/sources/asf/= f >>> lex/sd >>> k/mustella/tests/components/Label/SWFs/../styles/baselines/textIndent_ >>> negati >>> ve_Style_Label_Spark.png.bad.png >>> baseline write successful [Event type=3D"complete" bubbles=3Dfalse >>> cancelable=3Dfalse eventPhase=3D2] >>> RESULT: scriptName=3Dcomponents/Label/styles/Label_styles_tester_Spark >>> id=3DSpark_textIndent_negative_Style_Label result=3Dfail elapsed=3D217 >>> phase=3Dbody >>> started=3D1351091493579 >>> extraInfo=3D/components/Label/styles/baselines/textIndent_negative_Styl= e >>> _Label _Spark.png.bad.png msg=3DCompareBitmap(body:step 2) compare >>> returned[object BitmapData] >>> sending: >>> http://localhost:9999/testCaseResult?scriptName=3Dcomponents/Label/styl= e >>> s/Labe >>> l_styles_tester_Spark&id=3DSpark_textIndent_negative_Style_Label&result= =3D >>> fail&e >>> lapsed=3D217&phase=3Dbody&started=3D1351091493579&extraInfo=3D/componen= ts/Labe >>> l/styl >>> es/baselines/textIndent_negative_Style_Label_Spark.png.bad.png&msg=3DCo= m >>> pareBi >>> tmap%28body%3Astep%202%29%20%20compare%20returned%5Bobject%20BitmapDat >>> a%5D >>> at: Wed Oct 24 17:11:33 GMT+0200 2012 >>> [Event type=3D"open" bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >>> [HTTPStatusEvent type=3D"httpStatus" bubbles=3Dfalse cancelable=3Dfalse >>> eventPhase=3D2 status=3D200 responseURL=3Dnull] [Event type=3D"complete= " >>> bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] testComplete >>> >>> That's it and that's the same kind for the others. >>> >>> For the embedded font, I'm not sure about what you are talking, if it >>> is the flex-fontkit.jar, I've got it. >>> >>> Fred >>> >>> -----Original Message----- >>> From: Alex Harui [mailto:aharui@adobe.com] >>> Sent: Wednesday, October 24, 2012 5:53 PM >>> To: flex-dev@incubator.apache.org >>> Subject: Re: About Flex runtime >>> >>> >>> >>> >>> On 10/24/12 8:20 AM, "Fr=E9d=E9ric THOMAS" wr= ote: >>> >>>> I tried to run "mini_run.sh -all" on Apache "Flex 4.8.0 FP10.3 en_US" >>>> but had some troubles then I tried with "mini_run.sh >>> tests/components/Label" >>>> only : >>>> >>>> [java] >>>> [java] >>>> [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >>>> [java] Passes: 89 >>>> [java] Fails: 168 >>>> [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >>>> [java] >>>> [java] >>>> [java] Wrote summary to results.txt >>>> [java] Wrote failures to failures.txt >>>> >>> All tests are passing for Peter, Carol and I. Next time send the >>> failures information from the console log just before this summary. >>> It tells more about what failed. >>> >>> My guess is that you haven't installed the embedded font libraries. >>> All mustella tests should use embedded fonts in order to render more >>> consistently across OS's. >>> >>> -- >>> Alex Harui >>> Flex SDK Team >>> Adobe Systems, Inc. >>> http://blogs.adobe.com/aharui >>> >>> >>> >> >> -- >> Alex Harui >> Flex SDK Team >> Adobe Systems, Inc. >> http://blogs.adobe.com/aharui >> >> > > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui > -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui