Commit Graph

18410 Commits

Author SHA1 Message Date
Joe Drew
e4a9682ed2 Bug 449543 - nsExpirationTracker's Iterator doesn't work properly, r=roc a=bsmedberg 2008-08-19 10:27:28 -04:00
Zack Weinberg
1567a739fa Bug 389406 – initial value for 'quotes' property is stored incorrectly and not reachable by -moz-initial; r+sr=dbaron 2008-08-19 10:18:58 -04:00
Jeremy Lea
9957840a6a Bug 379616 - Switch SVG's frame mRect to app units, r+sr=tor 2008-08-19 10:14:01 -04:00
Michal Novotny
2395826de0 Bug 367736 - make nsEscape more efficient and clean up some signed/unsigned issues to prevent theoretical overflow, r=bsmedberg+dveditz 2008-08-19 09:57:12 -04:00
Olli Pettay
e19975c084 Bug 372964, Make XMLHttpRequest to work more like a normal event target, additional patch, r+sr=jst 2008-08-19 16:02:02 +03:00
Neil Rashbrook
ffaf57edf3 Bug 450977 Remove deprecated nsIDOMChromeWindow.title r+sr=jst 2008-08-19 13:52:40 +01:00
Dão Gottwald
5e5814d2b9 backout bug 444898 to fix orange 2008-08-19 13:58:40 +02:00
Joe Drew
273aff6bab Bug 447693 - "Remove photon gfx port" (remove the photon GFX port) [r=vlad] 2008-08-19 03:17:03 -05:00
Glenn Randers-Pehrson
743e5b22f5 Bug 428045 – Incorrect transparency in .png image. sr=tor, r=pavlov 2008-08-19 10:12:31 +02:00
Glenn Randers-Pehrson
4c06ce90fa Bug 444898 – JPEG writer uses poor quality default options for compression. r=tor, sr=pavlov 2008-08-19 10:07:09 +02:00
Chris Double
7708e3dc71 Bug 450365 - "media/liboggplay needs COPYING file containing appropriate license" (Add COPYING) [r=reed] 2008-08-19 02:39:03 -05:00
Dão Gottwald
b57001511e Bug 445473 – Ctrl+Tab panel layout update. ui-r=beltzner, r=gavin 2008-08-19 09:24:28 +02:00
Brendan Eich
c2229dbd5e Back out changeset 1d0574db8320 (for 450997), it was based on a bum steer. 2008-08-18 22:18:33 -07:00
Andreas Gal
dfb94ccec1 Add a global type map to the monitor and rename slotList to globalSlots. 2008-08-18 21:08:35 -07:00
Serge Gautherie
006237fb18 Bug 312661 - Software Update 1st step displays 'AUS: Update XML File Malformed (200)' if working offline . r=rstrong 2008-08-18 20:49:32 -07:00
Vladimir Vukicevic ext:(%2C%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
82238e4cc8 Bug 449959: gfxGdkNativeRenderer: look for GdkDrawable on group target,
use default display for fallback. r=vlad/karlt
2008-08-19 15:22:42 +12:00
Brendan Eich
76380c598b Add a final js_ReconstructStackDepth assert after setting fp->regs->sp in js_ExecuteTree's bail-out epilog. 2008-08-18 19:26:47 -07:00
Brendan Eich
87a6e416ef 1. Fix json2.js (it crashes later, another bug) to restore a non-empty stack for a call with missing args after a nested bail-out. This involves changing js_SynthesizeFrame to return the number of stack slots it reconstructed that map to native slots. It also means not counting the missing args in the spdist uint16 pushed onto the state.rp stack (this was the root of all over-counting evil, for this bug).
2. Use if (C) { do {...} while (C); } instead of if (C) { while (C) {...} } and other style fixage.
2008-08-18 18:36:05 -07:00
Oleg Romashin
6a59eaa59b dotted/dashed borders rendering with Qpainter surface very slow - bug 432453. r=vladimir 2008-08-19 04:29:25 +03:00
Justin Dolske
752487e4ef Remove UTF8 BOM marker from last commit. 2008-08-18 17:44:28 -07:00
David Anderson
e503629dbe Fixed AMD64 accidentally treating the shape as a 64-bit integer. 2008-08-18 17:36:24 -07:00
Bernard Alleysson ext:(%2C%20Ryan%20VanderMeulen%20%3Cryanvm%40gmail.com%3E)
2903e168b8 do_GetIOService should use nsGetServiceByCID - bug 271823 r=biesi sr=jag 2008-08-18 17:19:27 -07:00
Oleg Romashin
31287c3ee2 Remove the rest build rules for old embedding API - bug 450936. r=pavlov 2008-08-19 02:55:55 +03:00
David Anderson
908183cf6f Merge. 2008-08-18 16:38:32 -07:00
David Anderson
0f46c5d568 Fixed some bugs in the AMD64 port, still crash in 5 sunspider tests. 2008-08-18 16:23:37 -07:00
Brendan Eich
21b6e353e2 Cosmetic cleanup. 2008-08-18 15:32:17 -07:00
Andreas Gal
f1b353f1c2 Add a place to store the current shape of the global object as we add slots it the global slot list. 2008-08-18 13:14:19 -07:00
Andreas Gal
ad4bfa3b5b Add a global slot list to the trace monitor. 2008-08-18 13:12:19 -07:00
David Anderson
938044313a Added AMD64 JIT building to the makefile. 2008-08-18 12:57:35 -07:00
Andreas Gal
199891edab Merge. 2008-08-18 12:55:09 -07:00
David Anderson
751ef6d2af Improved AMD64 nanojit compatibility. 2008-08-18 12:54:04 -07:00
Andreas Gal
afc782cbe2 Make sure to trasm the vmprivate of dependent trees as well. 2008-08-18 12:53:38 -07:00
David Anderson
d584e27cb8 Fixed compiling on AMD64. 2008-08-18 12:41:55 -07:00
David Anderson
b39fadd1f3 Updated nanojit for the AMD64 patch. 2008-08-18 12:32:14 -07:00
Andreas Gal
f7aac4002e Tighter fencepost in getTop, don't overshoot the stack (450997). 2008-08-18 10:09:24 -07:00
Andreas Gal
202a9de38b Doh. Deep bailots are pretty rare and js_SynthesizeFrame already uses the fairly slow js_ReconstructStackDepth helper internally, so anotherone to avoid counting stack slots via spbase can't hurt. 2008-08-18 10:04:03 -07:00
Andreas Gal
e7645176d5 Merge. 2008-08-18 08:03:51 -07:00
Andreas Gal
535584eecb Add a method to type map that captures missing slots (which have been lazily added to the slot list since the type map was created.) 2008-08-18 07:32:42 -07:00
Brendan Eich
4d8c1fda9b Fix missing paren in comment; also s/scope/frame/ in same comment. 2008-08-17 12:04:33 -07:00
Andreas Gal
9f71dd226f Extend the globalTypeMap import(), not in the caller, since we missed extending it in case of re-reading registers after a tree call. 2008-08-17 11:38:49 -07:00
Andreas Gal
f08e18fc14 If RecordTree is triggered, create a new peer fragment (or recycle and unused one) if we already have a tree for this location. 2008-08-17 00:49:59 -07:00
Andreas Gal
2d983bcee2 Try to execute the tree first, and if that fails worry about counting and triggering compilation. This speeds up trace activiation by a tiny bit, but makes code that we can't trace a little bit slower. We use a micro optimization to bypass the call to js_ExecuteTree when its clear that it wouldn't find a tree to executed to reduce this overhead. This change is necessary for multiple trees per bytecode location. 2008-08-17 00:30:36 -07:00
Andreas Gal
ef8a6041cc Give root fragments a treeInfo decorator only if the trace was successfully compiled. Otherwise just keep a reference in the recorder and delete it when the recorder is destroyed. Review welcome. The involved state machine is a bit complex. Added lots of asserts as safety net. 2008-08-16 23:43:49 -07:00
Andreas Gal
26fc76213a Only capture the shape of the global object in a tree once that tree tries to access a global, and only check the stored global shape in trees against the current global shape if the tree actually uses globals (which also doesn't trash trees when global variables are added if that tree doesn't actually use globals.) This is approx. a 1% win for sunspider. 2008-08-16 21:05:03 -07:00
Andreas Gal
efd76e5daf Change interface of js_ExecuteTree to indicate which of the peer fragments it really executed (since we soon will have more than one tree that could be activated for that particular bytecode location). 2008-08-16 15:45:48 -07:00
Andreas Gal
c7f1119cef Add a ->first pointer to all fragments that points to the first fragment in the peer list. This is the fragment we do JIT throttling/blacklisting on. 2008-08-16 15:41:21 -07:00
Andreas Gal
af92aac55a Append peer fragments at the end of the list (so f->blacklist() always counts against the same fragment). 2008-08-16 11:42:38 -07:00
Andreas Gal
dcb470b104 Add a simple script that calculates an aggregate score over all tests running with the jit in t/*. 2008-08-15 20:26:45 -07:00
Andreas Gal
b9e946d830 Merge. 2008-08-15 20:16:46 -07:00
Andreas Gal
7b954b5cd7 Add the concept of peer fragments to nanojit. Each loop fragment can have a number of peer fragments, which we can use to have several different specialized variants of a loop (i.e. for different types). The makefile doesn't pick up the change to Fragmento.h, so make sure you clobber by hand or you will end up wasting an hour of your life in gdb (like me.) 2008-08-15 20:15:47 -07:00