Commit Graph

20018 Commits

Author SHA1 Message Date
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Mike Hommey
d004e4731d Bug 774032 part 7 - Remove make-makefile and acoutput-fast.pl. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
98cf7cdf43 Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
e4a7a0ec95 Bug 774032 part 4 - Add check-sync-dirs exception for *.pyc under build/. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
0b792a937e Bug 774032 part 3 - Remove variables with no AC_SUBST in autoconf.mk.in. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
67045cf5c5 Bug 774032 part 2 - Allow to disable markers in Preprocessor.py. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
afb4432cd9 Bug 774032 part 1 - Avoid Preprocessor.py replacing undefined variables with the attemptSubstitution filter. r=ted 2012-08-04 08:47:28 +02:00
Benjamin Peterson
90c89222f7 Bug 780051 - Remove JS_MAX and JS_MIN. r=luke 2012-08-02 20:50:51 -07:00
Bill McCloskey
92f8b9be64 Bug 743112 - Incremental deferred release (r=smaug,jonco) 2012-08-02 15:35:59 -07:00
Eric Faust
0a5b0eec6b Bug 742188 - Implement ToInt64 and ToUint64 per the WebIDL standard. (r=jorendorff) 2012-08-03 15:15:04 -07:00
Siddharth Agarwal
b50d7f6a63 Bug 780241 - pythonpath.py should not be a native command. r=ted over IRC. 2012-08-04 00:39:54 +05:30
Benjamin Peterson
c82404993f Bug 772733 - Implement String.contains. r=sfink 2012-08-03 11:37:27 -07:00
Benjamin Peterson
10c638efd5 Bug 772733 - Implement String.startsWith/endsWith. r=luke 2012-08-03 11:34:27 -07:00
Benjamin Peterson
c9760fb41f Bug 778531 - Update Array.prototype.join/toLocaleString to follow ES5. r=jorendorff 2012-08-03 10:27:57 -07:00
Terrence Cole
d3ec16b6fe Bug 778383 - Make jstests.py use an options list to pass around extra args; r=dmandelin
--HG--
extra : rebase_source : f376f4b1496ce576097af7cf8b55ee3188be45fb
2012-07-27 18:40:39 -07:00
Benjamin Peterson
2732a3fe07 Bug 779865 - Make CompileOptions public. r=jimb 2012-08-02 14:07:31 -07:00
Benjamin Peterson
8a6a085f31 Bug 779694 - Handle zlib errors correctly. r=jorendorff 2012-08-02 13:31:45 -07:00
Doug Turner
c07fc94e51 Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug 2012-08-02 13:25:16 -07:00
Jason Orendorff
1c2da872e8 Bug 769504 - Atomize strings when using them as hash keys in a Map or Set. r=luke. 2012-07-04 10:24:20 -05:00
Jason Orendorff
c606a5dc8b Bug 779601 - Minor cleanup for JS_ValueToECMAInt32 and friends. r=bhackett. 2012-08-02 14:59:30 -05:00
Bill McCloskey
69bef07c1d Backout bug 779183 for Talos crashes 2012-08-02 11:42:12 -07:00
Wes Johnston
2088574285 Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Terrence Cole
ccde228e1f Bug 777589 - Fix regress-50447-1.js, don't work around it in the harness; r=sfink 2012-07-27 18:16:11 -07:00
Benjamin Peterson
32ade36e59 Bug 767274: New expression decompiler. r=luke 2012-08-02 09:20:08 -07:00
Jon Coppeard
6c054c33ee Bug 779183 - GC: Incremental sweeping of atoms table r=billm
* * *
Sweep atoms in a separate slice
* * *
Sweep atoms later in a separate slice
* * *
Code review followup

--HG--
extra : rebase_source : 774ad569a76425637483fcad093f04e30ad6912b
2012-08-02 16:04:14 +01:00
Jon Coppeard
f1908ed2c3 Bug 779172 - GC: Incremental zeal modes interact badly with BudgetIncrementalGC r=billm
--HG--
extra : rebase_source : 520eeff0ecb498a8e04e974c8640d4c46bcb34a9
2012-08-02 10:54:30 +01:00
Doug Turner
95b32b3331 Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey 2012-08-01 23:29:34 -07:00
Ryan VanderMeulen
3b08dc58a5 Merge m-c to inbound. 2012-08-01 22:23:43 -04:00
Ryan VanderMeulen
553951b7d6 Merge the last PGO-green inbound changeset to m-c. 2012-08-01 22:18:33 -04:00
Eric Faust
012112cde8 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Ed Morley
b5c712e1ca Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-01 18:36:33 +01:00
Olli Pettay
4c2811f3c2 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
3083c0bdec Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Shu-yu Guo
f48c3ae2ea Bug 771871 - Fix loading doubles into return regs in JM call IC when call/apply lowering speculation fails. r=bhackett 2012-08-01 17:25:34 -07:00
Siddharth Agarwal
b144619367 Bug 779688 - jstests.py invocation should have a $(PYTHON) in front. r=terrence 2012-08-02 05:26:39 +05:30
Jason Orendorff
f6e732fc77 Bug 677032, r=jimb 2012-08-01 16:49:35 -07:00
Eric Faust
3867cd5a59 Bug 749535 - Part 1: Implement JS_UnwrapObjectAs*Array(). (r=bhackett) 2012-07-31 20:31:55 -07:00
Eric Faust
e8671110a6 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
4b4b99426d Bug 779015 - Make JS_Is*Array() not throw. (r=bhackett) 2012-07-31 20:08:32 -07:00
Eric Faust
67031a4d40 Bug 749535 - Part 1: Implement JS_UnwrapObjectAs*Array(). (r=bhackett) 2012-07-31 20:05:19 -07:00
Benjamin Peterson
5bbb4f7f06 Bug 779017 - Give every JSScript a ScriptSource. r=jorendorff 2012-07-31 19:18:22 -07:00
Bill McCloskey
ab12c4e424 Bug 767209 - Consider changing GC slice time, or making it dynamic (r=terrence,smaug) 2012-07-31 18:39:39 -07:00
Bill McCloskey
881223e60f Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes (r=gwagner) 2012-07-31 18:33:29 -07:00
Benjamin Peterson
5d39a769b8 Bug 779347 - Add AutoFile to automatically handle the closing of FILE *. r=jimb 2012-07-31 17:35:46 -07:00
Steve Fink
4e52b260b2 Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett
--HG--
extra : rebase_source : a6a66d9e41932055e4529550d204d4098f32e37e
2012-07-23 13:37:31 -07:00
Benjamin Peterson
f1f2500291 Bug 779038 - Add an Evaluate variant which can read files. r=jimb 2012-07-31 15:25:41 -07:00
Till Schneidereit
75655298f7 Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 82852ba6bf800e4d87f64b178a963e71323af391
2012-07-10 00:11:39 +02:00
Jeff Muizelaar
9d9c49bece Bug 779220. Add JS_InternStringN for callers that know the length of the string. r=luke
This mirrors the existing JS_InternUCStringN.
2012-07-31 12:26:14 -07:00
Luke Wagner
f52bb2acdd Bug 779215 - CallJS(Native|PropertyOp|PropertyOpSetter) should JS_CHECK_RECURSION, r=dmandelin 2012-07-31 11:58:33 -07:00
Jason Orendorff
4a28aa0ef9 Follow-up fix for bug 778921. We want tests to pass even when we have an even number of them. rs=luke via IRC. 2012-07-31 13:51:34 -05:00
Jason Orendorff
916cc0c874 Bug 778921 - Fix "warning: invalid manifest line element "pref(javascript.options.xml.content,true)" running JS tests in the shell with jstests.py. r=luke. 2012-07-31 11:55:45 -05:00
Ed Morley
4eefe4d834 Backout f84910a8474a (bug 462300) for crashes in xpcshell 2012-07-31 19:16:54 +01:00
David Zbarsky
02ad32a5d3 Bug 779196 - Fix some initializing pointer as bool warnings r=luke 2012-07-31 10:28:23 -07:00
Till Schneidereit
472c87095c Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 90e33d171ac0b79aebdf2f652909d72dd7ae2601
2012-07-10 00:11:39 +02:00
Ed Morley
6988b7f1b0 Backout 1ff1bb2115c0 (bug 778383), d6fc07492b92 (bug 777589) for bustage 2012-07-31 17:44:07 +01:00
Benjamin Peterson
33241c694e Bug 777834 - Don't call into the tokenizer if it's in an error state. r=jorendorff 2012-07-31 09:26:55 -07:00
Benjamin Peterson
7ac560a316 Bug 777834 - Add a a tokenizer flag for error state. r=jorendorff 2012-07-31 09:26:48 -07:00
Luke Wagner
a211114c42 Bug 777630 - add missing prop ic (r=bhackett) 2012-07-30 11:36:23 -07:00
Terrence Cole
8517231c39 Bug 778383 - Make jstests.py use an options list to pass around extra args; r=dmandelin
--HG--
extra : rebase_source : c5512f19d32ac7760760417a857bd89df3b070d7
2012-07-27 18:40:39 -07:00
Terrence Cole
bfee4c3635 Bug 777589 - Fix regress-50447-1.js, don't work around it in the harness; r=sfink
--HG--
rename : layout/reftests/svg/viewBox-and-pattern-02.svg => layout/reftests/svg/viewBox-and-pattern-01.svg
extra : rebase_source : a437bbb952ad1a9cf3b3065bbe684a302ac10845
2012-07-27 18:16:11 -07:00
Aryeh Gregor
b83d854023 Bug 778681 part 6 - Fix some misuses of bool as nsresult; r=bz 2012-07-27 16:51:50 +03:00
Mike Habicher
d753b0fbff Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00
Andrew McCreight
bd753fa986 Bug 761422, part 4 - Don't try to be a hero in ReparentWrapperIfFound. r=bholley 2012-07-30 21:02:00 -07:00
Andrew McCreight
c50ae146b8 Bug 761422, part 3 - get security wrappers before changing maps. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight
c9f8cbe106 Bug 761422, part 2 - guard against double reflectors on failure in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight
f0b4fb0eb9 Bug 761422, part 1 - Clone before we adjust XPC maps in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
David Mandelin
68db95ee41 Bug 779393 - Fix compile error in jsiter.cpp involving --enable-more-deterministic, r=bhackett 2012-08-01 11:25:33 -07:00
Benjamin Peterson
27403cfa60 Bug 779400: Split ScriptSource::setSource into setSource and setSourceCopy. r=jorendorff
--HG--
extra : rebase_source : 21b507a980aceb792a75e2711a934d4f9d51f37a
2012-08-01 09:56:39 -07:00
Benjamin Peterson
ea517f5a3a Bug 779372 - Add missing USE_ZLIB. r=jorendorff
--HG--
extra : rebase_source : 806628d3e75b989548a5d06b13d43a37d326d977
2012-08-01 09:56:37 -07:00
Benjamin Peterson
704457dec7 Bug 777190 - Don't compress files with huge strings; reenable source compression. r=jorendorff 2012-07-30 19:23:46 -07:00
Benjamin Peterson
db482fef8b Bug 778560 - Fix typo that prevented JS from ever using zlib. r=dmandelin 2012-07-30 19:23:44 -07:00
Ryan VanderMeulen
ed3645f4ca Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Olli Pettay
1b9dbfc419 Bug 777401 - DictionaryHelpers.* build problems, r=khuey 2012-07-30 23:10:26 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brendan Eich
6bfa476207 Bug 778627 - Warning and related/nearby naming/style nit fixes (r=bpeterson). 2012-07-30 13:58:18 -07:00
Bobby Holley
8a52cd6c9b Bug 778409 - Enter the compartment of unwrappedProto rather than obj in Rewrap. r=gabor
This can happen if chrome sets its proto to a content object from a different scope
than the one doing the wrapping. In this case, the prototype chain looks like this:

chromeobj => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)

When wrapping chromeobj for exampleorg_scope, things will look like this:

COW(chromeobj) => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)

Note that we don't remap the proto of CCW(examplecom_scope) to
exampleorg_scope.Object.prototype, because the proto remapping only happens when
the object we're wrapping is chrome. There's no reason it has to be this way, but
even if we changed it we still wouldn't get the nice remapped lookup behavior to
exampleorg_scope.Object.prototype, because the proxy handler for CCW(examplecom_obj)
isn't a ChromeObjectWrapper, and thus doesn't know how to to the prototype bouncing
correctly.

Anyway, I suspect this case isn't worth worrying about as long as we don't crash.
2012-07-30 22:18:55 +02:00
Jason Orendorff
eb51654418 Disable two E4X tests that were failing only on platforms using e10s content processes after landing bug 765890. no_r=orange. 2012-07-30 14:52:02 -05:00
Ted Shroyer
b97e71e237 Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
--HG--
extra : rebase_source : 12bd1c7b597c4834424876ac797cf7c118434d5e
2012-07-20 14:00:53 -05:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Landry Breuil
9cdf01af2e Bug 778414. Fix clang builds on OpenBSD/i386. r=glandium 2012-07-30 17:57:04 +02:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Brian Hackett
ffc948bbbe Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Aryeh Gregor
b6511c4a18 Bug 777292 - Add default cases to switches on nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Rafael Ávila de Espíndola
9e9d6d39b5 Bug 778301 - Remove old change for llvm.org/pr11003.
--HG--
extra : rebase_source : 41006c35798d0722a43b6c37bc0216a6c6064aa9
2012-07-28 08:04:45 -04:00
Benjamin Peterson
e94d6142a5 Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence 2012-07-28 15:18:33 -07:00
Ed Morley
8115524086 Backout a5b21cffeebf (bug 743112) for intermittent but severe leaks; a=whatafunwaytospendtheday on a CLOSED TREE 2012-07-28 18:46:27 +01:00
Benjamin Peterson
00740850d5 Bug 778268 - Allow definitions with no uses to be removed. r=luke 2012-07-27 21:56:46 -07:00
Benjamin Peterson
737cf0560b Backout 4cdd23569371 (Bug 777776) for more bustage 2012-07-27 19:35:01 -07:00
Terrence Cole
a58c78f9bb Bug 744675 - Make jstest suite default parallelism match cpu count; r=sfink
--HG--
extra : rebase_source : 41dab7c1354f31c27cb019a622b8602e7fc521c5
2012-07-27 17:51:12 -07:00
Benjamin Peterson
0a143b5c59 Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence 2012-07-27 17:51:49 -07:00
Bill McCloskey
a254508aaa Bug 778370 - Track individual sweep phases in GC statistics (r=terrence) 2012-07-27 17:37:21 -07:00
David Mandelin
2f887350f7 Bug 778347: fix some MSVC warnings, r=luke
--HG--
extra : rebase_source : 859cdd689d4aa794ab8c25d39fb9f9cd7817a92c
2012-07-27 16:32:37 -07:00
Eric Faust
3f385d4b0d Bug 747288 - Reland renaming jitinfo to MJITinfo. (r=bhackett) 2012-07-27 16:20:48 -07:00
David Mandelin
41e924a853 Backout changeset 8bd9d81db80a which landed without a bug
--HG--
extra : rebase_source : 69b0afc5aab63afeea06919db9c2e635e7c6f1dc
2012-07-27 15:49:11 -07:00
Benjamin Peterson
5e6fbcfa5e Backout b69f5004fde8 (Bug 777776) for bustage 2012-07-27 15:22:13 -07:00
Benjamin Peterson
25d7d5c590 Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence 2012-07-27 14:42:56 -07:00
Steve Fink
3d6d6246c4 Bug 777956 - With CPG, AutoCompartment no longer needs to store the target object. r=luke 2012-07-26 18:27:08 -07:00
Terrence Cole
5340142486 Bug 777992 - Move array slowification barrier closer to update; r=billm
--HG--
extra : rebase_source : c7bb1cb451877282e6d8a1bc2b1e971cbbfad2a7
2012-07-27 12:32:16 -07:00
David Mandelin
e514fe80c1 Bug 776704: allow shell to build without zlib, r=bpeterson 2012-07-25 16:47:16 -07:00
Bill McCloskey
f164256554 Bug 743112 - Incremental release of C++ objects during GC (r=smaug,jonco) 2012-07-27 11:27:51 -07:00