[prev in list] [next in list] [prev in thread] [next in thread]
List: xwt-patches
Subject: [patches] fixed bug 506
From: tupshin () xwt ! org (Tupshin Harper)
Date: 2004-03-28 4:55:12
Message-ID: 20040328045512.0CBED8DE3EE () bastard ! smallmerchant ! com
[Download RAW message or body]
Context:
[Makefile update to build the reference
adam@megacz.com**20040325122349]
[added two hacks to XML.java to support Doc.java
adam@megacz.com**20040325122328]
[strictly formatting fixes to the reference; no new content
adam@megacz.com**20040325122205]
[ground-up rewrite of org.ibex.util.Doc
adam@megacz.com**20040325122012]
[upstream apache.webmeta site went away...using more canonical source for bcel
tupshin@tupshin.com**20040322220745]
[latex support in org.ibex.util.Doc
adam@megacz.com**20040322110925]
[added reference in new xml format
adam@megacz.com**20040322065747]
[backed out broken part of 500 fix
tupshin@tupshin.com**20040322045921]
[fixed bug 500
adam@megacz.com**20040322023035]
[make imagenotfound report file path
tupshin@tupshin.com**20040322025904]
[added commit makefile target
adam@megacz.com**20040322023200]
[fixed darcs url for propose-patch
adam@megacz.com**20040322023058]
[replacing upstream umn sourgeforge site with unc...umn has been having problems lately
tupshin@tupshin.com**20040321013446]
[fixed heinous breakage, added backtrace support
adam@megacz.com**20040317103854]
[jikes-url-fix
buhrt@aftinc.net**20040310025947
corrects ibex.org to xwt.org in Makefile.upstream until ibex.org is ok.
]
[output image path when unable to load file
tupshin@tupshin.com**20040309230740]
[better error message whent can't coerce to string
tupshin@tupshin.com**20040302002859]
[two Hash font optimization
tupshin@tupshin.com**20040310011604
This patch makes a huge difference in startup performance.
Scenario: A simple app that contains 240 boxes each with text foo.
Measurement: time from launch until core stops using 100% CPU
normal Font.java: 61 seconds
this Font.java: 7 seconds
]
[fixed bugs 495 and 499
adam@megacz.com**20040316041449]
[TAG RC3
adam@megacz.com**20040316022807]
New patches:
[fixed bug 506
tupshin@tupshin.com**20040328020031] {
hunk ./src/org/ibex/js/Interpreter.java 220
- if (target instanceof Trap.TrapScope && key.equals("cascade")) {
- Trap.TrapScope ts = (Trap.TrapScope)target;
- t = ts.t.next;
- ts.cascadeHappened = true;
+ if (target instanceof JSScope && key.equals("cascade")) {
+ Trap.TrapScope ts = null;
+ JSScope p = (JSScope)target; // search the scope-path for the trap
+ if (target instanceof Trap.TrapScope) {
+ ts = (Trap.TrapScope)target;
+ }
+ else {
+ while (ts == null && p.getParentScope() != null) {
+ p = p.getParentScope();
+ if (p instanceof Trap.TrapScope) {
+ ts = (Trap.TrapScope)p;
+ }
+ }
+ }
+ t = ts.t.next;
+ ts.cascadeHappened = true;
}
_______________________________________________
patches mailing list
patches@lists.xwt.org
http://lists.xwt.org/listinfo/patches
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic