Commit Graph

20314 Commits

Author SHA1 Message Date
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
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
Bob Clary
4b000d6aa2 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
3595a4cdb6 Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
Siddharth Agarwal
f976c1f6e5 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
f1d04b676c Bug 784029 - Revert 783505 when we drop support for gcc 4.2. r=jorendorff. 2012-08-27 15:37:34 -04:00
Nicholas Nethercote
3eb58b0432 Bug 784608 (part 8) - Remove FunctionBox::parent. r=luke.
--HG--
extra : rebase_source : 4cd9ee4acfdbcd262967fbebf536e8713abd5b56
2012-08-23 20:06:40 -07:00
Nicholas Nethercote
86ce71fef2 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
7e452cdec4 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
4bd46dce28 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
0914cdefb7 Bug 784608 (part 4) - Remove FunctionBox::inAnyDynamicScope. r=jimb.
--HG--
extra : rebase_source : 22ce4b1e4e1fe7dffa6a28ce59087926d3ef5b93
2012-08-22 17:50:35 -07:00
Nicholas Nethercote
c9d258f5b1 Bug 784608 (part 3) - Remove FunctionBox::node. r=jimb.
--HG--
extra : rebase_source : 6fdb125d6d7362987f52e3c3e552d002daf544c3
2012-08-22 17:25:55 -07:00
Nicholas Nethercote
5ea69a2892 Bug 784608 (part 2) - Remove FunctionBox::level. r=jimb.
--HG--
extra : rebase_source : 0e887c586df02cf84f16816457a6f22e004b34bf
2012-08-22 17:25:53 -07:00
Nicholas Nethercote
47287a3eb0 Bug 784608 (part 1) - Remove FunctionBox::inLoop. r=jimb.
--HG--
extra : rebase_source : 451f30919691a128c0003b0e763a3e50d6f627bf
2012-08-21 23:55:51 -07:00