Commit Graph

20315 Commits

Author SHA1 Message Date
Nicholas Nethercote
f583eef991 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
Nicolas Chaim Echeverria
e5e437fa6c 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
87fa4655da bug 786708: remove unmatched paren from AUTOUPDATE_CONFIGURE 2012-08-30 14:29:38 -04:00
David Zbarsky
0793e3afda Bug 779084 - Move querySelector stuff out of nsGenericElement and into nsINode r=bz 2012-08-30 13:10:13 -04:00
Eddy Bruel
c15090a3bd Bug 703537 - Implement Harmony Direct Proxies; r=jorendorff 2012-08-30 17:17:29 +01:00
Jeff Walden
fe6599567a 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
9a4746c979 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
c5c6835dd3 Don't treat DataViews as typed arrays, bug 785776. r=dvander 2012-08-29 15:21:54 -06:00
Luke Wagner
1eb12558f6 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
ab4444dc5d 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
a80cb6bc3c Back out 3e9ed1fd45b9 (bug 778414) due to B2G bustage 2012-08-29 16:54:11 -03:00
Landry Breuil
f2e51fca3d 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
aad658b3df Use inferred result type for initializer opcodes, bug 785358. r=dvander 2012-08-29 13:10:35 -06:00
Siddharth Agarwal
6e3e5ab3cb Merge mozilla-central to mozilla-inbound. 2012-08-29 20:41:03 +05:30
Siddharth Agarwal
4ac6379343 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
543e39518d Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
6f9fd5c1fe Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey 2012-08-29 08:55:58 +02:00
Mike Hommey
2c1a2e9335 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
35fc14432b Bug 783950 - Refresh libffi patches. r=ted 2012-08-29 08:55:57 +02:00
Gregory Szorc
aa3ebf1947 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
1b8703b211 Bug 784894 - Fix sharkctl.h #include on OSX (r=bustage) 2012-08-28 16:56:54 -07:00
Brian Hackett
897e42e112 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
a88c217f82 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
faa927d6b6 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
bfa21d0998 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
f5d1821942 Bug 753046 - Add IPC support for BSDs, build glue. r=khuey,cjones 2012-08-28 23:16:51 +02:00
Landry Breuil
df9b939699 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
6d0f18d429 Bug 783950 - Refresh libffi patches. r=ted 2012-08-20 08:57:13 +02:00
Ehsan Akhgari
bc56a22a8a 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
f7f3c4bf13 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
743aaf3bb5 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
b4884af740 Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink) 2012-08-27 13:32:51 -07:00
Ryan VanderMeulen
13b4317e28 Merge m-c to inbound. 2012-08-27 19:34:23 -04:00
Alex Keybl
6458cc3fa4 Merging in version bump NO BUG 2012-08-27 12:21:46 -07:00
Luke Wagner
37b2170d76 Bug 749371 - Remove now-unnecessary JS_ClearScope defense (r=bhackett) 2012-08-27 09:13:44 -07:00
Gabor Krizsanits
a4a418d2ac Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley 2012-08-27 15:15:20 +02:00
Gabor Krizsanits
56e99a4fb8 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00
Benjamin Peterson
de7d529c1c 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
c7110f1a4e Bug 785781 - Remove artifact of the old re engine. r=njn 2012-08-27 08:03:54 -04:00
Bob Clary
b814c458f7 bug 681704 - disable js1_5/extensions/toLocaleFormat-02.js on Windows Debug builds due to CRT Assert, r=dmandelin. 2012-08-26 22:51:14 -07:00
Luke Wagner
a688f5b795 Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
Siddharth Agarwal
b95f39c7d8 Bug 740854 - Remove --disable-auto-deps, SYSTEM_MAKEDEPEND, MOZ_NATIVE_MAKEDEPEND and associated crap. r=ted
--HG--
extra : rebase_source : 6a3f3017a3674738bb89e7e7f2e55c35a3cbe231
2012-08-28 00:57:16 +05:30
Rafael Ávila de Espíndola
cf01c2b4c5 Bug 784029 - Revert 783505 when we drop support for gcc 4.2. r=jorendorff. 2012-08-27 15:37:34 -04:00
Nicholas Nethercote
02a17d8ea9 Bug 784608 (part 8) - Remove FunctionBox::parent. r=luke.
--HG--
extra : rebase_source : 4cd9ee4acfdbcd262967fbebf536e8713abd5b56
2012-08-23 20:06:40 -07:00
Nicholas Nethercote
440f66cd8a Bug 784608 (part 7) - Change the form and meaning of ParseContext::innermostWith, and do follow-up simplifications. r=luke.
--HG--
extra : rebase_source : 035c8976f4767235c5f88f0440401c668c7676a8
2012-08-23 16:50:25 -07:00
Nicholas Nethercote
230074bf69 Bug 784608 (part 6) - Rename some parsing and emitting variables. r=luke.
--HG--
extra : rebase_source : c21e322bb37172ca45ddac032a851465545fd2b8
2012-08-22 23:16:05 -07:00
Nicholas Nethercote
fdc6f399fd Bug 784608 (part 5) - Rename some FunctionBox method args. r=luke.
--HG--
extra : rebase_source : 19ad67052ec6df71d1a5a1d68a8f21487c7c8d8f
2012-08-22 20:12:44 -07:00
Nicholas Nethercote
567dc0920b Bug 784608 (part 4) - Remove FunctionBox::inAnyDynamicScope. r=jimb.
--HG--
extra : rebase_source : 22ce4b1e4e1fe7dffa6a28ce59087926d3ef5b93
2012-08-22 17:50:35 -07:00
Nicholas Nethercote
f8b702a39f Bug 784608 (part 3) - Remove FunctionBox::node. r=jimb.
--HG--
extra : rebase_source : 6fdb125d6d7362987f52e3c3e552d002daf544c3
2012-08-22 17:25:55 -07:00
Nicholas Nethercote
4e8316615c Bug 784608 (part 2) - Remove FunctionBox::level. r=jimb.
--HG--
extra : rebase_source : 0e887c586df02cf84f16816457a6f22e004b34bf
2012-08-22 17:25:53 -07:00