Commit Graph

27752 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
65b4c1bbbc Bug 720771 - Implement finalization for CData values. r=jorendorff 2012-04-05 15:06:25 +02:00
Jeff Walden
3210d29c48 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
b061d084fb 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
9ddb5ac055 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
6bd3a56a6f 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
0a074f1e45 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
0db62129d8 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
c84934111a 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
332255ce37 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
0c2a71413f 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
7bb66cf191 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
e23c231ce0 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
629fa8e9ba 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
bae24c9df1 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
c2770ba780 Bug 744727 - Fix methodjit register alloc bug (r=bhackett) 2012-04-24 13:36:20 -07:00
Jim Mathies
42d97b9780 Bug 737969 - Win8 Metro build config. r=ted 2012-04-24 14:28:19 -05:00
Terrence Cole
7642769f1c 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
a54448c56d Bug 735036 - Check for OOM in debug only method. r=luke 2012-04-24 20:03:48 +02:00
Justin Lebar
36df85c97c Bug 741652 - On Linux, make JS_StartProfiling start the |perf| profiler. r=sfink 2012-04-24 13:12:32 -04:00
Luke Wagner
d997f288c1 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
d56d3c0dba 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
ecee851d11 Bug 743615 - Add the JS_{Read,Write}StructuredClone api. r=jorendorff 2012-04-24 12:58:07 +02:00
Kyle Huey
d5e92f7f5c Bug 747245: Fix a silly weak reference assertion. r=bent a=mfinkle 2012-04-23 14:14:10 -07:00
Tom Schuster
886fac49f9 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
73cb712802 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
89f614d059 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
610bb431d8 Backout 3e24a0ebd104 (bug 726949) for M-oth orange; a=backout 2012-04-19 12:28:43 -07:00
Boris Zbarsky
c056b09141 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
674e87f181 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
4f307cae98 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
2c1d8c9e3e 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
e855f32506 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
47d24c0e2a 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
7280dac94a Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb 2012-04-18 18:33:13 -04:00
Ehsan Akhgari
4adb3e2f09 Merge the last green PGO changeset on mozilla-inbound into mozilla-central; a=me 2012-04-18 16:18:04 -04:00
Ginn Chen
b9ae871d6d Bug 689916 testing for regexp crash on SPARC r=dmandelin a=test-only 2012-04-18 18:41:10 +08:00
Bill McCloskey
983390d727 Bug 731837 - Fix GC mark time regression from IGC (r=igor,a=tracking-firefox) 2012-04-17 12:40:30 -07:00
Marco Bonardo
e2d27a92bb Merge last green PGO from inbound to central 2012-04-17 15:31:58 +02:00
Olli Pettay
a575c4db0b Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt 2012-04-16 22:08:48 +03:00
Nicholas Nethercote
0ce86f6dac Bug 745068 - Minor front-end cleanups. r=jorendorff.
--HG--
extra : rebase_source : 29e7d06bc87f19c0d0a8fe239af9219e6c255032
2012-04-16 15:35:31 +10:00
Brian Hackett
4bc66bfdf9 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
47284176c7 Check type compatibility when coercing RootedVar to Handle, bug 745361. r=luke 2012-04-15 21:19:44 -07:00
Justin Lebar
e76a39d9cd Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 12:20:54 +10:00
Justin Lebar
85309d895c Back out changeset 21f34fdd64a3 (bug 741378) because it breaks telemetry. r=me 2012-04-16 11:34:00 +10:00
Justin Lebar
9362d53674 Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 11:17:26 +10:00
Bobby Holley
75d953011d Bug 745483 - Don't assert that TI is enabled when the pref is disabled. r=jdm 2012-04-15 17:54:03 -07:00
Bobby Holley
5b516e71b9 Bug 743843 - Introduce the options object for Components.Exception. r=Ms2ger,sr=mrbkap 2012-04-15 17:51:37 -07:00
Bobby Holley
fdc7949a32 Bug 743843 - Ditch the confusing switch-based parsing and add some comments. r=Ms2ger 2012-04-15 17:51:36 -07:00
Bobby Holley
3c5dcf2247 Bug 743843 - Factor individual argument parsers into helper methods. r=Ms2ger 2012-04-15 17:51:36 -07:00
Bobby Holley
e228667c97 Bug 743843 - Factor out Exception argument parsing into a helper class. r=Ms2ger
For ease of reviewing, note that there are only 2 changes to the big switch statement:
1 - return ThrowAndFail(...) -> return false.
2 - eMsgBytes -> messageBytes
2012-04-15 17:51:36 -07:00