Commit Graph

23917 Commits

Author SHA1 Message Date
Siddharth Agarwal
c231358a20 Bug 668058 - Add a DIR_INSTALL nsinstall shortcut, and allow $(INSTALL) to support target-specific makefiles. r=ted 2011-07-08 14:30:27 -07:00
Mike Hommey
7183638964 Backed out changeset 8b7150ba4450 because of win opt build failure 2011-07-07 14:48:17 +02:00
Jim Blandy
8f83000dea Bug 668438: Let MakePlaceholder's callers put the placeholder in the lexdeps table, as that needs to be done differently in different cases. r=cdleary 2011-07-06 21:14:45 -07:00
Steve Fink
83485a0a59 Bug 671632 - Fix shark builds broken by bug 588537 (r=waldo)
--HG--
extra : rebase_source : baa3e89fb3ccc0549aee2c752bb4a46ccc494eec
2011-07-15 11:47:16 -07:00
Ehsan Akhgari
5e56126930 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
292cb94b42 Bug 670331 - Remove nsIDOMStorageWindow; r=sicking 2011-07-15 12:32:37 +02:00
Ms2ger
8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Nicholas Nethercote
03df28c0ff Bug 669434 - Fix obscure bugs in CompileFileHelper. r=brendan.
H:Bug 669434 - Fix obscure bugs in CompileFileHelper.  r=brendan.
ubranch 'default'
2011-07-14 19:40:23 -07:00
David Mandelin
e4026ec35b Bug 605290: check for null globalObject before innerizing, r=luke 2011-07-13 16:47:10 -07:00
Brad Lassey
3c22f91088 bug 671346 - build fails with android NDKr6 r=khuey 2011-07-14 20:45:42 -04:00
Nicholas Nethercote
9d115f075d Bug 671482 - Use the trusted principal to identify the system principal. r=luke. 2011-07-15 09:52:51 +10:00
Nicholas Nethercote
6383cd4901 Bug 671482 - Rename some identifiers to improve clarity. r=anygregor. 2011-07-15 09:31:52 +10:00
Bill McCloskey
0a2494d375 Bug 661903 - Fix stupid build issue 2011-07-14 16:07:53 -07:00
Bill McCloskey
59550cbcda Bug 661903 - Move script filename table to compartment (r=igor) 2011-07-14 16:02:12 -07:00
Blake Kaplan
6347da8334 Backed out changeset 1e6392dd7c14 due to build bustage. 2011-07-14 15:21:42 -07:00
Blake Kaplan
686ac44361 Fix bug 653926. r=jst 2011-07-14 14:35:41 -07:00
Han Chang
6135d9b650 Bug 640629 - Move timer declaration instances to prevent premature garbage collection from occuring and wiping out the timer instances before they get a chance to fire. r=jdm,gavin 2011-07-05 21:40:00 -04:00
Rafael Ávila de Espíndola
f588d3efe3 Bug 673556 - Make sure that C limits macros are defined on over-zealous compilers; r=khuey
--HG--
extra : rebase_source : 46f5ddf3a2bcfcd882e3814216299af09347de7e
2011-07-26 17:09:42 -04:00
Brad Lassey
a505ace705 bug 661282 - make xpcshell run on android r=bsmedberg 2011-06-26 22:05:51 -04:00
Igor Bukanov
a69af63ab4 bug 673760 - keep ArenaHeader::compartment until the GC finishes. r=anygregor 2011-07-24 18:14:10 +02:00
Ehsan Akhgari
2bd4f9ec29 Backout bug 670205 and bug 673451 because of build bustage
--HG--
extra : rebase_source : 1125480c0f47d0388876c09648d64bdbd62d1206
2011-07-26 14:41:43 -04:00
Rob Arnold
cf50729362 Bug 656320: don't delete properties if the delProperty op says not to, r=jorendorff 2011-07-26 11:41:44 -07:00
Bill McCloskey
312cf050cc Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary) 2011-07-13 15:43:33 -07:00
Bill McCloskey
07e9b1d64c Bug 670205 - Maintain JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal) 2011-07-13 15:43:31 -07:00
Hannes Verschore
843f873c2f Bug 673066: Check for GOTOX in processing source notes, r=dvander 2011-07-26 10:55:02 -07:00
Brendan Eich
49158230b0 Oops, forgot the test for bug 588061. 2011-07-26 08:40:15 -07:00
Jeff Walden
59836c24ef Bug 671091 - Add DefinePropertiesAndBrand to abstract out most explicit branding. NOT REVIEWED YET
--HG--
extra : rebase_source : 9a48fc83a876c95e90c807eb0b007d35211eb41c
2011-06-15 10:15:37 -07:00
Jeff Walden
d312d3d392 Bug 671143 - Rename ValueToNumber to ToNumber, to be more like the spec nomenclature. r=cdleary
--HG--
extra : rebase_source : e85fbadd77adc048f5e443cd9ed96b0035954674
2011-06-13 21:49:59 -07:00
Igor Bukanov
6fec142b82 bug 667507 - r=gal 2011-07-14 21:47:36 +02:00
Chris Leary
1ae6b9e3c0 Bug 670772 - JSCodeGenerator::upvarMap should use exactly as much space as it needs. (r=njn)
--HG--
extra : rebase_source : 40b9a070023da205817e275e936e8a1acbe38c2b
2011-07-13 16:05:41 -07:00
Chris Leary
ea5644dbe3 Bug 669786: JSCodeGenerator::upvarMap should be a js::Vector. (r=njn)
--HG--
extra : rebase_source : 63d3fe85a1937c74f45e104ab066bc1159c36e00
2011-07-06 18:00:17 -07:00
Bill McCloskey
56c6d6ea2b Bug 671080 - Assert on unexpected cross-compartment pointers in opt builds (r=mrbkap) 2011-07-14 12:12:30 -07:00
Hannes Verschore
d281d1ff4a Bug 670784 - Add src note to break statements of switches, r=dvander 2011-07-13 16:12:05 -07:00
Jason Orendorff
7c4d53ad5d Bug 646968 - Fix name lookups in let scopes. r=brendan. 2011-07-14 08:54:17 -05:00
Kyle Huey
29476224bf Mass revert m-i to the last known good state 2011-07-13 18:22:33 -07:00
David Mandelin
322bd61af7 Bug 605290: Check for null cx->globalObject, r=luke 2011-07-13 16:47:10 -07:00
Chris Leary
46728e38d4 Bug 670772 - JSCodeGenerator::upvarMap should use exactly as much space as it needs. (r=njn)
--HG--
extra : rebase_source : 00184fc11f3cccd4080e3e8e2f347ab9fa724fce
2011-07-13 16:05:41 -07:00
Chris Leary
8164b394a5 Bug 669786: JSCodeGenerator::upvarMap should be a js::Vector. (r=njn)
--HG--
extra : rebase_source : 5270282d89d15e00739428e5f12de7d4f508bef4
2011-07-06 18:00:17 -07:00
Hannes Verschore
0bc5ed0dd0 Bug 670784 - Add src note to break statements of switches, r=dvander 2011-07-13 16:12:05 -07:00
Jeff Walden
8e8cf3d389 Bug 671082 - Add GlobalObject::createConstructor to abstract creation of constructors, after basic primordials are installed in the global. r=bhackett
--HG--
extra : rebase_source : 7d912d659f18bd4a24cb9e285dc71cbb0eac9858
2011-06-13 11:52:45 -07:00
Jeff Walden
a7f6c3ef8c Bug 670779 - Add LinkConstructorAndPrototype to encapsulate adding ctor.prototype and ctor.prototype.constructor. r=bhackett
--HG--
extra : rebase_source : 1216c2c096b866c94205c3f53fe0dd70225523c4
2011-06-15 10:15:37 -07:00
Jacek Caban
079f214b29 Bug 670905 - Update mingw cofigure checks to current version (r=khuey) 2011-07-13 17:57:59 +02:00
Ehsan Akhgari
0823e559de Merge mozilla-central and mozilla-inbound 2011-07-13 11:51:33 -04:00
Ehsan Akhgari
3e4044476c Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-13 11:40:03 -04:00
Jason Orendorff
dd807c3d30 Bug 620316 - Remove WrapEscapingClosure. r=brendan. 2011-07-13 07:15:59 -05:00
Robin Ehrlich
284ba44ca8 Bug 670958 - "Javascript 1.8.5 js_GetScriptLineExtent does not always return the correct value" (r=sfink)
--HG--
extra : rebase_source : b7f93037a828843749f83dc8b5b2f8fec404276d
2011-07-12 12:03:00 -07:00
Dave Yeo
6ba6b675bd Bug 670003: Fix yarr on OS/2. r=dmandelin 2011-07-12 12:57:08 -07:00
Cyril Roelandt
78ae0ee7dd Bug 670487 - Fix prototype to eliminate a compiler warning in js/src/editline. r=brendan. 2011-07-12 13:14:37 -05:00
Jason Orendorff
6c1b28f01f Backed out changeset 2d5bc18fdf9c because the commit message lacks a bug number.
--HG--
extra : rebase_source : b9e34ce4beca44b44b75d84551c67279b49c2130
2011-07-12 14:49:59 -05:00
Cyril Roelandt
9ab821ee73 Fix prototype to eliminate a compiler warning in js/src/editline. r=brendan.
--HG--
extra : rebase_source : bdde5a2c76f03309c92f864dc30aa320a8f38044
2011-07-12 13:14:37 -05:00
Ehsan Akhgari
a5e1d4aa7d Backout changeset 7c1a923bea13 (bug 649537) because of mochitest-3 and mochitest-oth oranges 2011-07-12 14:25:53 -04:00
Ben Turner
d77fe79334 Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-12 12:32:14 -04:00
Ehsan Akhgari
904b1a3fb5 Back out changeset 51f17131556b (bug 632221) because it breaks the build 2011-07-13 16:37:18 -04:00
Andrew Paprocki
a2fb95f9af Bug 632221 - Add HOST_LDFLAGS to link of host programs, make jscpucfg a host program; r=ted 2011-07-13 12:37:35 -07:00
Mike Hommey
c63626a251 Bug 644608 - Implement full dependencies for expandlibs. r=ted 2011-05-03 09:33:45 +02:00
Kyle Huey
b6909019e9 Bug 647653: Followup to add a '*'. 2011-07-06 10:08:14 -07:00
Kyle Huey
34b5ded286 Bug 668361: File ctor should fail if passed a directory. r=sicking 2011-07-06 09:35:12 -07:00
Kyle Huey
3e8c3873ef Bug 647653: Add a constructor for DOM File objects in the component scope. r=mrbkap 2011-07-06 09:34:26 -07:00
Chris Leary
289351b012 Merge mozilla-central and tracemonkey. 2011-07-05 17:30:35 -07:00
Paul Biggar
a39ec83520 Bug 666448: Remove 2nd argument to escape() for ECMA/Test262 compliance (r=jwalden) 2011-07-05 16:51:12 -07:00
Brendan Eich
7d4f970e4a Fuse common return interpReturnOK; path (and put comment inside ifdef where it belongs); fit assertion in 100 columns (r=me). 2011-07-05 12:57:44 -07:00
Brendan Eich
5ab8e4b792 Use common sub-expression more (r=self). 2011-07-05 12:36:54 -07:00
Boris Zbarsky
c6e839d51d Version bump from 7.0a1 to 8.0a1 2011-07-05 12:59:19 -04:00
Marco Bonardo
6ab202261d Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-05 10:47:39 +02:00
Gregor Wagner
2930b1da1e Bug 666058 - Don't share chunks for system compartments. r=gal,igor. 2011-07-05 14:14:33 +10:00
Patrick McManus
71ea7f9c8f bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:30 -07:00
Leon Sha
58fb6165b2 Bug 666488 - [TM] Re-enable YARR on sparc. r=dvander. 2011-07-04 13:40:43 +08:00
Nikhil Marathe
b70eace6df Bug 666599 - Fix ArrayBuffer::obj_lookupProperty. r=mrbkap 2011-07-03 13:32:03 +08:00
Marco Bonardo
434e057510 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Josh Matthews
5163e29da2 Bug 661927 - Add Cu.schedulePreciseGC to allow for a GC to run with no JS code running. r=mrbkap 2011-07-01 02:08:48 -04:00
Ehsan Akhgari
86da6932d3 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Nicholas Nethercote
2c2e126833 Bug 661474 - Add per-compartment memory reporters. r=wmccloskey, dolske. 2011-06-30 15:44:17 +10:00
Kyle Huey
99aa56bee4 Bug 667652: Add a JS_FRIEND_API to get at the current offset in a structured clone buffer. r=jorendorff. 2011-06-29 12:09:15 -07:00
Ted Mielczarek
a4398294bc merge mozilla-central and build-system 2011-06-29 09:42:11 -04:00
Ted Mielczarek
eaf35622ec bug 664197 - bustage fix, sync js/src/config 2011-06-28 08:32:29 -04:00
Kyle Huey
224832d24d Bug 515492: Make jemalloc work on VS 2010. r=ted,pbiggar 2011-06-27 12:44:51 -07:00
Kyle Huey
2426689ee4 Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Ehsan Akhgari
684c5d0a7c Merge mozilla-central into mozilla-inbound 2011-06-24 21:17:16 -04:00
Kyle Huey
cb7e11eb84 Bug 665969: Make C4553 fatal. r=ted 2011-06-24 07:22:35 -07:00
Kyle Huey
2028e10311 Backed out changeset dd46aab5d8aa 2011-06-24 10:14:24 -07:00
Joey Armstrong
eb8571053f Bug 661885: Followup to placate check-sync-dirs.py. r=khuey 2011-06-24 09:23:15 -07:00
Marco Bonardo
da3f6b77ac Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey
c3c07aa96b Bug 665969: Make C4553 fatal. r=ted 2011-06-24 07:22:35 -07:00
David Anderson
64a4c20982 Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jonas Sicking
815124365b Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Igor Bazarny
3885bce98f bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Ehsan Akhgari
eb1c080ad6 Merge mozilla-central into mozilla-inbound 2011-06-22 20:19:47 -04:00
Matheus Kerschbaum
27331333ef Bug 662000 part 2: Remove XPC_IDISPATCH_SUPPORT from the build-system and XPConnect. r=mrbkap
--HG--
extra : rebase_source : c456802fe36eef1e49381be996dbbdf820781206
2011-06-22 11:56:47 -04:00
Matheus Kerschbaum
f452ad1955 Bug 662000 part 1: Remove interfaces and tests. r=mrbkap
--HG--
extra : rebase_source : bb144170f64b1a46fc1e39dc97221b3e1734ae7a
2011-06-22 11:56:04 -04:00
Jonas Sicking
cfcfd3bcb2 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Luke Wagner
fc4372b957 Bug 15529 - Add missing copyright boilerplate to files in js/src, remove dead files (r=brendan,graydon,jimb)
--HG--
rename : js/src/perfect.js => js/src/tests/js1_1/regress/perfect.js
2011-06-21 10:26:22 -07:00
Ehsan Akhgari
7372d32b50 Backout changeset 5fe20ec0229c (bug 15529) because it breaks jsreftests 2011-06-21 18:52:32 -04:00
Luke Wagner
1b9fa5ce84 Bug 15529 - Add missing copyright boilerplate to files in js/src, remove dead files (r=brendan,graydon,jimb)
--HG--
rename : js/src/perfect.js => js/src/tests/perfect.js
2011-06-21 10:26:22 -07:00
Chris Leary
6ad07be206 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Gregor Wagner
0915417b4d Bug 656120 - Change MaybeGC trigger. r=igor 2011-06-20 14:44:26 -07:00
Ehsan Akhgari
07e2021359 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-06-20 16:06:04 -04:00
Jesse Ruderman
f3d5a4d98e Add crashtest from bug 603146 2011-06-20 11:42:05 -07:00
Jesse Ruderman
54e6295b43 Add crashtest from bug 601284 2011-06-20 11:42:05 -07:00
Jesse Ruderman
5616baed00 Add crashtest from bug 616930 2011-06-20 11:42:05 -07:00
Landry Breuil
d7674ad89f Bug 665040: "-not" is not a POSIX-compliant argument to find. Use "!" (r=khuey) 2011-06-17 15:48:00 -07:00
Rafael Avila de Espindola
9119a9387c Bug 641232 - Make HAS_XCODE_2_1 detection compatible with Xcode 4 - Remove unused configure bits. r=khuey 2011-06-20 10:40:58 +01:00
Paul Biggar
9215b87d11 Bug 649939: Prevent crash from too much recursion in Iterator.prototype.next() (r=jwalden) 2011-06-16 17:00:31 -07:00
Luke Wagner
eb1e4da057 Bug 665189 - hoist JSString and family into vm/String{.h, -inl.h, .cpp} (r=njn) 2011-06-20 11:44:20 -07:00
Ehsan Akhgari
7a0d0c4d14 Bug 662969 - Silence the clang warnings issued because of alignment requirements increase when compiling jsparse.h; r=Waldo
--HG--
extra : rebase_source : 8286bd6fd8a82d855c95d8a1ded01b54d73ba5a1
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
8b44eb7102 Bug 662964 - Silence the clang warnings issued because of alignment requirements increase when compiling jscntxt.h; r=Waldo
--HG--
extra : rebase_source : ec398625623f3cafd7c4373a85b099024ba05183
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
9d3cd03d84 Bug 662962 - Silence the clang warnings issued because of alignment requirements increase when compiling jsscript.h; r=Waldo
--HG--
extra : rebase_source : 0aa530499bf3961b372a24a1a98d949a81ee2065
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
1bf0169fbc Bug 662961 - Silence the clang warnings issued because of alignment requirements increase when compiling jsstr.cpp; r=Waldo
--HG--
extra : rebase_source : 984f986f3de6c92cdb45cadeff40bc84b36406ca
2011-06-19 17:04:48 -04:00
Nicholas Nethercote
605aa68d3c Bug 664647 - Work around MSVC 2005 PGO bug in GetJSObjectSlotsCallback and friends. r=khuey. 2011-06-20 09:01:37 +10:00
Igor Bukanov
0e73de0a0a bug 601075 - followup to fix MSVC warings and adjust the testStringBufferMallocAccounting.js test to overwrite all conservative GC roots. 2011-06-19 19:41:46 +02:00
Andrew McCreight
fd269a9094 Backout bug 653248 due to bug 667011 2011-06-15 10:55:58 -07:00
Andrew McCreight
91ffe75609 backing out patch for bug 653248 due to bug 667011 2011-06-15 10:55:58 -07:00
Ehsan Akhgari
ea86dfa105 Merge mozilla-central and mozilla-inbound 2011-06-28 18:43:09 -04:00
Joe Drew
075aa11a02 Merge m-c to m-i 2011-06-28 12:21:04 -04:00
Joe Drew
fb3508d786 Merge last green changeset from mozilla-inbound to mozilla-central. 2011-06-28 12:11:31 -04:00
Kyle Huey
875ae3ab9d Merge b-s to m-c. 2011-06-28 08:54:26 -07:00
Chris Leary
b6e46acdbd Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Igor Bukanov
a6e576e8ca bug 666091 - custom file for GCTIMER output. r=anygregor 2011-06-22 14:33:39 +02:00
Jeff Walden
eb803ca83b Style patrol followup to bug 665835. r=consistency
--HG--
extra : rebase_source : fe11c9f93246357209608ef6db85f2c147eb1b61
2011-06-24 14:36:13 -07:00
Chris Leary
909d951b40 Followup for bug 649576 GCC 4.3.3 warning. 2011-06-25 16:35:56 -07:00
Chris Leary
f1e0113af3 Bug 649576: Extricate JSHashTable from JSAtomList death grip. (r=luke) 2011-06-24 14:22:30 -07:00
Paul Biggar
45c3008821 Bug 666788: Remove JS_sscanf declaration, for which there is no definition (r=cdleary) 2011-06-24 16:12:40 -07:00
Luke Wagner
980bd7eabf Bug 666094 - InitJitFrameLatePrologue should do a better modeling generatePrologue (r=dvander) 2011-06-24 16:11:21 -07:00
David Mandelin
c79ee94bc2 Bug 666587: revert accidentally changed control flow in fun_getProperty, r=jwalden 2011-06-24 14:26:00 -07:00
Dave Herman
86de6be516 Bug 666852 - crash when yield occurs in comprehension RHS (r=cdleary) 2011-06-24 14:08:29 -04:00
Justin Lebar
5daed65b45 Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Shawn Gong
71e98c36a4 Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
Makoto Kato
5c8077f92b Bug 635617 - 64-bit crash [@ MakeDay] r=jwalden 2011-06-08 10:41:37 +09:00
Makoto Kato
43e17e2994 Bug 667076 - follow up for bustage on Win64. r=luke 2011-07-01 15:59:58 +09:00
Jeff Walden
eb505d304d Bug 657298 - Various bugs in setting the length of an array. r=dmandelin
--HG--
extra : rebase_source : f27bd4d0141df46d7ef054c91c2601d3b50d9690
2011-06-28 10:05:53 -07:00
Jeff Walden
e182be6d67 Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin
--HG--
extra : rebase_source : 1f7ee1dc5f5bd3185a8c7e02c5fdf8dcef765cb4
2011-06-28 10:05:40 -07:00
Nikhil Marathe
cbe391a287 Bug 665355 - Make delegate object and ArrayBuffer share same prototype. r=mrbkap
--HG--
extra : rebase_source : a7bd7dce5e0fbc53097f56065f5d5290046bc691
2011-06-29 17:42:03 -07:00
Nikhil Marathe
f3d65acc81 Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
58bad94550 Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
cfc7503a4c Bug 667630 - Don't treat the payload of a jsval as a pointer and make sure we unroot the value. r=luke
--HG--
extra : rebase_source : b3c5c3a29c859e2632ef97b0acc0a18842f9c52a
2011-06-29 17:36:09 -07:00
Blake Kaplan
f2051c534a Bug 664689 - Deal with wrappers-around-wrappers here. r=gal
--HG--
extra : rebase_source : af67e8aded9aa89874c0d74bc9fd48df2268eafc
2011-06-28 14:00:19 -07:00
Steve Fink
84a0405d58 Bug 667056 - Fix when function callbacks are invoked (r=luke) 2011-06-24 17:13:19 -07:00
Steve Fink
5a2aad9f3f Bug 667076 - Add a CHECK_EQUAL for testing whether non-jsval types are equal and report expected and observed values on failure (r=luke)
--HG--
extra : rebase_source : fb98cbdcaa63abbfe718d3dfc5b3ac1b0d3a64da
2011-06-24 13:11:28 -07:00
Chris Leary
57169dabe5 POD trait for |long long| family, attempt to rambo Winx64 back to life. (rs=luke) 2011-06-27 15:00:17 -07:00
Igor Bukanov
9e6d47a439 Bug 657198 - improving unreachable GC things detection in traces. r=gal 2011-05-31 10:01:09 +02:00
David Anderson
7af37c7b87 Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jeff Walden
e7a40351d4 Followup to fix tests relying on the mistaken absence of JSOPTION_ANONFUNFIX. r=orange 2011-06-23 18:48:55 -07:00
Brian Hackett
42227d5990 Bug 662132: Better coordination of GC and ICs, r=dvander 2011-06-23 18:19:57 -07:00
Gavin Barraclough
235b7e7999 Bug 653672: fix regexp offset handling, r=cdleary 2011-06-20 13:31:24 -07:00
Chris Leary
d46a59d72d Fix type-mismatched error return value. 2011-06-23 17:06:57 -07:00
Luke Wagner
a863d4e44c Bug 666292 - The decompiler does not deserve to use FrameRegsIter (it temporarily clobbers script->code) (r=waldo) 2011-06-23 16:41:59 -07:00
Jeff Walden
c35a61253a Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Jeff Walden
6feb9d1460 *Fewer* *occurrences*, not "less occurences". r=languagenazi 2011-06-23 11:07:27 -07:00
Dave Herman
a1e4edd603 Bug 665286 - crash on yield in arguments list (r=cdleary) 2011-06-23 18:20:31 -04:00
Dave Herman
289f1e78a5 Fixed broken test case (r=orange) 2011-06-23 16:40:58 -04:00
Paul Biggar
6ab0557bfb Bug 666052: Remove unused NSPR defines for events, hashtables and arenas (r=luke) 2011-06-23 13:27:04 -07:00
Luke Wagner
a9f846278a Update 'make check' OffTheBooks/Foreground accounting for 580ad572687b 2011-06-23 10:43:31 -07:00
Jeff Walden
fa96505235 Bug 660517 - Kill XML objects as prototypes. r=mrbkap
--HG--
extra : rebase_source : e2bf46111cab2bf97abe5a1bd8d0b25d97e8bfb9
2011-06-16 15:43:58 -07:00
Jeff Walden
672143f1ca Bug 587268 - Consolidate duplicate properties during enumeration of objects with custom enumeration behavior. r=dmandelin
--HG--
extra : rebase_source : ffd03f833471205e896815a7593326d2f7ea7bac
2011-06-21 16:52:25 -07:00
Luke Wagner
5672553177 Bug 665247 - Remove unused metering code (r=igor)
--HG--
extra : rebase_source : 78ec31e4236f63f8a91024f34b1b99a889dc47f5
2011-06-21 10:26:22 -07:00
Dave Herman
13f9da57ae Bug 632030 - Reflect.parse handling of duplicate var declarations (r=jorendorff) 2011-06-23 12:31:40 -04:00
Daniel Holbert
cd52b2537d Bug 666481: Remove set-but-not-used variable 'count' from jsatom.cpp. r=igor 2011-06-23 02:47:13 -07:00
Dave Herman
8073f558b1 Bug 632056 - Reflect.parse() constant-folding test 2011-06-23 03:44:56 -04:00
Dave Herman
a7006d44cf Bug 632029 - Reflect.parse() constant-folding 2011-06-23 03:31:12 -04:00
Dave Herman
d9346c17d1 Bug 632026 - Reflect.parse() constant folding test 2011-06-23 03:17:42 -04:00
Igor Bukanov
49581e5a08 bug 665781 - do not shrink XML arrays during GC. r=gal 2011-06-21 12:23:14 +02:00
Luke Wagner
4aca0c6fa2 Bug 666003 - Set 'script' after pushing inline frame in JSOP_CALL (r=waldo)
--HG--
extra : rebase_source : a3a922c32a1f68fcd5dcf72937d695b39bbb4770
2011-06-21 17:44:50 -07:00
Nicholas Nethercote
0c28b16953 Bug 665404 - Create JaegerCompartments lazily. r=luke. 2011-06-22 09:16:23 +10:00
Bob Clary
a28bff1c02 bug 662468 - JavaScript Tests - restore Object.prototype.string in e4x/Regress/regress-373082.js, r=igor. 2011-06-21 10:35:29 -07:00
Nicholas Nethercote
c66c156bbd Bug 661068 follow-up - Fix the --disable-tracejit bustage caused by 1e464e38591e. Oh the humanity! 2011-06-21 13:18:15 +10:00
Nicholas Nethercote
8fa8fbe7bc Bug 661068 - Create TraceMonitors lazily. r=luke. 2011-06-21 12:47:04 +10:00
Peter Van der Beken
df7a39a7e6 Fix for bug 659581 (Clear debugger activation callback after calling it). r=brendan.
--HG--
extra : rebase_source : 41c42ca1ba657b58cb91cb5ed616f9536789ef99
2011-05-25 10:46:51 +02:00
Craig Topper
ab8bfddbb1 Bug 666135 - Disable -Wcast-align when building with clang 2011-05-13 14:18:52 -07:00
Igor Bukanov
3a56f020bc bug 601075 - bump-allocator for GC arenas. r=wmccloskey 2011-05-11 14:46:33 +02:00
Dave Herman
c865798cd4 disable constant folding for Reflect.parse (bug 571617, r=jorendorff) 2011-06-18 08:45:05 -07:00
Tom Schuster
e54467eba5 Bug 640593 - Remove Function.arity and other cleanup around function properties r=jorendorff
--HG--
rename : js/src/tests/ecma_5/strict/function-name-arity.js => js/src/tests/ecma_5/strict/function-name.js
2011-06-18 00:55:55 +02:00
Luke Wagner
c172a0e45a Fix test added by a5a8d503df69; apparently Proxy.fix is only available in debug builds (r=burning)
--HG--
extra : rebase_source : a39bd49833096b0db4baeb9b9ce5af98b3914e23
2011-06-17 17:34:09 -07:00
Paul Biggar
0c642e1a65 No bug: Remove js.mdp, which is some kind of Visual Studio thing (r=luke)
I accidentally overwrote this in March, and no-one has since complained, so
this is clearly useless.
2011-06-17 17:16:58 -07:00
Luke Wagner
9187bca801 Bug 664951 - Weaken CallJSNativeConstructor again (r=waldo) 2011-06-17 16:51:52 -07:00
Luke Wagner
0ef72d4736 Bug 663789 - InvokeSessionGuard needs to do a better job resetting the call frame (r=waldo) 2011-06-17 16:51:05 -07:00
Luke Wagner
be687431b6 Bug 660734, part 2 - Add back a ContextAllocPolicy that calls cx->malloc_ and use it in StringBuffer so that the new string's bytes are counted by the GC (r=igor)
--HG--
extra : rebase_source : a9e677e80574352125c93a7a3d775ef20303c551
2011-06-17 10:14:30 -07:00
Luke Wagner
d120c17229 Bug 660734, part 1 - s/ContextAllocPolicy/TempAllocPolicy/ since it doesn't call cx->malloc_ (r=igor)
--HG--
extra : rebase_source : 7ea0d6a7ed86a9c561efdd2d7b93623ea37c5b90
2011-06-17 10:11:33 -07:00
Igor Bukanov
0d48cdc3a6 bug 664677 - initializing number and script state when creating the runtime. r=anygregor
--HG--
extra : rebase_source : 7e16c8649723bb67205343c0c7cf230e7e04a8c0
2011-06-16 11:42:35 +02:00
Brendan Eich
a4caa74fea Object.getOwnPropertyNames considers enumerable getter inherited properties as own (636989, r=jorendorff/gal). 2011-06-17 00:01:21 -07:00
Dave Herman
e81d952262 Reflect.parse() stack overflow (bug 632024, r=jorendorff) 2011-06-16 23:27:26 -07:00
Craig Topper
463f240bed Bug 664667: Fix operator precedence issue in JSObject::slotsAndStructSize, r=jorendorff 2011-06-15 21:17:42 -07:00
Nikhil Marathe
6e753ee711 Bug 664577 - Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Blake Kaplan
d3d31d714a Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe
4600bb18b1 Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Kyle Huey
a47384ceb8 Bug 613066: Update structured clone algorithm to the latest spec. r=jorendorff 2011-06-16 11:22:37 -07:00
Andrew McCreight
b72cdbccf6 Bug 653248 - Mark any weak references reachable from XPCOM gray, not black. r=gal 2011-06-15 10:55:58 -07:00
Jeff Walden
0d557b47fe Bug 655192 - Update the initSharingEmptyShape comment to be more precise about what it requires of the provided proto, to avoid mentioning js_InitClass. r=jorendorff
--HG--
extra : rebase_source : 7008073db608db3f83ee31f9a7798f67ccc8d4b5
2011-05-09 13:06:52 -07:00
Jeff Walden
841d0bfb68 Bug 655192 - Declare variables as late as possible in js_InitXMLClass. r=jorendorff
--HG--
extra : rebase_source : 13cf4e90f5f6dc549ef1500cc91cb9507ce47d90
2011-05-04 16:54:24 -04:00
Jeff Walden
e1ddc27f16 Add a test for loose equality between Date objects and booleans. r=itsatest
--HG--
extra : rebase_source : daa612d30395f006b34795e967514a0ac07ee67d
2011-06-13 21:49:58 -07:00
Jeff Walden
f62341b01f Bug 663245 - Reduce exposure of jsbool.h, jsiter.h, and jsstr.h outside the JS engine to ding compile time less when they're touched. r=jimb
--HG--
extra : rebase_source : 426b168d126099956836c73cd082860bfc77f578
2011-06-10 11:44:16 -07:00
Jeff Walden
48176c74e2 Bug 470791 - Adjust prmjtime.cpp PRMJ_Now code to be more readable, and not just a direct translation of JSLL_* macros. r=jimb
--HG--
extra : rebase_source : a82ba7183aeb4c1a3dbbc199b465e0eef651ba9f
2011-06-09 01:13:17 -07:00
Jeff Walden
3b373ca621 Bug 470791 - Remove all users of the long-obsolete JSLL_* macros. r=jimb
--HG--
extra : rebase_source : 106b723b49d54dcd86ec67eaa50ca919bc8e5845
2011-06-09 01:13:03 -07:00
Jeff Walden
c4d955c11a Bug 662946 - Remove various headers from INSTALLED_HEADERS that shouldn't be there. r=jimb
--HG--
extra : rebase_source : a6028a859cac4625ef2f3227ce0fa3159b5e8556
2011-06-09 01:12:21 -07:00
Jeff Walden
2872d0dfd3 Bug 663547 - Make ecma_5/Object/* not dog-slow any more by disabling a particularly expensive assertion when they run. r=luke
--HG--
extra : rebase_source : c287c56c37c971eb9967e297602cf1e2c43ef017
2011-06-14 18:39:53 -07:00
Dave Herman
579efb6069 disallow yield and arguments in generator expressions (bug 634472, r=cdleary) 2011-06-16 08:20:18 -07:00
Luke Wagner
969edaae87 Bug 648438 - Don't assert about js_ReconstructStackDepth for imacros since apparently this only works for imacros in the top stack frame (r=jwalden)
--HG--
extra : rebase_source : a7059021f02113b41214080e4ec6a4fe5210c4a5
2011-06-16 08:14:19 -07:00
Nicholas Nethercote
642276f276 Bug 571249 - Add memory reporters for JSScripts, non-fixed object slot arrays, and string chars. r=igor. 2011-06-16 13:01:04 +10:00
David Anderson
012fd6ce4c Make alloc policy realloc() easier to implement (bug 664353, r=luke). 2011-06-15 18:11:59 -07:00
Brendan Eich
029df9a3ef Inherited non-configurable accessor properties mis-reported as own properties (637994, r=jwalden). 2011-06-14 23:48:59 -07:00
Brendan Eich
5cfae60d59 No else after return. 2011-06-14 19:32:33 -07:00
Jim Blandy
10db00cf8a Bug 660039: Provide a WeakMap usable from C++. r=jorendorff
Remove WeakMap class; implement the JavaScript object using functions static to jsweakmap.cpp.

Define a new WeakMap class template, parameterized by Key and Value types,
and accepting a MarkPolicy argument saying how to mark them.

Add assertions to check that we check and set the right mark bits, and
tests that trip them in the presence of mistakes in earlier revisions of
this patch.
2011-06-14 19:21:47 -07:00