Commit Graph

34199 Commits

Author SHA1 Message Date
Nicholas Cameron
b8948fe84f Bug 849489. Optimise use of vstm/vldm. r=mjrosenb
--HG--
extra : rebase_source : e5bbcc5fe569c0f81114587330ec80212fc9b560
2013-03-22 15:37:10 +13:00
Nicholas Nethercote
77bf0b06a3 Bug 849367 (part 3) - Avoid an ungetToken() in unaryExpr(). r=jorendorff.
--HG--
extra : rebase_source : 556113cd0b994256e548103363a62264ada413e2
2013-03-13 19:58:23 -07:00
Jason Orendorff
ce294cea42 Bug 849367 (part 2) - Replace the binary-expression part of the JS parser with a shift-reduce parser. Less code, and faster. r=njn.
--HG--
extra : rebase_source : e5d44ef33f300d8c3f979caa58c3ed332a95088c
2013-03-21 18:28:50 -07:00
Jeff Walden
0971c8596f MSVC wants a cast-to-integer-type before dividing by a bool that should promote to int. Sigh. Followup to bug 851237, r=windows-redness
--HG--
extra : rebase_source : cf4ca438261d5bdf115a21d40f1ad4164ccbeaea
2013-03-21 19:01:45 -07:00
Jeff Walden
9443788310 Bug 851237 - Replace StaticAssert uses with MOZ_STATIC_ASSERT. r=dholbert
--HG--
extra : rebase_source : d8b9715e05b959b11ee0f645141fd077b8599ab1
2013-03-21 18:26:15 -07:00
Norbert Lindenberg
15a126ec68 Bug 769871 - Reimplement Date.toLocaleString per ECMA-402. r=jwalden
--HG--
extra : rebase_source : 77b0023432502bc4e110143d06c10825fb020190
2013-03-21 16:38:25 -07:00
Norbert Lindenberg
31ef79f418 Bug 769871 - Reimplement Number.toLocaleString per ECMA-402. r=jwalden
--HG--
extra : rebase_source : 5a1e5a57e89056d128956cd7d7f2c7ce6b3dec54
2013-03-21 14:59:48 -07:00
Norbert Lindenberg
dfa2e312ca Bug 769871 - Reimplement String.localeCompare per ECMA-402. r=jwalden
--HG--
extra : rebase_source : b6378bff8be8a9cf64fce43dc53ed9baf25738c5
2013-03-21 14:50:06 -07:00
Norbert Lindenberg
e7c0f59d9c Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (tests). r=terrence
--HG--
extra : rebase_source : e101ce48506960a2733b9eb5be4065ca5933fd96
2013-03-21 14:32:43 -07:00
Norbert Lindenberg
a4fa436033 Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 8). r=jwalden
--HG--
extra : rebase_source : 94306c4c0d5950b5d860891d01768e51ef17c9f1
2013-03-21 14:32:42 -07:00
Jeff Walden
25c9b94f0d Fix a C-style cast to a const_cast<>. Followup to bug 837957, r=sparky
--HG--
extra : rebase_source : f4c806060a89a424544ce5704b19ed36ef968e88
2013-03-19 16:34:37 -07:00
David Zbarsky
46284ae633 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Jim Blandy
11cf86d3c8 Bug 852773: Remove assertions that make us horribly slow when debugging JS in a DEBUG build. r=jandem
When running JS code under the JS debugger in a DEBUG build,
Debugger::slowPathOnEnterFrame constructs a ScriptFrameIter instance every
time we enter a function. That constructor calls (JaegerMonkey's)
ExpandAllInlineFrames, which is very expensive.

We need Debugger to work in DEBUG builds, too.
2013-03-21 17:03:34 -07:00
Terrence Cole
3f5011ecad Bug 841059 - Follow-up fix for broken root analysis build; r=bustage 2013-03-21 16:17:30 -07:00
Terrence Cole
f8c6a0ee4f Bug 841059 - Do not use the ArenaHeader for zone/compartment on JSObject; r=billm
--HG--
rename : mobile/android/base/NotificationHandler.java => mobile/android/base/NotificationService.java
extra : rebase_source : 19d6904d8ac8fed7680da8f7931e9c55e52be97e
2013-02-13 10:39:19 -08:00
Tom Schuster
a1663a0e87 Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz 2013-03-21 23:23:48 +01:00
Tom Schuster
b4f8d32afe Bug 828462 - Root Proxy/Wrapper rests in js/src. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
787f786f96 Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
b6725433ce Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
aaa3687e9b Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
950e87f7e8 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
Bill McCloskey
2c636e23fe Bug 852912 - Don't crash on NULL with AutoArrayRooter (r=bhackett)
--HG--
extra : rebase_source : f044831b03435b906221256611d7c01250b18ebe
2013-03-21 13:56:44 -07:00
Ryan VanderMeulen
14c2102033 Merge m-c to inbound. 2013-03-21 16:48:17 -04:00
Ryan VanderMeulen
770e0ab1c9 Merge inbound to m-c. 2013-03-21 16:45:23 -04:00
Gene Lian
fd920eef31 Bug 852911 - B2G MMS: fail to expose correct nsIDOMMozMmsMessage.attachments. r=smaug 2013-03-21 14:49:23 +08:00
Ryan VanderMeulen
e79f4dfe69 Bug 852912 - Skip test on all Windows debug builds on a CLOSED TREE. 2013-03-20 20:34:20 -04:00
Bill McCloskey
991a7a0eca Bug 852228 - Allow compartments to share zones in the shell (r=jonco) 2013-03-18 10:24:46 -07:00
Bill McCloskey
772866c92a Bug 852229 - Add a comment explaining zones (r=jorendorff) 2013-03-18 11:10:23 -07:00
Nicolas B. Pierron
83d4d9ebbb Bug 849103 - Enable IonMonkey on b2g. r=jonas sr=dvander 2013-03-20 13:33:30 -07:00
Ryan VanderMeulen
56845519e4 Bug 852912 - Skip the test on Windows 8 so the rest of the suite can finish. 2013-03-20 16:24:15 -04:00
Ryan VanderMeulen
7f60ab631b Bug 852912 - Mark parse-array-gc.js as random on Windows 8. 2013-03-20 16:19:37 -04:00
Jon Coppeard
f18e9439d5 Bug 853028 - GC: Fix some rooting issues found by static analysis r=terrence
--HG--
extra : rebase_source : a1d340a00516ae890c98fa7420497e85526823fc
2013-03-21 12:56:58 +00:00
Jon Coppeard
5ed2766709 Bug 853028 - Add JSID_VOIDHANDLE and JSID_EMPTYHANDLE r=terrence
--HG--
extra : rebase_source : df2040a51dff433c59356092d55dad65097b8994
2013-03-21 12:56:39 +00:00
Shu-yu Guo
67a657cb5c Bug 853111 followup - Fix formatting of embedjs.py. r=me 2013-03-21 13:29:57 -07:00
Shu-yu Guo
416ab7d0dc Bug 853111 - Kill -Wnarrowing warnings for zipped selfhosted sources. (r=till) 2013-03-21 12:07:33 -07:00
Norbert Lindenberg
18fd21136e Bug 814795 - Replace remaining use of V8 macro. r=tschneidereit
--HG--
extra : rebase_source : f0ed30349ecc95a753f390e3d56e72fe9f49eb1d
2013-03-21 12:58:00 +01:00
Till Schneidereit
4d056bc6e4 Bug 852789 - clear the runtime's self-hosting global on destruction of last context. r=sstangl
--HG--
extra : rebase_source : 719762b9e0647a94b3b31dafefb802952d109725
2013-03-21 19:21:13 +01:00
Bobby Holley
97c5514e25 Bug 844783 - Disable XBL scopes for XUL-whitelisted domains. r=bz 2013-03-21 09:33:34 -07:00
Bobby Holley
1b5cf28332 Bug 851895 - Tests. r=mrbkap 2013-03-21 08:20:46 -07:00
Bobby Holley
f9f113418b Bug 851895 - Expand the this-fixup hack to include Cu. r=mrbkap 2013-03-21 08:20:46 -07:00
Bobby Holley
cc9efcfbd5 Bug 851895 - Don't assert against a failure in CanCallNow. r=mrbkap
This can definitely happen now if the |this| object is wrong. It's possible
that we should be checking this earlier, but as the code stands this assertion
is incorrect.
2013-03-21 08:20:46 -07:00
Bobby Holley
7b89d994f6 Bug 658909 - Tests. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
5c5dc4aefd Bug 658909 - Port tearoff-handling guts of GWNOJO to XPCCallContext and remove GWNOJO. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
6f5fa45dfc Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
5d587a2a1e Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
310ca265e9 Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-21 08:20:44 -07:00
Bobby Holley
0229eafa97 Bug 658909 - Remove GWNOJO from XPCVariant. r=mrbkap
The old code seems to be deciding whether we have a double-wrapped object by
checking _either_ the rv of GWNOJO _or_ the potential slim wrapper. This is
nonsensical, because double-wrapped objects are never slim wrappers.
Furthermore, that variable here is named 'proto', which further suggests
that this code is nonsensical. So let's just check for WNs.

Also, it seems pretty wack to be innerizing here before storing the jsval,
but I'm going to leave that for now.
2013-03-21 08:20:44 -07:00
Bobby Holley
da3798e16c Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-21 08:20:44 -07:00
Bobby Holley
063fa22514 Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-21 08:20:44 -07:00
Bobby Holley
155c7bef82 Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-21 08:20:44 -07:00