Walter Meinl
65a8495818
Bug 648134 - [OS/2] follow-up Stop building intermediate static libs with fakelibs. r=glandium
2011-08-05 00:16:00 -04:00
Michael Wu
fbcd07dca0
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07:00
Ehsan Akhgari
346bc29808
Merge mozilla-central and mozilla-inbound
2011-08-07 00:45:59 -04:00
Phil Ringnalda
79604c5856
Bug 243453 - Fix a 10 year old comment typo to fix a 7 year old bug with a 6 year old review request, rs=jband's 7 year old comment 2 in the bug DONTBUILD
2011-08-06 18:16:28 -07:00
Paul Biggar
15f103724e
Bug 668936: Stringify String.prototype.replace's arguments in the right order (r=jwalden)
2011-08-05 19:28:31 -07:00
Marty Rosenberg
2fc178b8b4
Bug 649202 - Implement fast typed arrays for ARM (r=jbramley)
2011-08-05 18:14:50 -07:00
Tom Schuster
82842beaa5
Bug 653175 - An array index with a null character could wrongly be considered to be valid. r=jorendorff
2011-08-06 00:37:54 +02:00
Tom Schuster
a5111d2bad
Bug 675896 - Expand Unicode ranges to handle chinese identifiers. Add UnicodeData.txt version 6.0.0 r=waldo
...
--HG--
rename : js/src/make_unicode.py => js/src/vm/make_unicode.py
2011-08-05 18:08:34 +02:00
Luke Wagner
dcceeb54b3
Bug 676486 - Only compare args in StackIter when the StackFrame hasArgs (r=waldo)
2011-08-05 08:22:51 -07:00
Jason Orendorff
540ac4f465
Address review comments from brendan (bug 672829 comment 42).
2011-08-03 19:43:39 -05:00
Jason Orendorff
993a33736b
Merge from mozilla-central to jsdbg2.
2011-08-01 17:46:33 -05:00
Ben Turner
d52214f7a6
Bug 676376 - 'prevent multi-threaded JSRuntime access in new web worker memory reporters'. r=luke+sicking.
2011-08-06 18:03:46 -07:00
Marco Bonardo
d9feaaf1ec
Merge last green changeset from mozilla-inbound to mozilla-central
2011-08-01 16:04:07 +02:00
Kyle Huey
f10a862cfb
Merge m-c to b-s.
2011-08-01 08:06:23 -04:00
Jason Orendorff
ab9745757f
Merge from mozilla-central to jsdbg2.
2011-07-28 13:45:51 -05:00
Luke Wagner
ebd5e2825c
Bug 676023 - Increment pc on error path out of JSOP_RETURN (r=dvander)
2011-08-04 23:15:35 -07:00
Mike Hommey
d6030568c6
Bug 674837 - Properly set android build options on NDK5+. r=ted
2011-07-28 14:58:15 +02:00
Jason Orendorff
daebe48d84
Merge from mozilla-central to jsdbg2 branch.
2011-07-27 18:23:16 -05:00
Jason Orendorff
9fc2172359
Rename jsdbg.{h,cpp} to vm/Debugger.{h,cpp}. This addresses a review comment from brendan in bug 627829 comment 42.
...
--HG--
rename : js/src/jsdbg.cpp => js/src/vm/Debugger.cpp
rename : js/src/jsdbg.h => js/src/vm/Debugger.h
2011-07-27 18:03:34 -05:00
Brad Lassey
53aebec663
bug 661282 - make xpcshell run on android, follow up to not requre --appomni r=bsmedberg
2011-07-27 14:04:36 -04:00
Geoff Brown
51853bb780
Bug 668349 - changes to xpcshell.ini; r=jmaher
2011-08-10 16:56:49 -04:00
Siddharth Agarwal
f36593f7a8
Bug 615473 - Make ctypes.stdcall_abi and ctypes.winapi_abi aliases to the sole ABI on Win64. r=dwitte
2011-08-11 01:02:49 +05:30
Tom Schuster
b6f9f332e2
Bug 616744 - Add GetElement PIC for arguments objects r=dvander
2011-07-27 15:39:55 +02:00
Jeff Walden
5572ff62cb
Bug 674207 - Assertion attempting to convert the value of the 'it' property in the shell to a primitive. r=luke
...
--HG--
extra : rebase_source : 40334c0f47f4b0dcb30f1f8cf6dadf87b7b29ada
2011-07-26 23:33:58 -07:00
Steve Fink
3c7d7cdcad
Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
...
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.
Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.
--HG--
extra : rebase_source : 0e5ae9748cd497b9a0d2f51527799c4092f51fd0
2011-07-26 15:56:09 -07:00
Tom Schuster
c91cb8d2a3
Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden
...
--HG--
extra : rebase_source : f415de9c0c9e58e3a28d6cd7e474ab1370d2d244
2011-07-26 14:10:33 -07:00
Michael Wu
46a170c5f0
Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc
2011-07-26 23:43:37 -07:00
Igor Bukanov
2ce78ccd32
bug 673795 - part2, using lists of avaiulable chunks for faster chunk selection. r=wmccloskey
...
--HG--
extra : rebase_source : ae4f5a82bc4042e341fdb5c08e3f0fe4b4ae8935
2011-07-26 09:55:23 +02:00
Rafael Ávila de Espíndola
ffa810a68a
bug 672501 - pass MOZ_OPTIMIZE_LDFLAGS when checking for __thread support. r=ted
2011-07-25 20:43:00 -04:00
Kyle Huey
e29d01fd7b
Bug 673940: Don't accidentally overwrite the environment's PYTHONPATH. r=ted
2011-07-25 10:20:43 -07:00
Igor Bukanov
750a0f359f
bug 673795 - part1, no empty chunk hashing. r=anygregor
...
--HG--
extra : rebase_source : 5700156556287ae6e72b78640451c5ceb1013df4
2011-07-25 13:04:02 +02:00
Igor Bukanov
48bacb45f5
bug 678457 - remove assert about a pending exception in the scanner as OOM does not throw. r=luke
...
--HG--
extra : rebase_source : f71a1bac1d0271758ef9623156cd53d396346a2a
2011-08-12 10:15:29 +02:00
Landry Breuil
1e7f1b5a27
Bug 545222: treat powerpc-*-openbsd* as powerpc-*-freebsd*, r=gal
2011-08-12 13:47:22 -07:00
Jeff Walden
f6f2db44cb
Bug 678074 - Implement js::PropertyName, a subclass of JSAtom which represents a string which does not contain an unsigned 32-bit index. This type will eventually be used internally (and possibly at some point externally) for all guaranteed-non-element property accesses. r=luke
...
--HG--
extra : rebase_source : b5b7b975b7c5e3caa312784a0edc49c112d2aa09
2011-08-10 14:54:47 -07:00
Jeff Walden
6a432acd32
Bug 677820 - String.prototype.match should define properties for matches on the returned array, not set them. r=pbiggar
...
--HG--
extra : rebase_source : 9001b1f918f403c50fa4bba57f54cbb22e887a70
2011-08-10 14:54:36 -07:00
Jason Orendorff
6c668d27a8
Bug 672892 - CloneLeftHandSide should not also clone the right-hand side. Well sure it sounds obvious when you write it out like that. r=dvander.
...
--HG--
extra : rebase_source : cfcaf1f4c681fc67fd70d20818bdccf5183cde94
2011-08-12 13:43:21 -05:00
Daniel Holbert
91538eb4e3
Bug 677993 followup: Use uintptr_t instead of size_t for casting unsigned values to/from void*, in JSObject::getArrayLength & setArrayLength. rs=waldo
2011-08-12 11:28:51 -07:00
Nicholas Nethercote
1b546f11ad
Bug 671150 - Add memory reporter for the JS PropertyTable. r=brendan.
2011-07-24 17:00:56 -07:00
Ehsan Akhgari
4a2d60fa6f
Merge mozilla-central and mozilla-inbound
2011-07-24 12:52:51 -04:00
Ed Morley
c8c8a8380e
Bug 672046 - Valgrind suppression files are still generated in objdir even when building without --enable-valgrind; r=ted
2011-07-23 11:59:19 +02:00
Jeff Walden
376d49ca28
Bug 673647 - Explicitly identify which bits in JSObject::flags are available for new uses. r=dvander
...
--HG--
extra : rebase_source : 18f3edce0127110b0f9528dd21f8598ba97ff1a1
2011-07-22 19:10:54 -07:00
Brendan Eich
8275ae34fc
Bug 588061 - bogus initial tokenizer position (r=cdleary).
2011-07-22 18:14:17 -07:00
Luke Wagner
817d61af1f
Bug 672026 - JSObject::principals should return the compartment's principals if there is no object-principals-finder (r=mrbkap)
2011-07-22 15:22:05 -07:00
Ehsan Akhgari
d05a9ff08e
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-22 15:48:18 -04:00
Blake Kaplan
39d4ccd938
Bug 673503 - Make sure the prototype here is in the right compartment. r=wmccloskey
2011-07-22 12:14:02 -07:00
Jason Orendorff
db200eda0b
Address review comments from brendan (bug 627829 comment 35).
2011-07-22 10:54:36 -05:00
Tom Schuster
0e205f6f8d
Bug 635017 - /undefined/.match() should succeed. r=jorendorff.
2011-07-22 09:46:07 -05:00
Marco Bonardo
df96b57a40
Merge mozilla-central and mozilla-inbound
2011-07-22 15:31:14 +02:00
Kyle Huey
ae5e8e9dcf
Merge m-c to b-s.
2011-07-22 00:03:35 -07:00
Kyle Huey
09cac32896
Bug 585015: Invoke header.py as a native command. r=glandium
2011-07-21 17:01:45 -07:00
Luke Wagner
8d479a53ec
Backout out bug 672026 for causing mobile startup crashes
2011-07-21 16:39:10 -07:00
Jason Orendorff
5f9f5beb52
Address review comments from billm (bug 672829 comment 15).
2011-07-21 18:14:33 -05:00
Jason Orendorff
2ec8e6e34b
Address review comments from Waldo (bug 672829 comment 26).
2011-07-21 17:38:05 -05:00
Jason Orendorff
d8c569a9a4
Address review comments from Waldo (bug 672829 comment 24).
2011-07-21 17:36:09 -05:00
Kyle Huey
8c25322302
Bug 672938: Make pythonpath.py work as a pymake native command. r=ted
2011-07-21 15:07:33 -07:00
Jason Orendorff
4c3d3b4441
Address review comments from Waldo (bug 672829 comment 23).
2011-07-21 16:23:21 -05:00
Jason Orendorff
a54d37f7c7
Address review comments from dvander (bug 672829 comment 17).
2011-07-21 15:46:04 -05:00
Mike Hommey
1445046528
Backed out changeset e2c917e0bc31 (bug 671804) because of xpcshell orange
2011-07-21 11:14:06 +02:00
Mike Hommey
0ce10103b8
Bug 671804 - Provide NS_APP_PREF_DEFAULTS_50_DIR and NS_APP_PREFS_DEFAULTS_DIR_LIST in xpcshell dir provider. r=bsmedberg
2011-07-21 09:57:07 +02:00
Ginn Chen
1b1a05797c
Bug 673850 - Fix YARR with Solaris Studio compiler. r=dmandelin.
2011-07-28 11:35:30 +08:00
Jason Orendorff
f3bc25f319
Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb.
2011-07-27 17:44:43 -05:00
Jason Orendorff
74153045fa
Bug 651940 - When hashing a jsid, assert that js_CheckForStringIndex(id) == id. r=Waldo.
2011-07-27 17:44:29 -05:00
Blake Kaplan
b7631383dc
Bug 669228 - Don't use the dummy global as a real global. r=jorendorff
2011-07-27 12:33:33 -07:00
Blake Kaplan
bcbd536c82
Fix bug 674182. r=jst
2011-07-27 12:29:26 -07:00
Bill McCloskey
ca2fedc428
Bug 672687 - Fix rebasing mistake
2011-07-27 10:48:52 -07:00
Bill McCloskey
1190bcc8f3
Bug 672687 - Add more asserts for cross-compartment pointers in proxies (r=mrbkap)
2011-07-27 10:31:06 -07:00
Mike Hommey
a8b7ff302c
Bug 671804 - Provide NS_APP_PREF_DEFAULTS_50_DIR and NS_APP_PREFS_DEFAULTS_DIR_LIST in xpcshell dir provider. r=bsmedberg
2011-07-21 09:57:07 +02:00
Evan Shaw
598a227d79
bug 673072 - remove deprecated curl header curl/types.h from Breakpad includes. r=ted
2011-07-21 02:32:00 -04:00
Nicholas Nethercote
e7e34e4906
Bug 672694 - Add memory reporters to count compartments. r=gal.
2011-07-21 00:20:47 -07:00
Nicholas Nethercote
29686fd711
Bug 669611 - Add memory reporter for GC heap fragmentation. r=jlebar.
2011-07-20 21:08:24 -07:00
Dão Gottwald
df99114aec
Backed out changeset e25da7cc7c63
2011-07-21 05:25:34 +02:00
Bill McCloskey
3eec196c84
Bug 672112 - Fix PICTable bug in tracer (r=dmandelin)
2011-07-20 17:31:51 -07:00
Jeff Walden
6e1045138c
Bug 672854 - Crash when a syntax error is encountered immediately after the |in| in a for-in loop header. NOT REVIEWED YET
...
--HG--
extra : rebase_source : 875a214b0d0b140649b0845fb649c5c4926e4804
2011-07-20 14:26:57 -07:00
Makoto Kato
6b55cc85b1
Bug 669564 - XMM6 and XMM7 aren't scratch register on Win64 ABI. r=dvander
2011-07-22 17:58:26 +09:00
Jason Orendorff
056258e9f3
Revert some unnecessary and incompatible changes I made to JS_DumpHeap in rev 2560cd08c828.
2011-07-20 12:01:02 -05:00
Jason Orendorff
c3e8a19318
Change comments in jsdbg.cpp to conventional style.
2011-07-20 11:05:36 -05:00
Jason Orendorff
53ea6cfbd2
Cleanup for review. This undoes some changes made earlier to tests, fixes some formatting errors, deletes some dead code, and fixes a bug in JSPROP_NATIVE_ACCESSORS support.
2011-07-20 10:39:01 -05:00
Kyle Huey
71b3060b15
Bug 578478: Followup to placate the copy-paste test.
2011-07-19 15:55:22 -07:00
Kyle Huey
0d51472487
Bug 578478: Switch to pyxpidl for header generation. Parts by bsmedberg, with r=jorendorff,khuey, and parts by me, with r=bsmedberg
2011-07-19 14:46:25 -07:00
Kyle Huey
fa6d263098
Merge m-c to b-s.
2011-07-19 08:50:02 -07:00
Jason Orendorff
af39c23c5b
Use reserved slots rather than Debugger fields for hooks.
2011-07-19 08:27:03 -05:00
Mike Hommey
c8c47772a2
Bug 551138 - Allow to build against system libffi. r=ted
2011-07-22 08:47:57 +02:00
Nicholas Nethercote
f3aa7b2e37
Bug 672732 - Don't report per-compartment measurements that have zero bytes. r=gal.
2011-07-21 17:39:01 -07:00
Chris Leary
5b865c3e8d
Bug 673052: Fix JS shell option parser argument leak. (r=dvander)
2011-07-21 12:14:20 -07:00
Luke Wagner
61b3a57a82
Bug 672283 - eval cache should hit if both 'principals' and 'script->principals' are null (r=mrbkap)
2011-07-18 17:39:28 -07:00
Luke Wagner
5d68ed0dbd
Bug 672026 - Ensure that there is an object principals finder during early startup (r=mrbkap)
2011-07-18 17:37:19 -07:00
Jason Orendorff
4c209a3c1f
In JSCompartment::sweepBreakpoints, enumerate the breakpoints safely instead of reading freed memory.
2011-07-18 16:57:39 -05:00
Ehsan Akhgari
aadd188062
Merge mozilla-central and mozilla-inbound
2011-07-18 18:16:25 -04:00
Ehsan Akhgari
72428d5e92
Backout changeset fdddabd345b9 and changeset 3857a4309fc3 (bug 649537) because of three mochitest-3 intermittent failures which seem to be caused by this on Windows debug builds
2011-07-18 18:14:59 -04:00
Jason Orendorff
2ad4e61b5e
Merge mozilla-central to jsdbg2.
2011-07-18 10:58:56 -05:00
Ben Turner
820e368a57
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-17 15:09:13 -04:00
Matheus Kerschbaum
b0c1f89ef4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Jeff Walden
cd69bfc8a9
Bug 607371 - Throw an exception when an excessively large arguments array is passed to Function.prototype.apply, rather than silently passing only the maximum number of supported elements. Silently treating the array as smaller than it actually is is prone to silent errors; throwing an exception is immediate and obvious. r=luke
...
--HG--
extra : rebase_source : 3ae04ac924cd28199ba0e48d90dba2f7c5a2c563
2011-07-25 20:33:02 -07:00
Jeff Walden
fe81a5cc42
Bug 674775 - Implement js::IndexToString to get a JSString corresponding to a uint32_t. r=luke
...
--HG--
extra : rebase_source : 4933683a4d051521d2ba3bad0f16b5f5dc01e03d
2011-07-27 17:09:12 -07:00
Marty Rosenberg
d381aac69f
Bug 674143 - Change jsval tag representation; change ARM mjit backend to test tags using a single comparison (r=dvander,luke)
2011-07-29 16:24:30 -07:00
Boris Zbarsky
1a5df5f296
Bug 671453. Fix use of [implicit_jscontext] with non-quickstubbed setters. r=mrbkap
2011-07-29 14:30:00 -04:00
Luke Wagner
c862923ae5
Fix 22134b2abde4 for non-JS_THREADSAFE builds (r=burning)
2011-07-29 11:14:46 -07:00
Luke Wagner
185aaf8f99
Bug 672971 - Remove SetSafeJSContext (r=bz,bent)
...
--HG--
extra : rebase_source : f7eb1dcd3bc8ae1bfda0a89d044c0da9621d99e9
2011-07-27 16:15:50 -07:00
Luke Wagner
23a2ca761c
Bug 669617 - Fix debug-only null-deref in JS_IsRunning (r=igor)
...
--HG--
extra : rebase_source : f9f1215705f36bb2d37553f92a3058b73304bd6f
2011-07-28 17:59:43 -07:00
Nick Fitzgerald
9d7d97c0a9
Bug 674283 - Add source map urls to JSScript. r=jorendorff.
2011-07-29 10:44:45 -05:00
Jeff Walden
58ba740f31
Various minor formatting tweaks, de-indentation, &c. to Utf8ToOneUcs4Char. No change to actual logic in the code. r=sparky
...
--HG--
extra : rebase_source : f414988004996f16fd01b82263668a8befb727b2
2011-07-15 15:41:47 -07:00
Jeff Walden
26a1e4ecae
Bug 520095 - Don't censor U+FFFE and U+FFFF, when decoded by decodeURI or decodeURIComponent, to U+FFFD: just return the character. r=masa141421356@gmail.com
...
--HG--
extra : rebase_source : 6f93df1bb7e1c6f5621595a277486ad14ac2dcf1
2011-07-15 14:15:55 -07:00
Brad Lassey
7606f9b515
bug 672939 - fennec package name repeats itself with NDKr5 and greater r=khuey
2011-07-20 17:02:04 -04:00
Brendan Eich
2663105453
Bug 671947 - Unqualified function invocation uses the global object the property was gotten from as |this| (r=luke).
2011-07-20 12:48:12 -07:00
Chris Leary
b9120f9a8e
Bug 613820: Regexp forwards ref in quantified parens test. (r=dmandelin)
2011-07-20 10:12:36 -05:00
Brendan Eich
2f32b73162
Bug 621954 - common BindLocalVariable harder in jsparse.cpp (r=cdleary).
2011-07-20 09:24:28 -05:00
Michael Wu
c62529f8bd
Bug 664898 - Cleanup startup cache api, r=taras
2011-07-20 00:39:09 -07:00
Makoto Kato
379ca2fc94
Bug 672450 - C4233/C4267 warning for jsobj.h, vm/String.h and jsatom.h. r=luke
2011-07-20 14:07:51 +09:00
Nicholas Nethercote
ffb5db8d32
Bug 672439 - Avoid duplicate names for system compartment reporters. r=gal.
2011-07-19 16:59:16 -07:00
Chris Leary
b321bc1f30
Bug 669776 - Genericize tagged pointer hasher. (r=Waldo)
2011-07-19 16:37:11 -07:00
Chris Leary
fce380ea45
Bug 668095 - Write a proper option parser for SpiderMonkey CLI. (r=dvander)
2011-07-19 16:37:09 -07:00
Bill McCloskey
1b7adf6bc0
Bug 671113 - Poison JSScripts when freed to get more crash data (r=dmandelin)
2011-07-19 14:21:58 -07:00
Jason Orendorff
64a5336a0d
Bug 648175 - Remove JSOP_FOR*. Second second landing, to coin a phrase. r=dvander.
...
--HG--
extra : rebase_source : f893091e91a5b409c38ba08ddccfa0a6aa0a92c8
2011-07-19 11:00:43 -05:00
Andrew McCreight
62f71beb5f
Bug 666549 - Don't delete empty ObjectValueMaps in WeakMaps. r=igor
2011-07-19 09:30:16 -07:00
Justin Lebar
7ff946f9af
Bug 671280 - Rename KIND_MAPPED to KIND_NONHEAP in nsIMemoryReporter. r=njn
2011-07-19 10:33:49 -04:00
Jeff Walden
afc3d711b1
Remove code for JS_HAS_ARRAY_EXTRAS, and make the extra methods ES5 added to Array.prototype always present. rs=luke
...
--HG--
extra : rebase_source : 8dd08dee39ae2ff15d326ece9ad82ffe6ab1946a
2011-07-15 14:06:40 -07:00
Jason Orendorff
bf3b278cc9
Follow-up to previous changeset, just move a few things around.
2011-07-14 16:51:15 -05:00
Jason Orendorff
7bb045a46f
True story: GCC likes function templates in debug builds, but not in release builds. Fix by ripping out the templates.
2011-07-14 16:42:23 -05:00
Jason Orendorff
6937822956
Make more functions static.
2011-07-14 14:11:49 -05:00
Jason Orendorff
23675ecda8
Add Debugger.Object.prototype.{seal,freeze,preventExtensions,isSealed,isFrozen,isExtensible}.
2011-07-14 11:05:52 -05:00
Siddharth Agarwal
dbd884393b
Bustage fix for bug 670249 -- remove PLSRCS
2011-07-13 18:54:41 -07:00
Siddharth Agarwal
e201c3e082
Bug 670249 - Get rid of NFSPWD, nfspwd.pl and fastcwd.pl. r=glandium
2011-07-13 17:54:31 -07:00
Jason Orendorff
0d6860335c
Remove unneeded Vector::find methods now that there is a js::Find in jstl.h.
2011-07-13 19:15:38 -05:00
Bill McCloskey
ba16914fcc
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
ad7b144c59
Bug 670205 - Preserve JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal)
2011-07-13 15:43:31 -07:00
Jason Orendorff
64c696c9fd
Get rid of Debugger.prototype.hooks, a major API change.
...
This renames the hooks as follows:
dbg.hooks.debuggerHandler -> dbg.onDebuggerStatement
dbg.hooks.throw -> dbg.onExceptionUnwind
dbg.hooks.newScript -> dbg.onNewScript
dbg.hooks.enterFrame -> dbg.onEnterFrame
This touches just about every test.
--HG--
rename : js/src/jit-test/tests/debug/hooks-debuggerHandler-01.js => js/src/jit-test/tests/debug/onDebuggerStatement-01.js
rename : js/src/jit-test/tests/debug/hooks-debuggerHandler-02.js => js/src/jit-test/tests/debug/onDebuggerStatement-02.js
rename : js/src/jit-test/tests/debug/hooks-debuggerHandler-03.js => js/src/jit-test/tests/debug/onDebuggerStatement-03.js
rename : js/src/jit-test/tests/debug/hooks-enterFrame-01.js => js/src/jit-test/tests/debug/onEnterFrame-01.js
rename : js/src/jit-test/tests/debug/hooks-enterFrame-02.js => js/src/jit-test/tests/debug/onEnterFrame-02.js
rename : js/src/jit-test/tests/debug/hooks-enterFrame-03.js => js/src/jit-test/tests/debug/onEnterFrame-03.js
rename : js/src/jit-test/tests/debug/hooks-enterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-05.js
rename : js/src/jit-test/tests/debug/hooks-throw-01.js => js/src/jit-test/tests/debug/onExceptionUnwind-01.js
rename : js/src/jit-test/tests/debug/hooks-throw-02.js => js/src/jit-test/tests/debug/onExceptionUnwind-02.js
rename : js/src/jit-test/tests/debug/hooks-throw-03.js => js/src/jit-test/tests/debug/onExceptionUnwind-03.js
rename : js/src/jit-test/tests/debug/hooks-throw-04.js => js/src/jit-test/tests/debug/onExceptionUnwind-04.js
rename : js/src/jit-test/tests/debug/hooks-throw-05.js => js/src/jit-test/tests/debug/onExceptionUnwind-05.js
rename : js/src/jit-test/tests/debug/hooks-throw-06.js => js/src/jit-test/tests/debug/onExceptionUnwind-06.js
rename : js/src/jit-test/tests/debug/hooks-newScript-01.js => js/src/jit-test/tests/debug/onNewScript-01.js
rename : js/src/jit-test/tests/debug/hooks-newScript-02.js => js/src/jit-test/tests/debug/onNewScript-02.js
2011-07-13 17:17:46 -05:00
Jason Orendorff
2e02ff66cf
Add Debugger.Object.prototype.deleteProperty.
2011-07-13 07:34:21 -05:00
Jason Orendorff
fa4a9ab4c8
Add Debugger.Object.prototype.defineProperties and a few extra defineProperty tessts.
2011-07-13 06:46:23 -05:00
Jason Orendorff
43d9522853
Add Debugger.Object.prototype.defineProperty.
2011-07-12 20:19:13 -05:00
Jason Orendorff
5805e93c05
Fix the regressions introduced by rev af9974df716c (bug 665214).
...
1. Fix an embarrassing bug in NewPropertyDescriptorObject.
2. Fix a similar embarrassing bug in GetOwnPropertyDescriptor.
3. An existing jit-test required some seriously buggy Proxy behavior.
(It's a "don't crash" fuzztest.) Rev af9974df716c accidentally fixed
the buggy Proxy behavior, causing the test to fail. Keep the fix and
update the test.
2011-07-13 14:03:36 -05:00
Jason Orendorff
055f618fc9
Delete a test that hg backout failed to back out.
2011-07-13 10:46:38 -05:00
Jason Orendorff
fd4edbc5a3
Backout 40e989742b4d due to failing jstests.
2011-07-13 10:43:00 -05:00
Jason Orendorff
5120a77662
Backed out changeset 93533be00e3e due to failing jstests.
2011-07-13 10:41:09 -05:00
Jason Orendorff
22f9797e07
Add Debugger.Object.prototype.defineProperties and a few defineProperty tests.
2011-07-13 06:46:23 -05:00
Jason Orendorff
6557546857
Add Debugger.Object.prototype.defineProperty.
2011-07-12 20:19:13 -05:00
Luke Wagner
7d5e63fc04
Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff)
...
--HG--
extra : rebase_source : f2fe9ab1e25188223f75e8d2ddcbdf977e62782b
2011-07-12 10:42:24 -07:00
Daniel Holbert
1bfbc2bfd3
Merge last green mozilla-central changeset to mozilla-inbound
2011-07-28 14:53:21 -07:00
Luke Wagner
0d04f93519
Backout 2e0fea2cbd9b for windows linker lameness
2011-07-28 14:35:38 -07:00
Jason Orendorff
3dabdf1172
Bug 674618 - Eliminate warnings on Mac introduced by rev ba2bdf497934 (././js-confdefs.h:110:1: warning: "__STDC_LIMIT_MACROS" redefined). r=jimb.
...
--HG--
extra : rebase_source : 65140f1129745eabbc18f7d8e7a0409ec207a51c
2011-07-28 15:57:50 -05:00
Mike Hommey
f1e9cb22b0
Bug 674910 - Statically link against libstdc++ on Android. r=blassey
2011-07-28 18:55:38 +02:00
Luke Wagner
610993facc
Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff)
2011-07-12 10:42:24 -07:00
Martin Rosenberg
74fd93930d
Bug 673314: Enable generation of multiply instructions on ARM. r=adrake
...
--HG--
extra : rebase_source : 084b7cb47d4858fa41b44d702c7e97755eee59b3
2011-07-28 09:35:22 -07:00
Ehsan Akhgari
5ce917a794
Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky
2011-07-28 13:51:22 -04:00
Jason Orendorff
6ec1754571
Merge from mozilla-central to jsdbg2.
2011-07-12 10:47:31 -05:00
Mounir Lamouri
fbfb5d07d2
Merging mozilla-central and mozilla-inbound.
2011-07-12 10:53:40 +02:00
Daniel Holbert
0e07eefa37
Bug 670794: Remove unused variable 'forInLet' from jsemit.cpp. r=waldo
2011-07-12 00:11:55 -07:00
Jason Orendorff
6576c72f77
Add Debugger.Object.prototype.getOwnPropertyNames.
2011-07-11 20:32:05 -05:00
Jason Orendorff
dd72b291e1
Add an initial cut at Debugger.Object.prototype.getOwnPropertyDescriptor. This implementation does not ensure that the debuggee does not run.
2011-07-11 20:22:50 -05:00
Jason Orendorff
e90c11b88d
Bug 665214 - Provide a js::GetOwnPropertyDescriptor function that populates a PropertyDescriptor. r=Waldo.
2011-07-11 20:22:25 -05:00
Jim Blandy
1969aeee34
Make Debugger::frame and Debugger::nonHeldScripts use RuntimeAllocPolicy, not SystemAllocPolicy.
...
I also changed the Debugger constructor to take an additional JSContext
argument, since that seemed a little more legible than getting the Runtime
out of |dbg|'s compartment all the time.
2011-07-11 15:59:41 -07:00
Jason Orendorff
e01a81eb92
Merge from tracemonkey to jsdbg2.
2011-07-11 08:53:27 -05:00
Brian Hackett
3c15bd1aea
Reland a37db4d95026
2011-07-08 18:35:07 -07:00
Brian Hackett
10801345e5
Reland 104b182daf70
2011-07-08 18:28:03 -07:00
Brian Hackett
6905d727d1
Reland b5ebe47700ce
2011-07-08 18:20:04 -07:00
Brian Hackett
80c97a7750
Reland rev 1013f4be025f
2011-07-08 18:17:39 -07:00
Brian Hackett
1d94e107d5
Revert to 6840fbf4dcdd
2011-07-08 17:58:10 -07:00
Jason Orendorff
9f10379b31
Add partial support hooks.enterFrame. Currently the return value is ignored.
2011-07-08 18:17:49 -05:00
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
Brian Hackett
ea9ca9aadf
Restore per-compartment empty call shape, bug 670152. r=jorendorff
2011-07-08 11:16:25 -07:00
Jason Orendorff
e3b8cf1cf1
Add Debugger.Script.prototype.{url,startLine,lineCount}.
2011-07-08 12:41:12 -05:00
Brendan Eich
07a66d5fb0
Bug 621954 - common BindLocalVariable harder in jsparse.cpp (r=cdleary).
2011-07-07 23:09:38 -07:00
Brian Hackett
e55313ffdb
Measure type inference memory usage, bug 669958. r=njn
2011-07-07 20:04:47 -07:00
Jason Orendorff
090002d411
Fix another bug with getChildScripts: the relevant bit on JSScript was being set after the newScript hook was called. Set it beforehand instead.
2011-07-07 19:07:09 -05:00
Jason Orendorff
d2f5c2e0e9
Tighten an assertion in Debugger::onNewScript.
2011-07-07 17:54:44 -05:00
Jason Orendorff
531b6d3dfd
Fix bug in Debugger.Script.prototype.getChildScripts. It didn't know about JSScript::savedCallerFun.
2011-07-07 17:52:39 -05:00
Luke Wagner
514e6958c1
Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo)
2011-07-07 15:40:33 -07:00
Luke Wagner
163c7f654a
Bug 674522 - Fix jsval_layout on 64-bit big-endian platforms (r=waldo)
2011-08-04 14:49:35 -07:00
Jeff Walden
f0a15f8ce0
Bug 676700 - Slightly speed up js::IndexToId by converting directly to atom, not to string and then to atom. r=luke
...
--HG--
extra : rebase_source : d352929e4002f285670448e4515bea404f2cf88f
2011-08-04 19:21:25 -07:00
Jeff Walden
30dcca107a
Bug 576034 - Remove aliased property implementation details. r=jorendorff
...
--HG--
extra : rebase_source : 8d87c5b809937b97643b382d49cfae2eee5581a6
2011-08-04 14:38:26 -07:00
Jeff Walden
4c2d4c84ae
Bug 576034 - Remove aliased properties APIs. r=jorendorff
...
--HG--
extra : rebase_source : 09c9947953d6ae6d2f359e1cfedde0ea09c338ab
2011-08-04 14:38:00 -07:00
Luke Wagner
85997de937
Backout a22fad398472 and 373e6bd2705d because of burnage
2011-08-04 15:54:14 -07:00
Luke Wagner
6d4c06f84f
Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo)
...
--HG--
extra : rebase_source : f77f2ad5521bf4543b518f7f6cc40a3778b7a74a
2011-07-07 15:40:33 -07:00
Luke Wagner
b144912be6
Bug 674522 - Fix jsval_layout on 64-bit big-endian platforms (r=waldo)
...
--HG--
extra : rebase_source : e604fcda8977f50f528f327db8f7bdef22522bb2
2011-08-04 14:49:35 -07:00
Alon Zakai
8c7a6923a2
Bug 674800 - Print address of XPTCStub with nsXPCWrappedJS. r=mrbkap
2011-08-04 15:01:43 -07:00
Jeff Walden
6dacf09c85
Windows warning patrol. rs=luke
...
--HG--
extra : rebase_source : 1b6800ae7a7d56c1d8f056d6d06d0c9d45815e42
2011-08-04 14:28:41 -07:00
Jeff Walden
80a5672ebf
Followup to bug 671630 for the Windows compiler, which actually might well be right in this case. r=bustage
2011-08-04 13:38:35 -07:00
Makoto Kato
5ee9d1af3e
backout bug 669564
2011-07-07 23:47:06 +09:00
Mike Hommey
7183638964
Backed out changeset 8b7150ba4450 because of win opt build failure
2011-07-07 14:48:17 +02:00
Makoto Kato
b543f1216d
Bug 669564 - XMM6 and XMM7 aren't scratch register on Win64 ABI. r=bhackett1024
2011-07-07 16:34:19 +09:00
Nicholas Nethercote
ec813f7f4b
Bug 669005 - Fix ArrayBuffer so its slots are reported by the "gc-heap/object-slots" reporters. r=jwalden.
2011-07-12 15:44:22 +10:00
Jonas Sicking
cd761b1960
Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey
2011-07-11 19:41:29 -07:00
Andrew Paprocki
6790f52615
Bug 665819: build fix for ENABLE_YARR_JIT=0, r=dmandelin
2011-07-11 17:32:47 -07:00
Hannes Verschore
293ff43788
Bug 663575 - Change to emmiter to give offset to condition in srcnote of NOP instruction of do-while
2011-07-11 17:07:14 -07:00
Jason Orendorff
14344bd5f2
Implement the newScript hook. Also, change the shell builtin clone() function to support cloning a function into a different compartment (for use by one of the tests).
2011-07-07 00:34:59 -05: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
Jim Blandy
84d659d4f6
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
Chris Leary
27845cee6e
Bug 613820: Regexp forwards ref in quantified parens test. (r=dmandelin)
2011-07-06 18:09:45 -07:00