Граф коммитов

26809 Коммитов

Автор SHA1 Сообщение Дата
Terrence Cole 9eb2c30ca3 Bug 715201 - Add more barriers to BaseShape; r=bhackett
BaseShape's new copy constructor for StackBaseShape needs to be write barriered
like the existing constructor.

--HG--
extra : rebase_source : e91a8bcca76d66dd421473d2f2a17ce5be6eaffc
2012-01-04 14:40:50 -08:00
Bill McCloskey eb67f75e9b Bug 714418 - Remove nsIXPCScriptable::DONT_SHARE_PROTOTYPE (r=bholley, sr=mrbkap) 2012-01-04 14:13:20 -08:00
Bill McCloskey 4d841fae34 Bug 714353 - Remove nsIXPCScriptable::Trace (r=mrbkap) 2012-01-04 14:13:15 -08:00
Bill McCloskey f4f08ed1fd Bug 714350 - Remove nsXPConnect::RestoreWrappedNativePrototype (r=mrbkap) 2012-01-04 14:13:08 -08:00
Brian Hackett 1674bce9ef Include stack entry for 'this' in CALLXMLNAME during decompilation, bug 716713. r=dvander 2012-01-10 18:38:10 -08:00
Ed Morley adeadb6775 Backout b9e154713763 (bug 702158) for pgo linux failures 2012-01-11 01:22:15 +00:00
Marco Castelluccio ddb9d03a2f Bug 702158 - Build Skia Azure backend on linux. r=mattwoodrow 2012-01-11 11:17:56 +13:00
Ed Morley edad6f19bf Merge mozilla-central to mozilla-inbound 2012-01-04 20:43:25 +00:00
Tom Schuster f03b89f1fe Bug 607692 - Inline parseInt(<int|double>, <0|10>) in JM. r=bhackett
--HG--
extra : rebase_source : 341df111df6ad7568dfbcddd60f31c8c9eece85f
2012-01-04 21:29:54 +01:00
Tom Schuster d8e816b05a Bug 714894 - Remove tracer specific JSOPs. r=bhackett
--HG--
extra : rebase_source : 3b6d0a04fd8f1418113e9cb5d1299a1392aebd30
2012-01-04 21:29:47 +01:00
Blake Kaplan a2890770eb Bug 689118 - Protect against JSVAL_IS_OBJECT(null) being true. r=luke 2012-01-04 17:45:02 +01:00
Kyle Huey 4b1004bf80 Merge b-s to m-c. 2012-01-04 10:39:52 -05:00
Kyle Huey 55826ffc60 Bug 714178: Expose the value of CPP from configure to the rest of the build system. r=ted 2012-01-03 13:47:26 -05:00
Marco Bonardo b21bcc66e7 Merge last green PGO from mozilla-inbound to mozilla-central 2012-01-03 12:36:26 +01:00
Ms2ger 307c4d2a57 Bug 714580 - Remove extra parens from JS_ASSERT_IF; r=Waldo 2012-01-02 21:55:34 +01:00
Ms2ger d68cbbb7d6 Bug 707049 - Followup: fix accidentally introduced 'uint8's from js/src; r=sparky 2012-01-02 19:06:35 +01:00
Gabor Krizsanits 9577034415 Bug 677294 - part 2: need a way to create new JS scopes and run scripts against them (same compartment); r=mrbkap 2012-01-02 19:06:07 +01:00
Ms2ger 73e7808564 Bug 710805 - Assert validity in xpc_qsBasicString; r=jst 2012-01-02 19:05:19 +01:00
Ms2ger 42f91549b4 Bug 709086 - Don't use JS_GetParent in mozJSSubScriptLoader::LoadSubScript; r=jorendorff 2012-01-02 19:05:19 +01:00
Ms2ger 609cf3bed0 Bug 714057 - Remove uintn users from XPConnect; r=bholley+khuey 2012-01-02 19:05:19 +01:00
Ms2ger 766a34f6ff Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke 2012-01-02 19:05:19 +01:00
Ms2ger 2dd3581886 No bug - Return 'false' instead of 'NULL' from ContextStack::pushExecuteFrame. 2012-01-02 19:05:19 +01:00
Bill McCloskey 5686a56837 Bug 712480 - Assert in most JSAPI functions that we're not inside a GC (r=Waldo) 2012-01-01 17:18:07 -08:00
Jeff Walden d58119a856 Return NULL from a pointer-returning method, not false. No bug, r=fix-warning 2012-01-01 18:44:30 -06:00
Bill McCloskey 9537832c6d Bug 714363 - Remove XPCWrappedNativeScope::mPrototypeJSFunction (r=bholley) 2012-01-01 14:48:15 -08:00
Igor Bukanov f07e1dfd97 bug 714545 - js_FinishGC should not race with the background thread. r=wmccloskey 2011-12-31 21:29:41 +01:00
Igor Bukanov b381297783 bug 714344 - background decommit must not leave GC chunks with no empty arenas on the available allocation list. r=wmccloskey 2011-12-31 21:29:41 +01:00
Brian Hackett 3001efcb61 Fix warnings and Clang compile errors, bug 707049. r=waldo 2011-12-31 12:39:05 -07:00
Brian Hackett 1d81f1154e Backed out changeset 4282a285d381 (bug 707049 backout). 2011-12-31 07:32:04 -07:00
Ms2ger 331f7b2adb Backout 0d642e4e08cf (bug 707049); requested by evilpie. 2011-12-31 15:13:01 +01:00
Jeff Walden 2936d38bd0 Bug 713183 - Make JSOP_*PROP and JSOP_*NAME store a PropertyName immediate, not a JSAtom immediate, and take advantage of this fact. r=bhackett
--HG--
extra : rebase_source : 99d199382928758983765ce87e8e4a4121c6430b
2011-12-27 02:27:02 -06:00
Tom Schuster 4f4a9cacd2 Bug 622348 - JavaScript Math.round incorrect for (2^53)-1. r=Waldo
--HG--
extra : rebase_source : 51a780cf5ce9cbcc84c56d8a8dbe2c5d9867b36b
2011-12-25 15:16:12 +01:00
Makoto Kato e8212f739c Bug 711919 - Remove AWT_11 and CM_BLDTYPE from autoconf.mk. r=khuey 2011-12-31 13:17:57 +09:00
Jeff Walden 9b73a187ce Adjust the test for bug 713944 to work in the browser and reenable it there. r=unbust
--HG--
extra : rebase_source : 790fe3e662d723eddb956d156654b931327c603d
2011-12-30 21:23:36 -06:00
Brian Hackett dfd45e67d1 Add dynamic analysis for identifying moving GC hazards, autorooter classes, some VM rooters, bug 707049. r=billm 2011-12-30 20:12:45 -07:00
Jeff Walden fc593ca660 Temporarily disable the test for bug 713944, there seem to be some shell/browser differences. r=orange 2011-12-30 20:42:38 -06:00
Jeff Walden 7624bdbe59 Bug 713944 - Assert that a data descriptor referenced in the property cache was writable only if the property cache entry was a hit. If it wasn't, the descriptor might have been made writable in the interim -- and if the cache entry was for finding the property along the prototype chain, the shape key used for the entry lookup would be invariant across the data descriptor's mutation. This also fixes bug 643847. r=jorendorff 2011-12-29 05:44:10 -06:00
Jeff Walden b3b6939d31 Bug 713944 - Move some declarations down to uses in fill(). r=sparky
--HG--
extra : rebase_source : f999d47ec439ff9311a8dabfb6e3e729dbc5a9f0
2011-12-29 05:44:08 -06:00
Jeff Walden 893aa677a5 Bug 713944 -Convert PropertyCacheEntry::vindex into two separate, private fields, and add some accessors for them. r=jorendorff
--HG--
extra : rebase_source : f7efae003a443e5381900b95273370ff3baa8a62
2011-12-29 05:43:57 -06:00
Bobby Holley 8a890a3676 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Jeff Walden ae91b1cee3 Bug 713755 - Convert all |a[...] parsing to use constructors that don't examine the token stream. r=jorendorff
--HG--
extra : rebase_source : 7b51c30ea52744535195d10d4502a1ee86754e13
2011-12-23 00:11:13 -05:00
Jeff Walden aa73151e30 Bug 713755 - Convert all |a.<stuff>| parsing to use constructors that don't examine the token stream. r=jorendorff
--HG--
extra : rebase_source : c64a37e810c201df6fa2e5124f115ecc9c2e9b43
2011-12-21 18:43:20 -05:00
Jeff Walden 37dc688c02 Bug 713755 - Rename parse node variables in memberExpr, and shorten lifetimes where possible. r=jorendorff
--HG--
extra : rebase_source : ff143bd6bd50bd9036c47edb06c02eb01ff2f6cd
2011-12-21 18:22:34 -05:00
Luke Wagner 6a7c05f4f2 Bug 711273 - rm cruft: JS_REQUIRES_STACK, find-child.py, jsstack.js, fallibility of ClonedBlockObject::put/UnwindScope (r=waldo) 2011-12-20 17:31:28 -08:00
Luke Wagner e159dd7c22 Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
--HG--
rename : js/src/vm/CallObject-inl.h => js/src/vm/ScopeObject-inl.h
rename : js/src/vm/CallObject.cpp => js/src/vm/ScopeObject.cpp
rename : js/src/vm/CallObject.h => js/src/vm/ScopeObject.h
extra : rebase_source : 0efa6c9ac4ceb10f48fe7ee7b199333da2b54cd9
2012-01-02 15:02:05 -08:00
Jeff Walden 8d89e85cfe Bug 714264 - Move declarations around such that it's possible to include jsprvtd.h before Vector.h or HashTable.h. r=luke
--HG--
extra : rebase_source : e981944be5edf5c772df986d0898494b9bc53a3e
2012-01-02 16:34:25 -06:00
Jeff Walden c4c34d676d Make vm/Unicode.h not include jsstr.h just for jschar and a couple <stdint.h> types. No bug, r=mozbot
--HG--
extra : rebase_source : acc00e217e99e33c92fa36832844ceb8550664c2
2012-01-02 14:22:54 -06:00
Jan de Mooij 7dd1994914 Bug 714607 - Make jit-test/tests/basic/bug680217.js run faster. r=bhackett 2012-01-02 22:41:49 +01:00
Jeff Walden 8ae92d1dc8 Bug 710941 - Simplify |a.<here>| parsing by having it not reuse primaryExpr parsing. r=jorendorff
--HG--
extra : rebase_source : f4fdb7376ed8a6e2e59419052e14eae3243018f6
2011-12-14 20:08:02 -05:00
Nicholas Nethercote 01617bd3af Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Jeff Walden c1446d6b7f Bug 710932 - Create true/false/this/null parse nodes with a constructor that doesn't examine the token stream. r=jorendorff
--HG--
extra : rebase_source : 29dc590794dd36409a5a171f8043aad1546b7b9a
2011-12-14 20:03:35 -05:00
Jeff Walden 5aa792830d Bug 710932 - Create defsharp/usesharp expressions with a constructor that doesn't examine the token stream. r=jorendorff
--HG--
extra : rebase_source : e93396c31f7593b9698549f02a9b4aecda134340
2011-12-13 15:53:30 -05:00
Jeff Walden f5d34e19f0 Bug 710932 - Create ?: conditional expressions using a constructor that doesn't examine the token stream. r=jorendorff
--HG--
extra : rebase_source : cf8d22e47436d543a46115171460a4bfeae10971
2011-12-13 15:53:30 -05:00
Jeff Walden f91bbb6233 Bug 710932 - Create <?target data?> expressions using a constructor that doesn't examine the token stream. r=jorendorff
--HG--
extra : rebase_source : f3b8ca1065e7694cb411d14800052e7cef48f853
2011-12-09 23:28:59 -05:00
Jeff Walden e57cbd8a79 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 7c688c1bdd bug 713916 - JS API to shrink GC buffers. r=wmccloskey 2011-12-28 21:08:44 +01:00
Igor Bukanov d1501caaa9 bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey 2011-12-30 00:33:44 +01:00
Steve Fink c0cd58cd7c No bug. Fix --disable-methodjit build breakage from 23936f566781 (bug 710032). r=woof! 2011-12-29 15:19:26 -08:00
Jeff Walden afff57e387 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 774e57db4a 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 58f231afd0 Back out c245807aad3a for bug 714066 to fix Linux make check orange 2011-12-30 11:10:59 +13:00
Robert O'Callahan 5c0d522df5 Backed out changeset c245807aad3a for bug 714066 2011-12-30 11:09:16 +13:00
Igor Bukanov d279636f61 bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey 2011-12-29 22:22:21 +01:00
Steve Fink 124cd02cb4 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 53fc868531 Back out Bug 711895 for breaking l10n builds. 2011-12-29 15:45:51 -05:00
Cameron Kaiser c26e8ea4e1 Bug 713463 - Support JM+TI for architectures without native square root. r=dmandelin 2011-12-29 12:36:22 +01:00
Bill McCloskey 45d61bacbe Bug 709885 - Simplify read barriers for shapes and types (r=bhackett) 2011-12-28 23:56:55 -08:00
Nicholas Nethercote 6c18b646e6 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 f5b9b04579 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 a6e2a78f79 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 50d5a5d354 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 7e84b6a57c 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 6c7a5905f5 Bug 713867 - Move arrayPrototypeHasIndexedProperty from JM to jsinfer. r=bhackett 2011-12-28 20:44:27 +01:00
Matt Brubeck dc2f219dc0 Merge mozilla-central and mozilla-inbound 2011-12-28 11:17:19 -08:00
Matt Brubeck 3a1af194be Merge from mozilla-inbound to mozilla-central 2011-12-28 11:02:59 -08:00
Josh Matthews d9f302116b Bug 463122 - Propagate mozJSComponentLoader exceptions that occur while executing the script. r=mrbkap 2011-12-28 11:55:11 -05:00
Mike Hommey 2bfc8e18f6 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 e27ef6c21a Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey 2011-12-28 09:13:38 +01:00
Ms2ger 0576a76abb Bug 713340 - Fix jsShell_ErrorFormatString array lengths; r=luke 2011-12-28 09:13:37 +01:00
Ms2ger 9a15c9f66e Bug 713553 - Remove GetRTStringByIndex; r=bholley 2011-12-28 09:13:37 +01:00
Ms2ger d071be1aec Bug 713554 - Remove xpc_SameScope declaration; r=bholley 2011-12-28 09:13:37 +01:00
Phil Ringnalda 252a1caf50 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 b6977b1d64 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 1375512ed1 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 7e8358efab Fix register allocation around inline returns, bug 713209. 2011-12-28 08:00:24 -07:00
Jeff Walden 72841b84ff 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 311d217ea0 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 b1ee4dafae 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 2105f514a0 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 e9f8da3262 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 b48a67b302 Bug 713773 - Ensure GC statistics counters are initialized (r=igor) 2011-12-27 18:42:31 -08:00
Matt Brubeck 1029664e68 Merge from mozilla-inbound to mozilla-central 2011-12-27 11:04:58 -08:00
Olli Pettay 794647f539 Bug 710380 - IndexedDB could use the dictionary reader, r=khuey 2011-12-27 20:01:28 +02:00
Steve Fink 16d5d7d075 Bug 710055 - Merge SetVMFrameRegs into PushActiveVMFrame. r=bhackett
--HG--
extra : rebase_source : 7c4f8dde05533a082a7139077d6c983b610925fc
2011-11-21 16:17:49 -08:00
Oleg Romashin dfe68a477c 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 3bbce20d8b Backed out changeset d354ab9ac1f4 2011-12-26 11:20:04 -08:00
Terrence Cole 9bc1f0513f 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 2ce52c59bc 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 baac67658a 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 da78ac7b6a Bug 707717. Don't dynamically mutate the proto chains of DOM prototypes. r=peterv 2011-12-26 11:31:07 -05:00
Jacek Caban 992a5bdbde Backout ff350b65a616 due to Android build failure 2011-12-27 11:11:00 +01:00
Jacek Caban e46b6273a6 Bug 712584 - Properly use .def files on mingw builds r=khuey 2011-12-27 10:51:53 +01:00
Jacek Caban 527ab36ed5 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 d100b20fcf Backout b85379036da2 because of test failures 2011-12-25 15:47:27 +01:00
Tom Schuster fa959181c8 Bug 582841 use false instead of JS_FALSE. DONTBUILD 2011-12-25 15:32:35 +01:00
Tom Schuster f6b159a148 Bug 622348 - JavaScript Math.round incorrect for (2^53)-1. r=luke 2011-12-25 15:16:12 +01:00
Phil Ringnalda 9b232d9b47 Merge m-i <-> m-c 2011-12-24 21:50:23 -08:00
Ms2ger 9b28c9f126 Bug 711859 - Add an IsObjectInContextCompartment API; seems-better-than-the-alternative-all-things-considered=Waldo 2011-12-24 09:28:55 +01:00
Ms2ger 52d070a1c5 Bug 711748 - Remove FIT_U32 from XPCConvert; r=bholley 2011-12-24 09:28:39 +01:00
Ms2ger a120480f30 Bug 712055 - Remove xpc_qsInt32ToJsval/xpc_qsUint32ToJsval; r=jorendorff 2011-12-24 09:28:14 +01:00
Ms2ger 0f724b240f Bug 711826 - Remove nsJSRuntimeServiceImpl declaration; r=bholley 2011-12-24 09:28:03 +01:00
Ms2ger 045c664fb2 Bug 692277 - Part b: Remove js/src from xpconnect LOCAL_INCLUDES; r=luke 2011-12-24 09:27:51 +01:00
Ms2ger 571eedbbef 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 e927de0840 Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley 2011-12-24 09:27:04 +01:00
Ms2ger 05eb777e16 Bug 711240 - Part a: Expose BAD_TLS_INDEX in xpcpublic.h; r=bholley 2011-12-24 09:26:34 +01:00
Ms2ger 845f60f31f Bug 711404 - Part b: Remove xpc_qsDoubleToUint64; r=bholley 2011-12-24 09:26:18 +01:00
Makoto Kato 1cbac2dd21 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 41881a88d1 Bug 711838 - Remove the jetpack service; r=bsmedberg
Change to toolkit-makefiles.sh r=edmorley
2011-12-24 09:25:52 +01:00
Ms2ger 576eb2991e Bug 712649 - Components.utils.getWeakReference(null) should fail silently; r=bholley 2011-12-24 09:20:04 +01:00
Ed Morley 9ef7070e0d Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-23 23:54:24 +00:00
Olli Pettay ed20347f14 Bug 709569, a tool for webidl dictionary-like interfaces, r=khuey,mrbkap 2011-12-24 00:13:46 +02:00
Cameron Kaiser e87f44e6c1 Bug 712990: add missing big-endian code to Yarr JIT, r=dmandelin 2011-12-22 19:09:53 -08:00
Jeff Walden 4f79e0b92f 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 a158abd5b6 Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke 2011-12-19 16:58:30 -05:00
Jeff Walden 677b43a2b8 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 62f48d8793 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 10a0448df8 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 46dfc78eba 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 d8de16e6ab 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 19d9d2e71d Bug 711480: remove stray semicolon from conditional, rs=dvander 2011-12-21 17:04:32 -08:00
David Mandelin c259392be9 Bug 710970: remove never-failed null check found by PVS-Studio, r=dvander 2011-12-15 14:11:48 -08:00
Steve Fink fa114e3132 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 3ae463ab8e 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 0aeb2e6ce0 Generate SSA information for scripts containing switch and try blocks, bug 704387. r=dvander 2011-12-24 06:21:52 -08:00
Brian Hackett bae5eefc8a Check return value of hashify() call, bug 712907. r=luke 2011-12-23 18:19:51 -08:00
Bobby Holley bb66563327 Bug 712858 - Remove lingering XPT_TDP_POINTER uses in XPConnect. r=mrbkap 2011-12-23 16:22:44 -08:00
Luke Wagner 7862c914b8 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 0b5000dc38 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 e8ece4c65a Bug 692274, part 2 - Fix generator expression bug (r=waldo) 2011-11-22 11:37:57 -08:00
Luke Wagner 40916411f6 Bug 692274, part 1 - Hoist SprintNormalFor (r=jorendorff) 2011-11-22 11:37:57 -08:00
Jeff Walden d2b6a6a3c3 Bug 714218 - Specialize some get* implementations to do property-type-specific handling, with their getGeneric forwarding to the appropriate specific implementation. r=bhackett
--HG--
extra : rebase_source : 1fcbac06cb7215b00a5756cef659318e6368fc49
2011-09-15 11:44:10 -07:00
Luke Wagner f433c80a18 rm lingering remains of JS_REQUIRES_STACK analysis (no bug, rs=dmandelin)
--HG--
extra : rebase_source : 5e4d245d44f7a0d8f2cd226366e938338d02c7a8
2012-01-03 14:46:18 -08:00
Luke Wagner d42b9be59e Bug 714650 - make sure not to change block into dictionary mode when adding empty destructuring properties (r=jorendorff)
--HG--
extra : rebase_source : e414906c47ac14a63b9570208452d8705f1ce1f3
2012-01-02 15:03:57 -08:00
Luke Wagner 497001495f Bug 714697 - rm lingering remains of JSCLASS_CONSTRUCT_PROTOTYPE (r=waldo)
--HG--
extra : rebase_source : d39774d9d5ae206ea24a0dda45ad308593db1e9d
2012-01-02 16:01:34 -08:00
Luke Wagner 65cc085d05 Bug 714696 - rm lingering remains of tracer in js::Value (r=waldo)
--HG--
extra : rebase_source : c0d377c97e450b515941a5677eaafd5b23122d2c
2012-01-02 15:06:15 -08:00
Nicholas Nethercote d9666a057f Bug 710958 - Remove gfx{Glitz,DirectFB,QuartzPDF}Surface. r=joedrew.
--HG--
extra : rebase_source : da77b2ceb7840a42651386c822d5b21499bae439
2011-12-18 14:54:50 -08:00
Nicholas Nethercote 827946f223 Bug 631138 - Update the big comment describing Shapes. r=bhackett.
--HG--
extra : rebase_source : f20c7fb10703a6d5cced7ac53715e240b4367f38
2011-11-01 19:16:48 -07:00
Boris Zbarsky 32596d110e Bug 711557. Expose js::ObjectClass via friendapi. r=waldo 2011-12-21 16:52:49 -05:00
aceman 002cb306a6 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Ed Morley 92d532e3ef Backout 1d0ec7fa8b96 (bug 702179) for PGO Linux build failures 2011-12-21 15:57:26 +00:00
Brian Hackett 3adb06859f Remove JSObject::containsSlot, bug 710516. r=luke 2011-12-21 06:31:11 -08:00
Ed Morley 35be13eed4 Merge mozilla-central to mozilla-inbound 2011-12-21 12:15:42 +00:00
Ed Morley 52dc30d629 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-21 12:11:14 +00:00
Ginn Chen aca493a824 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 338d1ef2af 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 9ddee30408 Bug 700000 - Version bump 2011-12-20 09:24:38 -08:00
Chris Leary 34bd285990 Bug 429241: Hex escape test. (TEST ONLY) 2011-12-20 16:49:17 -08:00
Ed Morley f06029b718 Bug 709792 - Remove deprecated --enable-tracejit; r=khuey 2011-12-20 12:19:36 +00:00
Ed Morley 70b8fc962c Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-20 11:15:11 +00:00
Jason Duell 5d80c49624 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 dee08cd634 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
Ben Turner 04c63497fd Bug 712448 - 'Slim wrappers do not use deferred release mechanism'. r=mrbkap. 2011-12-20 17:42:51 -05:00
Chris Leary 1c994446bd Bug 712169: Make aligned/unaligned LifoAlloc consistent. (r=luke)
--HG--
extra : rebase_source : cff51d01e46f5b09d642368da532b9b6a8649053
2011-12-20 14:19:45 -08:00
Michael Wu 1015f54fda Bug 701662 - Serialize filenames in JS_XDRFunctionObject, r=igor 2011-12-20 11:31:45 -08:00
Tom Schuster bee01012aa Bug 708819 - Avoid recursion through Error.prototype.toString/toSource r=luke
--HG--
extra : rebase_source : 7e6437b497886bbd8109a6c8a392923fff537c84
2011-12-19 14:17:00 +01:00
Tom Schuster fdaa6f1aaa Bug 708695 - Fix issues found by clang's scan-build. r=Waldo
--HG--
extra : rebase_source : 5b1970539b2f5b211ebeb97765d8c549371cb888
2011-12-19 14:16:53 +01:00
Marco Bonardo f0d8a7f557 Merge last green PGO changeset from mozilla-inbound to mozilla-central 2011-12-19 12:47:41 +01:00
Phil Ringnalda e3ce373803 Bug 695345 - Bring back ISO8601DateUtils.jsm, a=akeybl 2011-12-18 18:50:13 -08:00
Matt Brubeck f8451c0415 Merge mozilla-central to mozilla-inbound 2011-12-18 08:22:53 -08:00
Ms2ger 0734848acd Bug 708754 - Use IDL for jsdIDebuggerService::WrapValue and remove WrapJSValue; r=bholley 2011-12-18 11:12:26 +01:00
Ms2ger d0187a210e Bug 708330 - Use IDL for Components.utils.getWeakReference; r=bholley 2011-12-18 11:11:56 +01:00
Ms2ger a7918e0b57 Bug 708326 - Use IDL for Components.utils.forceGC; r=bholley 2011-12-18 11:11:23 +01:00
Ms2ger bdcd53f525 Bug 708253 - Use IDL for Components.(utils.)reportError; r=bholley 2011-12-18 11:10:59 +01:00
Ms2ger 079745e633 Bug 705324 - Remove nsAXPCNativeCallContext::{GetRetValPtr,GetReturnValueWasSet,SetReturnValueWasSet}; r=bholley sr=bz 2011-12-18 11:09:58 +01:00
Ms2ger fa37af10f4 Bug 705355 - Use IDL for Components.utils.evalInSandbox; r=bholley 2011-12-18 11:09:56 +01:00
Ms2ger ba42d4d955 Bug 705188 - Use IDL for mozIJSSubScriptLoader::LoadSubScript, {xpcIJSModuleLoader,nsIXPCComponents_Utils}::Import; r=bz 2011-12-18 11:09:16 +01:00
Ms2ger 985487f28e Bug 705344 - Use IDL for Components.(utils.)lookupMethod; r=bholley 2011-12-18 11:08:04 +01:00
Ms2ger 5e28ff9735 Bug 705444 - Use IDL for jsdIValue::GetWrappedValue; r=bholley 2011-12-18 11:07:22 +01:00
Ms2ger 462250211e No bug - Remove unused JS::Value::setObjectOrUndefined; r=luke 2011-12-18 11:06:43 +01:00
Ms2ger 849ea6f2a3 Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Jeff Walden 9098fa4182 Bug 711775 - Implement MOZ_NORETURN to encapsulate this-function-doesn't-return semantics. r=cjones
--HG--
extra : rebase_source : d56f3ef47e11c42b5fe6a442e13fd6202208914f
2011-12-17 16:45:29 -05:00
Andrew McCreight 2d6761e11d Bug 711616 - QI wrapped native weak map keys to nsINode. r=jst 2011-12-17 22:11:04 -08:00
John Schoenick c7eec081e4 Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Jeff Walden bcd5afef4c Bug 711672 - Break mfbt's dependency on jstypes.h by moving various API macros out of JS and into mfbt. r=luke, r=cjones
--HG--
extra : rebase_source : f18993e1eec1a5e5bcdb9cd97fa7d7c6ad261e2c
2011-12-13 14:26:58 -05:00
Phil Ringnalda 6755b58eda Back out 316d6a49a603 and 98617f7b667b (bug 624621) for jsreftest failures 2011-12-19 18:40:16 -08:00
Boris Zbarsky 702133dce8 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
Igor Bukanov 0c6f879365 bug 711623 - rt->gcNumFreeArenas is not updated properly. r=terrence
--HG--
extra : rebase_source : 5abd5e5c3ce789e912aa63ef21001d70893912b7
2011-12-19 23:07:24 +01:00
Andrew McCreight fd01649dbe Bug 710492 - add special cycle collector shape tracing path. r=bhackett 2011-12-19 10:24:56 -08:00
Nicholas Nethercote e474281a63 Bug 709653 - Fix GC heap memory reporters. r=bhackett.
--HG--
extra : rebase_source : 6805671750bd6a9e9661e70832a3837d4064f6ea
2011-12-11 21:21:18 -08:00
Nicholas Nethercote 0089711fa7 Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Jeff Walden 78009d3740 Bug 711672 - Remove DEFINE_LOCAL_CLASS_OF_STATIC_FUNCTION as it's unused. r=luke 2011-12-13 14:26:57 -05:00
Jeff Walden cb96a0d29e Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Jeff Walden 5707609855 Add MOZ_OVERRIDE to CrossOriginWrapper functions. No bug (but sort of r=luke from bug 708735 :-) )
--HG--
extra : rebase_source : d0bdbc8c031457a3a9f7f8cc82d141e0d83883f4
2011-12-15 14:32:25 -05:00
Ralph Giles 6b13775de2 Bug 697881 - Fall back to gcc on darwin if there's no gcc-4.2. r=ted
Since Bug 513353, we've defaulted to gcc-4.2 on darwin.
Unfortunately the default was unconditional, and while
XCode 4.1 provided a gcc-4.2 alias, XCode 4.2 does not,
although 'gcc' is llvm-gcc 4.2.1. As such, the configure
script immediately fails.

The patch still prefers gcc-4.2, but falls back to plain
gcc if it's not available.

Note that we try $CC and $CXX from the environment first
so it is still possible to override this default.
2011-12-18 20:20:28 +01:00
aceman 64127191a0 Bug 122213 - Display time and date of messages in toolkit's Error Console. r=neil sr=bz 2011-12-17 05:22:26 +01:00
Jeff Walden 5de3e7e890 Bug 711611 - NSPR's obsolete int32, int64, etc. types get defined without an opt-out #define -- add that #define to SpiderMonkey so int32/etc. can't be (mis-)used. r=bhackett
--HG--
extra : rebase_source : 18c73b832cb9f4587c4a1114f237edcaba657199
2011-12-16 17:03:07 -05:00
Bobby Holley 6fbf6cf8f6 Bug 711288 - Unconditionally use the new value of JSPROP_READONLY in accessor -> data transformations. r=Waldo 2011-12-16 14:32:39 -08:00
Bill McCloskey 1ce6634809 Bug 710947 - Allow hash table elements to be removed during GC (r=luke) 2011-12-16 14:01:44 -08:00
Brian Hackett 9d04f0062d Fix lingering uses of int32 types, no bug. 2011-12-16 13:21:02 -08:00
Doug Sherk 573bfdbe9c Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00