Commit Graph

18612 Commits

Author SHA1 Message Date
Steve Fink
2254cc2dd8 Bug 730208 - Root JSD's pet global so it can't participate in CC cycles. r=billm
--HG--
extra : rebase_source : 9211b881e0c0931bd7df16989bed492449b1c74f
2012-03-20 21:29:47 -07:00
Steve Fink
4642a9a56c Bug 730208 - XPConnect changes to UnmarkGray some more objects and return them for convenience. r=mccr8
--HG--
extra : rebase_source : a1d56aa4dc9dcf1fe280c42667710494f2481a7c
2012-03-20 21:22:40 -07:00
Steve Fink
34b8859f43 Bug 730208 - Implement js::IsIncrementalBarrierNeededOnScript. r=billm
--HG--
extra : rebase_source : 2f065e0dae6c2789b547b677eb0e8ebb466feec2
2012-04-24 16:29:03 -07:00
Ryan VanderMeulen
3e57646eb6 Bug 747243 - Fix MSVC warning with a little JS_FRIEND_API love. r=billm 2012-04-24 19:50:00 -04:00
David Rajchenbach-Teller
cbad079392 Bug 742384 - Have CDataFinalizer.dispose return a value. r=jorendorff 2012-04-13 23:56:03 +02:00
David Rajchenbach-Teller
ea91d88d16 Bug 720771 - Implement finalization for CData values. r=jorendorff 2012-04-05 15:06:25 +02:00
Jeff Walden
96258a9e18 Back out a9764c9ec124, d8aac2bd90db, d167f7fbb53e, and ca7b13e02cd5 for not-entirely-trivial build bustage. r=bustage 2012-04-24 16:47:28 -07:00
Jeff Walden
cc87d84154 Add a NumberValue(uint64_t) overload, and remove the size_t overload, as it might be the case that size_t and uint32_t, say, are the same type. Followup to bug 747197, r=bustage 2012-04-24 16:29:42 -07:00
Jeff Walden
5c44e93a18 Bug 739380 - Start to implement a [[HasProperty]] hook, per the proto-climbing refactoring, for elements. r=bhackett
--HG--
extra : rebase_source : a48f4fc318145fd1c089cfb5b4df05eb1ff4350c
2012-04-10 16:33:44 -07:00
Jeff Walden
c11d413423 Bug 739380 - Start to implement the [[SetP]] hook from the proto-climbing refactoring. r=bhackett
--HG--
extra : rebase_source : 80de606a7e0128b0e61b35af0f31b6b4876e6b6f
2012-04-09 16:03:23 -07:00
Jeff Walden
a4702eb04c Bug 739380 - Start to implement the default [[GetP]] hook from the proto-climbing refactoring for the various element types. r=bhackett
--HG--
extra : rebase_source : 0270610c88d3315023a4cc582abbaf62dcf8a1cc
2012-04-10 16:33:44 -07:00
Jeff Walden
129b85b9f5 Bug 747197 - Rename TIMECLIP to TimeClip to match the spec spelling (also as it's no longer a macro). r=luke
--HG--
extra : rebase_source : 28083b4eeeee68c829b8804545d3ad6bb5660561
2012-04-19 16:22:08 -07:00
Jeff Walden
4d293739ec Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke
--HG--
extra : rebase_source : a564ba8f6a4350c1c49359f08e9de44670b89aeb
2012-04-19 16:18:24 -07:00
Jeff Walden
6e1a835eec Bug 746262 - Augment PropDesc so that it can represent the absence of a property by adding an isUndefined() method and bit, and checking it in all the relevant accessors. r=jorendorff
--HG--
extra : rebase_source : 50294d6b3abd9c6730d7e369220efc831f240c6a
2012-04-18 15:06:30 -07:00
Jeff Walden
d00644a6ef Bug 745944 - Make PropDesc assert propriety of access in its accessors, and privatize all PropDesc fields. r=jorendorff
--HG--
extra : rebase_source : 56e51a95253f95442f09e441620b2fac3f758c53
2012-04-10 11:08:28 -07:00
Jeff Walden
947dd17a45 Fix class/struct mismatch warnings for js::ArrayBufferObject. Followup to bug 741040, r=chucktesta
--HG--
extra : rebase_source : c5f0daa4261896c8c5013872b1aa9cf367adeebc
2012-04-24 15:39:21 -07:00
Terrence Cole
ea3ceb90cb Bug 744880 - Make Relocatable HeapValue for use with manual post barriers; r=billm
We cannot have implicit post barriers run on any pointer that can be relocated
outside of the GC's control. This includes things like HashTables and Vectors.

--HG--
extra : rebase_source : 7bae3ab9e319be48c343be58d6858b43b743e581
2012-04-13 14:33:18 -07:00
Steve Fink
9ebaebb340 Bug 741040 - Make an ArrayBufferObject subclass of JSOBject. r=Waldo
--HG--
extra : rebase_source : 63dd1cc69cfae37203c1f037d5a4b0b5c5651e7b
2012-03-28 14:43:01 -07:00
Steve Fink
e304e9ec70 Bug 748109 - jstests.py cannot find any test cases. r=terrence
When I do:
  cd js/src/tests
  python jstests.py $js_bin js1_8_5/extensions

it is unable to find any tests to run because it's looking relative to the jstests.py script, but at least in this case that is a relative path (plain "jstests.py") so os.path.dirname(__file__) is the empty string and that doesn't seem to work very well.

--HG--
extra : rebase_source : 1cdc461680ceadba26fc512a50d9c7247a187744
2012-04-21 15:51:04 -07:00
Bill McCloskey
8f6f8fc771 Bug 744727 - Fix methodjit register alloc bug (r=bhackett) 2012-04-24 13:36:20 -07:00
Jim Mathies
f4ee5f8ac9 Bug 737969 - Win8 Metro build config. r=ted 2012-04-24 14:28:19 -05:00
Terrence Cole
14c6d5ad99 Bug 748397 - Fix broken JSON when there is a ',' in LC_NUMERIC; r=billm
--HG--
extra : rebase_source : 5e086466273671dbecacb7d877990250d428db6e
2012-04-24 11:25:20 -07:00
Tom Schuster
fde4c4d67e Bug 735036 - Check for OOM in debug only method. r=luke 2012-04-24 20:03:48 +02:00
Justin Lebar
ea5c5dab79 Bug 741652 - On Linux, make JS_StartProfiling start the |perf| profiler. r=sfink 2012-04-24 13:12:32 -04:00
Luke Wagner
3df006c487 Bug 746843 - change StackFrame::scopeChain() to return a HandleObject (r=bhackett)
--HG--
extra : rebase_source : 8306a740d784a6f8cb7d8160125fb37e3270a64e
2012-04-13 18:06:40 -07:00
Matt Brubeck
955934c3d9 Bug 743325 - Back out 554ab0a2f470 (bug 734503) because it broke touch events in XUL Fennec [r=peterv] 2012-04-24 07:51:56 -07:00
Bobby Holley
90ecba456e Bug 743615 - Add the JS_{Read,Write}StructuredClone api. r=jorendorff 2012-04-24 12:58:07 +02:00
Kyle Huey
a2478f9645 Bug 747245: Fix a silly weak reference assertion. r=bent a=mfinkle 2012-04-23 14:14:10 -07:00
Tom Schuster
fef9c89dba Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Christian Holler
bec1b98b9c Bug 746951 - Avoid inlining js::MarkRangeConservatively with ASan, r=billm, a=npotb
--HG--
extra : rebase_source : 6742f35f23b37b08a966fff52040cec1a7fd55f6
2012-04-20 16:06:07 -07:00
Boris Zbarsky
a3e1420cf0 Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Ed Morley
8043672933 Backout 3e24a0ebd104 (bug 726949) for M-oth orange; a=backout 2012-04-19 12:28:43 -07:00
Boris Zbarsky
757816f10d Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Jason Orendorff
e126ffe211 Bug 738617 - Revert changeset 6d139ebc0f43 (bug 730139). Reserving let breaks some web sites. r=Waldo, a=mfinkle. 2012-04-18 15:07:11 -05:00
Myk Melez
fd7a6dd8f7 bug 746156 - isolate webapp runtime files into subdirectory of Firefox package; r=bsmedberg, a=akeybl 2012-04-19 00:39:52 -07:00
Terrence Cole
2fbb8b9a80 Bug 746356 - Ignore js files in the root test dir; r=dmandelin, a=blassey
We should not be skipping computing their relative name, we should be skipping
them completely.

--HG--
extra : rebase_source : 3d2477afa62861afd0599f6448daf59acae7c268
2012-04-18 17:47:54 -07:00
Luke Wagner
5ea21f7058 Bug 745236 - fix f.apply(arguments) optimization bug 2 (r=bhackett,a=lsblakk)
--HG--
extra : rebase_source : cda098b51a867bf32f1486bc5b9170c3c747af9a
2012-04-13 09:55:13 -07:00
Luke Wagner
96f6d99742 Bug 745236 - fix f.apply(arguments) optimization bug 1 (r=bhackett,a=lsblakk)
--HG--
extra : rebase_source : 2cb0944ca1beaa25f38d47180d73eb1cbaf0d285
2012-04-13 09:55:12 -07:00
Alessandro Decina
efe31886e6 Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb 2012-04-18 18:33:13 -04:00
Ehsan Akhgari
ce3ea50465 Merge the last green PGO changeset on mozilla-inbound into mozilla-central; a=me 2012-04-18 16:18:04 -04:00
Ginn Chen
686a05800d Bug 689916 testing for regexp crash on SPARC r=dmandelin a=test-only 2012-04-18 18:41:10 +08:00
Bill McCloskey
59e67136ab Bug 731837 - Fix GC mark time regression from IGC (r=igor,a=tracking-firefox) 2012-04-17 12:40:30 -07:00
Marco Bonardo
8fd56f3066 Merge last green PGO from inbound to central 2012-04-17 15:31:58 +02:00
Olli Pettay
d796636855 Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt 2012-04-16 22:08:48 +03:00
Nicholas Nethercote
809407a18d Bug 745068 - Minor front-end cleanups. r=jorendorff.
--HG--
extra : rebase_source : 29e7d06bc87f19c0d0a8fe239af9219e6c255032
2012-04-16 15:35:31 +10:00
Brian Hackett
831bd99f78 Stop precisely tracking arguments and locals beyond a 1000 variable threshold, bug 735974. r=dvander 2012-04-15 21:38:53 -07:00
Brian Hackett
a21f8c5a5d Check type compatibility when coercing RootedVar to Handle, bug 745361. r=luke 2012-04-15 21:19:44 -07:00
Justin Lebar
5766598758 Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 12:20:54 +10:00
Justin Lebar
b391903730 Back out changeset 21f34fdd64a3 (bug 741378) because it breaks telemetry. r=me 2012-04-16 11:34:00 +10:00
Justin Lebar
dbb7a3bbac Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 11:17:26 +10:00