Commit Graph

25182 Commits

Author SHA1 Message Date
Norbert Lindenberg
febd35260d Bug 853075 - Remove workarounds. r=tschneidereit
--HG--
extra : rebase_source : baf38de8ba1e05411e1b0a5276610e3cf931daa8
2013-03-27 08:40:00 +01:00
Norbert Lindenberg
7be4d1d68f Bug 851763 - Increase maxbytes for JSRuntime in IDBObjectStore and testGCOutOfMemory. r=Waldo 2013-03-27 11:32:34 -04:00
Nathan Froyd
5e0270cdc1 Bug 855302 - don't use PR_FALSE in dictionary_helper_gen.py; r=smaug 2013-03-27 11:00:44 -04:00
Jan Beich
f6bf1da2fc Bug 851880 - Build OdinMonkey on more Unices. r=luke 2013-03-27 10:52:47 -04:00
Jan Beich
d1aad60b02 Bug 851880 - Consistently assume same ABI. r=luke 2013-03-27 10:52:47 -04:00
Till Schneidereit
18d29d0407 Bug 853417 - add comment explaining why we don't need to check for self-hosted scripts in ScriptDebugEpilogue. r=me 2013-03-27 15:39:25 +01:00
Till Schneidereit
bf901bd3c9 Bug 853075 - continue with next FunctionSpec instead of aborting loop upon encountering self-hosted methods during self-hosting global initialization in JS_DefineFunctions. r=jonco
--HG--
extra : rebase_source : 8fb9bcef1e91086e9a62ef0e2199a9f52975ba39
2013-03-27 15:24:37 +01:00
Daniel Holbert
ca0b79828d Bug 855109: Fix typo in configure.in line for making gcc/clang c++ compilers use -Wsign-compare. r=glandium 2013-03-27 00:03:58 -07:00
Phil Ringnalda
9df92a2118 Back out 8e59146e161e:29acf1494fed (bug 790732) for failing in exactly the same way it failed on the tryserver
CLOSED TREE
2013-03-26 23:40:45 -07:00
Nicholas Nethercote
5bd34085b0 Bug 831588 - Don't measure decommitted GC arenas in the "explicit" tree. r=terrence,jlebar.
--HG--
extra : rebase_source : a35d978b8884e25169cca8ffc93f96e532e82320
2013-03-26 15:07:33 -07:00
Bobby Holley
431554b6fe Bug 790732 - Components shim tests. r=mrbkap 2013-03-26 22:18:56 -07:00
Bobby Holley
a29395359a Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-26 22:18:56 -07:00
Bobby Holley
6839db4fa1 Bug 790732 - Make Components console warning test pref-aware. r=mrbkap 2013-03-26 22:18:55 -07:00
Bobby Holley
ee27d4fb73 Bug 790732 - Stop attaching Components in InitClasses. r=mrbkap
This method is larely deprecated. The only two consumers are JSD and the setup
for the safe JSContext, neither of which use system principal and thus neither
of which should have |Components|.
2013-03-26 22:18:55 -07:00
Bobby Holley
0db9939247 Bug 790732 - Remove the aTarget parameter from AttachComponentsObject. r=mrbkap
I added this when I thought we'd be defining Components on an object on the XBL
scope chain. At this point, it's not necessary anymore.
2013-03-26 22:18:55 -07:00
Bobby Holley
a5c437d499 Bug 854604 - Null-check funobj. r=mrbkap
I've audited all the places where we instantiate an XPCCallContext with more
than just (cx, {NATIVE,JS}_CALLER), and the toString hook is the only place
where we don't check IsValid() or something that depends on it.
2013-03-26 22:08:10 -07:00
Hannes Verschore
f15c3fa0a3 Bug 849781: IonMonkey: Only allow inlining when TypeSet of caller and callee intersects, r=nbp 2013-03-27 00:41:19 +01:00
Shu-yu Guo
b29fb42d7c Bug 849469 - Refactor how IC stubs are attached. (r=nbp) 2013-03-26 15:23:12 -07:00
Shu-yu Guo
9e1c1b230c Bug 854050. (r=dvander) 2013-03-26 15:23:12 -07:00
Shu-yu Guo
84fda1a72d Bug 854381. (r=jandem) 2013-03-26 15:23:11 -07:00
Gregory Szorc
a658cf762d Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-03-26 10:35:57 -07:00
Bobby Holley
3ab1240740 Bug 854510 - Convert expected assertion into a 0-1 range. r=RyanVM 2013-03-26 09:09:04 -07:00
Bobby Holley
4a0f03b8df Bug 854558 - Enforce __exposedProps__ for Sandboxes. r=gabor 2013-03-26 09:08:29 -07:00
Jon Coppeard
ed54e3a501 Bug 854852 - GC: One root missed from debugger r=terrence 2013-03-26 11:51:03 +00:00
Jan Varga
71a59dcdc8 Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Jon Coppeard
c116ea99a5 Bug 853498 - GC: Make sure wrapped things are not marked gray r=billm
--HG--
extra : rebase_source : 252c8f915af6852f1df09caec0775920b0483003
2013-03-19 18:50:57 +00:00
Nicholas Nethercote
147ffd50b2 Bug 854807 - Fix thinko in CloneFunctionObjectIfNotSingleton(). r=smaug. 2013-03-26 21:40:00 +11:00
Nicholas Nethercote
b339bee5d5 Bug 854763 - Add a memory reporter for asm.js array buffers. r=luke.
--HG--
extra : rebase_source : 7710041552c96677344c85849cb6a7409a95edd2
2013-03-25 20:39:28 -07:00
Makoto Kato
55f1bfe024 Bug 854306 - Add option to disable YARR JIT (--disable-yarr-jit) r=dvander 2013-03-26 16:46:42 +09:00
Nicholas Nethercote
6104956560 Bug 854137 - Don't hold pointers to yield nodes in the parse tree (second attempt). r=jorendorff.
--HG--
extra : rebase_source : 1fc784f2b123f1606b8f612adff6725555dbbb34
2013-03-25 15:52:09 -07:00
Nicholas Nethercote
22df28d691 Backed out changeset 1a71f73b9b7d due to bustage. 2013-03-25 18:03:59 -07:00
Nicholas Nethercote
24f9f523be Bug 854137 - Don't hold pointers to yield nodes in the parse tree. r=jorendorff.
--HG--
extra : rebase_source : 43261a7168c47f4bdaadcb2747017fec63b8937d
2013-03-25 15:52:09 -07:00
Philipp Matthias Schäfer
5d15f38b96 Bug 846933 - Comment class TokenStream. r=nnethercote.
--HG--
extra : rebase_source : ab0549c7e56e85fa43a3d714f68050ffb7a65e83
2013-03-25 15:50:09 -07:00
Terrence Cole
51e39dcaba Bug 850954 - Allow implicit copying of RelocatableValue; r=billm
--HG--
extra : rebase_source : 3190a0178339e997420c27166caeb67dcda3a651
2013-03-21 13:58:18 -07:00
Luke Wagner
408210850d Bug 854448 - Fix debug-only null-deref in JSFunction::name (r=njn)
--HG--
extra : rebase_source : 421a3c31a108e13cd0d2cbba5bd93afeb0432586
2013-03-25 15:12:44 -07:00
Daniel Holbert
74cbc7eacb Bug 854481: Remove unused typedef from jstypedarray.cpp. r=Waldo 2013-03-25 14:40:35 -07:00
Terrence Cole
71ad95c7ce Bug 853939 - Assert that we only ever call the finalizer on tenured objects; r=billm
--HG--
extra : rebase_source : 67721f2ee0575348d70b74a72e17bedb6c39a0b4
2013-02-14 14:51:07 -08:00
Nicholas D. Matsakis
2e35e3be97 Bug 853555 - Use defineObject instead of setProperty in ParallelArray ctor r=till 2013-03-25 15:37:04 -04:00
Jan de Mooij
3a42c8c982 Bug 848930 - Mark jit-test/tests/auto-regress/bug680797.js as slow. r=decoder DONTBUILD 2013-03-25 20:20:37 +01:00
Jeff Walden
6b877b4262 Bug 789897 - Move a bunch of methods needed for ObjectImpl::preventExtensions, out of JSObject and into ObjectImpl. r=jorendorff
--HG--
extra : rebase_source : 7793508e452ebf83bbd2893c81fc200ba086b888
2013-03-22 19:43:11 -07:00
Steve Fink
6ee4d04676 Static rooting analysis updates for browser. No bug. r=NPOTB
--HG--
extra : rebase_source : f7e8f1f3039c6ebaa3dabea2a7c181a880d1792b
2013-03-21 16:29:40 -07:00
Steve Fink
8903dd6c05 Bug 853541 - Partially revert bug 835552, making load() be cwd-relative again. r=njn
--HG--
extra : rebase_source : cc75800ec61f900ecf9d4a478eceaef7a67690dd
2013-03-21 12:35:22 -07:00
Benoit Girard
6ed333dbb5 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Nicholas D. Matsakis
c20f7bc5b0 Bug 853067 - Do not define the parallel array global in beta, release, or esr builds (yet) r=sfink 2013-03-20 15:42:56 -04:00
Peter Van der Beken
64b65c2d9a Fix for bug 848088 (IonMonkey: property get IC for DOM list proxies fails to detect expando). r=jandem.
--HG--
extra : rebase_source : b06c714726c76e927fbc65d09ffecc09461c4e95
2013-03-06 22:45:59 +01:00
Peter Van der Beken
a3e531e6f0 Fix for bug 853136 (Prepare some tests for HTMLDocument using a WebIDL binding). r=bholley.
--HG--
extra : rebase_source : 0a19404b8d40075488568e179088e3c41ee8c4e4
2013-03-14 14:50:46 +01:00
Jan de Mooij
b67889f5dd Bug 852798 - Don't use JSPROP_READONLY for shell-only customNative property. r=djvj 2013-03-25 10:35:33 +01:00
Sean Stangl
39f66c2d0d Bug 854197 - Only initialize WorkerThreadState in parallel mode. r=luke 2013-03-24 18:45:35 -07:00
Nicholas Nethercote
da302bdc4c Bug 854212 - Fix link errors in jsfuninlines.h caused by bug 851421. r=smaug.
--HG--
extra : rebase_source : c1d10e7c4d4e8394128b044e51faf96ea5f48772
2013-03-24 15:28:38 -07:00
Bobby Holley
9fa1540293 Bug 854019 - Continue checking the XBL bit if remote XUL disables XBL scopes. r=bz 2013-03-24 09:27:10 -07:00
Bobby Holley
59a14ae12f Bug 853571 - Tests. r=bz 2013-03-24 09:27:10 -07:00
Bobby Holley
232e0f349e Bug 853571 - Do special detection for sandboxPrototype to make sure the source gets set up right in postMessage. r=bz 2013-03-24 09:27:10 -07:00
Bobby Holley
cd099abe97 Bug 853571 - Add some belt-and-suspenders checks for sketchy scripted caller detection. r=bz 2013-03-24 09:27:09 -07:00
Nicolas B. Pierron
c7e069d8a8 Bug 831349 - Reset Ion cache flags when flushed. r=dvander 2013-03-23 23:33:09 -07:00
Joshua Cranmer
5e96de0421 Bug 767563 - Add a clang static checker, part 1: add the plugin shell. r=glandium 2013-03-23 21:12:25 -05:00
Nicholas Nethercote
e099bc7560 Bug 851421 (part 2) - Don't emit bytecode for asm.js functions unless linking fails. r=luke.
--HG--
extra : rebase_source : cbab73e8bad5d6153cfb1cdd7599c608e78fad8a
2013-03-14 18:44:03 -07:00
Luke Wagner
28f5fa5330 Bug 851421 (part 1) - Clone extended function slots. r=nnethercote.
--HG--
extra : rebase_source : c387da0c0ae5293fc36b76e84f5000fa17c100ce
2013-03-23 05:31:01 -07:00
Till Schneidereit
4949ea0a2c Bug 853417 - Prevent self-hosted scripts from ever being visible to client scripts. r=jimb
--HG--
extra : rebase_source : b6f6d5a4ebd990d72d4fce36c5821fd5b3f0c0fb
2013-03-22 01:17:18 +01:00
Kannan Vijayan
750f536c98 Bug 854034 - Handle functions without scripts in CallsiteCloneIC::update. r=nmatsakis 2013-03-22 22:35:27 -04:00
Sean Stangl
d591db543e Bug 850070 - Fix Vector::initCapacity() argument name: conflicts with layout code. r=red 2013-03-22 17:53:31 -07:00
Sean Stangl
132802d909 Bug 850070 - Fix --disable-ion and --disable-threadsafe builds. r=red 2013-03-22 17:27:08 -07:00
Sean Stangl
08c26b02b9 Bug 850070 - Part 2/2 - Parallelize OdinMonkey compilations. r=luke 2013-03-19 15:24:22 -07:00
Sean Stangl
d5179d8716 Bug 850070 - Part 1/2 - Separate sequential compilation into explicit phases. r=luke 2013-03-19 15:13:58 -07:00
Terrence Cole
cb3fab452f Bug 734250 - Remove the unused {Un}LockGCThing{RT} rooting interface; r=billm
--HG--
extra : rebase_source : b5b1eeba5e48de7b30ec0b3d32af0d37475e0b06
2013-03-19 10:20:22 -07:00
Luke Wagner
afa3a62601 Bug 851964 - Re-enable OdinMonkey on OSX (r=vlad)
--HG--
extra : rebase_source : aff0da8d3695b7327d2daa367ce01f7766e38200
2013-03-22 15:02:08 -07:00
Norbert Lindenberg
fd169ca328 Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (cleanup). r=jwalden
--HG--
extra : rebase_source : 8adc5d1feb27ccd24eef30c1a7b6b4a2e7f6e91a
2013-03-22 12:54:40 -07:00
Norbert Lindenberg
ba1fd066e3 Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 9). r=jwalden
--HG--
extra : rebase_source : 26a601e1ee905437403c3005d932e6f9fd9dc9c9
2013-03-22 12:54:07 -07:00
Jeff Walden
a1c646e9f7 Bug 769871 - Remove x_CheckThisX methods, as the extract-the-primitive-value methods immediately after perform that check already. r=Norbert
--HG--
extra : rebase_source : b4dd0efb5acad176a07ac8c1dada64dddd0dc3a9
2013-03-22 12:35:44 -07:00
Jan de Mooij
0bd439417c Bug 790479 - Remove a bogus assert, unused SNAPSHOT_MAX_STACK constant. r=djvj 2013-03-22 19:47:55 +01:00
Terrence Cole
992bd33213 Bug 851340 - Make the rooting of scripts in nsXULPrototypeCache more efficient; r=smaug 2013-03-19 10:20:21 -07:00
Bill McCloskey
c623d98a8f Bug 852667 - Sort out getAllocKind for generational GC (r=terrence) 2013-03-21 18:15:39 -07:00
Terrence Cole
f5d8a9fff5 Bug 849453 - Use the AllocKind to get the size instead of sizeOfThis; r=billm 2013-03-07 10:55:34 -08:00
Bill McCloskey
24d234d6e8 Bug 853228 - Remove unused functions in jsdbgapi (r=luke) 2013-03-21 18:15:39 -07:00
Bill McCloskey
21fc09c7f5 Bug 852676 - Remove unmaintained ETW event support (r=sfink) 2013-03-21 18:15:39 -07:00
Terrence Cole
a0bedc4bc2 Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm 2013-02-14 14:51:07 -08:00
Bill McCloskey
61c4ec2f78 Bug 852667 - Permit passing #fixed slots to getInitialShape (r=bhackett) 2013-03-18 17:27:09 -07:00
Daniel Holbert
cc070e92a3 Bug 853777: Remove unused variable 'cx' from CodeGenerator::visitApplyArgsGeneric(). r=kvijayan 2013-03-22 08:13:49 -07:00
Jon Coppeard
6744752d0a Bug 853461 - GC: A couple more rooting hazards r=terrence
--HG--
extra : rebase_source : da4c0acc97603cf3eb8b263d9c99166660bc1524
2013-03-22 14:05:10 +00:00
Nicholas Cameron
f636036c33 Bug 849489. Optimise use of vstm/vldm. r=mjrosenb
--HG--
extra : rebase_source : e5bbcc5fe569c0f81114587330ec80212fc9b560
2013-03-22 15:37:10 +13:00
Nicholas Nethercote
74320548bb 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
cdb03c7948 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
331ad2a22c 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
d30ff604a4 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
b35bf94c88 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
f268f66b4b 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
49940b148b 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
7149800d55 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
f62b59f041 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
e17f9fac61 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
f982db0249 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Jim Blandy
c22104d949 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
a2ed005a49 Bug 841059 - Follow-up fix for broken root analysis build; r=bustage 2013-03-21 16:17:30 -07:00
Terrence Cole
8dc9a47ce4 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
0112f8352e Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz 2013-03-21 23:23:48 +01:00
Tom Schuster
42f1259a20 Bug 828462 - Root Proxy/Wrapper rests in js/src. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
012c930168 Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
ccde5567f1 Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
30b86c5cc0 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
fcf6a93bf4 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
Bill McCloskey
e8681242b9 Bug 852912 - Don't crash on NULL with AutoArrayRooter (r=bhackett)
--HG--
extra : rebase_source : f044831b03435b906221256611d7c01250b18ebe
2013-03-21 13:56:44 -07:00