Commit Graph

17335 Commits

Author SHA1 Message Date
Phil Ringnalda
595ce8403f Bug 695345 - Bring back ISO8601DateUtils.jsm, a=akeybl 2011-12-18 18:50:13 -08:00
Matt Brubeck
dde6ccdccc Merge mozilla-central to mozilla-inbound 2011-12-18 08:22:53 -08:00
Ms2ger
66078936e5 Bug 708754 - Use IDL for jsdIDebuggerService::WrapValue and remove WrapJSValue; r=bholley 2011-12-18 11:12:26 +01:00
Ms2ger
09490d5127 Bug 708330 - Use IDL for Components.utils.getWeakReference; r=bholley 2011-12-18 11:11:56 +01:00
Ms2ger
fe9b843007 Bug 708326 - Use IDL for Components.utils.forceGC; r=bholley 2011-12-18 11:11:23 +01:00
Ms2ger
21ffe5b481 Bug 708253 - Use IDL for Components.(utils.)reportError; r=bholley 2011-12-18 11:10:59 +01:00
Ms2ger
18a1378840 Bug 705324 - Remove nsAXPCNativeCallContext::{GetRetValPtr,GetReturnValueWasSet,SetReturnValueWasSet}; r=bholley sr=bz 2011-12-18 11:09:58 +01:00
Ms2ger
9dce0a682b Bug 705355 - Use IDL for Components.utils.evalInSandbox; r=bholley 2011-12-18 11:09:56 +01:00
Ms2ger
b69c913b12 Bug 705188 - Use IDL for mozIJSSubScriptLoader::LoadSubScript, {xpcIJSModuleLoader,nsIXPCComponents_Utils}::Import; r=bz 2011-12-18 11:09:16 +01:00
Ms2ger
29d2d0e19b Bug 705344 - Use IDL for Components.(utils.)lookupMethod; r=bholley 2011-12-18 11:08:04 +01:00
Ms2ger
aa473f66bd Bug 705444 - Use IDL for jsdIValue::GetWrappedValue; r=bholley 2011-12-18 11:07:22 +01:00
Ms2ger
0240b7ebde No bug - Remove unused JS::Value::setObjectOrUndefined; r=luke 2011-12-18 11:06:43 +01:00
Ms2ger
070299e0ab Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Andrew McCreight
198963afc3 Bug 711616 - QI wrapped native weak map keys to nsINode. r=jst 2011-12-17 22:11:04 -08:00
John Schoenick
1c874917cd Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
aceman
e03bb0b7ab Bug 122213 - Display time and date of messages in toolkit's Error Console. r=neil sr=bz 2011-12-17 05:22:26 +01:00
Jeff Walden
1aa0b162dd Bug 711611 - NSPR's obsolete int32, int64, etc. types get defined without an opt-out #define -- add that #define to SpiderMonkey so int32/etc. can't be (mis-)used. r=bhackett
--HG--
extra : rebase_source : 18c73b832cb9f4587c4a1114f237edcaba657199
2011-12-16 17:03:07 -05:00
Bobby Holley
516ce5828c Bug 711288 - Unconditionally use the new value of JSPROP_READONLY in accessor -> data transformations. r=Waldo 2011-12-16 14:32:39 -08:00
Bill McCloskey
e5eae86c75 Bug 710947 - Allow hash table elements to be removed during GC (r=luke) 2011-12-16 14:01:44 -08:00
Brian Hackett
f61ce1ad8f Fix lingering uses of int32 types, no bug. 2011-12-16 13:21:02 -08:00
Doug Sherk
f8cc305c99 Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Brian Hackett
95a554fa85 Add interface for accessing PC counter information from chrome code, bug 687134. r=sfink,waldo 2011-12-16 13:11:08 -08:00
Ms2ger
c3c3bdba73 Backed out changeset ba447ace2594 (bug 687679) for bustage. 2011-12-16 21:17:16 +01:00
John Schoenick
a355d623f2 Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Bill McCloskey
bf9cb4279a Bug 711158 - Avoid triggering write barrier during verifier (r=luke) 2011-12-16 10:31:56 -08:00
Jeff Walden
7db8d0d70a Bug 708735 - Really remove the uint32/JSUint32 typedefs now that all users have been fully corrected. r=luke, r=dmandelin from the original change, landing in a CLOSED TREE (which can open now!) 2011-12-16 10:00:08 -05:00
Jeff Walden
e230985955 Backed out changeset f879c54dffae: 5efcb9c3b375 introduced more JSAPI users that need fixing for the <stdint.h> types, and it's not worth trying to do fixups for that commit now while holding the tree closed. uint32/JSUint32 type removals will occur later today, after I reopen up a CLOSED TREE. 2011-12-16 08:20:21 -05:00
Jeff Walden
c0229a9d73 Bug 708735 - Remove the non-<stdint.h> {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types from the JSAPI. The public header added in the previous commit with the old typedefs should ease migration for embedders. r=luke, r=dmandelin, pushing into a CLOSED TREE so the landing is smooth 2011-12-15 21:51:08 -05:00
Jeff Walden
87d3f92e61 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Ed Morley
aa5490c53f Bug 710486 - Remove unnecessary mkdir objdir/js/src/nanojit; r=ted 2011-12-16 09:13:29 +00:00
Igor Bukanov
638e31cde7 Backed out changeset cd1252510d17 - I landed the wrong patch for bug 711623 2011-12-18 00:14:37 +01:00
Igor Bukanov
9513533507 bug 711623 - rt->gcNumFreeArenas is not updated properly. r=terrence 2011-12-17 23:16:22 +01:00
Jim Blandy
fc9d22a5e5 Bug 708156: Ensure that JM compilation doesn't used out-of-date ScriptAnalysis structures. r=bhackett 2011-12-15 18:08:00 -08:00
Terrence Cole
93b50a846c Bug 710946 - Add write barriers to getterObj and setterObj; r=billm
These fields are immutable, so they do not necessarily need a barrier for
incremental collection -- they do, however, need a barrier for generational
collection, and for reliable verification of the barriers.  It would be nice to
make these HeapPtr's, rather than manually calling the barrier functions, but
the fields are unioned with a function pointer, so this is not trivial.

--HG--
extra : rebase_source : f1f33198317e28fef3cc777f3e1e84725ba9cdc5
2011-12-15 18:03:20 -08:00
Andrew McCreight
3366dba944 Bug 680937, part 3 - implement and set preserve wrapper callback. r=jst 2011-12-15 17:45:49 -08:00
Andrew McCreight
64385f889e Bug 680937, part 2 - Add native wrapper preservation hook, call it in WeakMap_set. r=billm 2011-12-15 17:45:21 -08:00
Andrew McCreight
e0d9ca4bb6 Bug 680937, part 1 - Don't always mark wrapped native keys. r=billm 2011-12-15 17:44:34 -08:00
Terrence Cole
3e95700d56 Bug 711266 - JSRope::flatten needs unconditional post barriers; r=billm
For incremental barriers we check if compartment()->needsBarrier to defer the
cost when we are not in a GC cycle.  We cannot do this for cross-generation
barriers.  We need to remove the checks on the post barriers and rename the enum
to something  more specific.
2011-12-15 17:34:59 -08:00
Terrence Cole
b14176de1c Bug 710950 - JSScript::function_ should be barriered; r=billm
The field is immutable, so we can return an unwrapped pointer and don't have to
worry about it for incremental barriers.  We do need post barriers on it during
init for detecting cross-generation pointers, however.  Just make it a normal
HeapPtr.

--HG--
extra : rebase_source : a52d3d74ab5bf3ae926b9da5212825ce1c0ae93d
2011-12-15 15:27:58 -08:00
Felix Fung
11ea3b69d0 Bug 710996 - Double-assignment in JS_GetValidFrameCalleeObject(). r=jorendorff 2011-12-15 00:28:11 -08:00
Igor Bukanov
83c8ff3de2 bug 711095] - make GC scanning compatible with the incremental GC. r=billm
--HG--
extra : rebase_source : 5328784491f322824977ba80dd302cc13e84520a
2011-12-15 21:07:45 +01:00
Igor Bukanov
54df8a1d41 bug 710581 - fixing GCC 4.6 warning. r=bhackett
--HG--
extra : rebase_source : ae76549e73945844a75c1d518682b5db4af4cd1a
2011-12-14 20:51:56 +01:00
Terrence Cole
eeb6dc8051 Bug 711165 - DenseArray are missing some barrier calls; r=billm
The copy path was caught, the init path was not.  This does not matter for
incremental barriers, but will for cross-generation barriers.

--HG--
extra : rebase_source : 4fa7c4cc860cd9265ccd598340941840ee4e23e9
2011-12-15 15:27:32 -08:00
Brian Hackett
ac62f6712f Correctly compute fun.caller for cloned functions, bug 710780. r=luke 2011-12-15 14:09:49 -08:00
David Mandelin
876712f6b8 No bug, remove file needed only for nanojit landings 2011-12-15 14:07:59 -08:00
Chris Leary
edfb24b31b Bug 709622: Conditional with empty consequent causes strict strict warning. (r=Waldo) 2011-12-13 13:22:37 -08:00
Bobby Holley
84032122fb Bug 711203 - enable XPConnect wstring test. r=khuey 2011-12-15 13:27:42 -08:00
Luke Wagner
4bfe2ca134 Bug 703645 - rm SRC_LOOPHEAD (r=waldo)
--HG--
extra : rebase_source : 9301aa0af4e81a8725f05c702145c89a4ece4db6
2011-11-22 11:37:57 -08:00
Luke Wagner
b994dfef3c Bug 704478 - Fix single-threaded runtime assertions in shell workers (r=jorendorff)
--HG--
extra : rebase_source : 13deb300ee2aa3d5518549d4f296b276a0da4e42
2011-11-22 11:37:57 -08:00
Luke Wagner
30167bb4a9 Bug 704351 - Fix ValueToScript in js shell (r=waldo)
--HG--
extra : rebase_source : 0c072081ed9699017ddae80404c24562c6de3536
2011-11-22 11:37:57 -08:00