Commit Graph

15947 Commits

Author SHA1 Message Date
Mats Palmgren
f9a27731f5 Clamp window width to twice the X screen width (ditto for height). b=409006 r+sr=roc 2008-07-02 13:09:15 +02:00
Bob Clary
1079b33034 Merge commit for bug 431108 2008-07-02 07:03:32 -04:00
x0
ac20783181 JavaScript Tests - reportCompare doesn't print description on failures, bug 431108, patch by x00000000@freenet.de, r=igor 2008-07-02 07:00:03 -04:00
Wolfgang Rosenauer
9c87325ac2 Bug 424626 – (linux) Firefox is put into offline mode on startup when NetworkManager is running but not controlling the active network interface. - unhide pref [r=gavin(irc)] 2008-07-02 12:30:12 +02:00
Andreas Gal
31ef2f7b34 Don't allocate 16MB code cache at startup. Instead use an exponentially increasing growth factor. 2008-07-02 00:42:40 -07:00
Andreas Gal
08bd8d4245 Generate proper overflow detection code. Requires a trivial fix in nanojit (included, pending review to be pushed upstream). 2008-07-02 00:13:05 -07:00
Andreas Gal
fd5b68ba5a Fix circular dependency in makefile. 2008-07-01 23:53:17 -07:00
L. David Baron
a05e0bbe1c Merge backout of 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:26 -07:00
L. David Baron
df1b22e4c5 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
L. David Baron
43ee234648 Merge backout of 0b57ada5d4b2 due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:00:59 -07:00
L. David Baron
81a5bb06eb Back out 0b57ada5d4b2 due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:00:02 -07:00
John Daggett
1cb2f4ae57 Bug 423405. gfxPlatformMac.h causes compile to fail GCC4.2 on Mac OS X. r=jdaggett, sr=vlad 2008-07-02 13:19:37 +09:00
shaver@mozilla.org
0e590880a5 use floating point LIR for dealing with doubles 2008-07-01 23:57:29 -04:00
Zack Weinberg
74a4ba6923 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
Zack Weinberg
bd759bbd40 Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-07-01 20:24:36 -07:00
Robert O'Callahan
896fd8cbaa Adding comments. 2008-07-02 14:57:43 +12:00
Andreas Gal
7eba55b32b Merge. 2008-07-01 19:44:24 -07:00
Andreas Gal
f3fba20c9c Create type maps during trace entry and in each side exit and store them in the LIR using LIR_skip. Use these type maps during trace entry and exit. 2008-07-01 19:43:10 -07:00
shaver@mozilla.org
7d64331f38 beginning of trace-capability regression minisuite; will crash you today! 2008-07-01 22:21:11 -04:00
Brendan Eich
d0966c0fc0 Clean up for-in ops and naming nit (443039, r=igor). 2008-07-01 18:59:18 -07:00
Brian Crowder
ab14b03b55 Bug 442333 - remove eval's optional second argument, r=brendan 2008-07-01 16:44:44 -07:00
Jason Evans
d30c6437b4 Merge commit for bug 427109. 2008-07-01 16:00:48 -07:00
Brendan Eich
9d20e12316 snprintf takes sizeof buffer. 2008-07-01 15:58:47 -07:00
Johnny Stenback
f9dab07ed0 Better handling of overflowing integer values. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com 2008-07-01 15:46:12 -07:00
Jason Evans
3613eedfbc Bug 427109: Add memory reserve and xmalloc() API, r=benjamin
This re-commmit adds locking that was missing in changeset c14ab4f6cec6.
2008-07-01 15:41:14 -07:00
David Mandelin
cd55c6b951 Bug 442968: fix small bug with void returns in outparams.js, r=bsmedberg 2008-07-01 15:31:10 -07:00
Andreas Gal
697a294d14 Sync up with TT tip. 2008-07-01 14:46:10 -07:00
David Mandelin
f6af06076a Bug 442982: outparams.js now understands func ptr typedef attributes, r=bsmedberg 2008-07-01 14:24:58 -07:00
David Mandelin
3dac3ac31c Bug 442829: outparams.js handling nsresults returned as &rv, r=bsmedberg 2008-07-01 14:22:49 -07:00
Benjamin Smedberg
a46300205e Bug 442769 - Annotate nsMorkReader as a stack-only class, r=dietrich 2008-07-01 16:38:02 -04:00
Andreas Gal
39891951f4 Merge. 2008-07-01 13:36:33 -07:00
Brendan Eich
9a38bf0cdc Eliminate useless genexp for(;;) conditions (442342, r=jorendorff). 2008-07-01 13:05:11 -07:00
bcrowder@mozilla.com
9f3e12daf8 Bug 438415 - Assertion failure: *vp != JSVAL_HOLE, r=shaver, r=brendan 2008-07-01 12:47:09 -07:00
bcrowder@mozilla.com
9736e0887f Bug 435345 - Cannot accurately watch the 'length' property of arrays, r=shaver 2008-07-01 12:47:09 -07:00
shaver@mozilla.org
6e5e783b3d Assembler requires that guard be on a cmp, so force that 2008-07-01 10:07:20 -04:00
shaver@mozilla.org
da72d620b9 fix frame offset calculation for args, I think also non-entry frames 2008-07-01 08:11:49 -04:00
shaver@mozilla.org
50d599cb99 label arg/var/stack/sp/state for easier trace-reading 2008-07-01 08:06:02 -04:00
Andreas Gal
d3e7a57a68 Fix deallocation bug in the recorder. We will have to lift more code Tamarin's Interpreter to stabilize the recording. 2008-07-01 02:37:07 -07:00
Andreas Gal
1567618f99 Better naming (MARK_EXIT => MARK_REGS). 2008-06-30 18:41:22 -07:00
Andreas Gal
84274f1b33 Save the VM registers into markRegs at opcode entry and restore that state when ending or aborting recording. The same info is pushed into sideexit and used by guards. With this change we can eliminate the hack in MONITOR_BRANCH that had to adjust the stack pointer depending on the opcode type, and it also allows us to trace through the recently added boolean guard opcode fusing. This improves trace code quality, since only the pre-conditional check state is saved. The guard restores into that state, so the trace code doesn't have to emit the value of the conditional evaluation onto the stack, saving a handful ops. 2008-06-30 18:31:29 -07:00
Andreas Gal
87396e1870 Rework memory management, don't leak memory in the filter pipeline. 2008-06-30 18:08:32 -07:00
Andreas Gal
19b4bcdc69 Save the side exit state at entry in to the opcode (since we want to restart ops) and enable store filter. 2008-06-30 17:12:52 -07:00
Andreas Gal
e6b28ce4f8 Sync with TT-tip. 2008-06-30 15:33:41 -07:00
Andreas Gal
f8a6a789d0 Cleanup memory management. Use new char[] inside our overloaded new operator that clears out memory. 2008-06-30 12:00:31 -07:00
Andreas Gal
7511e45275 Use #ifdef DEBUG instead of VERBOSE. 2008-06-30 11:44:47 -07:00
Andreas Gal
806d0de678 Must use (&gc) new otherwise memory doesn't get cleared (found by danderson). 2008-06-30 11:39:00 -07:00
Andreas Gal
dbd9bb7b09 Merge. 2008-06-30 09:36:38 -07:00
Andreas Gal
5d1d997c9d Housekeeping (add comments, removed some dead code.) 2008-06-30 09:36:10 -07:00
shaver@mozilla.org
9cf9a554b6 synthesize LIR_ne using LIR_eq instead of LIR_ugt, per edwsmith's wisdom 2008-06-30 11:18:43 -04:00
Andreas Gal
d8d25140f9 Mockup of trace execution. Speedup is 10x for a tight loop. Keep in mind that this is a hack and the trace code is not optimized yet. 2008-06-29 23:02:22 -07:00