Commit Graph

56139 Commits

Author SHA1 Message Date
Chris Jones
60cfd924d4 Bug 602431, part 4: Refactor computation of <browser> shadow-tree transforms into its own function. r=tn 2010-10-13 17:55:45 -05:00
Chris Jones
72ebe49a58 Bug 602431, part 3: Add a ShadowContainerLayer base class and BasicShadowContainerLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
0f138edde0 Bug 602431, part 2: Add a ShadowColorLayer base class and BasicShadowColorLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
08140e03cb Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c32a6c59e Bug 601888, part 1: Teach ThebesLayerOGL to draw backing buffers drawn with a resolution other than 1.0. r=mattwoodrow,vlad 2010-10-13 17:55:45 -05:00
Brian Hackett
869a6640ac Fix use of uninitialized variable, bug 584917 followup. r=mrbkap 2010-10-13 15:41:53 -07:00
Stuart IDontCode Parmenter
12117b3c64 Bug 600102 - Add ability to build with --disable-pango. r=karlt a=blocking-fennec
--HG--
extra : rebase_source : 9b5da40d5733ee7adc27310de8b962543d7d3ce9
2010-10-13 15:03:19 -07:00
Margaret Leibovic
3139ac048c Bug 596428 - Stop button shouldn't be ghosted, since this adds N ms to page load time r=dao a=blocking-betaN 2010-10-13 14:56:30 -07:00
Vladimir Vukicevic
910d74f7e0 Bug 602659 - <video> playback is twitchy / possessed by the devil with OpenGL layers - r=jmuizelaar, a=blocking-beta7 2010-10-13 17:19:12 -04:00
Brian Hackett
f9cf7a5b7d Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -07:00
Blake Kaplan
fd87098d25 Bug 603845 - Protect ourselves against compartments that have null principals. r=gal 2010-10-13 11:37:25 -07:00
Blake Kaplan
49a6e89f74 Bug 604108 - Grab the right compartment to check if we're finalizing the functionNamespaceObject. r=peterv 2010-10-13 11:17:21 -07:00
Johnny Stenback
78e3992901 Merge backout. 2010-10-13 11:18:00 -07:00
Johnny Stenback
33d1b6d31f Backed out changeset 08970767d83d per request from sayrer due to a trace malloc alloc regression. 2010-10-13 11:17:51 -07:00
Johnny Stenback
323f4a2a01 Merge backout. 2010-10-13 11:17:22 -07:00
Johnny Stenback
8bf4363aa7 Backed out changeset ad0c80eacba7 per request from sayrer due to a trace malloc alloc regression. 2010-10-13 11:17:13 -07:00
Johnny Stenback
886679794e Merge backout. 2010-10-13 11:16:38 -07:00
Johnny Stenback
76bb5be13d Backed out changeset a63b6fa0229c per request from sayrer due to a trace malloc alloc regression. 2010-10-13 11:16:20 -07:00
Sean Stangl
d5c09a23f0 Fix typo in ensureTypeSynced(), fixing assert. b=598839. 2010-10-12 20:34:15 -04:00
Peter Van der Beken
51527b16fd Try to fix orange from d468bf98f7a1 (Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup.)
--HG--
extra : rebase_source : 26ed7548f57836136162e6830034d0e40bf0853b
2010-10-12 17:25:34 -07:00
Sean Stangl
357a3ae283 Eliminate ImmutableSync on x64. b=601066, r=dvander. 2010-10-12 20:08:40 -04:00
Peter Van der Beken
6c0a645775 Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup. r=mrbkap. 2010-10-12 15:03:15 -07:00
Sean Stangl
d96bb05817 Faster x64 Syncing. b=598839, r=dvander. 2010-10-12 17:39:30 -04:00
Luke Wagner
844de3126b Bug 603017 - speed up js::DefaultValue on String builtin with void hint (r=brendan) 2010-10-12 13:41:40 -07:00
Gregor Wagner
34dd1159af Bug 603433 - TM: various GC cleanups, r=igor 2010-10-13 09:22:05 -07:00
David Mandelin
e45bcfe30a Bug 603558: add -m option to turn on method jit for xpcshell, r=dvander, a=shaver
--HG--
extra : rebase_source : 9374b3ab212fa8cd41d33b3887e678b9888be972
2010-10-12 17:25:37 -07:00
Blake Kaplan
7c9de80f1f Revert unintended changes. 2010-10-12 17:44:34 -07:00
Blake Kaplan
03450c5470 Bug 603816 - Don't assume that target->data is non-null. r=peterv
--HG--
extra : rebase_source : 6a3e949376465cc9eac3d4ffa6b7fc3ba501c502
2010-10-12 16:28:22 -07:00
Nicholas Nethercote
39f5c14292 Update nanojit-import-rev stamp. 2010-10-12 12:53:29 -07:00
Peter Van der Beken
ac7fa9fd75 Fix for bug 603677 (Crash on startup due to GetProto on an XPCWrappedNative being null with Bugzilla Tweaks jetpack installed), compartments followup. r=mrbkap.
--HG--
extra : rebase_source : 884494ce295e8e2222de4f3bafb02d4a96e2bcc2
2010-10-12 11:51:42 -07:00
Nicholas Nethercote
4b1f77accc These tests should have been added as part of the patch for bug 595728.
--HG--
extra : convert_revision : f31ee612d65e224424ae24d1852491c1b1698388
2010-10-07 23:14:10 -07:00
Nicholas Nethercote
6cc88ddd4f Bug 599247 - nanojit: in Nativei386.cpp, generate d[b + i<<s] addressing modes in asm_store32(). r=edwsmith.
--HG--
extra : convert_revision : cf8d0148a91da8795edec935ddec57d4164bc3aa
2010-10-07 20:24:07 -07:00
Rick Reitmaier
0380f837dc fix build breakage
--HG--
extra : convert_revision : c900245f6488bbcca67f1b2136c4f30427a789aa
2010-10-07 19:35:06 -07:00
Rick Reitmaier
e4543e5e2e Bug 596056 - nanojit: random number generator needed for many hardening algorithms (r+nnethercote,edwsmith)
introduce noise object

Assembler to use a noise object in which the actual mechanics of how noise is
being produced in abstracted by the client.

The noise object will often need to contain state so its convenient to derive
from this class and build an object containing all the necessary state.

--HG--
extra : convert_revision : c569f3ddd2d9b7a69b3c63f1fd139ea8d513fd9c
2010-10-07 19:22:35 -07:00
Nicholas Nethercote
02b6b47148 Bug 602408 - nanojit: print all hex numbers in LIR dumps with an 0x prefix. r=rreitmai.
--HG--
extra : convert_revision : 819b3d7e0ab682bf76da6c24de58434f5744e640
2010-10-07 15:30:36 -07:00
Michael Wu
350d2f8310 Bug 567873 - Android packaging should use standard packaging code, r=ted a=blocking-fennec 2010-10-12 12:43:38 -07:00
Jason Orendorff
41c66a3760 Fix anyname_finalize to look in the right compartment, to avoid dangling pointer. Likely fix for bug 603270. r=mrbkap over IRC.
--HG--
extra : rebase_source : 234c1412ce5543e32222cfd292ee905634ef6741
2010-10-12 14:40:05 -05:00
Blake Kaplan
cc6236d948 Bug 603533 - We need to hold a strong reference when forwarding to the outer window. r=jst
--HG--
extra : rebase_source : e885ff63003bd52d94bb3d2bc7ea0e1c631884b6
2010-10-12 11:59:28 -07:00
Jim Blandy
713b25831a Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Jim Blandy
d195d41b0a Bug 514570: Adapt XPConnect to new JS_GetFrameThis arguments. r=jorendorff
It used to be:
JSObject *JS_GetFrameThis(JSContext *, JSStackFrame *);

Now it is:
JSBool JS_GetFrameThis(JSContext *, JSStackFrame *, jsval *);

(In strict mode code, |this| values that are primitives don't get wrapped.)
2010-10-12 11:50:03 -07:00
Jim Blandy
112fe57db0 Bug 514570: Adapt jsd to new JS_GetFrameThis arguments. r=brendan
It used to be:
JSObject *JS_GetFrameThis(JSContext *, JSStackFrame *);

Now it is:
JSBool JS_GetFrameThis(JSContext *, JSStackFrame *, jsval *);

(In strict mode code, |this| values that are primitives don't get wrapped.)
2010-10-12 11:50:03 -07:00
Jeff Walden
0b9b58415c Bug 575522 - Object.prototype.toString should return "[object Undefined]" and "[object Null]" when called with |this === undefined| or |this === null|, respectively. r=jorendorff,brendan 2010-10-12 11:50:03 -07:00
Jeff Walden
4626f47ec6 Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff 2010-10-12 11:50:03 -07:00
Jeff Walden
7f75fc0a25 Bug 514570 - 2 - Push |undefined| rather than |null| when calling functions without a specified |this| value, per ES5. r=jorendorff 2010-10-12 11:50:03 -07:00
Jeff Walden
fcbd8eb10b Bug 514570 - 1 - Convert primitive-this-of-type function flags into a single primitive-this flag, to pave way for strict mode unadulterated-this passing. r=jorendorff 2010-10-12 11:50:02 -07:00
Brendan Eich
eb3502680f JSOPTION_ANONFUNFIX should be set in js shell (5595555, r=cdleary). 2010-10-06 14:58:28 -07:00
Ginn Chen
b1fc7ea706 Bug 601835 Add JS_STATIC_ASSERT back for Solaris Studio, r=brendan 2010-10-11 18:23:55 +08:00
Brendan Eich
ab966b3529 Warning fixes (one left over from 602621, the other from 584789). 2010-10-10 21:11:45 -07:00
Johnny Stenback
18174c5a4e Bug 580128 - No need to assert about commpartment mismatches in JS_Get/SetPrivate (r=gal). 2010-10-10 15:50:11 -07:00
Johnny Stenback
ab55d2919b Bug 580128 - Make nsJSNPRuntime compartment safe (r=gal). 2010-10-10 15:50:08 -07:00