Граф коммитов

26865 Коммитов

Автор SHA1 Сообщение Дата
Jason Orendorff 5483da2c50 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 cb9bb9c2f3 Bug 697479 - Implement Map and Set builtins for JS. r=jimb. 2012-01-20 06:11:43 -06:00
Jason Orendorff 830e33e2e1 Fix a few typos in comments in js/src. No bug, no_r=me. 2012-01-20 06:11:42 -06:00
Jason Orendorff d7665153f1 Bug 717278 - Vector should have const and non-const begin(). r=luke. 2012-01-20 06:11:42 -06:00
Jan de Mooij c11aff8962 Bug 719135 - Move some arithmetic operations to jsinterpinlines. r=dvander 2012-01-20 13:01:44 +01:00
Mike Hommey 34e49862db 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 3f0f696ed4 Bug 718899 - Implement Cu.forceShrinkingGC / Cu.schedulePreciseShrinkingGC r=gwagner 2012-01-19 10:58:25 -08:00
Marco Bonardo 0a2d0989df Merge central to inbound 2012-01-19 11:36:52 +01:00
Marco Bonardo 37527a686e Merge last green PGO from inbound to central 2012-01-19 11:34:17 +01:00
Brian Hackett fdd7a080be Pass scope chain explicitly to FindProperty, bug 717494. r=dvander 2012-01-18 17:15:00 -08:00
Brian Hackett bdf9362d41 Store JSStrings instead of jsids in native key iterators, bug 713754. r=dvander 2012-01-18 16:56:22 -08:00
Brian Hackett 7e3d6561ae Compile large scripts in chunks, bug 706914. r=dvander 2012-01-18 16:40:18 -08:00
Mark Finkle cd08c705c6 Backout 60eb0da71cdb as suspected crash cause (bug 718765) 2012-01-18 10:08:29 -05:00
Phil Ringnalda dc513d1a7f Back out 78a8aeae5b30 (bug 696291) for Android build bustage 2012-01-18 20:36:59 -08:00
Brian Hackett 87deebd24e Define mjitChunkLimit in --disable-methodjit builds to fix test failure, no bug, no r. 2012-01-18 19:56:21 -08:00
Bobby Holley dc35df45dc 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 4e5446c122 Bug 719315: Free unused chunks. (r=luke) 2012-01-18 18:55:01 -08:00
David Anderson 82961d7267 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 d01e0076b3 Fix warnings, no bug. r=dvander 2012-01-18 18:08:22 -08:00
David Anderson 3de3a194ba 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 7bd847d539 Bug 718134 - un-union StackFrame::args (r=bhackett)
--HG--
extra : rebase_source : 51b670e57a9fd4f1fc09808137e152d46e18d33a
2012-01-17 16:35:07 -08:00
Luke Wagner 5f099004b1 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 891396a8af Remove tracer bits from InterpMode (no bug, r=dvander)
--HG--
extra : rebase_source : a7d4938398584a21daa369bf6409decd647ac295
2012-01-06 09:36:49 -08:00
Andrew McCreight ca04261b2a Bug 718029 - don't skip JSContexts with outstanding requests. r=smaug 2012-01-17 09:38:24 -08:00
Reuben Morais a153a8d845 Bug 717805 - Remove CopyArrayElement. r=jwalden 2012-01-17 12:33:08 +01:00
Chris Leary c730c76fe6 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 acc52202ac bug 718600 - remove JSRuntime::(rtLock, state). r=luke 2012-01-17 23:14:49 +01:00
Bill McCloskey e029d53ddc Bug 708303 - Use pinReg/unpinReg more in write barriers (r=dmandelin) 2012-01-16 13:52:57 -08:00
Nathan Froyd 5373c9546d Bug 711563 - compact function specs; r=jorendorff 2011-12-29 16:23:53 -05:00
Nathan Froyd e2461c3d0f Bug 711563 - flatten property and function names; r=jorendorff 2011-12-29 16:20:26 -05:00
Nathan Froyd 932c51585a Bug 711563 - more compact property and function tables; r=jorendorff 2011-12-29 15:18:41 -05:00
Nathan Froyd b19568f2e7 Bug 711563 - reduce space required by hash entry chains; r=jorendorff 2011-12-16 14:49:53 -05:00
Ginn Chen 3391090391 Bug 717863 default pagesize is 8192 on Solaris/SPARC r=igor 2012-01-16 09:32:58 +08:00
Justin Wood 9e5a881c42 Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger 8c639f5785 Bug 712034 - Clean up jstypes.h a bit; r=njn 2012-01-15 09:13:12 +01:00
Ms2ger 4b831ca2ef Bug 714052 - Remove JS_NEITHER; r=luke 2012-01-15 09:13:12 +01:00
Ms2ger 4e6b2dedac Bug 717195 - Export dombindings.h; r=bholley 2012-01-15 09:13:12 +01:00
Ms2ger 412db64613 Bug 677079 - Part ab: Remove jscntxt.h and dependencies from INSTALLED_HEADERS; r=dmandelin 2012-01-15 09:13:11 +01:00
Ms2ger 7993a70175 Bug 677079 - Part aa: Expose sizeof(JSContext) in jsfriendapi.h; r=njn 2012-01-15 09:13:11 +01:00
Ms2ger dc4132fda6 Bug 677079 - Part z: Move JS_CHECK_RECURSION to jsfriendapi.h; r=mjrosenb 2012-01-15 09:13:11 +01:00
Ms2ger 9fd69872fe Bug 677079 - Part y: Move AutoIdVector to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger 1633522a7d Bug 677079 - Part x: Move AutoValueVector to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger 1944061fe4 Bug 677079 - Part w: Move AutoVectorRooter to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger 5ce648ef0f Bug 677079 - Part v: Expose rt->compartments in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:11 +01:00
Ms2ger 9d6c493995 Bug 677079 - Part u: Provide TriggerOperationCallbacksForActiveContexts in jsfriendapi.h; r=bhackett 2012-01-15 09:13:10 +01:00
Ms2ger 070a861598 Bug 677079 - Part t: Provide IsContextRunningJS in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:10 +01:00
Ms2ger ad69bdc195 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 a31ff5454b Bug 677079 - Part r: Provide AutoSkipConservativeScan in jsfriendapi.h; r=luke 2012-01-15 09:13:10 +01:00
Ms2ger a2482a9c20 Bug 677079 - Part q: Expose gcLock in jsfriendapi.h; r=gal 2012-01-15 09:13:10 +01:00
Ms2ger 3db071e746 Bug 677079 - Part p: Remove AutoLockJSGC in favour of js::AutoLockGC; r=bholley 2012-01-15 09:13:10 +01:00
Ms2ger a1e8a5c34d Bug 677079 - Part o: Expose setActivityCallback in jsfriendapi.h; r=gal 2012-01-15 09:13:10 +01:00
Ms2ger 4b8d922a61 Bug 677079 - Part n: Expose JSOPTION_UNROOTED_GLOBAL in jsfriendapi.h; r=gal 2012-01-15 09:13:09 +01:00
Ms2ger ce48c6ffa1 Bug 677079 - Part m: Expose context's compartment in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:09 +01:00
Ms2ger 41b908760d 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 c13b7236b0 Bug 677079 - Part k: Expose outstandingRequests in jsfriendapi.h; r=cdleary 2012-01-15 09:13:09 +01:00
Ms2ger 3572f908c9 Bug 677079 - Part i: Expose errorReporter in jsapi.h; r=mrbkap 2012-01-15 09:13:09 +01:00
Ms2ger 2cedc161bf Bug 677079 - Part h: Expose debuggerHandler in jsfriendapi.h; r=igor 2012-01-15 09:13:09 +01:00
Ms2ger d8739c7ff6 Bug 677079 - Part g: Expose VersionSetXML in jsfriendapi.h; r=bhackett 2012-01-15 09:13:08 +01:00
Ms2ger d69f8b329c Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ms2ger dc4d4e78ee Bug 677079 - Part e: Move js_GetSCOffset to jsfriendapi.h; r=luke 2012-01-15 09:13:08 +01:00
Ms2ger dc850b4531 Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ms2ger 61fac06b4d Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo 2012-01-15 09:13:07 +01:00
Ms2ger adcd5d59fc Bug 677079 - Part b: Use existing JSAPI functions where those are available; r=bholley 2012-01-15 09:13:07 +01:00
Ms2ger f085e09f42 Bug 677079 - Part a: Move AutoLockGC to jsfriendapi.h; r=igor 2012-01-15 09:13:07 +01:00
Boris Zbarsky 09d0a46776 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 2b93bd42c6 Fix opcode metadata counting for property and element ops, bug 717988. r=bhackett 2012-01-13 17:47:59 -08:00
Brian Hackett ab5e7ca098 Mark types for second value pushed by JSOP_CALLXMLNAME, bug 717252. r=dvander 2012-01-13 17:45:11 -08:00
Brian Hackett a1b0adbd07 Merge. 2012-01-13 17:40:14 -08:00
Chris Leary a10c63191a Back out b36175bbda47.
--HG--
extra : rebase_source : 927a14ed70c37c654b53145a71d2f88be139a9b9
2012-01-13 17:35:10 -08:00
Brian Hackett 03bf17a000 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 b13eb597ff Bug 717762: Proliferate js_memcpy and PodCopy. (r=luke) 2012-01-12 18:40:08 -08:00
Chao-ying Fu 668eaaca12 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 3839ce2bf9 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 9818b17aa9 Bug 717501 - reduce space required by unicode tables; r=evilpie 2012-01-12 00:10:26 -05:00
Landry Breuil 0505de35cd 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 375c248cc7 Bug 715561 - Don't forget to bump JSXDR_BYTECODE_VERSION! (r=jorendorff) 2012-01-12 13:41:49 -08:00
Luke Wagner 3df1272f22 Bug 715561 - Fix js_XDRStaticBlockObject to handle empty destructuring let (r=jorendorff) 2012-01-09 10:50:17 -08:00
Luke Wagner 3949e34caf Bug 715561 - Tidy up js_XDRStaticBlockObject (r=jorendorff)
--HG--
extra : rebase_source : a0cdaca76ee0a475bb7592090b1e9993e662fecb
2012-01-09 10:23:38 -08:00
Brian Hackett 6cb3572422 Fix AssertValidPropertyCacheHit when called from JIT stubs, bug 717251. r=dvander 2012-01-12 08:41:09 -08:00
Brian Hackett 6bb17889c1 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 9670d7193c Account for all special CALLPROP behavior in inline cache stub, bug 717208. r=dvander 2012-01-11 17:31:41 -08:00
Luke Wagner d1cf4b7019 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 5959700598 Bug 716357 - Fix license header in FilteringWrapper.cpp; r=gerv DONTBUILD 2012-01-11 17:12:21 +01:00
Brian Hackett 607fc29bf0 Fix non-threadsafe builds, no bug. r=jorendorff 2012-01-11 07:45:55 -08:00
David Rajchenbach Teller 29092f0e25 Bug 707096 - Add a public API for TypedArray / ArrayBuffer. r=dmandelin 2012-01-10 08:56:47 +01:00
Ms2ger 096afeb104 Merge m-c to m-i. 2012-01-11 12:15:35 +01:00
Ms2ger 15265252aa Bug 332648 - Part h: Move AutoEnumStateArray to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger 90d6724cfa Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger 5cbc546a54 Bug 332648 - Part f: Move AutoIdRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger 776fd33214 Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger 44ec0553bc Bug 332648 - Part d: Move AutoStringRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Ms2ger 2365b12e07 Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Ms2ger 52641a24c5 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 60a7130336 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 ddea4e045a 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 b2f1e7be59 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 1ce4dd0b6c 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 c855d0a116 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 ee40dcfcda 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 7cf1cd311b Bug 715634 - Cleanup XPCJSContextStack; r=bholley 2012-01-11 09:23:07 +01:00