Jeff Walden
6e6818ff03
Bug 710932 - Create debugger statements using a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : eb913a09cc70398e252c1c8914104c60f79073ab
2011-12-09 20:26:12 -05:00
Igor Bukanov
740ca657a6
bug 713916 - JS API to shrink GC buffers. r=wmccloskey
2011-12-28 21:08:44 +01:00
Igor Bukanov
b100457874
bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey
2011-12-30 00:33:44 +01:00
Steve Fink
33acf2969c
No bug. Fix --disable-methodjit build breakage from 23936f566781 (bug 710032). r=woof!
2011-12-29 15:19:26 -08:00
Jeff Walden
6f39713d32
Use < rather than != when comparing a bunch of pointers to sentinel end-pointer values, as a small hedge against things going awry and skipping past the sentinel. No bug, r=firebot
...
--HG--
extra : rebase_source : 567f70397ec9ef006c55c01f3acde305ab527b56
2011-12-29 15:50:33 -06:00
Hub Figuière
6801abcb82
Bug 714169 - Fix warning in HashTable.h by using |continue;| instead of |;|. r=jwalden
...
--HG--
extra : rebase_source : 176f652ee0e2c23b2c995b51814e4e1fd1ae0149
2011-12-29 13:37:04 -08:00
Robert O'Callahan
9453e34868
Back out c245807aad3a for bug 714066 to fix Linux make check orange
2011-12-30 11:10:59 +13:00
Robert O'Callahan
ed702fdf9d
Backed out changeset c245807aad3a for bug 714066
2011-12-30 11:09:16 +13:00
Igor Bukanov
3d50ba406c
bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey
2011-12-29 22:22:21 +01:00
Steve Fink
1d7fbb17f3
Bug 710414 - Split out the conservative testing for a GCThing from marking it. r=billm
...
Testing an arbitrary pointer for valid GCThing-ness is useful for things other tan the GC
--HG--
extra : rebase_source : 93098ac37970970feaea4440f89f01a501326e3f
2011-12-13 16:09:02 -08:00
Kyle Huey
c8de934380
Back out Bug 711895 for breaking l10n builds.
2011-12-29 15:45:51 -05:00
Cameron Kaiser
f27e919e45
Bug 713463 - Support JM+TI for architectures without native square root. r=dmandelin
2011-12-29 12:36:22 +01:00
Bill McCloskey
ad44974dec
Bug 709885 - Simplify read barriers for shapes and types (r=bhackett)
2011-12-28 23:56:55 -08:00
Nicholas Nethercote
da987c9b3a
Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf.
...
--HG--
extra : rebase_source : bbe982c5feceac25fb4c0ccd03ced3a874205c38
2011-12-28 19:59:19 -08:00
Terrence Cole
0f8717c600
Bug 712460 - Add missing barriers in jsexn; r=billm
...
When we create an exception object, we copy Values into a custom exception
privates struct that we pass around. If any of the Values copied to this
struct are gcthings in the nursery, this external array needs to root them.
--HG--
extra : rebase_source : 6bc9926441a1cd3f66fa9ade74022e13a5f7e758
2011-12-28 15:02:23 -08:00
Terrence Cole
8251748a44
Bug 712828 - Mark slow tests as slow; r=dmandelin
...
In the jstest suite, four tests cause the suite to run for 120+ seconds, where
without these, the suite runs in ~30 seconds. We should mark these as slow, to
make the jstests suite more useful.
2011-12-28 14:49:30 -08:00
Terrence Cole
44161208ba
Bug 711626 - More missing barriers around object properties; r=billm
...
This adds post barriers in several locations where they are needed inside of
object manipulation.
--HG--
extra : rebase_source : ce956417a74d70551c1f9258ef7587d0563c0157
2011-12-28 14:06:21 -08:00
Boris Zbarsky
00746e91ea
Backing out bug 707717 because it seems to be a perf hit, not a perf win.
2011-12-28 16:22:05 -05:00
Jan de Mooij
d74eb5b1dd
Bug 713867 - Move arrayPrototypeHasIndexedProperty from JM to jsinfer. r=bhackett
2011-12-28 20:44:27 +01:00
Matt Brubeck
bac378b0fd
Merge mozilla-central and mozilla-inbound
2011-12-28 11:17:19 -08:00
Matt Brubeck
fc6cc90162
Merge from mozilla-inbound to mozilla-central
2011-12-28 11:02:59 -08:00
Josh Matthews
93504129e1
Bug 463122 - Propagate mozJSComponentLoader exceptions that occur while executing the script. r=mrbkap
2011-12-28 11:55:11 -05:00
Mike Hommey
21c1293aee
Backout 45820730dfa7 and 860035a3c04a (bug 701371) and 8ac6f34b44ff (bug 709776) because of Android random oranges.
...
--HG--
rename : mozglue/build/Makefile.in => memory/mozutils/Makefile.in
rename : mozglue/build/dummy.cpp => memory/mozutils/dummy.cpp
rename : mozglue/build/fixcrt.py => memory/mozutils/fixcrt.py
rename : mozglue/build/mozglue.def.in => memory/mozutils/mozutils.def.in
rename : mozglue/android/APKOpen.cpp => other-licenses/android/APKOpen.cpp
rename : mozglue/android/APKOpen.h => other-licenses/android/APKOpen.h
rename : mozglue/android/nsGeckoUtils.cpp => other-licenses/android/nsGeckoUtils.cpp
2011-12-28 12:12:09 +01:00
Ms2ger
a63b21f505
Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey
2011-12-28 09:13:38 +01:00
Ms2ger
5092d42217
Bug 713340 - Fix jsShell_ErrorFormatString array lengths; r=luke
2011-12-28 09:13:37 +01:00
Ms2ger
18e7b4e1b4
Bug 713553 - Remove GetRTStringByIndex; r=bholley
2011-12-28 09:13:37 +01:00
Ms2ger
006d626a6e
Bug 713554 - Remove xpc_SameScope declaration; r=bholley
2011-12-28 09:13:37 +01:00
Phil Ringnalda
34b6051338
Bug 713756 - Remove js/src/tests/src/jstests.jar, r=bc
...
--HG--
extra : rebase_source : 15eec29090974a1f423e9bcbc8e350381c358b41
2011-12-27 22:41:49 -08:00
Igor Bukanov
ded4099dd6
bug 702251 - Decommit unused arenas in the background. r=wmccloskey
...
--HG--
extra : rebase_source : 6d3c092d14163c71cfb5bf0eec12a7900fcb8ff3
2011-12-16 21:36:34 +01:00
Igor Bukanov
35deb9e107
bug 702251 - free GC chunks in background outside the GC lock. r=wmccloskey
...
--HG--
extra : rebase_source : 40aaadef1af1a2cefcfeefd178096e5c51e32873
2011-12-25 02:45:22 +01:00
Brian Hackett
c45874a80f
Fix register allocation around inline returns, bug 713209.
2011-12-28 08:00:24 -07:00
Jeff Walden
4001f8b429
Mark a bunch more copy-construction, assignment, default-construction, etc. operators and methods as deleted in the JS engine. No bug, r=bhackett over IRC
...
--HG--
extra : rebase_source : c238c0f7230a2e43705f6069309ff0475724bee4
2011-12-28 08:09:07 -06:00
Jeff Walden
3b9017a2c5
Bug 713183 - Remove the global-property-finding code from stats() in the shell. It doesn't work now, and it's trying to look up a name that could be an index, when by definition a name is not an index. r=bhackett
...
--HG--
extra : rebase_source : f64725e47010264b098ccce525479f6b29991086
2011-12-27 16:45:49 -06:00
Jeff Walden
53dca71211
Bug 713183 - Don't generate JSOP_INITPROP for index properties of object literals. r=bhackett
...
--HG--
extra : rebase_source : 876bc52923df1d2ceaaae34699770b9a933ec05a
2011-12-27 16:40:21 -06:00
Jeff Walden
fa0c8875b7
Bug 713759 - Split PNK_INC and PNK_DEC into pre- and post- variants. r=bhackett
...
--HG--
extra : rebase_source : a429d9cc2d7095e06e54c48c3ae53e1c16076405
2011-12-23 21:19:52 -05:00
Mike Hommey
b193d0733f
Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey
...
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozutils.def.in
2011-12-28 08:24:02 +01:00
Bill McCloskey
4813735866
Bug 713773 - Ensure GC statistics counters are initialized (r=igor)
2011-12-27 18:42:31 -08:00
Matt Brubeck
f8fdd2d3f6
Merge from mozilla-inbound to mozilla-central
2011-12-27 11:04:58 -08:00
Olli Pettay
d1c33f5f79
Bug 710380 - IndexedDB could use the dictionary reader, r=khuey
2011-12-27 20:01:28 +02:00
Steve Fink
8964bbed04
Bug 710055 - Merge SetVMFrameRegs into PushActiveVMFrame. r=bhackett
...
--HG--
extra : rebase_source : 7c4f8dde05533a082a7139077d6c983b610925fc
2011-11-21 16:17:49 -08:00
Oleg Romashin
4c74b7c007
Bug 703434 - Add support for Qt resource files (qrc) which possible to pre-compile with rcc compiler. r=glandium
2011-11-17 01:28:33 -05:00
Terrence Cole
fd6643611b
Backed out changeset d354ab9ac1f4
2011-12-26 11:20:04 -08:00
Terrence Cole
88d107dc02
Bug 712460 - Add missing barriers in jsexn; r=billm
...
When we create an exception object, we copy Values into a custom exception
privates struct that we pass around. If any of the Values copied to this
struct are gcthings in the nursery, this external array needs to root them.
--HG--
extra : rebase_source : 8d31ffd349bcbaca3f2bbbcd0c4b5a099d57ec21
2011-12-20 14:51:25 -08:00
Terrence Cole
a2d2e60025
Bug 712837 - Remove flakey test js1_5/extensions/regress-371636.js; r=dmandelin
...
In the test js1_5/extensions/regress-371636.js, we time a loop over an Array
using Numbers as keys, then do the same loop again using Strings as keys. The
test asserts that the time using Strings is less than 3 times as large as the
time using Numbers. Naturally, when running the tests with high parallelism,
this tends to fail at random. Since losing this optimization would be an
extremely serious perf bug, we would notice this immediately from our perf
tests. There is no reason to keep this as a correctness test.
--HG--
extra : rebase_source : 1b24b3326154c2f34b0bc0e7cba51ad7e5924c97
2011-12-22 09:51:50 -08:00
Terrence Cole
c13085c7d2
Bug 712519 - Update test file encodings; r=rwalden
...
Since we switched to using JS_CompileUTF8File in the shell, all of our tests
that include comments with non-UTF-8 encoded characters fail. This patch
replaces these characters with their UTF-8 equivalents.
--HG--
extra : rebase_source : 4090e824320a329e989cffb61b3eb3c421a1bbd7
2011-12-21 18:20:17 -08:00
Boris Zbarsky
8a05054a41
Bug 707717. Don't dynamically mutate the proto chains of DOM prototypes. r=peterv
2011-12-26 11:31:07 -05:00
Jacek Caban
34e17e538d
Backout ff350b65a616 due to Android build failure
2011-12-27 11:11:00 +01:00
Jacek Caban
39c91c27af
Bug 712584 - Properly use .def files on mingw builds r=khuey
2011-12-27 10:51:53 +01:00
Jacek Caban
cdd21ae361
Bug 712594 - libffi fails to build on mingw-w64 r=bsmedberg
...
--HG--
extra : rebase_source : 498652c35d8f628d276a938f2c526e2a44a6eb07
2011-12-23 13:22:48 +01:00
Tom Schuster
c2e3138a62
Backout b85379036da2 because of test failures
2011-12-25 15:47:27 +01:00
Tom Schuster
f540fe67b9
Bug 582841 use false instead of JS_FALSE. DONTBUILD
2011-12-25 15:32:35 +01:00
Tom Schuster
f415f53a3e
Bug 622348 - JavaScript Math.round incorrect for (2^53)-1. r=luke
2011-12-25 15:16:12 +01:00
Phil Ringnalda
8e7c10e41c
Merge m-i <-> m-c
2011-12-24 21:50:23 -08:00
Ms2ger
15fef19c0d
Bug 711859 - Add an IsObjectInContextCompartment API; seems-better-than-the-alternative-all-things-considered=Waldo
2011-12-24 09:28:55 +01:00
Ms2ger
4bf0b93208
Bug 711748 - Remove FIT_U32 from XPCConvert; r=bholley
2011-12-24 09:28:39 +01:00
Ms2ger
972f684be5
Bug 712055 - Remove xpc_qsInt32ToJsval/xpc_qsUint32ToJsval; r=jorendorff
2011-12-24 09:28:14 +01:00
Ms2ger
f4171c7183
Bug 711826 - Remove nsJSRuntimeServiceImpl declaration; r=bholley
2011-12-24 09:28:03 +01:00
Ms2ger
1bceb595bd
Bug 692277 - Part b: Remove js/src from xpconnect LOCAL_INCLUDES; r=luke
2011-12-24 09:27:51 +01:00
Ms2ger
d261b42142
Bug 692277 - Part a: Introduce an unstable public API for JS memory measurements to be used in XPCJSRuntime; r=njn sr=dmandelin
2011-12-24 09:27:39 +01:00
Ms2ger
8d47d26d10
Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley
2011-12-24 09:27:04 +01:00
Ms2ger
f3e7dc6e3d
Bug 711240 - Part a: Expose BAD_TLS_INDEX in xpcpublic.h; r=bholley
2011-12-24 09:26:34 +01:00
Ms2ger
50d587dc7e
Bug 711404 - Part b: Remove xpc_qsDoubleToUint64; r=bholley
2011-12-24 09:26:18 +01:00
Makoto Kato
4bd01ef782
Bug 711404 - Part a: Correctly handle unsigned long long as PRUint64 instead of PRInt64; r=bholley
2011-12-24 09:25:54 +01:00
Ms2ger
5f5ed0e186
Bug 711838 - Remove the jetpack service; r=bsmedberg
...
Change to toolkit-makefiles.sh r=edmorley
2011-12-24 09:25:52 +01:00
Ms2ger
84ddd624f8
Bug 712649 - Components.utils.getWeakReference(null) should fail silently; r=bholley
2011-12-24 09:20:04 +01:00
Ed Morley
7526912220
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2011-12-23 23:54:24 +00:00
Olli Pettay
04c23412b9
Bug 709569, a tool for webidl dictionary-like interfaces, r=khuey,mrbkap
2011-12-24 00:13:46 +02:00
Cameron Kaiser
1c1316b63c
Bug 712990: add missing big-endian code to Yarr JIT, r=dmandelin
2011-12-22 19:09:53 -08:00
Jeff Walden
dcad251b8a
Make various returns in jsopcode.cpp properly return NULL rather than false. Followup to bug 692274, r=themaid
2011-12-22 18:17:06 -05:00
Jeff Walden
6fc5b5e274
Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke
2011-12-19 16:58:30 -05:00
Jeff Walden
68b1495a0b
Bug 712129 - Add more assertion macro flavors to mfbt, and make the JS engine use mfbt's implementations where appropriate. r=cjones
...
--HG--
extra : rebase_source : 6b94db05e74b18a3938a28cbc0f520eb4e01fbb0
2011-12-19 15:54:12 -05:00
Jeff Walden
5d0d2b2e73
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Terrence Cole
58ea61b628
Bug 712793 - Add browserIsRemote to test condition testing code; r=jwalden
...
In 6cff9824c2c1, a condition on browserIsRemote got added to a test in the js
testsuite. This property is not defined by our harness, causing the js test
suite to fail before it even runs tests.
--HG--
extra : rebase_source : 398d21a438b807f632a596ee0e61cb651b4e8a43
2011-12-21 18:04:16 -08:00
Terrence Cole
7c0f033cb6
Bug 712488 - Add missing barrier in jsfunction clone; r=billm
...
When we clone a JSFunction, we need a post barrier after copying the contained
JSScript and JSObject pointers.
2011-12-21 17:17:03 -08:00
Makoto Kato
44fd37413d
bug 693280 - Android DNS lookup port is incorrect usage for external function defines. r=glandium
2011-12-22 10:13:31 +09:00
David Mandelin
bdde6b7ac7
Bug 711480: remove stray semicolon from conditional, rs=dvander
2011-12-21 17:04:32 -08:00
David Mandelin
853a850380
Bug 710970: remove never-failed null check found by PVS-Studio, r=dvander
2011-12-15 14:11:48 -08:00
Steve Fink
dc03ae210d
Bug 710032 - CollectNativeRegions() utility to simplify handling of inlined frames. r=bhackett
...
--HG--
extra : rebase_source : 310d2cc0b58bad53d07e09924ae4d37762542457
2011-10-21 15:43:55 -07:00
Brian Hackett
889b33bcd1
Ensure consistency between an owned base shape and its unowned version, bug 712428. r=luke
2011-12-24 06:32:27 -08:00
Brian Hackett
a14971ba6c
Generate SSA information for scripts containing switch and try blocks, bug 704387. r=dvander
2011-12-24 06:21:52 -08:00
Brian Hackett
796d5fdbfd
Check return value of hashify() call, bug 712907. r=luke
2011-12-23 18:19:51 -08:00
Bobby Holley
00dd408d22
Bug 712858 - Remove lingering XPT_TDP_POINTER uses in XPConnect. r=mrbkap
2011-12-23 16:22:44 -08:00
Luke Wagner
e6d7fc7950
Bug Bug 692274, part 4 - Rewrite parsing, emitting and decompiling of let to fix scoping properly (r=jorendorff)
2011-10-07 12:02:50 -07:00
Luke Wagner
647673362a
Bug 692274, part 3 - Remove JSOP_BLOCKCHAIN and JSOP_NULLBLOCKCHAIN, which produces incorrect let scoping until the next patch (r=jorendorff)
2011-10-07 12:02:50 -07:00
Luke Wagner
71b033f9fd
Bug 692274, part 2 - Fix generator expression bug (r=waldo)
2011-11-22 11:37:57 -08:00
Luke Wagner
2e210b5911
Bug 692274, part 1 - Hoist SprintNormalFor (r=jorendorff)
2011-11-22 11:37:57 -08:00
Boris Zbarsky
b3196642fd
Bug 711557. Expose js::ObjectClass via friendapi. r=waldo
2011-12-21 16:52:49 -05:00
aceman
42a71aa907
Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky
2011-12-21 16:51:29 -05:00
Ed Morley
2b933f3136
Backout 1d0ec7fa8b96 (bug 702179) for PGO Linux build failures
2011-12-21 15:57:26 +00:00
Brian Hackett
a8092e384a
Remove JSObject::containsSlot, bug 710516. r=luke
2011-12-21 06:31:11 -08:00
Ed Morley
b9782be784
Merge mozilla-central to mozilla-inbound
2011-12-21 12:15:42 +00:00
Ed Morley
26a6324065
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2011-12-21 12:11:14 +00:00
Ginn Chen
65d967bfaa
Bug 702179 dtrace probes are not installed on Solaris with static js lib r=glandium (reland with additional fix from Mike Hommey)
2011-12-21 19:25:31 +08:00
Phil Ringnalda
97b9a83fac
Bug 624621 - mark the test as failing on remote-jsreftests, where the message talks about the IP address and port rather than 'file://', r=mbrubeck
...
--HG--
extra : rebase_source : b47dba67a0c4325b3c8adb790d98891fea82639b
2011-12-20 21:58:43 -08:00
Christian Legnitto
ea58834386
Bug 700000 - Version bump
2011-12-20 09:24:38 -08:00
Chris Leary
0f88b28095
Bug 429241: Hex escape test. (TEST ONLY)
2011-12-20 16:49:17 -08:00
Ed Morley
5676601bd2
Bug 709792 - Remove deprecated --enable-tracejit; r=khuey
2011-12-20 12:19:36 +00:00
Ed Morley
83479792cd
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2011-12-20 11:15:11 +00:00
Jason Duell
def5c3a081
Bug 695635: Unprefix websockets. r=sicking, sr=smaug
...
--HG--
rename : content/base/public/nsIMozWebSocket.idl => content/base/public/nsIWebSocket.idl
2011-12-20 00:20:12 -08:00
Boris Zbarsky
1b8698e479
Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap
2011-12-19 12:48:12 -05:00