Commit Graph

20326 Commits

Author SHA1 Message Date
Steve Fink
952c198ba2 Bug 785167 - Root while allowing cx to be NULL for some typed array APIs 2012-08-29 12:29:18 -07:00
Steve Fink
a3de846a04 Bug 785167 - Copy ArrayBuffer data to separately-allocated storage when JS_GetArrayBufferData is called 2012-08-24 11:36:10 -07:00
Steve Fink
aae68318dd Bug 720949 - Add JSAPI for transferring ArrayBuffer contents 2012-08-23 21:29:42 -07:00
Till Schneidereit
82269e5f48 Bug 784400 - Make standard builtins and the current global available to self-hosted code. r=bhackett
--HG--
extra : rebase_source : 19acba6e9b53127f917787036b0dfd672ea34edd
2012-08-31 17:18:50 +02:00
Till Schneidereit
f19e952ca9 Bug 786749 - Set error reporter printing errors in self-hosted code to stderr. r=luke
--HG--
extra : rebase_source : b4a1ca0b0365f561834de791b1144b188a20d1b3
2012-08-30 12:04:57 +02:00
Nathan Froyd
19dc1f5686 Bug 786903 - restore typedArray(otherTypedArray) initialization fastpath; r=sfink 2012-08-30 11:39:42 -04:00
Brendan Eich
8e9698ef0d Rename ea to ed to match s/ExpressionAutopsy/ExpressionDecompiler/ (followup for Bug 767274, r=lumpy). 2012-08-31 10:15:17 -03:00
Ms2ger
30f421bdba Merge m-c to m-i. 2012-08-31 11:40:15 +02:00
Kyle Huey
0baaffe99f Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Terrence Cole
ea46c3cdda Bug 786136 - Allow for automatic storage of stack roots in the runtime; r=luke r=billm
This stores the active JSRuntime* in TLS so that it is available for use by the
exact rooting when no JSContext* is available.
2012-08-29 10:35:56 -07:00
Nicolas Chaim Echeverria
4da156d9b6 Bug 726125: Certificates of signed extensions were getting validated on each startup. r=taras, sr=bzbarsky 2012-08-30 16:58:55 -04:00
Joey Armstrong
37e3e21cb3 bug 786708: remove unmatched paren from AUTOUPDATE_CONFIGURE 2012-08-30 14:29:38 -04:00
David Zbarsky
390bb39784 Bug 779084 - Move querySelector stuff out of nsGenericElement and into nsINode r=bz 2012-08-30 13:10:13 -04:00
Eddy Bruel
65a51f4ee3 Bug 703537 - Implement Harmony Direct Proxies; r=jorendorff 2012-08-30 17:17:29 +01:00
Terrence Cole
722d3bacf8 Bug 782467 - Remove sharpObjectMap and simplify obj_toSource; r=Waldo r=njn
The sharpObjectMap is only needed to check for recursion now. This means we can
share the necessary cycle detector code with busyArrays and remove the last
chunk of sharp related code.

--HG--
rename : content/html/content/test/test_bug786564.html => content/html/content/test/test_bug742549.html
extra : rebase_source : 0bcfacf3d5c4f7fbfa1774263456b9c2f7288d01
2012-08-17 16:48:02 -07:00
Nicholas Nethercote
edfb470ec9 Bug 786114 - Fix handling of nested functions that need implicit |this| within eval().
--HG--
extra : rebase_source : e1e13fb65ad62e46f06f17b2271f8dbfc25c819d
2012-08-30 16:30:52 -07:00
Jeff Walden
fa178cea04 Silence an unused-variable warning with gcc opt. No bug, r=themaid
--HG--
extra : rebase_source : e4c0ff6af6a2bbf60de583f1f19c3329ee8e26fc
2012-08-29 14:26:17 -07:00
Jeff Walden
f1dcf91aa1 Fix used-but-not-defined warnings triggered by using JSFunction::atom_ before vm/String-inl.h is #included. No bug, r=themaid, r=jorendorff, r=terrence
--HG--
extra : rebase_source : 67694f59528a6a62566e79a712286fd5814f0b80
2012-08-28 19:26:36 -07:00
Brian Hackett
7c003707e2 Don't treat DataViews as typed arrays, bug 785776. r=dvander 2012-08-29 15:21:54 -06:00
Luke Wagner
7f4be1e024 Bug 785634 - Handle NULL defaultCompartmentObject_ in JSContext::saveFrameChain (r=mrbkap)
--HG--
extra : rebase_source : d2411c8cbe69511577fc015ea10023e405cac0be
2012-08-29 13:42:45 -07:00
Landry Breuil
aa1e88d9c6 Bug 778414: ensure the linker supports @unwind sections in libffi. r=glandium
This fixes clang builds on OpenBSD/amd64, since clang itself supports
@unwind sections but OpenBSD's ld 2.15 doesn't. Previously the test
yielded true, thus producing a broken libffi.
2012-08-29 17:06:30 -03:00
Philipp von Weitershausen
ad1f0d9e7c Back out 3e9ed1fd45b9 (bug 778414) due to B2G bustage 2012-08-29 16:54:11 -03:00
Landry Breuil
c449d996d3 Bug 778414: ensure the linker supports @unwind sections in libffi. r=glandium
This fixes clang builds on OpenBSD/amd64, since clang itself supports
@unwind sections but OpenBSD's ld 2.15 doesn't. Previously the test
yielded true, thus producing a broken libffi.
2012-08-28 23:00:40 +02:00
Brian Hackett
7d82b7a901 Use inferred result type for initializer opcodes, bug 785358. r=dvander 2012-08-29 13:10:35 -06:00
Siddharth Agarwal
33b49d00ea Merge mozilla-central to mozilla-inbound. 2012-08-29 20:41:03 +05:30
Siddharth Agarwal
b75edf83d7 Backout bug 784262 because of Pymake bustage and GNU Make "warning: overriding commands for target". 2012-08-29 20:36:23 +05:30
Mike Hommey
e76d23d064 Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
0a643d0aea Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey 2012-08-29 08:55:58 +02:00
Mike Hommey
8472c466ec Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
1c79dbe6c9 Bug 783950 - Refresh libffi patches. r=ted 2012-08-29 08:55:57 +02:00
Gregory Szorc
ef2a5550e7 Bug 786540 - Remove unused exports target; r=glandium
This rule does nothing. It serves no purpose. It shall be eliminated.
2012-08-28 20:13:29 -07:00
Luke Wagner
ea3eeebc95 Bug 784894 - Fix sharkctl.h #include on OSX (r=bustage) 2012-08-28 16:56:54 -07:00
Brian Hackett
fc9cc3f103 Don't assume calls with ignored return values will produce undefined, bug 786491. r=luke 2012-08-28 17:39:01 -06:00
Luke Wagner
5ac27a163f Bug 784894 - put NPOTB tools/utilities in js/src/devtools (r=sfink)
--HG--
rename : js/src/ETWProvider.man => js/src/devtools/ETWProvider.man
rename : js/src/metrics/gc/README.txt => js/src/devtools/gc/README.txt
rename : js/src/metrics/gc/gc-test.py => js/src/devtools/gc/gc-test.py
rename : js/src/metrics/gc/tests/clock.js => js/src/devtools/gc/tests/clock.js
rename : js/src/metrics/gc/tests/dslots.js => js/src/devtools/gc/tests/dslots.js
rename : js/src/metrics/gc/tests/loops.js => js/src/devtools/gc/tests/loops.js
rename : js/src/metrics/gc/tests/objGraph.js => js/src/devtools/gc/tests/objGraph.js
rename : js/src/gnuplot/gcTimer.gnu => js/src/devtools/gnuplot/gcTimer.gnu
rename : js/src/javascript-trace.d => js/src/devtools/javascript-trace.d
rename : js/src/metrics/jint/sunspider/3d-cube.js => js/src/devtools/jint/sunspider/3d-cube.js
rename : js/src/metrics/jint/sunspider/3d-morph.js => js/src/devtools/jint/sunspider/3d-morph.js
rename : js/src/metrics/jint/sunspider/3d-raytrace.js => js/src/devtools/jint/sunspider/3d-raytrace.js
rename : js/src/metrics/jint/sunspider/access-binary-trees.js => js/src/devtools/jint/sunspider/access-binary-trees.js
rename : js/src/metrics/jint/sunspider/access-fannkuch.js => js/src/devtools/jint/sunspider/access-fannkuch.js
rename : js/src/metrics/jint/sunspider/access-nbody.js => js/src/devtools/jint/sunspider/access-nbody.js
rename : js/src/metrics/jint/sunspider/access-nsieve.js => js/src/devtools/jint/sunspider/access-nsieve.js
rename : js/src/metrics/jint/sunspider/bitops-3bit-bits-in-byte.js => js/src/devtools/jint/sunspider/bitops-3bit-bits-in-byte.js
rename : js/src/metrics/jint/sunspider/bitops-bits-in-byte.js => js/src/devtools/jint/sunspider/bitops-bits-in-byte.js
rename : js/src/metrics/jint/sunspider/bitops-bitwise-and.js => js/src/devtools/jint/sunspider/bitops-bitwise-and.js
rename : js/src/metrics/jint/sunspider/bitops-nsieve-bits.js => js/src/devtools/jint/sunspider/bitops-nsieve-bits.js
rename : js/src/metrics/jint/sunspider/controlflow-recursive.js => js/src/devtools/jint/sunspider/controlflow-recursive.js
rename : js/src/metrics/jint/sunspider/crypto-aes.js => js/src/devtools/jint/sunspider/crypto-aes.js
rename : js/src/metrics/jint/sunspider/crypto-md5.js => js/src/devtools/jint/sunspider/crypto-md5.js
rename : js/src/metrics/jint/sunspider/crypto-sha1.js => js/src/devtools/jint/sunspider/crypto-sha1.js
rename : js/src/metrics/jint/sunspider/date-format-tofte.js => js/src/devtools/jint/sunspider/date-format-tofte.js
rename : js/src/metrics/jint/sunspider/date-format-xparb.js => js/src/devtools/jint/sunspider/date-format-xparb.js
rename : js/src/metrics/jint/sunspider/math-cordic.js => js/src/devtools/jint/sunspider/math-cordic.js
rename : js/src/metrics/jint/sunspider/math-partial-sums.js => js/src/devtools/jint/sunspider/math-partial-sums.js
rename : js/src/metrics/jint/sunspider/math-spectral-norm.js => js/src/devtools/jint/sunspider/math-spectral-norm.js
rename : js/src/metrics/jint/sunspider/regexp-dna.js => js/src/devtools/jint/sunspider/regexp-dna.js
rename : js/src/metrics/jint/sunspider/string-base64.js => js/src/devtools/jint/sunspider/string-base64.js
rename : js/src/metrics/jint/sunspider/string-fasta.js => js/src/devtools/jint/sunspider/string-fasta.js
rename : js/src/metrics/jint/sunspider/string-tagcloud.js => js/src/devtools/jint/sunspider/string-tagcloud.js
rename : js/src/metrics/jint/sunspider/string-unpack-code.js => js/src/devtools/jint/sunspider/string-unpack-code.js
rename : js/src/metrics/jint/sunspider/string-validate-input.js => js/src/devtools/jint/sunspider/string-validate-input.js
rename : js/src/metrics/jint/treesearch.py => js/src/devtools/jint/treesearch.py
rename : js/src/metrics/jint/v8/base.js => js/src/devtools/jint/v8/base.js
rename : js/src/metrics/jint/v8/crypto.js => js/src/devtools/jint/v8/crypto.js
rename : js/src/metrics/jint/v8/deltablue.js => js/src/devtools/jint/v8/deltablue.js
rename : js/src/metrics/jint/v8/earley-boyer.js => js/src/devtools/jint/v8/earley-boyer.js
rename : js/src/metrics/jint/v8/raytrace.js => js/src/devtools/jint/v8/raytrace.js
rename : js/src/metrics/jint/v8/richards.js => js/src/devtools/jint/v8/richards.js
rename : js/src/metrics/jint/v8/run-earley-boyer.js => js/src/devtools/jint/v8/run-earley-boyer.js
rename : js/src/metrics/jint/v8/run-raytrace.js => js/src/devtools/jint/v8/run-raytrace.js
rename : js/src/metrics/jint/v8/run-richards.js => js/src/devtools/jint/v8/run-richards.js
rename : js/src/metrics/jint/v8/run.js => js/src/devtools/jint/v8/run.js
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/vprof/manifest.mk => js/src/devtools/vprof/manifest.mk
rename : js/src/vprof/readme.txt => js/src/devtools/vprof/readme.txt
rename : js/src/vprof/testVprofMT.c => js/src/devtools/vprof/testVprofMT.c
rename : js/src/vprof/vprof.cpp => js/src/devtools/vprof/vprof.cpp
rename : js/src/vprof/vprof.h => js/src/devtools/vprof/vprof.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
extra : rebase_source : b328f1463668e12052cb3d8af14d13c2b2f0f91d
2012-08-27 09:13:44 -07:00
Till Schneidereit
ba13d52ce8 Bug 785645 - Support constructors in self-hosted JavaScript. r=luke
--HG--
extra : rebase_source : 9d56165f8875d0ebb8d89e88d92492c21fc6b74c
2012-08-29 00:11:13 +02:00
Ryan VanderMeulen
5e8be80c9a Backout 8803fd630316 (bug 783950) and b0d9390b60c6 (bug 778414) due to bustage on a CLOSED TREE. 2012-08-28 18:20:23 -04:00
Martin Husemann
7d207348a8 Bug 753046 - Add IPC support for BSDs, build glue. r=khuey,cjones 2012-08-28 23:16:51 +02:00
Landry Breuil
6c017dca38 Bug 778414: ensure the linker supports @unwind sections in libffi. r=glandium
This fixes clang builds on OpenBSD/amd64, since clang itself supports
@unwind sections but OpenBSD's ld 2.15 doesn't. Previously the test
yielded true, thus producing a broken libffi.
2012-08-28 23:00:40 +02:00
Mike Hommey
d121441887 Bug 783950 - Refresh libffi patches. r=ted 2012-08-20 08:57:13 +02:00
Ehsan Akhgari
36a43871f4 Bug 786339 - Remove two implicit conversions from NULL to false in the JS code; r=luke 2012-08-28 13:22:42 -04:00
Terrence Cole
c3edd83279 Bug 784808 - Remove isInline GC size class check; r=luke
We depend on a size class check because JSShortStrings can have their chars()
point to the middle of its inline buffer for a slight speedup in Int32ToString
and IndexToString.  Getting rid of the size class check allows us to inline the
isInline check.  This work paves the way for a fast ensureNotInline and
removal of getAllocKind as a requirement for string placement in arenas.

--HG--
extra : rebase_source : 93b148b0f89295c0356439875204cd4d0069e7d4
2012-08-22 12:19:07 -07:00
Boris Zbarsky
95d002889d Bug 773520. Add a one-slot cache for converting stringbuffers to JSStrings. r=peterv,bhackett 2012-08-28 13:10:09 -04:00
Luke Wagner
c692b48100 Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink) 2012-08-27 13:32:51 -07:00
Ryan VanderMeulen
50112c0069 Merge m-c to inbound. 2012-08-27 19:34:23 -04:00
Alex Keybl
b3319338f9 Merging in version bump NO BUG 2012-08-27 12:21:46 -07:00
Luke Wagner
872a0e6b97 Bug 749371 - Remove now-unnecessary JS_ClearScope defense (r=bhackett) 2012-08-27 09:13:44 -07:00
Gabor Krizsanits
5138045eff Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley 2012-08-27 15:15:20 +02:00
Gabor Krizsanits
9a223560e1 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00
Benjamin Peterson
d76d19dc3d Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst 2012-08-27 08:04:37 -04:00
Benjamin Peterson
67395d7701 Bug 785781 - Remove artifact of the old re engine. r=njn 2012-08-27 08:03:54 -04:00