Commit Graph

18068 Commits

Author SHA1 Message Date
Blake Kaplan
1343f4e23c Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky 2012-01-26 14:55:27 +01:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
2e56dac55e Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Jason Orendorff
bf70c01d6a Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb. 2012-01-27 14:16:22 -06:00
Jason Orendorff
68e5914814 Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke. 2012-01-27 14:14:01 -06:00
Peter Van der Beken
801dbb695f Fix for bug 717009 (Inline ListBase<LC>::instanceIsListObject and ListBase<LC>::getListObject). r=bz.
--HG--
extra : rebase_source : 368514fa942cb31751e5c6b4ff9d206c1bb609bc
2011-11-09 11:37:47 +01:00
Landry Breuil
68710b975e Bug 653551 - Jaegermonkey Sparc back-end broken on sparc64. r=leon.sha 2012-02-02 15:31:56 +09:00
Peter Van der Beken
85e454d39a Fix for bug 716997 (Allow new DOM bindings with 0 methods or properties). r=jst.
--HG--
extra : rebase_source : 2b16fa38254362cdedc136a8a4b07261ab2f6a76
2011-10-14 23:21:39 +02:00
Peter Van der Beken
d72b55a274 Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap.
--HG--
extra : rebase_source : 5baa4b1afeecf64e7f1945869e9cd2ae9045b44c
2011-10-14 23:29:36 +02:00
Boris Zbarsky
0c74b1ef90 Bug 722729. Expose a public API for LinkConstructorAndPrototype. r=bhackett 2012-01-31 22:40:49 -05:00
Nicholas Nethercote
4f29e66f41 Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Matt Brubeck
2f76524e14 Back out 08f4fc94e27b f3ceed05f6b7 f87d25461d6c 317e842f6c65 57adfe804b56 (bug 720316, bug 722260) 2012-01-31 17:34:26 -08:00
Jeff Walden
d9be9c5c4c Add END_CASE_LEN7 for Windows support, and add two forgotten manifest lists. Bug 722260 for the latter, no bug for the former, r=bustage 2012-01-31 16:49:27 -08:00
Brian Hackett
4f5cff94b3 Don't run compile-and-go scripts on globals with a cleared scope, bug 680456. r=dmandelin 2012-01-31 16:36:07 -08:00
Jeff Walden
9e3d1bf861 Backed out changeset f87d25461d6c -- seems js_DumpString (at least) is only exposed in vm/String.cpp #ifdef DEBUG. Still no bug, r=bustage 2012-01-31 16:32:02 -08:00
Jeff Walden
35b0181d09 Add dump() to JSString, JSAtom, and JSObject as an easier-to-type alias to js_Dump*. Also add equals(const char*) methods to JSAtom and JSString. These methods are all to be used *only* while debugging. No bug, rs=luke over IRC 2012-01-31 15:48:27 -08:00
Jeff Walden
e108b6016a Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke
--HG--
extra : rebase_source : 54ac2dccb9c1cb5c53f726939c988c4abfd74ab7
2012-01-30 17:08:34 -08:00
Jeff Walden
f30738541f Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff
--HG--
extra : rebase_source : 179deea8ca29b157b88658ccde6eabd6df48fab2
2012-01-19 17:15:33 -08:00
Sander van Veen
2cc3dbdefc Bug 681556 - Default sandboxName to the caller's filename. r=mrbkap. 2012-01-30 20:06:41 -08:00
Boris Zbarsky
b9917f3e19 Bug 722734. Add const signatures for converting back and forth between JS::Class and JSClass. r=mrbkap 2012-01-31 17:14:56 -05:00
Ed Morley
fe4fa2137e Merge mozilla-central to mozilla-inbound 2012-01-31 21:20:50 +00:00
Jim Blandy
31ba736fb8 Bug 722551: Once a function proxy has been frozen, operating on it should not cause its trap handlers to be called. 2012-01-31 12:48:14 -08:00
Jim Blandy
0fc7e7c56d Bug 722622: Remove custom trace function from js_NoSuchMethodClass. r=waldo
Since js_NoSuchMethodClass is a native class, the normal slot traversal
will reach the function and id slots.
2012-01-31 12:38:19 -08:00
Alex Keybl
1397a1a058 Bug 700000 - Version bump 2012-01-31 10:57:49 -08:00
David Mandelin
43badc67e6 Bug 714616: fix write barrier in Array.shift, r=billm
--HG--
extra : rebase_source : 2fd10ab4cc3a93aee188ef6f9bbc388f66da2d37
2012-01-30 17:13:07 -08:00
David Anderson
03a57cd888 Support soft-float for ARMv6 (bug 696291, r=mrosenberg). 2012-01-30 18:53:37 -08:00
Jeff Walden
3c3b76a04f Bug 722023 - Only call GetElementIC::attachGetProp with named properties, not indexed properties. r=bhackett
--HG--
extra : rebase_source : aec995e286ec3d6bc85ed539d39840217f2ec4cf
2012-01-29 12:29:29 -08:00
Jeff Walden
6cb3d45766 Bug 721322 - Functions containing |expr.arguments| should be marked (conservatively) as using arguments. r=jorendorff
--HG--
extra : rebase_source : 3ef23e440de3244ffff8ceb30e75fe086ae3b577
2012-01-26 17:04:00 -08:00
Kan-Ru Chen
a1dfeed3b0 Bug 709585 - Part 5, hal code for the Power API. r=cjones
--HG--
extra : rebase_source : 49c8cb29be617293eb9143b3e3c760229b37943c
2012-01-31 01:08:00 -05:00
Makoto Kato
05b09d853c Backout bug Bug 702179 due to bustage on MacOSX deubg and Win32 debug 2012-01-31 18:00:25 +09:00
Ginn Chen
57da459d97 Bug 702179 Reland 1d0ec7fa8b96 since Bug 719742 is fixed. 2012-01-31 14:51:13 +08:00
Scott Johnson
c5f8492d9e Backout 6a4c4cb828a8 for bustage on windows. 2012-01-30 18:47:43 -06:00
Kan-Ru Chen
896e917c65 Bug 709585 - Part 5/6, hal code for the Power API. r=cjones
--HG--
extra : rebase_source : 689315521a72444c8a0fc92efe128d5bf3fbbada
2012-01-30 17:02:51 -06:00
Nicholas Nethercote
f8d13343dd Bug 721628 (part 5) - Use size_t instead of int64_t in some JS memory reporting structs. r=luke.
--HG--
extra : rebase_source : c3e13b8042b8914ae16cee38b0299f6164ba9222
2012-01-29 14:13:18 -08:00
Nicholas Nethercote
a95d674a91 Bug 721628 (part 4) - Use better names for various JS memory reporting things. r=Ms2ger.
--HG--
extra : rebase_source : 4edc916c571906329075b6be68c245267f9b61d0
2012-01-29 14:11:32 -08:00
Nicholas Nethercote
cdf1a57711 Bug 721628 (part 3) - Rename several size type-inference-related measurement functions and types. r=bhackett.
--HG--
extra : rebase_source : e66bc2d787c31de93ff80280597543cf47924967
2012-01-26 19:09:31 -08:00
Nicholas Nethercote
78f85ce4f6 Bug 721628 (part 2) - Remove mention of slop bytes from JS memory reporter descriptions. r=luke.
--HG--
extra : rebase_source : f9babd22a734eae87a5f671f8ac405939d27e690
2012-01-26 05:55:03 -08:00
Nicholas Nethercote
bc12794a1b Bug 721628 (part 1) - remove the non-working shell built-in stringstats(). r=luke.
--HG--
extra : rebase_source : f56320a19d39035fac5cd6bccf21e101b9184d82
2012-01-26 05:46:54 -08:00
Till Schneidereit
ec5ea6fee9 Bug 679026 - Add gcMallocBytes per compartment. r=gwagner 2012-01-30 13:21:42 -08:00
Igor Bukanov
cbdb18c744 bug 722348 - eliminate JSRuntime::requestCount. r=luke 2012-01-30 11:15:13 +01:00
Jim Blandy
6066fac045 Bug 718786: Make the shell exit with EXITCODE_RUNTIME_ERROR when code is terminated. r=jorendorff
In js/src/jit-test/jit_test.py, add an 'exitstatus' jit-test cookie
attribute (and rename test.error to test.expect_error). Mark tests that
terminate with their expected termination code.

Clean up TMFLAGS comments.
2012-01-28 16:24:03 -08:00
Jon Buckley
ae7d4a9222 Bug 721230 - Implement a compressed texture support stub for WebGL conformance. r=bjacob 2012-01-28 16:15:27 -05:00
Joe Drew
9f3a3972b2 Merge mozilla-central to mozilla-inbound. 2012-01-28 15:48:23 -05:00
Matt Brubeck
343774f03e Back out 602d30678cac because of test failures 2012-01-27 18:37:18 -08:00
David Mandelin
668590bba4 Bug 714614: holes flag for parameter list, r=luke
--HG--
extra : rebase_source : 1297a7dfd311c0d83196740aa6a52df398749c96
2012-01-27 14:33:27 -08:00
Andrew McCreight
3d62207de2 Bug 693527 - tell the cycle collector about watchpoints. r=jorendorff 2012-01-27 17:13:21 -08:00
Bill McCloskey
791f83d2b2 Bug 708303 - Use pinReg/unpinReg more in write barriers (r=dmandelin) 2012-01-27 17:01:25 -08:00
Bill McCloskey
7839608d94 Bug 716619 - Simplify GC probes (r=sfink) 2012-01-27 17:01:04 -08:00
Justin Wood
e83aeba18f Merge backout 2012-01-27 10:11:46 -05:00
Justin Wood
0ad80f2ca4 Bug 721625 - Backed out changeset 886f040f2844 for regression from Bug 719659 2012-01-27 10:11:23 -05:00
Marco Bonardo
7e0d395f4e merge again 2012-01-26 19:37:23 +01:00
Marco Bonardo
4ed363f0ac Merge mozilla-central to mozilla-inbound 2012-01-26 19:34:35 +01:00
Siddharth Agarwal
53f59d57c2 Followup to bug 699385: remove a bit from js/src/configure.in I forgot to tackle in the original patch. 2012-01-27 00:04:09 +05:30
Olli Pettay
47b8ec859f Bug 720686, add some cycle collection optimizations to XPC, f=mrbkap,r=mccr8
--HG--
extra : rebase_source : 7e8f68a30048f613acc99201c3c1e12b6f74eaba
2012-01-26 14:52:25 +01:00
Adam
3f05d0496d Bug 720680: Less paren slop. (r=cdleary) 2012-01-25 22:25:31 -08:00
Luke Wagner
18cc0c72bb Bug 720695 - Fix uint32 overflow and INT32_MIN corner cases in CompareLexicographicInt32 (r=waldo,sgimeno) 2012-01-25 08:54:28 -08:00
Phil Ringnalda
24835daff9 Back out 88145df4191a, 42408569a696, and 2108d51be2e7 (Bug 719841, Bug 678086, and Bug 695922) for tp crashes on a CLOSED TREE 2012-01-27 14:22:10 -08:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
7dfa5bde57 Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Jason Orendorff
67206fb749 Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb. 2012-01-27 14:16:22 -06:00
Jason Orendorff
63918734d3 Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke. 2012-01-27 14:14:01 -06:00
Marco Castelluccio
798dc727de Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow 2012-01-26 09:54:31 +09:00
Bill McCloskey
b1836dcd92 Back out 77b82d0464b4 for build failures (bug 716619) 2012-01-27 11:53:11 -08:00
Bill McCloskey
01104d9e6e Bug 716619 - Simplify GC probes (r=sfink) 2012-01-27 11:35:12 -08:00
Jan de Mooij
1bcf76f956 Bug 679804 - Move relational ops to jsinterpinlines. r=dvander 2012-01-27 15:36:26 +01:00
Peter Van der Beken
dbcf0d05b8 Back out 570dd369e02a, bc777c65c5ca and 12a483042e9a to fix bustage 2012-01-27 15:34:30 +01:00
Siddharth Agarwal
c47136a8ae Bug 699385 - Remove support for pre-Windows 7 SDKs. r=ted
--HG--
extra : rebase_source : 65ad2481c16199bfba9cebe89965d2065e90dd42
2012-01-26 22:05:34 +05:30
Siddharth Agarwal
5ebbf15970 Bug 718541 - Work around an MSVC compiler bug with inlining JSObject::nativeLookup. r=Waldo
--HG--
extra : rebase_source : 15e0e90a4c525b40253d38ed5c6c9b6b7d299891
2012-01-26 21:47:10 +05:30
Dave Herman
37848482a8 Bug 721611 - evalWithLocation, r=Waldo 2012-01-26 11:26:59 -05:00
Nicholas Nethercote
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Jeff Walden
28157cc3ba Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
--HG--
extra : rebase_source : 0788763db92464426eaab05cc92ba9d4baea152c
2012-01-20 19:00:55 -08:00
David Mandelin
2c893fd2a7 Bug 708377: use standard ToInt32 everywhere in typed arrays, r=jwalden 2012-01-20 17:36:24 -08:00
Jeff Walden
2ca39644c4 Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC
--HG--
extra : rebase_source : 073e357a4f7bcfe1af4de5e7370d10dae9a3a07d
2012-01-22 21:22:10 -08:00
Jeff Walden
c6126c237c Bug 720941 - Remove JSDOUBLE_COMPARE (and DOUBLE_COMPARE, outside SpiderMonkey), as tinderbox's Windows compilers seem not to need it any more. r=dmandelin
--HG--
extra : rebase_source : 1ee5ff83329ef22e6ea471f5a06815bafa45f345
2012-01-23 11:52:28 -08:00
Bill McCloskey
502e67c72c Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Marco Castelluccio
7b71a67efd Bug 664824 - JM+TI: Make JSOP_IN fast for dense arrays. r=jandem 2012-01-25 14:55:00 +01:00
Mike Hommey
7d7a9fccec Bug 719742 - Make expandlibs properly handle the case where OBJ_SUFFIX is .i_o on Linux PGO first pass. r=ted 2012-01-25 10:34:14 +01:00
Nicholas Nethercote
f9f7183ee8 Bug 720219 (part 5) - Clean up JS type object measurement. r=bhackett.
--HG--
extra : rebase_source : 4d972fd2dd17181bf6facd077e71b05c6cc72307
2012-01-23 15:50:59 -08:00
Nicholas Nethercote
8d17f2415b Bug 720219 (part 4) - Clean up JS script measurement. r=bhackett.
--HG--
extra : rebase_source : 5c237412c6f3409f81ef23b1ab38b982540e14c3
2012-01-23 15:39:39 -08:00
Nicholas Nethercote
ca4887ca0c Bug 720219 (part 3) - Clean up JS shape measurement. r=bhackett.
--HG--
extra : rebase_source : 3667bc230c4f0818c674a86e5beee410edd34f4e
2012-01-23 15:39:00 -08:00
Nicholas Nethercote
7df99933c9 Bug 720219 (part 2) - Clean up JS string measurement. r=bhackett.
--HG--
extra : rebase_source : bc43388760741370265654aa4661ee422d6b6a33
2012-01-23 15:38:59 -08:00
Nicholas Nethercote
cfcdfc66fe Bug 720219 (part 1) - Clean up JS object measurement. r=bhackett.
--HG--
extra : rebase_source : ff9aa7da84814e6868fef88b56bcb038389d5fb9
2012-01-23 15:35:37 -08:00
Jeff Walden
a1c3f8065a Bug 566700 - Remove sharp-syntax generation from the toSource methods. r=dmandelin
--HG--
extra : rebase_source : c0b47ed9fd5569e24f8ab058e7cb4e8df0941f68
2012-01-20 23:39:37 -08:00
Adam
c3fe45102e Bug 688891: Remove unaligned LifoAlloc API. (r=cdleary) 2012-01-18 20:40:20 -08:00
Adam
f3790f59bd Bug 688891: C++ power-armor for Sprinter. (r=cdleary) 2012-01-20 15:09:56 -08:00
Luke Wagner
f6a6b61593 Bug 720067 - re-merge StackSpace.h with Stack.h, extract gc/Root.h (r=bhackett) 2012-01-20 19:49:33 -08:00
Blake Kaplan
b7d1070f61 Bug 718733 - Allow JSAPI tests to create compartments with principals. r=jorendorff
--HG--
extra : rebase_source : cf2530b81125479aacc27f0daf8a679e2f0c0b6e
2012-01-17 19:40:14 +01:00
Blake Kaplan
f0f0e834f9 Bug 720305 - Deal with odd getters and setters. r=jwalden
--HG--
extra : rebase_source : b5df534b437a6c79ab95b16ebb081d961b08e87f
2012-01-26 12:54:34 +01:00
Jeff Walden
5ea3eea94f Bug 566700 - Remove sharp variable support. r=dmandelin
--HG--
extra : rebase_source : 623f6ef8eb050d626b8c7a828949e291b34abc9a
2012-01-07 00:55:32 -06:00
Ed Morley
86d3c4e599 Backout 143f01714f2b (bug 705640) for build failures 2012-01-23 14:25:47 +00:00
Ben Turner
186eb76b2e Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir. 2012-01-23 03:02:54 -08:00
Ed Morley
2fa2d9037f Backout fcb3a7884fa9 (bug 705640) for build failures 2012-01-23 11:48:35 +00:00
Ben Turner
1d8744671b Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir. 2012-01-23 03:02:54 -08:00
Peter Van der Beken
0be5698e7f Fix for bug 717009 (Inline ListBase<LC>::instanceIsListObject and ListBase<LC>::getListObject). r=bz.
--HG--
extra : rebase_source : 661d5fc98c76506ab6abccd057a0ce1e8cf6b0f8
2011-11-09 11:37:47 +01:00
Peter Van der Beken
1f204772a9 Fix for bug 716997 (Allow new DOM bindings with 0 methods or properties). r=jst.
--HG--
extra : rebase_source : c6a702d61a75bae8e328d9cda6a717d75829ebf3
2011-10-14 23:21:39 +02:00
Peter Van der Beken
1966324e21 Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap.
--HG--
extra : rebase_source : 191e550e9aac822f82e771a5a21fe74f90f728cb
2011-10-14 23:29:36 +02:00
Tom Schuster
a86c1615c4 Bug 686296 - Non-extensible ArrayBuffer __proto__ should not be changable. r=jorendorff
--HG--
extra : rebase_source : 93384a978862d4f140e6d28296f24340a32fe4df
2012-01-21 19:25:54 +01:00
David Mandelin
d808d2979b Bug 718128: Implement draft spec ArrayBuffer.slice, r=jwalden 2012-01-18 17:27:13 -08:00
Brian Hackett
e927f18f77 Root strings in native iterators when converting from array of jsids, bug 719686. r=dvander 2012-01-20 16:22:16 -08:00
Brian Hackett
d3c4674f4d Fix use of space above the active JS stack pointer, bug 718347. r=dvander 2012-01-20 16:19:05 -08:00
Brian Hackett
dcfc212631 Keep track of SSA variable values at exception blocks after an explicit throw, bug 719758. r=dvander 2012-01-20 16:13:23 -08:00
Luke Wagner
30a4dc8306 Bug 719878 - AllFramesIter does not find all frames when the current segment contains only a native call (r=sfink)
--HG--
extra : rebase_source : c9f22d1ee0e2aa0501ad90ffe51a7ed1c13f9f33
2012-01-20 16:00:26 -08:00
Geoff Lankow
98c29d1c87 Backed out changeset 86da174de8df (bug 719841) 2012-01-21 11:26:40 +13:00
Geoff Lankow
2e3844c47c Backed out changeset febc999231e4 (bug 719841) 2012-01-21 11:26:37 +13:00
Bobby Holley
79399fd824 Bug 719841 - Assert that inner objects don't appear in prototype chains. r=jorendorff 2012-01-20 13:32:44 -08:00
Jason Orendorff
6d6181b2a7 Bug 719841 - Do not innerize an object assigned to __proto__. r=mrbkap 2012-01-20 13:32:44 -08:00
Brian Hackett
99d37b5c04 Backout 5cdf9574bede for build failures. 2012-01-20 07:33:44 -08:00
Brian Hackett
a9a3610803 Remove emitter special casing for __proto__, bug 717249. r=waldo 2012-01-20 07:14:55 -08:00
Jason Orendorff
e4cf9c8d53 Add file needed by some Map/Set tests (the tests were introduced for bug 697479). r=orange. 2012-01-20 07:30:27 -06:00
Jason Orendorff
94bdef7f4f Bug 697479 - Implement Map and Set builtins for JS. r=jimb. 2012-01-20 06:11:43 -06:00
Jason Orendorff
ee1591d990 Fix a few typos in comments in js/src. No bug, no_r=me. 2012-01-20 06:11:42 -06:00
Jason Orendorff
e646683875 Bug 717278 - Vector should have const and non-const begin(). r=luke. 2012-01-20 06:11:42 -06:00
Jan de Mooij
7fce0c694c Bug 719135 - Move some arithmetic operations to jsinterpinlines. r=dvander 2012-01-20 13:01:44 +01:00
Mike Hommey
063131a830 Bug 603370 part 1 - Add an option to expandlibs-exec to allow to reorder the objects list. r=ted 2012-01-20 09:50:44 +01:00
John Schoenick
e58ad87df1 Bug 718899 - Implement Cu.forceShrinkingGC / Cu.schedulePreciseShrinkingGC r=gwagner 2012-01-19 10:58:25 -08:00
Marco Bonardo
2cef87ff1e Merge central to inbound 2012-01-19 11:36:52 +01:00
Marco Bonardo
6136ce1761 Merge last green PGO from inbound to central 2012-01-19 11:34:17 +01:00
Brian Hackett
68e8fc5429 Pass scope chain explicitly to FindProperty, bug 717494. r=dvander 2012-01-18 17:15:00 -08:00
Brian Hackett
40239683ac Store JSStrings instead of jsids in native key iterators, bug 713754. r=dvander 2012-01-18 16:56:22 -08:00
Brian Hackett
0149f21a7d Compile large scripts in chunks, bug 706914. r=dvander 2012-01-18 16:40:18 -08:00
Mark Finkle
90bc089539 Backout 60eb0da71cdb as suspected crash cause (bug 718765) 2012-01-18 10:08:29 -05:00
Phil Ringnalda
4ce29d7d6b Back out 78a8aeae5b30 (bug 696291) for Android build bustage 2012-01-18 20:36:59 -08:00
Brian Hackett
af1c66e61e Define mjitChunkLimit in --disable-methodjit builds to fix test failure, no bug, no r. 2012-01-18 19:56:21 -08:00
Bobby Holley
91a2b92f7f Bug 718072 - WeakMaps constructor doesn't always get initialized on the global object. r=Waldo 2012-01-18 19:10:04 -08:00
Chris Leary
d0093ec383 Bug 719315: Free unused chunks. (r=luke) 2012-01-18 18:55:01 -08:00
David Anderson
2e91388c1e Follow-up fix for ARMv7 regression after soft-float support on ARMv6 (bug 696291, r=mrosenberg).
--HG--
extra : rebase_source : f7a86715ad9a478381c7af37cba946a0c3566f69
2012-01-18 18:07:46 -08:00
Brian Hackett
d11ecace5f Fix warnings, no bug. r=dvander 2012-01-18 18:08:22 -08:00
David Anderson
6e8f9dd8ef Support pre-SSE2 CPUs in JaegerMonkey (bug 696291, r=bhackett).
--HG--
extra : rebase_source : f1f6a1e60b05974533ff39292a0a278fc69fbb0f
2012-01-13 13:33:56 -08:00
Luke Wagner
00997be6f7 Bug 718134 - un-union StackFrame::args (r=bhackett)
--HG--
extra : rebase_source : 51b670e57a9fd4f1fc09808137e152d46e18d33a
2012-01-17 16:35:07 -08:00
Luke Wagner
52f5f3e08b Bug 718022 - further nerf f.arguments (r=waldo,sr=dmandelin)
--HG--
extra : rebase_source : a93cf7e665753afc38d26a9e3cd2d328eef53b42
2012-01-17 16:34:24 -08:00
Luke Wagner
5ac0db14f4 Remove tracer bits from InterpMode (no bug, r=dvander)
--HG--
extra : rebase_source : a7d4938398584a21daa369bf6409decd647ac295
2012-01-06 09:36:49 -08:00
Andrew McCreight
82cdf1adb9 Bug 718029 - don't skip JSContexts with outstanding requests. r=smaug 2012-01-17 09:38:24 -08:00
Reuben Morais
0021b14054 Bug 717805 - Remove CopyArrayElement. r=jwalden 2012-01-17 12:33:08 +01:00
Luke Wagner
73a1588f02 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Terrence Cole
4f446e3a9a Bug 720891 - Despecialize the optimization for TypeObject marking; r=bhackett
This is not worth the cognitive burden and prevents us from nicely compacting
the Marker function definitions.
2012-01-24 16:28:41 -08:00
Bill McCloskey
6ee3ac4d49 Bug 720853 - Add read barrier for atom table (r=luke) 2012-01-24 18:32:56 -08:00
Bill McCloskey
5432dc90b6 Bug 720848 - Trace through watchpoints from TraceRuntime (r=jorendorff) 2012-01-24 18:32:17 -08:00
Matt Brubeck
0978981988 Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures 2012-01-24 17:32:30 -08:00
Terrence Cole
9f235d9fdf Bug 720840 - Call MarkStringUnbarriered directly; r=billm
We have a special marker function for handling the Atom list because we need to
call JS_SET_TRACING_INDEX externally to avoid clobbering the index.  However,
nobody cares about the index here and if they do, they can add custom debug
code.  It is better at this point to have a consistent and correct interface,
thus we remove the specialized atomized string marking in favor of the existing
markers.  Additionally, this is only used during root marking so we can switch
to using MarkRoot for the extra assertions.

--HG--
extra : rebase_source : b4448f7fde8990a727bf2893e53688690e170535
2012-01-24 15:21:44 -08:00
Jeff Walden
5da7a5ab8e Bug 720759 - Delete the fallible EqualStrings signature when both provided strings are linear, so that callers are required to use the faster, infallible linear-strings overload. r=Ms2ger
--HG--
extra : rebase_source : 2794602c5fa7b1ee5a2d891b7ef0696985ceccd4
2012-01-24 10:30:46 -08:00
Jeff Walden
7757853965 Bug 720759 - Convert js::SameValue, js::StrictlyEqual, js::LooselyEqual, and js::EqualStrings to return a value through a bool*, not a JSBool*, to eliminate a (single!) Windows warning. r=Ms2ger
--HG--
extra : rebase_source : 2b9e2c5ffff4c017489f54c504b90dacb02f8654
2012-01-24 10:29:55 -08:00
Justin Lebar
5726a3c7e6 Bug 696162 - Followup: Use static_cast rather than reinterpret_cast, where appropriate. 2012-01-24 16:17:28 -05:00
Ms2ger
e46429f4e0 Bug 672893 followup - Make JSCompartment not a JS_FRIEND_API; r=luke 2012-01-24 21:07:00 +00:00
Ed Morley
e0dd3d1f84 Backout 01a5ce645a8b, 6e849614a79f & bd75f26eee25 (bug 720759) for win debug build failures 2012-01-24 21:06:59 +00:00
Ed Morley
69803bf7d3 Backout b7f926cfa8c8 (bug 672893) for Windows build failures 2012-01-24 20:57:30 +00:00
Ms2ger
c73a4a956f Bug 672893 followup - Make JSCompartment not a JS_FRIEND_API; r=luke 2012-01-24 20:14:11 +01:00
Jeff Walden
01d4605b8c Bug 720759 - Delete the fallible EqualStrings signature when both provided strings are linear, so that callers are required to use the faster, infallible linear-strings overload. r=Ms2ger 2012-01-24 10:30:46 -08:00
Jeff Walden
41a1ee8186 Bug 720759 - Convert js::SameValue, js::StrictlyEqual, js::LooselyEqual, and js::EqualStrings to return a value through a bool*, not a JSBool*, to eliminate a (single!) Windows warning. r=Ms2ger 2012-01-24 10:29:55 -08:00
Justin Lebar
6d8f20fd40 Bug 696162 - Fix jsgcchunk's AllocGCChunk to be more efficient and to avoid potential problems on Mac 10.7. r=igor
--HG--
extra : rebase_source : 13160f0e9d8b09ed31359daf451adff3e68de30d
2012-01-24 13:50:45 -05:00
Luke Wagner
0d7b41f9b5 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor) 2011-07-18 14:54:48 -07:00
Bill McCloskey
9e78bc2445 Bug 720505 - Remove MarkRuntime from jsapi.h exports (r=Ms2ger) 2012-01-24 10:21:12 -08:00
Matt Brubeck
afd7b95fcd Back out e7fa7c10803e and ebf0c9794a34 (bug 696162) because of Win64 build failure 2012-01-24 08:59:40 -08:00
Justin Lebar
c698a78628 Bug 696162 - Followup: Fix comment style. DONTBUILD 2012-01-24 10:57:33 -05:00
Justin Lebar
10fdf48fd7 Bug 696162 - Modify jsgcchunk's AllocGCChunk to be more efficient and to avoid potential hangs on Mac 10.7. r=igor 2011-11-10 15:08:59 -05:00
Jan de Mooij
15262f5688 Move GETELEM/SETELEM operations to jsinterpinlines (bug 718683, r=pierron) 2012-01-24 16:20:34 +01:00
Nathan Froyd
c640d15949 Bug 714365 - DictionaryHelpers.cpp gets rebuilt on every build. r=ted 2012-01-23 07:55:21 -08:00
Ms2ger
4cf59c6fcc No bug - Try to fix ¬m bustage. 2012-01-24 14:45:35 +01:00
Ben Turner
1cd415db8f Bug 705640 - Implement DOMError as defined in DOM 4, r=mounir.
--HG--
extra : transplant_source : %15%98Xx%C3%F3%89%95%94%5Eu%99%B0%CC%8B%E0V%3A4%C6
2012-01-24 02:13:41 -08:00
Jim Blandy
36df4ffa3a Bug 717417: Don't skip ScriptDebugEpilogue when an onExceptionUnwind handler throws an uncaught exception or terminates the debuggee. r=jorendorff 2012-01-23 17:44:32 -08:00
Jim Blandy
335fa4315b Bug 717417: Add 'terminate' shell primitive. r=jorendorff 2012-01-23 17:44:30 -08:00
Brian Hackett
140300adfb Ensure code is discarded appropriately when kicking frames into the interpreter, bug 719674. r=dvander 2012-01-23 16:50:23 -08:00
Bill McCloskey
c849a7a139 Bug 716027 - Add write barrier to SetReservedSlot in jsfriendapi.h (r=bhackett) 2012-01-23 16:43:19 -08:00
Bill McCloskey
5e946f0618 Bug 716033 - Move write barriers from jsapi.h to jsfriendapi.h (r=luke,bholley) 2012-01-23 16:43:12 -08:00
Brian Hackett
b0ad38065b Convert integers to doubles at join points immediately after a chunk boundary, bug 719918. r=dvander 2012-01-23 16:42:21 -08:00
Brian Hackett
a3feed3c76 Don't leak JITScript->shimPool, bug 720359. r=dvander 2012-01-23 16:35:12 -08:00
Jeff Walden
6dbeb964f0 Bug 720316 - Convert RegExp indexes into uint32_t. r=luke
--HG--
extra : rebase_source : bc166b8b951b7142b27f423fdbb6aba7e3087d97
2012-01-19 17:15:24 -08:00
Jeff Walden
1dd37c3dde Bug 720316 - Remove the entirely-unused JOF_SLOTATOM. r=luke
--HG--
extra : rebase_source : 2f2222eebe863873d7d85323e9dd5c5484c72193
2012-01-18 16:55:59 -08:00
Jeff Walden
706ef95953 Bug 720316 - Introduce GET_UINT8 and SET_UINT8 helpers for bytecode immediate examination/setting. r=luke
--HG--
extra : rebase_source : 7413b96b2e1b048b78c37d6a7b0700d6b1d84874
2012-01-17 17:55:27 -08:00
Jeff Walden
6f3351b7f8 Bug 720511 - Make sure indexed elements on prototypes of an array being joined show through in the final join-string. r=luke
--HG--
extra : rebase_source : 9979fa265e18e347fb0406c39044bce6fa183aef
2012-01-21 04:05:53 -08:00
Santiago Gimeno
2886670920 Bug 715265 - Optimize all-int array sort and avoid creating a JSString per element when there is no comparator (r=luke)
--HG--
extra : rebase_source : 0a61ff4ac1cafa450b78fad1cf4adde3246729fc
2012-01-23 14:06:02 -08:00
Andrew McCreight
4d058d5e0d Bug 720292 - add more cycle collector edge names. r=smaug 2012-01-23 15:25:53 -08:00
Brian Hackett
07c3a6041b Add incremental GC barrier for generator frames associated with args/call objects, bug 716013. r=billm 2012-01-23 13:59:04 -08:00
Brian Hackett
83e209b524 Add JSOP_LOOPENTRY for target of initial loop jump, bug 720169. r=dvander 2012-01-23 13:51:01 -08:00
Gregory Szorc
1dda630b4c Bug 717713 - Add -Qunused-arguments to default Clang compiler flags; r=ted 2012-01-23 13:32:12 -08:00
Jeff Walden
8c89218584 Bug 720094 - Simplify the implementation of JSDOUBLE_IS_NaN a bit, consolidating two implementations (conditioned on the architecture) into one. r=dvander 2012-01-20 23:39:32 -08:00
Chris Leary
3c72dbeee9 Bug 717762: Proliferate js_memcpy and PodCopy, take 2. (r=luke)
--HG--
extra : rebase_source : 73083063f32036d037b34f0ec96d06192f2ae649
2012-01-17 14:32:36 -08:00
Igor Bukanov
2942303dc8 bug 718600 - remove JSRuntime::(rtLock, state). r=luke 2012-01-17 23:14:49 +01:00
Bill McCloskey
f5850d05b3 Bug 708303 - Use pinReg/unpinReg more in write barriers (r=dmandelin) 2012-01-16 13:52:57 -08:00
Nathan Froyd
4928a5864e Bug 711563 - compact function specs; r=jorendorff 2011-12-29 16:23:53 -05:00
Nathan Froyd
a38b9b6e48 Bug 711563 - flatten property and function names; r=jorendorff 2011-12-29 16:20:26 -05:00
Nathan Froyd
5658f0c1f6 Bug 711563 - more compact property and function tables; r=jorendorff 2011-12-29 15:18:41 -05:00
Nathan Froyd
1b75da2f1c Bug 711563 - reduce space required by hash entry chains; r=jorendorff 2011-12-16 14:49:53 -05:00
Ginn Chen
9c3d06ca8d Bug 717863 default pagesize is 8192 on Solaris/SPARC r=igor 2012-01-16 09:32:58 +08:00
Justin Wood
09b3d2e3d1 Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger
e9d0457e8a Bug 712034 - Clean up jstypes.h a bit; r=njn 2012-01-15 09:13:12 +01:00
Ms2ger
8b4f609fc5 Bug 714052 - Remove JS_NEITHER; r=luke 2012-01-15 09:13:12 +01:00
Ms2ger
c3ac307be0 Bug 717195 - Export dombindings.h; r=bholley 2012-01-15 09:13:12 +01:00
Ms2ger
c08e28ffbb Bug 677079 - Part ab: Remove jscntxt.h and dependencies from INSTALLED_HEADERS; r=dmandelin 2012-01-15 09:13:11 +01:00
Ms2ger
3b70bf2777 Bug 677079 - Part aa: Expose sizeof(JSContext) in jsfriendapi.h; r=njn 2012-01-15 09:13:11 +01:00
Ms2ger
7a241b6e2d Bug 677079 - Part z: Move JS_CHECK_RECURSION to jsfriendapi.h; r=mjrosenb 2012-01-15 09:13:11 +01:00
Ms2ger
d2bbda8564 Bug 677079 - Part y: Move AutoIdVector to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
d088d42b35 Bug 677079 - Part x: Move AutoValueVector to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
ddd6bffd7f Bug 677079 - Part w: Move AutoVectorRooter to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
d7a989a022 Bug 677079 - Part v: Expose rt->compartments in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:11 +01:00
Ms2ger
dd1391fb7b Bug 677079 - Part u: Provide TriggerOperationCallbacksForActiveContexts in jsfriendapi.h; r=bhackett 2012-01-15 09:13:10 +01:00
Ms2ger
5906bcfce6 Bug 677079 - Part t: Provide IsContextRunningJS in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:10 +01:00
Ms2ger
faa2fb2251 Bug 677079 - Part s: Make JS_TRACER_INIT a function instead of a macro; r=billm 2012-01-15 09:13:10 +01:00
Ms2ger
47fef8e488 Bug 677079 - Part r: Provide AutoSkipConservativeScan in jsfriendapi.h; r=luke 2012-01-15 09:13:10 +01:00
Ms2ger
a68763cbfd Bug 677079 - Part q: Expose gcLock in jsfriendapi.h; r=gal 2012-01-15 09:13:10 +01:00
Ms2ger
59f812e2ba Bug 677079 - Part p: Remove AutoLockJSGC in favour of js::AutoLockGC; r=bholley 2012-01-15 09:13:10 +01:00
Ms2ger
d3a8cef289 Bug 677079 - Part o: Expose setActivityCallback in jsfriendapi.h; r=gal 2012-01-15 09:13:10 +01:00
Ms2ger
e1128e53a7 Bug 677079 - Part n: Expose JSOPTION_UNROOTED_GLOBAL in jsfriendapi.h; r=gal 2012-01-15 09:13:09 +01:00
Ms2ger
d18f6233a3 Bug 677079 - Part m: Expose context's compartment in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:09 +01:00
Ms2ger
53a542098a Bug 677079 - Part l: Use the existing JSAPI for the global object for a context; r=bholley 2012-01-15 09:13:09 +01:00
Ms2ger
481a852857 Bug 677079 - Part k: Expose outstandingRequests in jsfriendapi.h; r=cdleary 2012-01-15 09:13:09 +01:00
Ms2ger
f9031f06f9 Bug 677079 - Part i: Expose errorReporter in jsapi.h; r=mrbkap 2012-01-15 09:13:09 +01:00
Ms2ger
b36971fb80 Bug 677079 - Part h: Expose debuggerHandler in jsfriendapi.h; r=igor 2012-01-15 09:13:09 +01:00
Ms2ger
db00645596 Bug 677079 - Part g: Expose VersionSetXML in jsfriendapi.h; r=bhackett 2012-01-15 09:13:08 +01:00
Ms2ger
799383f927 Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ms2ger
074cb0467e Bug 677079 - Part e: Move js_GetSCOffset to jsfriendapi.h; r=luke 2012-01-15 09:13:08 +01:00
Ms2ger
6b0c6353bd Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ms2ger
51011b3e2b Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo 2012-01-15 09:13:07 +01:00
Ms2ger
10cf80e5a4 Bug 677079 - Part b: Use existing JSAPI functions where those are available; r=bholley 2012-01-15 09:13:07 +01:00
Ms2ger
eed17b31be Bug 677079 - Part a: Move AutoLockGC to jsfriendapi.h; r=igor 2012-01-15 09:13:07 +01:00
Boris Zbarsky
60092be797 Bug 712289. Make sure that alignment requirements agree for js::Value and jsval_layout. r=luke 2012-01-14 23:39:32 -05:00
Shu-yu Guo
e27f5dd66b Fix opcode metadata counting for property and element ops, bug 717988. r=bhackett 2012-01-13 17:47:59 -08:00
Brian Hackett
afa722933a Mark types for second value pushed by JSOP_CALLXMLNAME, bug 717252. r=dvander 2012-01-13 17:45:11 -08:00
Brian Hackett
e494be423b Merge. 2012-01-13 17:40:14 -08:00
Chris Leary
9c521b7872 Back out b36175bbda47.
--HG--
extra : rebase_source : 927a14ed70c37c654b53145a71d2f88be139a9b9
2012-01-13 17:35:10 -08:00
Brian Hackett
138d6124db Don't clobber compared FP registers when syncing before a double comparison, bug 716119. r=dvander 2012-01-13 13:18:51 -08:00
Chris Leary
65bb6fc01a Bug 717762: Proliferate js_memcpy and PodCopy. (r=luke) 2012-01-12 18:40:08 -08:00
Chao-ying Fu
2ee874bb61 Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Rafael Ávila de Espíndola
a8a418330d Bug 717908 - disable unreliable test. r=igor.
Since we use a conservative gc, this test can fail depending on the memory
layout.

--HG--
extra : rebase_source : dc0f35343a4aa2b911cb582c093a17a50289d299
2012-01-13 11:11:03 -05:00
Nathan Froyd
1511735e48 Bug 717501 - reduce space required by unicode tables; r=evilpie 2012-01-12 00:10:26 -05:00
Landry Breuil
9c18b76213 Bug 717733 - Fix int64 types usage in js/xpconnect, build failure on OpenBSD
js/xpconnect/src/XPCJSRuntime.cpp:1881:
error: invalid conversion from 'PRInt64*' to 'int64_t*'
2012-01-12 16:56:02 -05:00
Luke Wagner
221d46b0b7 Bug 715561 - Don't forget to bump JSXDR_BYTECODE_VERSION! (r=jorendorff) 2012-01-12 13:41:49 -08:00
Luke Wagner
657d7762b9 Bug 715561 - Fix js_XDRStaticBlockObject to handle empty destructuring let (r=jorendorff) 2012-01-09 10:50:17 -08:00
Luke Wagner
8746c5f966 Bug 715561 - Tidy up js_XDRStaticBlockObject (r=jorendorff)
--HG--
extra : rebase_source : a0cdaca76ee0a475bb7592090b1e9993e662fecb
2012-01-09 10:23:38 -08:00
Brian Hackett
fc306d98e5 Fix AssertValidPropertyCacheHit when called from JIT stubs, bug 717251. r=dvander 2012-01-12 08:41:09 -08:00
Brian Hackett
77528032b4 Avoid skipping sync code in GETPROP PIC on non-length accesses which can invoke a getter, bug 717184. r=dvander 2012-01-11 17:42:58 -08:00
Brian Hackett
da9cc94683 Account for all special CALLPROP behavior in inline cache stub, bug 717208. r=dvander 2012-01-11 17:31:41 -08:00
Luke Wagner
d72163a2d5 Bug 714547 - SecurityWrapper should not interfere with same-document.domain access (r=mrbkap)
--HG--
extra : rebase_source : ffc6e1920dccdd194269fa7056113944863e0419
2012-01-09 15:32:53 -08:00
Ms2ger
ca9baae85f Bug 716357 - Fix license header in FilteringWrapper.cpp; r=gerv DONTBUILD 2012-01-11 17:12:21 +01:00
Brian Hackett
ea3261837a Fix non-threadsafe builds, no bug. r=jorendorff 2012-01-11 07:45:55 -08:00
David Rajchenbach Teller
7cc95dee63 Bug 707096 - Add a public API for TypedArray / ArrayBuffer. r=dmandelin 2012-01-10 08:56:47 +01:00
Ms2ger
10ae9ad9d2 Merge m-c to m-i. 2012-01-11 12:15:35 +01:00
Ms2ger
0ee7223f8a Bug 332648 - Part h: Move AutoEnumStateArray to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
badf95659c Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
b15e0925fa Bug 332648 - Part f: Move AutoIdRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
dbd0ec7cdd Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
61e5d8db2b Bug 332648 - Part d: Move AutoStringRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Ms2ger
28ef8d5df7 Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Ms2ger
41e5f45d47 Bug 332648 - Part b: Move AutoValueRooter to jsapi.h; r=evilpie
This patch also moves the MarkRuntime function into the JS namespace.
2012-01-11 09:23:08 +01:00
Ms2ger
afa524ca3b Bug 332648 - Part a: Move AutoGCRooter to jsapi.h; r=evilpie
This also moves AutoCheckRequestDepth into jsapi.h and moves some assertions
from CHECK_REQUEST to the AutoCheckRequestDepth constructor.
2012-01-11 09:23:08 +01:00
Ms2ger
ba150c988a Bug 714264 - Part c: Move IterateData / CollectCompartmentStatsForRuntime / GetExplicitNonHeapForRuntime to js/MemoryMetrics.h; r=njn
This patch also removes those APIs exposed in js/MemoryMetrics.h that aren't
used anymore.
2012-01-11 09:23:08 +01:00
Ms2ger
4c9257d038 Bug 714264 - Part b: Move CompartmentStats to MemoryMetrics.h; r=njn
The name member is implemented as a void*, because it needs to remain an
nsCString, and as such the logic to get the name also remains in XPConnect.
2012-01-11 09:23:08 +01:00
Ms2ger
5788bfeabb Bug 714458 - Part c: Don't include jscntxt.h in xpcprivate.h; r=bholley
This removes the inclusion from xpcprivate.h, and adds the include to XPConnect
files that still need it, along with notes to clarify what these files need
from the include. These notes will be removed while fixing bug 677079.
2012-01-11 09:23:08 +01:00
Ms2ger
fe9a65e24a Bug 714458 - Part b: Provide the thread-related APIs xpcprivate.h needs; r=igor
This introduces a JS_GetCurrentThread to go with the existing
JS_GetContextThread, as well as a js::GetContextThread to get at the actual
JSThread object, and inlines the only use of JS_THREAD_ID.
2012-01-11 09:23:07 +01:00
Ms2ger
dd7e572a40 Bug 714458 - Part a: Introduce JSAPI for JSContext's second private pointer; r=Waldo
JSContext currently has 2 private pointers, but the JSAPI only provides access
to one of them.
2012-01-11 09:23:07 +01:00
Ms2ger
497b9f7e41 Bug 715634 - Cleanup XPCJSContextStack; r=bholley 2012-01-11 09:23:07 +01:00
Ms2ger
2ebe58f6e7 Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo 2012-01-11 09:23:05 +01:00
Andrew McCreight
56dd519e14 Bug 708322 - never traverse non-gray JS Objects. r=billm 2012-01-09 12:02:25 -08:00
Kartikaya Gupta
664fe7b801 Bug 715791 - Preserve line numbers when preprocessing java files as well as js files. r=ted 2012-01-05 23:32:05 -05:00
Rafael Ávila de Espíndola
137a526a8b Bug 715528 - Drop old bits about cross compiling from ppc to x86 and default OS X for ppc. r=ted. 2012-01-10 08:29:13 -05:00
Phil Ringnalda
aee17b1ba1 Back out 3ab1dcfb2218 and 46ae4bf4aaf4 (bug 622301) for Windows PGO bustage 2012-01-14 18:56:00 -08:00
Bobby Holley
8d135fac49 Bug 716167 - Add a release-mode assertion that XPConnect is never used off the main thread. r=mrbkap 2012-01-14 10:31:19 -08:00
Bobby Holley
0300fb6368 Bug 716167 - Only push null contexts in XPConnect for main thread events, and remove infrastructure from bug 326777. r=bz 2012-01-14 10:31:16 -08:00
Bobby Holley
b4cfcc0491 Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap 2012-01-14 10:29:56 -08:00
Bobby Holley
68d6ea3dc1 Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap 2012-01-14 10:29:56 -08:00
Mike Hommey
1f4341fcce Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Jeff Walden
50aa3de8a4 Fix the test for bug 715682 to use the right file name and bug number, and give it a more accurate description. r=trivial 2012-01-10 00:11:15 -06:00
Jeff Walden
1b2428d2ca Bug 715821 - Add tests for reimplementation of Object.prototype.__define[GS]etter__ in terms of Object.defineProperty. r=tests
--HG--
extra : rebase_source : fe221868b0aa281da44383fda7a4ef4c69156554
2012-01-09 23:12:47 -06:00
Michael Kohler
bf6a5aaae5 Bug 711818 - MOZILLA_GUARD_OBJECT_NOTIFIER* should use a MOZ_ prefix to follow MFBT style 2012-01-10 00:29:30 -05:00
Terrence Cole
0f79e55476 Bug 716176 - Trigger write barriers when copying BaseShapes; r=billm
Since getterObj and setterObj are hidden beneath unions, we need to manually
trigger their barriers.

--HG--
extra : rebase_source : c4936795ff5afbb23b77f680a4e607a6f1b722bd
2012-01-09 16:08:24 -08:00
Daniel Holbert
8f4f050f75 Bug 716702: Fix C++-style comment in header 'jsopcode.h' that gets included in C code. r=bhackett 2012-01-09 15:45:54 -08:00
Landry Breuil
c4964fd0be Bug 714312 - Use <machine/endian.h> to get endianess on BSD systems, fixing the BSD build. r=ted
--HG--
extra : rebase_source : 8b418bdb2d713093d138ffed20bf1630c05f396b
2012-01-09 17:32:00 -06:00
Jeff Walden
3e5f1331f2 Bug 715821 - Make Object.prototype.__defineGetter__ and Object.prototype.__defineSetter__ perform their work by forwarding to Object.defineProperty. This eliminates two calls to CheckRedeclaration, which is impeding property-storage-splitting work. r=bhackett
--HG--
extra : rebase_source : 4516291a3e4809999aef2c0a3748785a3aa139ce
2012-01-06 00:13:20 -06:00
Ben Turner
6f8017d643 Bug 674726 - WebTelephony. r=philikon+mounir, sr=sicking. Not part of the default build.
--HG--
extra : transplant_source : %1A%23%10d%88%B3%DA%87%C9%DD0%E6P%1Ct%AD%7D%80%B6%B4
2012-01-09 14:28:47 -08:00
Daniel Holbert
6bc23dbdce Bug 716663: Fix check for PR49911 to use "=" instead of "==" for string-equality-check with 'test'. r=respindola 2012-01-09 14:17:00 -08:00
Luke Wagner
2156b20ec8 Bug 716068 - de-OptimizeSpanDeps (r=waldo)
--HG--
extra : rebase_source : 4dd2b3c08f792ceb86c3824b953e88a08f3968cc
2012-01-09 11:05:06 -08:00
Luke Wagner
a0f4468a00 Bug 715817 - rm SRC_EXTENDED (r=waldo)
--HG--
extra : rebase_source : ba776d02fcaa109cac1ab450939218b3090b9b73
2012-01-09 11:05:03 -08:00
Jim Blandy
44ae800ab8 Bug 716629: Mark deleted JSFunction::toFunction methods as private, as per MOZ_DELETE instructions in mfbt/Attributes.h. 2012-01-09 12:34:06 -08:00
Mounir Lamouri
90398cbe06 No bug - Fix build bustage. Follow up from bug 716541. r=mrbkap 2012-01-09 20:09:02 +01:00
Jacek Caban
8273584a40 Bug 712594 - libffi fails to build on mingw-w64 r=bsmedberg 2012-01-09 18:46:27 +01:00
Jacek Caban
d94f6b84d0 Bug 714646 - jsgc.cpp fails to compile on Win64 GCC r=igor 2012-01-09 18:45:50 +01:00
Brian Hackett
ef103cd67e Backout 54cd89b0f1fa (bug 712714 backout). Talos will probably report fake regressions for this patch, do not back out for this reason. 2012-01-09 06:29:50 -08:00
Igor Bukanov
12c791efaf bug 716512 - make sure that gcparam in shell cannot set MAX_GC_BYTES to a value les than the current GC_BYTES. r=anygregor 2012-01-09 15:23:36 +01:00
Ed Morley
7d7562b0d4 Backout b1612e3ba9b9 & 668a56be0eef (bug 622301) for Dromaeo regressions 2012-01-07 14:17:54 +00:00
Jeff Walden
36dd382b2e Bug 715852 - Fix an assertion running ecma_5/Object/proto-property-change-writability-set.js that happens when a test gets methodjitted just so. This fix is the required methodjit complement to the interpreter fix from bug 713944. FAIL. r=i-am-dumb 2012-01-07 00:55:21 -06:00
Bobby Holley
9f17b789c2 Bug 715417 - Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals. r=mrbkap 2012-01-06 17:29:02 -08:00
Bobby Holley
fac15f2a63 Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap 2012-01-06 17:29:02 -08:00
Bobby Holley
d5b089558f Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap 2012-01-06 17:29:02 -08:00
Ed Morley
44179fc650 Bug 716139 - Don't try to generate js/src/analysis-tests/Makefile, since the directory no longer exists; rs=khuey 2012-01-07 01:00:29 +00:00
Igor Bukanov
024bdbca25 bug 714280 - Make gcMaxBytes a hard limit. r=anygregor 2012-01-05 09:54:37 +01:00
Mounir Lamouri
e47889adff Bug 703121 - Part 2 - Do not force warnings-as-errors to be disabled on Android. r=khuey 2012-01-06 18:17:07 +01:00
Mounir Lamouri
4974b40d0d Bug 703121 - Part 1 - Make warnings-as-errors opt-in instead of opt-out. r=khuey 2012-01-06 18:16:20 +01:00
Jeff Walden
84ad2e6e48 Bug 713965 - Replace deleteGeneric (taking a jsid) with deleteByValue (taking a Value), and use the property-type-specific methods exclusively. r=bhackett
--HG--
extra : rebase_source : c9273f81996c755f6b3814895a4ce64f390f7c50
2011-12-28 16:33:20 -06:00
Jeff Walden
51c7071c6d Bug 715059 - Make ParseNode non-copyable and non-copy-assignable. r=luke
--HG--
extra : rebase_source : 390a125ca841d1b2e26ee3e18b72242e151feff4
2012-01-03 22:18:55 -06:00
Jeff Walden
afa8cb44ae Bug 715682 - Make sure to generate the appropriate initializing opcode for accessors in object literals. r=bhackett
--HG--
extra : rebase_source : b4ec1d4e5800606c31e6fb7edf627437fe3f5185
2012-01-05 17:40:14 -06:00
Igor Bukanov
2171d0d05a bug 715883 - eliminating no longr used JSRuntime::gcEmptyArenaPoolLifespan and related code. r=gal 2012-01-06 16:42:18 +01:00
Andrew McCreight
afff3371b6 Bug 707313 - use special non-NULL next for weak maps not in the list. r=jimb 2012-01-06 11:30:09 -08:00
Jim Blandy
1dd8193e3d Bug 715656: Rename js::StackFrame::markFunctionEpilogueDone to updateEpilogueFlags, to be less misleading r=luke 2012-01-06 11:06:48 -08:00
Jim Blandy
6c52827dec Bug 715667: Remove some unnecessary toFunction() calls applied to JSFunction values. r=luke 2012-01-06 11:06:48 -08:00
Terrence Cole
17f1969b7b Bug 715943 - StackFrame marking should not skip its JSFunction; r=luke
Right now, the StackFrame marks script().  When this is a plain function, this
returns fun()->script(), meaning that we never explicitly mark fun() and rely on
it being rooting in some other fashion.  This is incorrect.

--HG--
extra : rebase_source : 53ef38edcacbb2f5c40f207486c91d5437468721
2012-01-06 11:00:41 -08:00
Blake Kaplan
0b4fbbaf46 Bug 715498 - Revive the -c "compile only" option for the JS shell. r=cdleary
--HG--
extra : rebase_source : 06f8f4f642df4c5facbac0c906e64a8a58261005
2011-12-23 18:25:16 +01:00
Marco Bonardo
d9cd166f6a Backout c0d337401801,78d17e22a223 (bug 712714) for talos regressions across the board. 2012-01-06 13:49:52 +01:00
Brian Hackett
9ffe60c17b Seal/freeze objects without converting to dictionary mode, bug 708641. r=luke 2012-01-05 19:51:08 -08:00
Brian Hackett
c777c2ce72 Fix bug 715662. 2012-01-05 19:13:56 -08:00
Jeff Walden
9b71441bf3 Convert a couple always-true appends to infallibleAppend, since that's what they should have been using. No bug, r=trivial
--HG--
extra : rebase_source : c5d4c809e3fe23013ec1e64d18fa7001472e0092
2012-01-05 11:42:42 -06:00
Jeff Walden
318233e1de Return NULL, not false, from some JSObject::replaceWithNewEquivalentShape, which returns a Shape*. No bug, r=themaid
--HG--
extra : rebase_source : 126f621547689572b1ace0ad703b23f311fd64ff
2012-01-05 17:12:18 -06:00
Brian Hackett
ec406a6cd9 Make sure to call XML methods properly in property ICs, no bug. r=dvander 2012-01-05 12:57:06 -08:00
Brian Hackett
b09fa302b2 Remove JOF_CALLOP, bug 712714. r=dvander 2012-01-05 11:08:38 -08:00