|
From: Thompson, D. <dan...@se...> - 2004-11-17 15:37:30
|
> Please let me know if I forgot something, or if you were > really hoping for another fix in this or the next release! I'm afraid all the bugs that I reported before are still present: 1. Once I invoke create class: a. F2 to toggle output no longer works (in fact, no Function keys = work). b. Drawing rectangles/circles doesn't refresh the screen, resizing the = window brings the shape back. c. The test classes aren't created (only the implementation class). 2. On quitting the Flash IDE, I must kill the process in Task Manager. 3. By invoking "Create class" twice with the same settings, I can get = the ExampleTest.as class created. |
|
From: Thompson, D. <dan...@se...> - 2004-11-17 20:49:10
|
Thanks for the reply Ali... I've put answers inline: -----Original Message----- We're over here trying to reproduce the bugs you reported and having = trouble doing so. Can you tell me exactly how your IDE is set up?=20 > For example, which panels do you keep open. I have two monitors. My ActionScript panel generally is open on the = secondary monitor. Other than that, I think it's just the default... Lemme see: Project, Output, = AsUnit UI (which now won't stay open-- new bug in 2.2), Color Mixer minimized), Components, Component = Inspector, Behaviors (minimized), Help minimized) and Properties. > Do you have both FLA and AS files open in your IDE when experiencing = bugs? Yes. > How many of them?=20 Just the FLA and the resultant classes generated from the command. > What kind of system are you on - Win or Mac? Windows > What's your processor speed and how much ram do you have? Dual 2.4 GHz with 1.5 Gigs of RAM > Do you have the latest version of Flash (7.2)? Yes > Are you running Flash Pro or just MX 2004. Pro > Another thought - how many other files are the directory where your = FLA exists? =20 I've created a folder on my desktop with contains an FLP and the FLA and = classes created by As Unit. There is also an XML file and another AS file included into the main = FLA. Again, I'd like to say that As Unit shows so much promise. I'd really = like this to work because I can see this becoming an integral part of my workflow. Again, thanks for = your time. Daniel >=20 > I'm afraid all the bugs that I reported before are still present: >=20 > 1. Once I invoke create class: > a. F2 to toggle output no longer works (in fact, no Function = keys work). > b. Drawing rectangles/circles doesn't refresh the screen,=20 > resizing the window brings the shape back. > c. The test classes aren't created (only the implementation = class). > 2. On quitting the Flash IDE, I must kill the process in Task Manager. > 3. By invoking "Create class" twice with the same settings, I can get=20 > the ExampleTest.as class created. > |
|
From: Ali M. <ali...@gm...> - 2004-11-18 02:39:23
|
Ok Daniel, I was able to reproduce your reported bugs. Apparently Flash has an issue with the OS telling it to open an AS file within the IDE when a panel is undocked. To lock up Flash and reproduce the below bugs: = = = = = = = = = = = = START BUG REPORT = = = = = = = = = = = = > > > I'm afraid all the bugs that I reported before are still present: > > > > 1. Once I invoke create class: > > a. F2 to toggle output no longer works (in fact, no Function keys work). > > b. Drawing rectangles/circles doesn't refresh the screen, > > resizing the window brings the shape back. > > c. The test classes aren't created (only the implementation class). > > 2. On quitting the Flash IDE, I must kill the process in Task Manager. > > 3. By invoking "Create class" twice with the same settings, I can get > > the ExampleTest.as class created. > = = = = = = = = = = = = = END BUG REPORT = = = = = = = = = = = = = 1. Associate the Flash IDE with the AS extension (this is by default) 2. Undock a panel, any panel, from the IDE 3. Open an FLA in the IDE and run the Create Classes command keeping "Automatically open new files" checked 4. Files are written to your machine, Flash opens the AS files, and Flash then locks up Well, thats no good. Crashing Flash makes unit testing really hard. The cause of the crashing behavior has to do with the way our custom written DLL interacts with the IDE when a panel is undocked. We're working on figuring out exactly where the problem lies but in the meantime have released an AsUnit version with a workaround. Version 2.3, which is available now, has a new checkbox in the Create Class command that lets you specify that "Your text editor is Flash". Keep this box checked if you use the Flash IDE as your AS editor instead of something better like Primalscript(http://www.sapien.com/primalscript.aspx) *smirk*. As long as the checked status of this box accurately reflects your AS editor, the bugs should be fixed. We'll continue to investigate how to make this fix cleaner. Thanks for all your input and patience Daniel! Please let us know if the bugs have been fixed for you with this latest release. Enjoi! Ali |
|
From: Thompson, D. <dan...@se...> - 2004-11-18 19:30:45
|
You ROCK! Thanks so much for all your effort on this. I've been looking around for = a better IDE (I have SciTE, but it lacks some functionality. PrimalScript looks great, save two = things: Code Folding and their UI is somewhat to be desired). I've told them as much. You guys should = write an IDE. SEPY infects my hard drive. SciTE isn't full featured. PrimalScript lacks polish. Thus, = inertia takes over. Give me something like IntelliJ IDEA for ActionScript. In gratitude, Daniel -----Original Message----- From: Ali Mills [mailto:ali...@gm...]=20 Sent: Wednesday, November 17, 2004 20:39 To: Thompson, Daniel Cc: asu...@li... Subject: Re: [Asunit-users] AsUnit 2.2 RELEASED! Ok Daniel, I was able to reproduce your reported bugs. Apparently Flash has an = issue with the OS telling it to open an AS file within the IDE when a panel is undocked. To lock up = Flash and reproduce the below bugs: =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D START BUG REPORT =3D =3D = =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D=20 >=20 > > I'm afraid all the bugs that I reported before are still present: > > > > 1. Once I invoke create class: > > a. F2 to toggle output no longer works (in fact, no Function = keys work). > > b. Drawing rectangles/circles doesn't refresh the screen,=20 > > resizing the window brings the shape back. > > c. The test classes aren't created (only the implementation = class). > > 2. On quitting the Flash IDE, I must kill the process in Task = Manager. > > 3. By invoking "Create class" twice with the same settings, I can=20 > > get the ExampleTest.as class created. >=20 =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D END BUG REPORT =3D = =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D 1. Associate the Flash IDE with the AS extension (this is by default) 2. = Undock a panel, any panel, from the IDE 3. Open an FLA in the IDE and run the Create Classes = command keeping "Automatically open new files" checked 4. Files are written to your machine, Flash opens the = AS files, and Flash then locks up Well, thats no good. Crashing Flash makes unit testing really hard. The cause of the crashing behavior has to do with the way our custom = written DLL interacts with the IDE when a panel is undocked. We're working on figuring out exactly = where the problem lies but in the meantime have released an AsUnit version with a workaround. Version 2.3, which is available now, has a new checkbox in the Create = Class command that lets you specify that "Your text editor is Flash".=20 Keep this box checked if you use the Flash IDE as your AS editor instead = of something better like Primalscript(http://www.sapien.com/primalscript.aspx) *smirk*. As long = as the checked status of this box accurately reflects your AS editor, the bugs should be fixed. We'll continue to investigate how to make this fix cleaner. Thanks for all your input and patience Daniel! Please let us know if the bugs have been fixed for you with this latest = release. Enjoi! Ali |
|
From: Ali M. <ali...@gm...> - 2004-11-18 20:35:39
|
Nice - glad that it worked out for you. And I agree, it would be really nice to have a solid IDE... Maybe someday. I hear that some folks have started an AS plugin for Eclipse project over at SourceForge. Perhaps it'll result in an acceptable solution. Have fun! Ali www.asunit.com |
|
From: Luke B. <lb...@gm...> - 2004-11-17 19:22:25
|
Hey Daniel, I was just talking with another developer that says he can spend some time on this tonight. The real problem is that neither Ali nor I can reproduce these issues, so we can't tell if they get fixed. If you have (or someone else that sees these bugs has) some familiarity with JSFL, we would be endlessly grateful for some assistance with these issues. Here is our first major thought on this... Is your .FLA file sitting in a new and actually EMPTY directory? If you created it on the Desktop or some other populated area, the Create Class command will continuously spin over your entire hard-disk looking for .as files and trying to create TestSuites. This is the most likely cause of the problem since we don't do anything to Drawing Tools or Key Commands. Perhaps it's just hanging Flash because of this? If that's not the case, here are some other ideas that we had: I'm hearing two different bugs that may or may not be caused by one thing: Bug 1) Drawing Tools are no longer responsive after calling "create class" Bug 2) F-Keys are no longer responsive after calling "Create Class" Basically, I think that these bugs are coming from one or more of the following places: 1) The way that I am instantiating the JSFL scripts. Maybe the instantiated JavaScript Object isn't being garbage collected or released from memory? - Try changing line 309 of Create Class.jsfl from: var createClass = new CreateClass(); to: crClss = new CreateClass(); delete crClass; 2) Maybe the calls to external JSFL files are causing a problem. - Check for fl.runScript calls and see if the behavior persists when you get rid of them. 3) Maybe the interactions with the Library are causing the Problem. - Try commenting all of that functionality and deselect the library checkbox. 4) Maybe "addDataToDocument" commands aren't releasing control of the FLA. - Comment these out at lines 105 thru 109 5) Maybe the AsUnit UI is capturing Key control from the IDE. - Try closing the UI Panel when you call Create Class. - Does this fix any or all problems? Please let me know! Thanks, Luke Bayes www.asunit.com |
|
From: Ali M. <ali...@gm...> - 2004-11-17 19:33:28
|
Hey Daniel, It sounds like Flash is hanging on you for some reason. Let's figure out why. We're over here trying to reproduce the bugs you reported and having trouble doing so. Can you tell me exactly how your IDE is set up? For example, which panels do you keep open. Do you have both FLA and AS files open in your IDE when experiencing bugs? How many of them? What kind of system are you on - Win or Mac? What's your processor speed and how much ram do you have? Do you have the latest version of Flash (7.2)? Are you running Flash Pro or just MX 2004. The more information you could give us the better. We'd really like get these bugs worked out. Another thought - how many other files are the directory where your FLA exists? If the FLA exists in a directory with *many* other files this could be a problem. Our framework expects some package-like organization in your filesystem. Thanks a lot for your help! Ali > > I'm afraid all the bugs that I reported before are still present: > > 1. Once I invoke create class: > a. F2 to toggle output no longer works (in fact, no Function keys work). > b. Drawing rectangles/circles doesn't refresh the screen, resizing the window brings the shape > back. > c. The test classes aren't created (only the implementation class). > 2. On quitting the Flash IDE, I must kill the process in Task Manager. > 3. By invoking "Create class" twice with the same settings, I can get the ExampleTest.as class > created. > |