| Summary: | Better handle rapidly received *Changed events | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | curtis.windatt.public, libingw, steve_northover |
| Version: | 13.0 | Flags: | curtis.windatt.public:
review+
steve_northover: review+ libingw: review+ |
| Target Milestone: | 14.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Michael Rennie
Pushed fix to: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=33ceb784df6bc0bb07c69202f7482085cec942e6 Curtis, Steve, et. al. please verify. I've downloaded the latest build that has Michael's fix. The demo page now works like a charm, without changing any demo page code. I approve of making the fix but did not review the code. I pushed in a follow-up fix, that addresses two more sync'ing issues: 1. if you make many edits to important files and rapidly change to a JS file, the linting managed to happen before the env was ready 2. using the Show Problems command, we were not correctly honouring the env settings as the context switched. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=0507c6e39776353eada849eb6e0ce66b0d4d4df6 I tried a number of scenarios involving editing/deleting files and navigating, I did not have any issues with the linting not knowing the environment. so +1 from me. Tomorrow I'll see if I can break it by inserting waits, but looking at the Deferred logic it should always wait. Closing fixed. |