Commit Graph

16886 Commits

Author SHA1 Message Date
Jeff Walden
9732b0dd63 Bug 700910 - Implement MOZ_DELETE to encapsulate C++11 = delete syntax. r=cjones
--HG--
extra : rebase_source : 0fc4bc154923c84fd91e52be99fdac78f7c6dbc4
2011-11-08 19:19:44 -08:00
Nicholas Nethercote
c32cc3b4fa Bug 699724 - Shrink js::HashTable. r=luke. 2011-11-08 21:02:11 -08:00
Jeff Walden
aacd616ea2 Bug 700802 - Define private overrides of all JSString methods with vacuous behavior for a given subclass, on that subclass. This will prevent someone from accidentally attempting to, say, linearize a linearly-typed string. r=luke 2011-11-08 14:18:29 -08:00
Jeff Walden
0f8c91fd48 Bug 700752 - Fix erroneous build warning about a may-be-used-uninitialized variable. r=cdleary 2011-11-08 14:17:58 -08:00
Marco Bonardo
de58c7bf0f Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Steve Fink
43e6381597 indent the #ifdef tree for readability (no bug, r=firebot)
--HG--
extra : rebase_source : 3113540e5c9f1fc39e6f195d69899f795e964445
2011-11-08 13:08:43 -08:00
Steve Fink
be32728023 Bug 687102 - Check line2pc, pc2line argument range (r=cdleary)
--HG--
extra : rebase_source : a746956e36e1ecb24b540c25f3e5716e67fee152
2011-09-16 16:00:00 -07:00
Terrence Cole
14e2bd234f Bug 697322 - Add easier to use reset method to CallReceiver; r=luke
All users of InvokeArgsGuard that use calleeHasBeenReset use it before
setting a new callee/this in a loop.  We should make it easier to use
by combining the reset with the setup with the setting of the new
callee.
2011-11-08 10:17:25 -08:00
Jeff Walden
a51b0d1c3f Bug 699227 - Change ParseNode::getKind() to use a type separate from TokenKind, for greater clarity. r=jorendorff
--HG--
extra : rebase_source : a7a0f9028f6094a29f013aafd1eeea4b22d08fa2
2011-10-28 16:06:14 -07:00
Jeff Walden
52300d0417 Bug 697795 - Replace TOK_ASSIGN with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 00422b0c005bfbed5ad214f6d37463e4ffb56acf
2011-10-26 01:15:51 -07:00
Jeff Walden
100a2a21be Bug 697795 - Replace TOK_PRIMARY with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 170789e91bb378baf735fb99571924af83198514
2011-10-25 23:52:39 -07:00
Jeff Walden
263394f07b Bug 697795 - Replace TOK_DIVOP with TOK_DIV and TOK_MOD. r=cdleary
--HG--
extra : rebase_source : 17f89d9f41b9bab4ed12060d52b99aec3619ab15
2011-10-25 23:51:52 -07:00
Jeff Walden
e28581fa2e Bug 697795 - Replace TOK_SHOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 0b688db6762213793f1db7ac7916e11bff58a73a
2011-10-25 23:51:50 -07:00
Jeff Walden
5f54847d5e Bug 697795 - Replace TOK_RELOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : bdc26f48b7915209567c9223718f4e47311a90af
2011-10-25 23:51:28 -07:00
Jeff Walden
447638f732 Bug 697297 - Replace TOK_UNARYOP with separate kinds for each op it covers, in both the tokenizer and in the parser (with different semantics in each!). r=dherman, r=cdleary
--HG--
extra : rebase_source : 8aca4520370b8ad3f5c0e7cb11e77fa9f486d9be
2011-10-25 16:04:48 -07:00
Jeff Walden
e91a58c2c7 Bug 697179 - Remove initializers from almost all TokenKind enumerations. Yay for simpler, more easily maintained code! r=cdleary
--HG--
extra : rebase_source : 1fd7105bba011f098e777387346702852da646aa
2011-10-25 16:03:53 -07:00
Jeff Walden
9fe9598f41 Bug 697179 - Split out appending behavior from js::ParseNode::newBinaryOrAppend into a new method, for a simpler-to-read algorithm. r=cdleary
--HG--
extra : rebase_source : 4788600a32be4d9dde31b218c5d45fda6cc426de
2011-10-24 19:39:20 -07:00
Jeff Walden
c156bbc34f Bug 697175 - Replace TOK_EQOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 71724c457d5563e67931a355ce5f93504f97a280
2011-10-24 19:39:20 -07:00
Kyle Huey
2f925f589e Back out Bug 687511 since it doesn't work in pymake. 2011-11-08 11:49:54 -05:00
Joey Armstrong
341e569d8a bug 687511 - edits allowing make-makefile to be run from sandbox root. Unit tests added - r=khuey 2011-10-24 09:59:39 -04:00
Boris Zbarsky
81399488cf Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Luke Wagner
24ebb0ec95 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Ed Morley
6c0b453345 Bug 700166 - Hg rm dom/interfaces/threads/ since it's no longer built; r=bent 2011-11-07 15:44:11 +00:00
Peter Van der Beken
693361bf13 Bug 699796 - Note objects holding JSScript as roots in the CC. r=igor.
--HG--
extra : rebase_source : 68ef72cd709aed89ee6a1cc30bd6079d3e1ddf3d
2011-11-07 13:57:46 +01:00
Peter Van der Beken
ed7ffc3fae Bug 695867 - Crash [@ LookupPropertyById] with getPropertyDescriptor returning a NodeList. r=bz.
--HG--
extra : rebase_source : 7647c232594ab918b9c4488e8cb56d77dfea9b42
2011-10-27 19:31:37 +02:00
Peter Van der Beken
b63af58931 Bug 684938 - Proxy nsXPCWrappedJS::Release to the main thread. r=mrbkap.
--HG--
extra : rebase_source : faf9c46616c52bc03b776a4aae8fd3f87e11f132
2011-09-14 08:44:27 -07:00
Peter Van der Beken
0e028bfaf7 Bug 697643 - Crash [@ JS_IsExceptionPending] modifying a live NodeList. r=bz.
--HG--
extra : rebase_source : 1d2e5e17c76a04a88468d976e89576d127e4e54f
2011-10-27 19:39:03 +02:00
Jason Orendorff
ceb7eb3b77 Comment out busted assertions. See bug 695922. r=red. 2011-10-19 18:56:35 -05:00
Jason Orendorff
709bbe9a25 Follow-up for bug 695752. Fix "error: extra ';'" and "warning: empty macro arguments are undefined in ISO C90 and ISO C++98" (this broke maemo). r=red. 2011-10-19 18:36:19 -05:00
Nicholas Nethercote
7aacac1758 Bug 685783 - Take advantage of slop bytes in js::Vector. r=luke. 2011-10-19 16:19:06 -07:00
Jason Orendorff
0ef02eb199 Bug 695752 - Part 3 - class ParseNodeAllocator. r=luke.
--HG--
extra : rebase_source : 28452c60079a18e5c872317f4ab32e4216215fc9
2011-10-19 16:45:05 -05:00
Jason Orendorff
b90a714b55 Bug 695752 - Part 2 - Add Parser::new_ methods for creatinng parse nodes. r=luke.
--HG--
extra : rebase_source : 9978265f81e72929f55a78da55250a431c64c041
2011-10-19 16:44:18 -05:00
Jason Orendorff
30b9012a13 Bug 695752 - Part 1 - Give js::ParseNode a constructor. r=luke.
--HG--
extra : rebase_source : 562e58afb9f00d8f4ba73989a6a0e779d3d8000b
2011-10-19 16:43:21 -05:00
Jason Orendorff
a2522e62a9 Bug 695549 - Rename almost everything in the JS front end. Part 4, rename js::Compiler to js::BytecodeCompiler and fix up old comments referring to jsparse.c etc. r=luke.
--HG--
extra : rebase_source : f1f7d634b48e3cd2cdae15c02cbb1903151e49be
2011-10-19 09:51:04 -05:00
Jason Orendorff
bc453936f9 Bug 695549 - Rename almost everything in the JS front end. Part 3, rename tokenizer global functions and put them in the js namespace. r=luke.
--HG--
extra : rebase_source : f5f96588fc824cc4b2462b56872905deddee012b
2011-10-19 09:43:36 -05:00
Jason Orendorff
6aacc1383c Bug 695549 - Rename almost everything in the JS front end. Part 2, rename emitter global functions and put them in the js::frontend namespace. r=luke.
--HG--
extra : rebase_source : eac14a2379edf70c4e9df4045f432b4a15ed64f0
2011-10-19 09:42:06 -05:00
Jason Orendorff
cc7558237c Bug 695549 - Rename almost everything in the JS front end. Part 1, rename types and put them in the js namespace. r=luke.
--HG--
extra : rebase_source : 13efff29e9afb428f4a7658f0a0051f2e501dc15
2011-10-19 09:35:52 -05:00
Jeff Walden
1cd73e2f08 Bug 656059 - Initialize a bunch of variables which some versions of gcc (but not 4.6.1) think might be used uninitialized. Technically none need to be, but this code isn't hot, so no reason not to just initialize and move on. r=warnings 2011-10-19 14:28:14 -07:00
Jeff Walden
14dfea9c60 Bug 656059 - Ask for specific original prototypes in much of jstracer.cpp, not through a generic JSProtoKey-keyed interface. r=jorendorff
--HG--
extra : rebase_source : 9e6973a708ccbdd4785ef67fd6536c3f46c3dbb3
2011-05-10 14:56:49 -07:00
Jeff Walden
25eb75ff24 Bug 655907 - Start adding GlobalObject-specific methods to get Object.prototype, Function.prototype, and a few others, and use them where it's easy to do so. r=jorendorff
--HG--
extra : rebase_source : efa30ea3ba9cf3a90117f9b9119d140e516cbb62
2011-05-09 13:06:53 -07:00
Jeff Walden
9ca73a5a08 Bug 694210 - Fix regressions from bug 668024 landing: first a forgotten check for denseness exceeding 2**32 - 1, second for a performance regression from an optimization condition that doesn't hold often enough and bit kraken-stanford-crypto-sha256-iterative. r=bhackett
--HG--
extra : rebase_source : a349dc1fd236d96a67c807ce174b2742130d047d
2011-10-17 11:10:43 -07:00
Jeff Walden
9ca9fe0086 Bug 692333 - Split setProperty into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : 9239eb648466f929733428eb1a18bb0c0af51506
2011-10-05 17:16:25 -07:00
Jeff Walden
0ada627fa4 Bug 692039 - Split defineProperty into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : dce725d8771e2737f1a7059dc1698cc1b0814cd0
2011-10-05 01:00:23 -07:00
Jeff Walden
9d8833f545 Bug 691993 - Split deleteProperty into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : a69ce113bb0f1787b10f203912bc95d9b9026c49
2011-10-04 17:49:57 -07:00
Jeff Walden
e7437e5db9 Bug 691992 - Split getAttributes and setAttributes into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : ab383bf621c212424db6c0f358b6dd2c31443b68
2011-10-04 17:21:06 -07:00
Brian Hackett
73a6a54955 Fix bogus assert, bug 685472. r=dvander 2011-10-19 08:25:50 -07:00
Brian Hackett
7bedad19d8 Fix --disable-tracejit build. 2011-10-18 14:50:35 -07:00
Bill McCloskey
558e68e5ef Bug 695213 - Add total time to MOZ_GCTIMER output. 2011-10-18 14:03:51 -07:00
Bill McCloskey
074a4aac21 Bug 695493 - Fix JM opcode spew. 2011-10-18 14:03:40 -07:00
Jason Orendorff
2c0fe461ba Bug 695450 - Rename js/src/frontend/CodeGenerator.h to BytecodeGenerator.h to avoid conflict with IonMonkey. r=dvander.
--HG--
rename : js/src/frontend/CodeGenerator.cpp => js/src/frontend/BytecodeGenerator.cpp
rename : js/src/frontend/CodeGenerator.h => js/src/frontend/BytecodeGenerator.h
2011-10-18 14:45:33 -05:00
Brian Hackett
2762d10152 Add Array.concat stub for concatenating known dense arrays, bug 692960. r=dvander 2011-10-18 11:24:28 -07:00
Brian Hackett
9393f3f433 Speed up Array.shift, and Array.{pop,shift} on empty arrays, bug 692847. r=dvander 2011-10-18 11:08:52 -07:00
Brian Hackett
a8989c224b Always initialize 'this' value of constructor frames when going through InvokeConstructorKernel, bug 688974. r=luke 2011-10-18 11:00:54 -07:00
Dave Herman
3fd52e982f Bug 695238 - Reflect.parse should throw when an object literal is missing a property RHS. r=jorendorff 2011-10-17 21:09:56 -07:00
Blake Kaplan
fcc6580746 Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Jason Orendorff
22883838ca Fix breakage from rev 31b5cad155fb (bug 695097). r=red. 2011-10-17 17:47:37 -05:00
Jason Orendorff
9faab81d05 Bug 695097 - Split up frontend/Parser.{h,cpp}. r=luke.
--HG--
rename : js/src/frontend/Parser.cpp => js/src/frontend/BytecodeCompiler.cpp
rename : js/src/frontend/Parser.h => js/src/frontend/BytecodeCompiler.h
rename : js/src/frontend/Parser.cpp => js/src/frontend/FoldConstants.cpp
rename : js/src/frontend/Parser.cpp => js/src/frontend/ParseNode.cpp
rename : js/src/frontend/Parser.h => js/src/frontend/ParseNode.h
2011-10-17 16:54:30 -05:00
Jason Orendorff
1102691b89 Bug 695094 - Move js{scan,parse,emit}.{h,cpp} into js/src/frontend/. r=luke.
--HG--
rename : js/src/jsemit.cpp => js/src/frontend/CodeGenerator.cpp
rename : js/src/jsemit.h => js/src/frontend/CodeGenerator.h
rename : js/src/jsparse.cpp => js/src/frontend/Parser.cpp
rename : js/src/jsparse.h => js/src/frontend/Parser.h
rename : js/src/jsscan.cpp => js/src/frontend/TokenStream.cpp
rename : js/src/jsscan.h => js/src/frontend/TokenStream.h
2011-10-17 16:54:28 -05:00
Jeff Walden
b0a6a72b75 Bug 693100 - Fix "warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]" with gcc 4.6.1 in SpiderMonkey. r=dvander
--HG--
extra : rebase_source : 92f3e6f79a27b3a83dec63d5c745c97453937889
2011-10-17 14:33:32 -07:00
Nathan Froyd
ab4cf36056 Bug 695025 - don't use false when we really mean NULL; r=luke
--HG--
extra : rebase_source : 6ea45cafa2dda181e1d8c43321a727a2b0bfd550
2011-10-17 12:38:08 -04:00
Brian Hackett
2db12b04ff Don't disable ICs on error paths, bug 694200. r=dvander 2011-10-17 14:23:40 -07:00
Brian Hackett
84f4720fa0 Bail out from compilation if an OOM was triggered during type inference, bug 693961. r=dvander 2011-10-17 14:18:23 -07:00
Chris Leary
0f159aabc9 Bug 694752: Test JSOP_REGEXP inline path on recompilation. (test only)
--HG--
extra : rebase_source : 16c8cbb20b028af184114c2dcdf288209f94755d
2011-10-15 20:57:08 -07:00
Andrew McCreight
0f5080a126 Bug 680482, part 2 - change debug string for grey globals to help analysis scripts. r=mrbkap 2011-10-20 09:26:49 -07:00
Andrew McCreight
070cdb9181 Bug 680482, part 1 - add new js::DumpHeapComplete to dump the entire heap. r=billm 2011-10-20 09:25:31 -07:00
Peter Van der Beken
86513cf220 Fix for bug 693258 (Fixes for test failures when turning off new list DOM bindings). r=bz/Waldo.
--HG--
extra : rebase_source : f0b6f8443cc29098ce75c114ff5a343597d9f38c
2011-10-13 15:36:09 +02:00
Matheus Kerschbaum
ae7960c546 Bug 694722 - Remove support code for obsolete platforms from js/src/Makefile.in r=ted 2011-10-20 09:57:36 +02:00
jhorak@redhat.com
27ea54ef2d Bug 694261 - link xpcshell against jemalloc on ia64. r=bz 2011-10-20 09:55:18 +02:00
Tom Schuster
118d0e5fef Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap 2011-11-06 16:29:33 +01:00
Bobby Holley
ed31a8bfba Bug 677788 - Remove use of length_is xpt value from gecko. r=mrbkap 2011-11-06 13:32:25 +01:00
Bobby Holley
0b4ff99312 Bug 677788 - Remove array/string 'capacity' argument from XPCConvert. r=mrbkap
Because length_is duplicates size_is, 'capacity' is just an alias for 'count'.
2011-11-06 13:32:25 +01:00
Bobby Holley
2de88b7c43 Bug 691781 - Generate IDL lexer and parser as part of the build system. r=khuey 2011-11-06 13:32:25 +01:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Terrence Cole
fdb5ec2f79 Bug 670596 - Mark ununused arenas as decommitted; r=?,njn
This patch tells the OS which pages we are not using after we do a GC_SHRINK.
The result is that the OS can do a better job managing memory, send less to
swap and will not count these pages against us in RSS.
2011-10-11 18:37:40 -07:00
Steve Fink
ec14aa4669 Bug 625639 - fix XPCConvert error handling (r=mrbkap) 2011-10-28 12:35:35 -07:00
Steve Fink
77bf8eb073 Bug 693907 - Once Upon a JSAPI (move JS_CallOnce from jslock.cpp to jsapi.cpp) (r=waldo)
--HG--
extra : rebase_source : 718fa503c0b73f0a4a94f50f28bc4a7981ef4202
2011-10-11 21:52:36 -07:00
Tom Schuster
70303788a7 no bug - Add 0 add the end of a char array rs=waldo
--HG--
extra : rebase_source : f0f7051cbb7842da215bf3163db49c68ada60bc3
2011-11-04 23:49:56 +01:00
ABE Hiroki
f64ab95bee Bug 675593 - Fix nspr4!1.pgc path mistake on NSPR PGO build (m-c part); r=ted 2011-11-04 21:26:53 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Boris Zbarsky
3678f3ebd8 Bug 698495 followup: deal with uint32 being inconsistently defined by JS and NSPR in ways that break the Win64 build. r=waldo pending 2011-11-04 13:57:39 -04:00
Tom Schuster
92dba89a43 Backout 8b394bdb306f because of test failures 2011-11-04 18:50:09 +01:00
Tom Schuster
f0db7825f6 Bug 430927 - Don't decompile to \0 as it was incorrectly interpreted as octal. r=waldo
--HG--
extra : rebase_source : 354646d3fd2a28fd5b538f988f3b51aa98925728
2011-11-03 21:58:06 +01:00
Tom Schuster
ad9cccd366 Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap
--HG--
extra : rebase_source : 832a69bf6a5e3d8d5f4e334646850ad3207714a9
2011-11-03 21:57:32 +01:00
Boris Zbarsky
26bc193987 Bug 699705. When forwarding property gets to the proto for arrays, send along the right receiver even if the property lives on a non-native object. r=waldo 2011-11-04 12:26:03 -04:00
Boris Zbarsky
92b5d3f4fd Bug 699237. Add a getElementIfPresent on typed arrays. r=waldo 2011-11-04 12:25:52 -04:00
Boris Zbarsky
adfd17214b Bug 698495 part 5. Implement getElementIfPresent on nodelist proxies. r=peterv 2011-11-04 12:25:18 -04:00
Boris Zbarsky
f54589df3b Bug 698495 part 4. Implement a JS_GetElementIfPresent API. r=waldo 2011-11-04 12:19:13 -04:00
Boris Zbarsky
44a9bf053c Bug 698495 part 3. Expose IndexToId to API consumers. r=waldo 2011-11-04 12:19:07 -04:00
Boris Zbarsky
f00eb19bad Bug 698495 part 2. Add an optional getElementIfPresent ObjectOps hook. r=waldo 2011-11-04 12:19:00 -04:00
Boris Zbarsky
175077ac69 Bug 698495 part 1. Create a getElementIfPresent method on JSObject with a generic implementation and use it from JSArray code. r=waldo 2011-11-04 12:18:52 -04:00
Boris Zbarsky
7c9b5321a5 Bug 698551. When forwarding gets to the prototype in nodelists, make sure to use the right |this|. r=waldo,peterv 2011-11-04 12:18:38 -04:00
Boris Zbarsky
f0db867bef Bug 688685 test. r=waldo 2011-11-04 01:32:10 -04:00
Boris Zbarsky
94ed6889d1 Bug 699661. Call the class getElement hook from JSObject::getElement as needed. r=waldo 2011-11-04 01:32:09 -04:00
Makoto Kato
90ba915e12 Bug 632630 - Should add debug flag of assembler obj when MOZ_DEBUG_SYMBOLS. r=khuey 2011-11-04 11:59:47 +09:00
Matt Brubeck
2ca7e7f331 Back out a242f11d7c58 and f73841ef020a because of test failures 2011-11-03 15:23:10 -07:00
Brian Hackett
3f0afe07ad Watch for global mismatches on regexp literals when compiling regexp ops, bug 695896. r=cdleary 2011-11-03 14:40:49 -07:00
Tom Schuster
43c95644be Bug 430927 - Don't decompile to \0 as it was incorrectly interpreted as octal. r=waldo 2011-11-03 21:58:06 +01:00
Tom Schuster
aa3bb9941f Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap 2011-11-03 21:57:32 +01:00
Neil Deakin
c1bb964ad6 Bug 94199, part 2, add method to serialize/deserialize js function, r=mwu 2011-11-03 16:39:08 -04:00
Brian Hackett
787043a54b Try converting known doubles to integers in GETELEM/SETELEM paths, bug 678687. r=dvander 2011-11-03 09:24:40 -07:00
Ben Turner
3e1f223457 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : %84%E3%96%9F%C5%BA%D56%A4%94%83%9F%C3%F5%2B%01%7B%87%FB9
2011-11-03 08:57:30 -07:00
Nicholas Nethercote
a02c712d12 Bug 696284 - Add a comment explaining why we allocate BytecodeEmitter on the heap. r=jorendorff. DONTBUILD 2011-11-02 20:45:48 -07:00
Ed Morley
a77ac11344 Backout eb32aca6d54d, b5c0bfd03fcf and 5675bf2c7930 (bug 692669 and bug 692669) for failing to build on all platforms 2011-11-03 01:57:48 +00:00
Ben Turner
8eacae1c32 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : E%E9%F9%B5%FB%88%1E%FA%C1%BE%04%1F%1E%3D%5E%EB%3C%D2%D2c
2011-11-02 18:03:15 -07:00
Jason Orendorff
8cbdba8eda Bug 694306 - Keywords should not be permitted in destructuring shorthand. r=Waldo. 2011-11-02 14:30:58 -05:00
Gabor Krizsanits
d554dc6115 Bug 677294 - need a way to create new JS scopes and run scripts against them (same compartment) 2011-11-02 10:20:00 -07:00
Nicholas Nethercote
006eaea440 Bug 684800 - Measure slop in TI-related JS memory reporters. r=bhackett. 2011-11-01 21:59:43 -07:00
Ms2ger
20e2c89cee No bug - Fix OSX -Werror builds by initializing Chars::cx in the constructor; rs=Waldo over IRC 2011-11-01 22:46:48 +01:00
Brian Hackett
971df17161 Back out b979f9d59e89 (bug 678687) for intermittent test_jQuery timeout. 2011-11-01 14:52:26 -07:00
Brian Hackett
a960b32d4b Remove ARGCNT, ARGSUB opcodes, bug 698015. r=dvander 2011-11-01 09:01:04 -07:00
Brian Hackett
7ca6184810 Try converting known doubles to integers in GETELEM/SETELEM paths, bug 678687. r=dvander 2011-11-01 08:43:40 -07:00
Jacob Bramley
1aa5b45f28 Bug 643213: Fix signed integer arithmetic used to construct ARM load instructions. [r=mrosenberg] 2011-11-01 08:51:17 +00:00
Nicolas Pierron
08c8c84704 Add gc::Mark and gc::IsMarked functions. (Bug 687843, r=billm)
Use overloading to choose the Mark/IsMarked function based on the static type of
the argument.

---
2011-10-31 15:41:48 -07:00
Matt Brubeck
7561bada5b Merge mozilla-central to mozilla-inbound 2011-10-31 14:51:24 -07:00
Kyle Huey
a3b76fdc50 Merge b-s to m-c. 2011-10-31 14:13:23 -04:00
Nicholas Nethercote
8d8eabc208 Bug 697933 - Allow HashTables to have a capacity as small as four. r=luke. 2011-10-30 16:12:48 -07:00
Matheus Kerschbaum
11c92bf7ac Bug 697666 - Don't build the jstracer by default. r=dmandelin 2011-10-30 15:33:44 +01:00
Paul Biggar
55acc99945 Bug 666049 - Remove JSFloat64, float64 and float32 r=luke
--HG--
extra : rebase_source : cde4c4d059ca8dde49d2570c87f52824cccc47a2
2011-06-21 15:07:02 -07:00
Tom Schuster
a9610aeedd Bug 663090 - Inline String.fromCharCode r=bhackett 2011-10-31 18:48:31 +01:00
Tom Schuster
4de4e82e9f Bug 694360 - Don't allow keywords with unicode escapes. r=jorendorff 2011-10-17 19:09:54 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
8a2b96580e Bug 693469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : d89352e4f8c0e40853673d980d16d12dab04b44f
2011-10-10 23:00:28 -07:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
723247dcd8 Bug 679509 - Make sure convert hooks in plugin code always return a primitive value. r=mrbkap, r=luke, r=jst
--HG--
extra : rebase_source : adf240c22329d3461a2c939d11798247a98b867f
2011-10-14 16:27:50 -07:00
Ed Morley
091dcad0ea Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-15 12:19:29 +01:00
Yazen Ghannam
03ce28c74a Bug 677085 - Merge "nsIDOMNSHTMLFrameElement" into "nsIDOMHTMLFrameElement"; r=bz 2011-10-15 09:34:31 +02:00
Jeff Walden
68b5ece4a0 Fix Windows warnings-as-errors build by using |struct Token|, not |class Token|. r=windows-sm-red, obvious fix so DONTBUILD 2011-10-14 13:07:23 -07:00
Bobby Holley
32e79ed0fa Merge mozilla-central to mozilla-inbound 2011-10-14 12:12:53 -07:00
Bobby Holley
0f39cdae6c Bug 688012 - Re-case dependency on dom_quickstubs.h to fix build-time race condition / bustage. r=lumpy 2011-10-14 12:10:50 -07:00
Bobby Holley
fe5eea5a3e Bug 688012 - Manual fixup of overzealous brace hoisting. r=mrbkap 2011-10-14 10:52:49 -07:00
Bobby Holley
f253d4d21f Bug 688012 - Manual fixup of multi-line c++ cast alignment. r=mrbkap 2011-10-14 10:52:49 -07:00
Bobby Holley
c761202fa0 Bug 688012 - Hoist 'else' clauses to the line of the previous close-curly-brace. r=mrbkap
xpcfix -epc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This is a conservative pass, which doesn't catch absolutely all cases. But it should be good enough.
2011-10-14 10:52:48 -07:00
Bobby Holley
dfadea33ce Bug 688012 - Move the open-brace for if, else, for, while, and switch to the same line as the keyword or condition. r=mrbkap
xpcfix -bpc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This is a huge, repetitive patch, and I confess having only skimmed a lot of it. I'm reasonably confident in the tool here though.

Updated to fix 'else' as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
efc8a150ec Bug 688012 - Add space between keyword and paren for: if, for, while, and switch. r=mrbkap
xpcfix -spuc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

git diff -w is empty here as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
f38648edc0 Bug 688012 - Fix alignment of arguments and tests relative to parens. r=mrbkap
xpcfix -puc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

Some of these changes aren't quite ideal, but it's the best my tooling can do and I think it's very much a step in the right direction. This is necessary to do first, because doing if(foo) -> if (foo) changes the location of parentheses, which affects how other things should be aligned. So this has to be built into the tooling, and we might as well take care of the pre-existing issues first.
2011-10-14 10:52:48 -07:00
Bobby Holley
ee9929fffc Bug 688012 - Move all multi-line continuation backslashes to column 79 (where possible). r=mrbkap
xpcfix -c `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This isn't a huge deal, but it's necessary for the other style changes we want to make. Specifically, when adding and removing things from lines within macros, xpcfix corrects continuation backslashes by putting them at column 79. If we make sure that this is also the default everywhere, then everything will match up.

git diff -w shows no changes here as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
0cdbeb251f Bug 688012 - Remove trailing whitespace within XPConnect. r=mrbkap
xpcfix -w `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

git diff -w verifies that this patch contains no non-whitespace changes.
2011-10-14 10:52:47 -07:00
Bobby Holley
31a5711dcb Bug 691411 - Move js/src/xpconnect to js/xpconnect and rename source files while we're at it. r=khuey, sr=mrbkap
--HG--
rename : js/src/xpconnect/Makefile.in => js/xpconnect/Makefile.in
rename : js/src/xpconnect/crashtests/117307-1.html => js/xpconnect/crashtests/117307-1.html
rename : js/src/xpconnect/crashtests/193710.html => js/xpconnect/crashtests/193710.html
rename : js/src/xpconnect/crashtests/290162-1.html => js/xpconnect/crashtests/290162-1.html
rename : js/src/xpconnect/crashtests/326615-1.html => js/xpconnect/crashtests/326615-1.html
rename : js/src/xpconnect/crashtests/328553-1.html => js/xpconnect/crashtests/328553-1.html
rename : js/src/xpconnect/crashtests/346258-1.html => js/xpconnect/crashtests/346258-1.html
rename : js/src/xpconnect/crashtests/346512-1-frame1.xhtml => js/xpconnect/crashtests/346512-1-frame1.xhtml
rename : js/src/xpconnect/crashtests/346512-1-frame2.xhtml => js/xpconnect/crashtests/346512-1-frame2.xhtml
rename : js/src/xpconnect/crashtests/346512-1.xhtml => js/xpconnect/crashtests/346512-1.xhtml
rename : js/src/xpconnect/crashtests/382133-1.html => js/xpconnect/crashtests/382133-1.html
rename : js/src/xpconnect/crashtests/386680-1.html => js/xpconnect/crashtests/386680-1.html
rename : js/src/xpconnect/crashtests/394810-1.html => js/xpconnect/crashtests/394810-1.html
rename : js/src/xpconnect/crashtests/400349-1.html => js/xpconnect/crashtests/400349-1.html
rename : js/src/xpconnect/crashtests/403356-1.html => js/xpconnect/crashtests/403356-1.html
rename : js/src/xpconnect/crashtests/418139-1.svg => js/xpconnect/crashtests/418139-1.svg
rename : js/src/xpconnect/crashtests/420513-1.html => js/xpconnect/crashtests/420513-1.html
rename : js/src/xpconnect/crashtests/453935-1.html => js/xpconnect/crashtests/453935-1.html
rename : js/src/xpconnect/crashtests/462926.html => js/xpconnect/crashtests/462926.html
rename : js/src/xpconnect/crashtests/467693-1.html => js/xpconnect/crashtests/467693-1.html
rename : js/src/xpconnect/crashtests/468552-1.html => js/xpconnect/crashtests/468552-1.html
rename : js/src/xpconnect/crashtests/471366-1.html => js/xpconnect/crashtests/471366-1.html
rename : js/src/xpconnect/crashtests/475185-1.html => js/xpconnect/crashtests/475185-1.html
rename : js/src/xpconnect/crashtests/475291-1.html => js/xpconnect/crashtests/475291-1.html
rename : js/src/xpconnect/crashtests/503286-1.html => js/xpconnect/crashtests/503286-1.html
rename : js/src/xpconnect/crashtests/504000-1.html => js/xpconnect/crashtests/504000-1.html
rename : js/src/xpconnect/crashtests/509075-1.html => js/xpconnect/crashtests/509075-1.html
rename : js/src/xpconnect/crashtests/512815-1.html => js/xpconnect/crashtests/512815-1.html
rename : js/src/xpconnect/crashtests/515726-1.html => js/xpconnect/crashtests/515726-1.html
rename : js/src/xpconnect/crashtests/545291-1.html => js/xpconnect/crashtests/545291-1.html
rename : js/src/xpconnect/crashtests/558979.html => js/xpconnect/crashtests/558979.html
rename : js/src/xpconnect/crashtests/582649.html => js/xpconnect/crashtests/582649.html
rename : js/src/xpconnect/crashtests/601284-1.html => js/xpconnect/crashtests/601284-1.html
rename : js/src/xpconnect/crashtests/603146-1.html => js/xpconnect/crashtests/603146-1.html
rename : js/src/xpconnect/crashtests/603858-1.html => js/xpconnect/crashtests/603858-1.html
rename : js/src/xpconnect/crashtests/608963.html => js/xpconnect/crashtests/608963.html
rename : js/src/xpconnect/crashtests/616930-1.html => js/xpconnect/crashtests/616930-1.html
rename : js/src/xpconnect/crashtests/639737-1.html => js/xpconnect/crashtests/639737-1.html
rename : js/src/xpconnect/crashtests/648206-1.html => js/xpconnect/crashtests/648206-1.html
rename : js/src/xpconnect/crashtests/crashtests.list => js/xpconnect/crashtests/crashtests.list
rename : js/src/xpconnect/idl/Makefile.in => js/xpconnect/idl/Makefile.in
rename : js/src/xpconnect/idl/mozIJSSubScriptLoader.idl => js/xpconnect/idl/mozIJSSubScriptLoader.idl
rename : js/src/xpconnect/idl/nsIJSContextStack.idl => js/xpconnect/idl/nsIJSContextStack.idl
rename : js/src/xpconnect/idl/nsIJSEngineTelemetryStats.idl => js/xpconnect/idl/nsIJSEngineTelemetryStats.idl
rename : js/src/xpconnect/idl/nsIJSRuntimeService.idl => js/xpconnect/idl/nsIJSRuntimeService.idl
rename : js/src/xpconnect/idl/nsIScriptError.idl => js/xpconnect/idl/nsIScriptError.idl
rename : js/src/xpconnect/idl/nsIXPCScriptNotify.idl => js/xpconnect/idl/nsIXPCScriptNotify.idl
rename : js/src/xpconnect/idl/nsIXPCScriptable.idl => js/xpconnect/idl/nsIXPCScriptable.idl
rename : js/src/xpconnect/idl/nsIXPCSecurityManager.idl => js/xpconnect/idl/nsIXPCSecurityManager.idl
rename : js/src/xpconnect/idl/nsIXPConnect.idl => js/xpconnect/idl/nsIXPConnect.idl
rename : js/src/xpconnect/idl/xpcIJSGetFactory.idl => js/xpconnect/idl/xpcIJSGetFactory.idl
rename : js/src/xpconnect/idl/xpcIJSModuleLoader.idl => js/xpconnect/idl/xpcIJSModuleLoader.idl
rename : js/src/xpconnect/idl/xpcIJSWeakReference.idl => js/xpconnect/idl/xpcIJSWeakReference.idl
rename : js/src/xpconnect/idl/xpccomponents.idl => js/xpconnect/idl/xpccomponents.idl
rename : js/src/xpconnect/idl/xpcexception.idl => js/xpconnect/idl/xpcexception.idl
rename : js/src/xpconnect/idl/xpcjsid.idl => js/xpconnect/idl/xpcjsid.idl
rename : js/src/xpconnect/loader/Makefile.in => js/xpconnect/loader/Makefile.in
rename : js/src/xpconnect/loader/XPCOMUtils.jsm => js/xpconnect/loader/XPCOMUtils.jsm
rename : js/src/xpconnect/loader/mozJSComponentLoader.cpp => js/xpconnect/loader/mozJSComponentLoader.cpp
rename : js/src/xpconnect/loader/mozJSComponentLoader.h => js/xpconnect/loader/mozJSComponentLoader.h
rename : js/src/xpconnect/loader/mozJSLoaderUtils.cpp => js/xpconnect/loader/mozJSLoaderUtils.cpp
rename : js/src/xpconnect/loader/mozJSLoaderUtils.h => js/xpconnect/loader/mozJSLoaderUtils.h
rename : js/src/xpconnect/loader/mozJSSubScriptLoader.cpp => js/xpconnect/loader/mozJSSubScriptLoader.cpp
rename : js/src/xpconnect/loader/mozJSSubScriptLoader.h => js/xpconnect/loader/mozJSSubScriptLoader.h
rename : js/src/xpconnect/public/Makefile.in => js/xpconnect/public/Makefile.in
rename : js/src/xpconnect/public/nsAXPCNativeCallContext.h => js/xpconnect/public/nsAXPCNativeCallContext.h
rename : js/src/xpconnect/public/nsAutoJSValHolder.h => js/xpconnect/public/nsAutoJSValHolder.h
rename : js/src/xpconnect/public/xpc_map_end.h => js/xpconnect/public/xpc_map_end.h
rename : js/src/xpconnect/shell/Makefile.in => js/xpconnect/shell/Makefile.in
rename : js/src/xpconnect/shell/jsshell.msg => js/xpconnect/shell/jsshell.msg
rename : js/src/xpconnect/shell/xpcshell.cpp => js/xpconnect/shell/xpcshell.cpp
rename : js/src/xpconnect/shell/xpcshellMacUtils.h => js/xpconnect/shell/xpcshellMacUtils.h
rename : js/src/xpconnect/shell/xpcshellMacUtils.mm => js/xpconnect/shell/xpcshellMacUtils.mm
rename : js/src/xpconnect/src/Makefile.in => js/xpconnect/src/Makefile.in
rename : js/src/xpconnect/src/README => js/xpconnect/src/README
rename : js/src/xpconnect/src/xpccallcontext.cpp => js/xpconnect/src/XPCCallContext.cpp
rename : js/src/xpconnect/src/xpccomponents.cpp => js/xpconnect/src/XPCComponents.cpp
rename : js/src/xpconnect/src/xpccontext.cpp => js/xpconnect/src/XPCContext.cpp
rename : js/src/xpconnect/src/xpcconvert.cpp => js/xpconnect/src/XPCConvert.cpp
rename : js/src/xpconnect/src/xpcdebug.cpp => js/xpconnect/src/XPCDebug.cpp
rename : js/src/xpconnect/src/xpcexception.cpp => js/xpconnect/src/XPCException.cpp
rename : js/src/xpconnect/src/xpcforwards.h => js/xpconnect/src/XPCForwards.h
rename : js/src/xpconnect/src/xpcinlines.h => js/xpconnect/src/XPCInlines.h
rename : js/src/xpconnect/src/xpcjsid.cpp => js/xpconnect/src/XPCJSID.cpp
rename : js/src/xpconnect/src/xpcjsruntime.cpp => js/xpconnect/src/XPCJSRuntime.cpp
rename : js/src/xpconnect/src/xpcJSWeakReference.cpp => js/xpconnect/src/XPCJSWeakReference.cpp
rename : js/src/xpconnect/src/xpcJSWeakReference.h => js/xpconnect/src/XPCJSWeakReference.h
rename : js/src/xpconnect/src/xpclocale.cpp => js/xpconnect/src/XPCLocale.cpp
rename : js/src/xpconnect/src/xpclog.cpp => js/xpconnect/src/XPCLog.cpp
rename : js/src/xpconnect/src/xpclog.h => js/xpconnect/src/XPCLog.h
rename : js/src/xpconnect/src/xpcmaps.cpp => js/xpconnect/src/XPCMaps.cpp
rename : js/src/xpconnect/src/xpcmaps.h => js/xpconnect/src/XPCMaps.h
rename : js/src/xpconnect/src/xpcmodule.cpp => js/xpconnect/src/XPCModule.cpp
rename : js/src/xpconnect/src/xpcmodule.h => js/xpconnect/src/XPCModule.h
rename : js/src/xpconnect/src/xpcquickstubs.cpp => js/xpconnect/src/XPCQuickStubs.cpp
rename : js/src/xpconnect/src/xpcquickstubs.h => js/xpconnect/src/XPCQuickStubs.h
rename : js/src/xpconnect/src/xpcruntimesvc.cpp => js/xpconnect/src/XPCRuntimeService.cpp
rename : js/src/xpconnect/src/xpcstack.cpp => js/xpconnect/src/XPCStack.cpp
rename : js/src/xpconnect/src/xpcstring.cpp => js/xpconnect/src/XPCString.cpp
rename : js/src/xpconnect/src/xpcthreadcontext.cpp => js/xpconnect/src/XPCThreadContext.cpp
rename : js/src/xpconnect/src/xpcthrower.cpp => js/xpconnect/src/XPCThrower.cpp
rename : js/src/xpconnect/src/xpcvariant.cpp => js/xpconnect/src/XPCVariant.cpp
rename : js/src/xpconnect/src/xpcwrappedjs.cpp => js/xpconnect/src/XPCWrappedJS.cpp
rename : js/src/xpconnect/src/xpcwrappedjsclass.cpp => js/xpconnect/src/XPCWrappedJSClass.cpp
rename : js/src/xpconnect/src/xpcwrappednative.cpp => js/xpconnect/src/XPCWrappedNative.cpp
rename : js/src/xpconnect/src/xpcwrappednativeinfo.cpp => js/xpconnect/src/XPCWrappedNativeInfo.cpp
rename : js/src/xpconnect/src/xpcwrappednativejsops.cpp => js/xpconnect/src/XPCWrappedNativeJSOps.cpp
rename : js/src/xpconnect/src/xpcwrappednativeproto.cpp => js/xpconnect/src/XPCWrappedNativeProto.cpp
rename : js/src/xpconnect/src/xpcwrappednativescope.cpp => js/xpconnect/src/XPCWrappedNativeScope.cpp
rename : js/src/xpconnect/src/XPCWrapper.cpp => js/xpconnect/src/XPCWrapper.cpp
rename : js/src/xpconnect/src/XPCWrapper.h => js/xpconnect/src/XPCWrapper.h
rename : js/src/xpconnect/src/codegen.py => js/xpconnect/src/codegen.py
rename : js/src/xpconnect/src/dom_quickstubs.qsconf => js/xpconnect/src/dom_quickstubs.qsconf
rename : js/src/xpconnect/src/dombindings.conf => js/xpconnect/src/dombindings.conf
rename : js/src/xpconnect/src/dombindings.cpp => js/xpconnect/src/dombindings.cpp
rename : js/src/xpconnect/src/dombindings.h => js/xpconnect/src/dombindings.h
rename : js/src/xpconnect/src/dombindingsgen.py => js/xpconnect/src/dombindingsgen.py
rename : js/src/xpconnect/src/nsCSSPropertiesQS.h => js/xpconnect/src/nsCSSPropertiesQS.h
rename : js/src/xpconnect/src/nsDOMQS.h => js/xpconnect/src/nsDOMQS.h
rename : js/src/xpconnect/src/nsScriptError.cpp => js/xpconnect/src/nsScriptError.cpp
rename : js/src/xpconnect/src/nsXPConnect.cpp => js/xpconnect/src/nsXPConnect.cpp
rename : js/src/xpconnect/src/qsWinUndefs.h => js/xpconnect/src/qsWinUndefs.h
rename : js/src/xpconnect/src/qsgen.py => js/xpconnect/src/qsgen.py
rename : js/src/xpconnect/src/xpc.msg => js/xpconnect/src/xpc.msg
rename : js/src/xpconnect/src/xpcprivate.h => js/xpconnect/src/xpcprivate.h
rename : js/src/xpconnect/src/xpcpublic.h => js/xpconnect/src/xpcpublic.h
rename : js/src/xpconnect/tests/Makefile.in => js/xpconnect/tests/Makefile.in
rename : js/src/xpconnect/tests/chrome/Makefile.in => js/xpconnect/tests/chrome/Makefile.in
rename : js/src/xpconnect/tests/chrome/bug503926.xul => js/xpconnect/tests/chrome/bug503926.xul
rename : js/src/xpconnect/tests/chrome/file_bug618176.xul => js/xpconnect/tests/chrome/file_bug618176.xul
rename : js/src/xpconnect/tests/chrome/file_evalInSandbox.html => js/xpconnect/tests/chrome/file_evalInSandbox.html
rename : js/src/xpconnect/tests/chrome/test_APIExposer.xul => js/xpconnect/tests/chrome/test_APIExposer.xul
rename : js/src/xpconnect/tests/chrome/test_bug448587.xul => js/xpconnect/tests/chrome/test_bug448587.xul
rename : js/src/xpconnect/tests/chrome/test_bug484459.xul => js/xpconnect/tests/chrome/test_bug484459.xul
rename : js/src/xpconnect/tests/chrome/test_bug500931.xul => js/xpconnect/tests/chrome/test_bug500931.xul
rename : js/src/xpconnect/tests/chrome/test_bug503926.xul => js/xpconnect/tests/chrome/test_bug503926.xul
rename : js/src/xpconnect/tests/chrome/test_bug517163.xul => js/xpconnect/tests/chrome/test_bug517163.xul
rename : js/src/xpconnect/tests/chrome/test_bug533596.xul => js/xpconnect/tests/chrome/test_bug533596.xul
rename : js/src/xpconnect/tests/chrome/test_bug571849.xul => js/xpconnect/tests/chrome/test_bug571849.xul
rename : js/src/xpconnect/tests/chrome/test_bug596580.xul => js/xpconnect/tests/chrome/test_bug596580.xul
rename : js/src/xpconnect/tests/chrome/test_bug601803.xul => js/xpconnect/tests/chrome/test_bug601803.xul
rename : js/src/xpconnect/tests/chrome/test_bug610390.xul => js/xpconnect/tests/chrome/test_bug610390.xul
rename : js/src/xpconnect/tests/chrome/test_bug614757.xul => js/xpconnect/tests/chrome/test_bug614757.xul
rename : js/src/xpconnect/tests/chrome/test_bug616992.xul => js/xpconnect/tests/chrome/test_bug616992.xul
rename : js/src/xpconnect/tests/chrome/test_bug618176.xul => js/xpconnect/tests/chrome/test_bug618176.xul
rename : js/src/xpconnect/tests/chrome/test_bug654370.xul => js/xpconnect/tests/chrome/test_bug654370.xul
rename : js/src/xpconnect/tests/chrome/test_bug658560.xul => js/xpconnect/tests/chrome/test_bug658560.xul
rename : js/src/xpconnect/tests/chrome/test_bug664689.xul => js/xpconnect/tests/chrome/test_bug664689.xul
rename : js/src/xpconnect/tests/chrome/test_bug679861.xul => js/xpconnect/tests/chrome/test_bug679861.xul
rename : js/src/xpconnect/tests/chrome/test_cows.xul => js/xpconnect/tests/chrome/test_cows.xul
rename : js/src/xpconnect/tests/chrome/test_doublewrappedcompartments.xul => js/xpconnect/tests/chrome/test_doublewrappedcompartments.xul
rename : js/src/xpconnect/tests/chrome/test_evalInSandbox.xul => js/xpconnect/tests/chrome/test_evalInSandbox.xul
rename : js/src/xpconnect/tests/chrome/test_getweakmapkeys.xul => js/xpconnect/tests/chrome/test_getweakmapkeys.xul
rename : js/src/xpconnect/tests/chrome/test_nodelists.xul => js/xpconnect/tests/chrome/test_nodelists.xul
rename : js/src/xpconnect/tests/chrome/test_precisegc.xul => js/xpconnect/tests/chrome/test_precisegc.xul
rename : js/src/xpconnect/tests/chrome/test_sandboxImport.xul => js/xpconnect/tests/chrome/test_sandboxImport.xul
rename : js/src/xpconnect/tests/chrome/test_wrappers-2.xul => js/xpconnect/tests/chrome/test_wrappers-2.xul
rename : js/src/xpconnect/tests/chrome/test_wrappers.xul => js/xpconnect/tests/chrome/test_wrappers.xul
rename : js/src/xpconnect/tests/components/js/Makefile.in => js/xpconnect/tests/components/js/Makefile.in
rename : js/src/xpconnect/tests/components/js/xpctest.manifest => js/xpconnect/tests/components/js/xpctest.manifest
rename : js/src/xpconnect/tests/components/js/xpctest_attributes.js => js/xpconnect/tests/components/js/xpctest_attributes.js
rename : js/src/xpconnect/tests/components/js/xpctest_params.js => js/xpconnect/tests/components/js/xpctest_params.js
rename : js/src/xpconnect/tests/components/native/Makefile.in => js/xpconnect/tests/components/native/Makefile.in
rename : js/src/xpconnect/tests/components/native/xpctest.manifest => js/xpconnect/tests/components/native/xpctest.manifest
rename : js/src/xpconnect/tests/components/native/xpctest_attributes.cpp => js/xpconnect/tests/components/native/xpctest_attributes.cpp
rename : js/src/xpconnect/tests/components/native/xpctest_module.cpp => js/xpconnect/tests/components/native/xpctest_module.cpp
rename : js/src/xpconnect/tests/components/native/xpctest_params.cpp => js/xpconnect/tests/components/native/xpctest_params.cpp
rename : js/src/xpconnect/tests/components/native/xpctest_private.h => js/xpconnect/tests/components/native/xpctest_private.h
rename : js/src/xpconnect/tests/idl/Makefile.in => js/xpconnect/tests/idl/Makefile.in
rename : js/src/xpconnect/tests/idl/xpctest_attributes.idl => js/xpconnect/tests/idl/xpctest_attributes.idl
rename : js/src/xpconnect/tests/idl/xpctest_params.idl => js/xpconnect/tests/idl/xpctest_params.idl
rename : js/src/xpconnect/tests/mochitest/Makefile.in => js/xpconnect/tests/mochitest/Makefile.in
rename : js/src/xpconnect/tests/mochitest/bug500931_helper.html => js/xpconnect/tests/mochitest/bug500931_helper.html
rename : js/src/xpconnect/tests/mochitest/bug504877_helper.html => js/xpconnect/tests/mochitest/bug504877_helper.html
rename : js/src/xpconnect/tests/mochitest/bug571849_helper.html => js/xpconnect/tests/mochitest/bug571849_helper.html
rename : js/src/xpconnect/tests/mochitest/bug589028_helper.html => js/xpconnect/tests/mochitest/bug589028_helper.html
rename : js/src/xpconnect/tests/mochitest/bug657267.jar => js/xpconnect/tests/mochitest/bug657267.jar
rename : js/src/xpconnect/tests/mochitest/bug92773_helper.html => js/xpconnect/tests/mochitest/bug92773_helper.html
rename : js/src/xpconnect/tests/mochitest/chrome_wrappers_helper.html => js/xpconnect/tests/mochitest/chrome_wrappers_helper.html
rename : js/src/xpconnect/tests/mochitest/file1_bug629227.html => js/xpconnect/tests/mochitest/file1_bug629227.html
rename : js/src/xpconnect/tests/mochitest/file2_bug629227.html => js/xpconnect/tests/mochitest/file2_bug629227.html
rename : js/src/xpconnect/tests/mochitest/file_bug505915.html => js/xpconnect/tests/mochitest/file_bug505915.html
rename : js/src/xpconnect/tests/mochitest/file_bug650273.html => js/xpconnect/tests/mochitest/file_bug650273.html
rename : js/src/xpconnect/tests/mochitest/file_bug658560.html => js/xpconnect/tests/mochitest/file_bug658560.html
rename : js/src/xpconnect/tests/mochitest/file_doublewrappedcompartments.html => js/xpconnect/tests/mochitest/file_doublewrappedcompartments.html
rename : js/src/xpconnect/tests/mochitest/file_evalInSandbox.html => js/xpconnect/tests/mochitest/file_evalInSandbox.html
rename : js/src/xpconnect/tests/mochitest/file_nodelists.html => js/xpconnect/tests/mochitest/file_nodelists.html
rename : js/src/xpconnect/tests/mochitest/file_wrappers-2.html => js/xpconnect/tests/mochitest/file_wrappers-2.html
rename : js/src/xpconnect/tests/mochitest/inner.html => js/xpconnect/tests/mochitest/inner.html
rename : js/src/xpconnect/tests/mochitest/test1_bug629331.html => js/xpconnect/tests/mochitest/test1_bug629331.html
rename : js/src/xpconnect/tests/mochitest/test2_bug629331.html => js/xpconnect/tests/mochitest/test2_bug629331.html
rename : js/src/xpconnect/tests/mochitest/test_bug361111.xul => js/xpconnect/tests/mochitest/test_bug361111.xul
rename : js/src/xpconnect/tests/mochitest/test_bug384632.html => js/xpconnect/tests/mochitest/test_bug384632.html
rename : js/src/xpconnect/tests/mochitest/test_bug390488.html => js/xpconnect/tests/mochitest/test_bug390488.html
rename : js/src/xpconnect/tests/mochitest/test_bug393269.html => js/xpconnect/tests/mochitest/test_bug393269.html
rename : js/src/xpconnect/tests/mochitest/test_bug396851.html => js/xpconnect/tests/mochitest/test_bug396851.html
rename : js/src/xpconnect/tests/mochitest/test_bug428021.html => js/xpconnect/tests/mochitest/test_bug428021.html
rename : js/src/xpconnect/tests/mochitest/test_bug446584.html => js/xpconnect/tests/mochitest/test_bug446584.html
rename : js/src/xpconnect/tests/mochitest/test_bug462428.html => js/xpconnect/tests/mochitest/test_bug462428.html
rename : js/src/xpconnect/tests/mochitest/test_bug478438.html => js/xpconnect/tests/mochitest/test_bug478438.html
rename : js/src/xpconnect/tests/mochitest/test_bug484107.html => js/xpconnect/tests/mochitest/test_bug484107.html
rename : js/src/xpconnect/tests/mochitest/test_bug500691.html => js/xpconnect/tests/mochitest/test_bug500691.html
rename : js/src/xpconnect/tests/mochitest/test_bug502959.html => js/xpconnect/tests/mochitest/test_bug502959.html
rename : js/src/xpconnect/tests/mochitest/test_bug503926.html => js/xpconnect/tests/mochitest/test_bug503926.html
rename : js/src/xpconnect/tests/mochitest/test_bug504877.html => js/xpconnect/tests/mochitest/test_bug504877.html
rename : js/src/xpconnect/tests/mochitest/test_bug505915.html => js/xpconnect/tests/mochitest/test_bug505915.html
rename : js/src/xpconnect/tests/mochitest/test_bug553407.html => js/xpconnect/tests/mochitest/test_bug553407.html
rename : js/src/xpconnect/tests/mochitest/test_bug560351.html => js/xpconnect/tests/mochitest/test_bug560351.html
rename : js/src/xpconnect/tests/mochitest/test_bug564330.html => js/xpconnect/tests/mochitest/test_bug564330.html
rename : js/src/xpconnect/tests/mochitest/test_bug585745.html => js/xpconnect/tests/mochitest/test_bug585745.html
rename : js/src/xpconnect/tests/mochitest/test_bug589028.html => js/xpconnect/tests/mochitest/test_bug589028.html
rename : js/src/xpconnect/tests/mochitest/test_bug601299.html => js/xpconnect/tests/mochitest/test_bug601299.html
rename : js/src/xpconnect/tests/mochitest/test_bug605167.html => js/xpconnect/tests/mochitest/test_bug605167.html
rename : js/src/xpconnect/tests/mochitest/test_bug618017.html => js/xpconnect/tests/mochitest/test_bug618017.html
rename : js/src/xpconnect/tests/mochitest/test_bug623437.html => js/xpconnect/tests/mochitest/test_bug623437.html
rename : js/src/xpconnect/tests/mochitest/test_bug628410.html => js/xpconnect/tests/mochitest/test_bug628410.html
rename : js/src/xpconnect/tests/mochitest/test_bug628794.html => js/xpconnect/tests/mochitest/test_bug628794.html
rename : js/src/xpconnect/tests/mochitest/test_bug629227.html => js/xpconnect/tests/mochitest/test_bug629227.html
rename : js/src/xpconnect/tests/mochitest/test_bug629331.html => js/xpconnect/tests/mochitest/test_bug629331.html
rename : js/src/xpconnect/tests/mochitest/test_bug636097.html => js/xpconnect/tests/mochitest/test_bug636097.html
rename : js/src/xpconnect/tests/mochitest/test_bug650273.html => js/xpconnect/tests/mochitest/test_bug650273.html
rename : js/src/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297.html
rename : js/src/xpconnect/tests/mochitest/test_bug657267.html => js/xpconnect/tests/mochitest/test_bug657267.html
rename : js/src/xpconnect/tests/mochitest/test_bug661980.html => js/xpconnect/tests/mochitest/test_bug661980.html
rename : js/src/xpconnect/tests/mochitest/test_bug691059.html => js/xpconnect/tests/mochitest/test_bug691059.html
rename : js/src/xpconnect/tests/mochitest/test_bug92773.html => js/xpconnect/tests/mochitest/test_bug92773.html
rename : js/src/xpconnect/tests/mochitest/test_frameWrapping.html => js/xpconnect/tests/mochitest/test_frameWrapping.html
rename : js/src/xpconnect/tests/unit/CatRegistrationComponents.manifest => js/xpconnect/tests/unit/CatRegistrationComponents.manifest
rename : js/src/xpconnect/tests/unit/bogus_element_type.jsm => js/xpconnect/tests/unit/bogus_element_type.jsm
rename : js/src/xpconnect/tests/unit/bogus_exports_type.jsm => js/xpconnect/tests/unit/bogus_exports_type.jsm
rename : js/src/xpconnect/tests/unit/bug451678_subscript.js => js/xpconnect/tests/unit/bug451678_subscript.js
rename : js/src/xpconnect/tests/unit/bug596580_versioned.js => js/xpconnect/tests/unit/bug596580_versioned.js
rename : js/src/xpconnect/tests/unit/component-file.js => js/xpconnect/tests/unit/component-file.js
rename : js/src/xpconnect/tests/unit/component-file.manifest => js/xpconnect/tests/unit/component-file.manifest
rename : js/src/xpconnect/tests/unit/component_import.js => js/xpconnect/tests/unit/component_import.js
rename : js/src/xpconnect/tests/unit/component_import.manifest => js/xpconnect/tests/unit/component_import.manifest
rename : js/src/xpconnect/tests/unit/recursive_importA.jsm => js/xpconnect/tests/unit/recursive_importA.jsm
rename : js/src/xpconnect/tests/unit/recursive_importB.jsm => js/xpconnect/tests/unit/recursive_importB.jsm
rename : js/src/xpconnect/tests/unit/syntax_error.jsm => js/xpconnect/tests/unit/syntax_error.jsm
rename : js/src/xpconnect/tests/unit/test_attributes.js => js/xpconnect/tests/unit/test_attributes.js
rename : js/src/xpconnect/tests/unit/test_bogus_files.js => js/xpconnect/tests/unit/test_bogus_files.js
rename : js/src/xpconnect/tests/unit/test_bug408412.js => js/xpconnect/tests/unit/test_bug408412.js
rename : js/src/xpconnect/tests/unit/test_bug451678.js => js/xpconnect/tests/unit/test_bug451678.js
rename : js/src/xpconnect/tests/unit/test_bug596580.js => js/xpconnect/tests/unit/test_bug596580.js
rename : js/src/xpconnect/tests/unit/test_bug604362.js => js/xpconnect/tests/unit/test_bug604362.js
rename : js/src/xpconnect/tests/unit/test_bug608142.js => js/xpconnect/tests/unit/test_bug608142.js
rename : js/src/xpconnect/tests/unit/test_bug641378.js => js/xpconnect/tests/unit/test_bug641378.js
rename : js/src/xpconnect/tests/unit/test_bug677864.js => js/xpconnect/tests/unit/test_bug677864.js
rename : js/src/xpconnect/tests/unit/test_bug_442086.js => js/xpconnect/tests/unit/test_bug_442086.js
rename : js/src/xpconnect/tests/unit/test_file.js => js/xpconnect/tests/unit/test_file.js
rename : js/src/xpconnect/tests/unit/test_import.js => js/xpconnect/tests/unit/test_import.js
rename : js/src/xpconnect/tests/unit/test_js_weak_references.js => js/xpconnect/tests/unit/test_js_weak_references.js
rename : js/src/xpconnect/tests/unit/test_localeCompare.js => js/xpconnect/tests/unit/test_localeCompare.js
rename : js/src/xpconnect/tests/unit/test_params.js => js/xpconnect/tests/unit/test_params.js
rename : js/src/xpconnect/tests/unit/test_recursive_import.js => js/xpconnect/tests/unit/test_recursive_import.js
rename : js/src/xpconnect/tests/unit/test_reflect_parse.js => js/xpconnect/tests/unit/test_reflect_parse.js
rename : js/src/xpconnect/tests/unit/test_unload.js => js/xpconnect/tests/unit/test_unload.js
rename : js/src/xpconnect/tests/unit/test_xpcomutils.js => js/xpconnect/tests/unit/test_xpcomutils.js
rename : js/src/xpconnect/tests/unit/xpcshell.ini => js/xpconnect/tests/unit/xpcshell.ini
rename : js/src/xpconnect/wrappers/AccessCheck.cpp => js/xpconnect/wrappers/AccessCheck.cpp
rename : js/src/xpconnect/wrappers/AccessCheck.h => js/xpconnect/wrappers/AccessCheck.h
rename : js/src/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/CrossOriginWrapper.cpp
rename : js/src/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/CrossOriginWrapper.h
rename : js/src/xpconnect/wrappers/FilteringWrapper.cpp => js/xpconnect/wrappers/FilteringWrapper.cpp
rename : js/src/xpconnect/wrappers/FilteringWrapper.h => js/xpconnect/wrappers/FilteringWrapper.h
rename : js/src/xpconnect/wrappers/Makefile.in => js/xpconnect/wrappers/Makefile.in
rename : js/src/xpconnect/wrappers/WrapperFactory.cpp => js/xpconnect/wrappers/WrapperFactory.cpp
rename : js/src/xpconnect/wrappers/WrapperFactory.h => js/xpconnect/wrappers/WrapperFactory.h
rename : js/src/xpconnect/wrappers/XrayWrapper.cpp => js/xpconnect/wrappers/XrayWrapper.cpp
rename : js/src/xpconnect/wrappers/XrayWrapper.h => js/xpconnect/wrappers/XrayWrapper.h
2011-10-14 10:52:47 -07:00
Bobby Holley
1d942faa86 Bug 691411 - Remove various dead directories in XPConnect. r=khuey 2011-10-14 10:52:46 -07:00
Chris Leary
420d2cbf78 Bug 673188 style followup. 2011-10-14 03:19:52 -07:00
Jeff Walden
064476f76f Bug 692983 - Refactor Token and JSParseNode storage to distinguish atoms which are PropertyNames from atoms which might or might not be. r=cdleary
--HG--
extra : rebase_source : 27c93935e0904eb1f9337699f0edb80e71a22f76
2011-10-08 15:45:29 -07:00
Jeff Walden
f016f7b748 Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : 0d5cf535e64c862334ce5cae3d09caf565775366
2011-10-08 15:45:04 -07:00
Jeff Walden
623030fbb0 Bug 694454 - Make Function.caller skip over eval frames rather than cause stack-walking code to snarl into a loop on them. r=luke, r=bhackett
--HG--
extra : rebase_source : b77eaacf72248a9ea47bca27d523e16a8f84d466
2011-10-13 17:21:56 -07:00
Ehsan Akhgari
bfd6017056 Merge mozilla-central into mozilla-inbound: 2011-10-14 13:58:40 -04:00
Chris Leary
a25f4d682b Bug 694527: Force RegExpPrivate creation for clone source. (r=bhackett)
--HG--
extra : rebase_source : b052ceb7f9ec13d9ebbbaa1b90021fb98e0868a5
2011-10-14 10:44:13 -07:00
Brian Hackett
ef4ed0952c Don't overflow pending array on OOM, bug 691873. r=jimb 2011-10-14 09:49:29 -07:00
Jim Blandy
8b33210d53 Bug 693692: Add DWARF Call Frame Information annotations to JaegerInterpoline for x86 and x86_64. r=sfink
This allows backtraces through frames executing in JaegerInterpoline and
JaegerInterpolineScripted on x86 and x86_64.

This patch should be applied on top of the patch for bug 645111.
2011-10-14 09:11:08 -07:00
Terrence Cole
47db6e82f5 Bug 693847 - Squelch unused name warnings in Nitro in release builds. r=luke 2011-10-11 16:01:12 -07:00
Mike Hommey
5bf916a565 Bug 694533 - LDRH/STRH/LDRSB/STRSB are supported on ARMv5-. r=jbramley 2011-10-14 15:20:54 +02:00
Jacek Caban
7c8bea8064 Bug 661663 - Have to #define XP_WIN when building app with embedded SpiderMonkey JS engine r=benjamin
--HG--
extra : rebase_source : e65fd73de4f6e1091c4c182da2406d54a35e7078
2011-10-14 13:13:35 +02:00
Chris Leary
f3b70ab7d0 Bug 673188: Compile regexps lazily. (r=mrbkap) 2011-10-07 03:04:00 -07:00
Leon Sha
b45b9f7165 Bug 694256 - Build error: JS_FloorLog2 is missing. r=luke. 2011-10-14 13:12:46 +08:00
Steve Fink
c8b7983171 Bug 689101 - make the jsval_layout field in JS::Value public in MSC compiles for binary compatibility across C and C++ (r=luke) 2011-10-11 15:46:29 -07:00
Andrew McCreight
90c7b18f56 Bug 688277, part 2 - Expose way to get weak map keys to JS for testing. r=mrbkap 2011-10-13 09:33:57 -07:00
Andrew McCreight
e07b95d185 Bug 688277, part 1 - add JS friend API to get keys of a weak map. r=jorendorff 2011-10-13 09:33:39 -07:00
Jacek Caban
258e313c8d Bug 694046 - Invalid MOZ_CAN_RUN_PROGRAMS declaration in autoconf.mk.in r=khuey 2011-10-13 16:05:47 +02:00
Luke Wagner
179eb73d2a Bug 689362 - Remove empty jsstaticcheck.h (r=billm) 2011-10-12 10:28:56 -07:00
Peter Van der Beken
cce545a1cb Fix for bug 693894 (NodeList crash [@ js::GetObjectShape]). r=jst.
--HG--
extra : rebase_source : fe485e60f87633861c3aadde95c29af6d81ddcc9
2011-10-13 14:40:20 +02:00
Peter Van der Beken
59068e688b Fix for bug 693563 (Generating dombindings_gen.cpp multiple times results in a different file) - sort properties in generated code. r=jst.
--HG--
extra : rebase_source : 40218fc5a1e60e24702d0646bbe3fafa0c268768
2011-10-13 14:40:20 +02:00
Peter Van der Beken
d638b73743 Fix for bug 693364 (Leak in CompartmentPrivate::RegisterDOMExpandoObject). r=Ms2ger.
--HG--
extra : rebase_source : 9728bcc317280079abd6bb5915d4d877beb9ab6f
2011-10-13 14:40:20 +02:00
Benoit Jacob
1dfa6af486 Bug 638328 - remove (most of) WebGL quickstubbing blacklist - r=peterv
Most functions can now be auto-quicktubbed. Only those returning a jsval can't.
2011-10-13 08:09:22 -04:00
Marco Bonardo
5de41a86a2 Backout 212d9fcab778, 67c738a47561, a5cdc792975d, 6538d5d3c8d4 since suspects for OSX64 m-oth permaorange 2011-10-13 12:44:31 +02:00
Justin Lebar
26e4ee32cd Back out rev 4c0e6b3f7791 (bug 689362) due to suspected mac x64 opt moth orange. 2011-10-12 23:07:04 -04:00
Luke Wagner
d3b7077c0c Bug 693895 - Remove call to js_ReconstructStackDepth in StackIter (r=dmandelin) 2011-10-12 10:30:15 -07:00
Josh Matthews
5be0daf82f Bug 675520 - Ensure iterator prototype has a native iterator. r=jwalden 2011-10-12 18:48:14 -04:00
Chris Leary
0d6adcf81f Bug 693928: Fix random orange from LifoAlloc debug memset. (r=luke)
--HG--
extra : rebase_source : 314ebeb6364ad0bb45baa6b7d7f09b9603e47b27
2011-10-12 15:32:40 -07:00
Marco Bonardo
e83b7f7f11 Backout 9572dd78af53 (Bug 693895) for make check failures 2011-10-13 00:20:32 +02:00
Luke Wagner
831a59a503 Bug 693895 - Remove call to js_ReconstructStackDepth in StackIter (r=dmandelin)
--HG--
extra : rebase_source : f2a43ee843f708b175e2a3671d2d63c6c4b9a4e3
2011-10-12 10:30:15 -07:00
Luke Wagner
8d6c125463 Bug 689362 - Remove empty jsstaticcheck.h (r=billm)
--HG--
extra : rebase_source : d37d29af2a4f6b8c4f9a18468e57285ea8098824
2011-10-12 10:28:56 -07:00
Steve Fink
86bff92d2d Bug 689101 - Test for firebug incompatibility due to jsval ABI mismatch (r=test)
--HG--
extra : rebase_source : b58acb6b58415e8f1954e46d094b9d6ad985efb1
2011-10-10 15:06:28 -07:00
Steve Fink
9d373e25a2 Bug 692722 - implement xpcshell -d for running in debug mode (r=mrbkap)
--HG--
extra : rebase_source : 7b664415f9490bb93adae6e6538d8d907b33c3d1
2011-10-06 23:34:21 -07:00
Steve Fink
51be211b08 Bug 689101 - make the jsval_layout field in JS::Value public in MSC compiles for binary compatibility across C and C++ (r=luke)
--HG--
extra : rebase_source : e0605a4fc1b242ba8006a9e6038b95c49965e5ce
2011-10-11 15:46:29 -07:00
Matheus Kerschbaum
b520783790 Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Matheus Kerschbaum
8368560bae Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
61aacb842c Bug 692983 - Refactor Token and JSParseNode storage to distinguish atoms which are PropertyNames from atoms which might or might not be. r=cdleary 2011-10-08 15:45:29 -07:00
Jeff Walden
97fefeff6d Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett 2011-10-08 15:45:04 -07:00
Jeff Walden
bd8d321b37 Bug 639469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Brian Hackett
85685994c3 Faster handling when calling native methods on regexp literals, bug 692657. r=cdleary 2011-10-12 08:17:44 -07:00
Peter Van der Beken
ebc0b38209 Fix for bug 693301 (Remove ConstructProxyObject) - switch outer window creation to nsWrapperCache::WrapObject. r=mrbkap. 2011-08-20 15:53:34 +02:00
Steve Fink
5b5d96c02c Bug 693886 - non-threadsafe link error with JS_CallOnce (r=jwalden)
--HG--
extra : rebase_source : dcdabb93321a669066fa8b3afd7900b02ff09079
2011-10-11 21:51:37 -07:00
Steve Fink
88e262a803 Bug 693712 - Followup to fix further SM-specific build breakage (r=billm)
--HG--
extra : rebase_source : d9de95b4267d5aa0f6cdb53ce6bfbb0028fcdd3c
2011-10-11 12:38:36 -07:00
Phil Ringnalda
dadd332adf Bug 682754 - date_parseISOString should tolerate a missing colon in the timezone, arr=Waldo
--HG--
extra : rebase_source : 96fc6fd1c3b3a8db5d653f065da9b3c6a00f057c
2011-08-28 23:16:37 -07:00
Brian Hackett
f5bebab173 Don't load high bits when getting typed array lengths, bug 693144. r=dvander 2011-10-11 19:05:33 -07:00
Brian Hackett
21a1740a0b Disable jstracer by default, bug 693815. r=dmandelin 2011-10-11 18:41:45 -07:00
Jeff Walden
e927e083c3 Fix an order-of-initialization warning just recently added, to move the warnings-as-errors build closer to green again. r=trivial 2011-10-11 17:47:56 -07:00
Jeff Walden
9d9f203609 Followup fixes to misplaced test for bug 648471, seems I made them in the patch in a tree I didn't push. :-\ r=orange
--HG--
extra : rebase_source : cb9b119601b30fd3d66e0699f5c66bac850ec1c7
2011-10-11 17:43:25 -07:00
Ehsan Akhgari
5d9711e376 Bug 693323 - Explcitly instantiate the ListBase class with the template arguments that we use it with, since apparently clang doesn't see the need to instantiate it automatically; r=peterv 2011-10-11 19:09:56 -04:00
Jeff Walden
c5928ba9bb Add a misplaced test for bug 648471, found in an old .hg/patches directory while pruning my Mozilla tree count. r=itsatest
--HG--
extra : rebase_source : 7c46baa4297335c05e71ac2e0229c06b84848d99
2011-10-10 22:05:06 -07:00
Matt Brubeck
9a844008c2 Merge mozilla-central to mozilla-inbound 2011-10-11 14:11:09 -07:00
Kyle Huey
7acd90d977 Merge b-s to m-c. 2011-10-11 08:20:42 -04:00
Kyle Huey
7f5811a7a3 Bug 690961. r=mrbkap 2011-10-11 08:11:17 -04:00
Mike Hommey
19beef62f0 Bug 686283 - Properly handle EOF in TokenStream::getAtSourceMappingURL on platforms with unsigned chars. r=luke 2011-10-11 08:41:47 +02:00
Kyle Huey
209504202f Merge m-c to b-s. 2011-10-09 18:19:28 -04:00
Gregory Szorc
364d4fb86e Bug 687225 - Detect MSVC 2011 compiler. r=ted 2011-10-03 21:57:00 -04:00
Matt Brubeck
33a76a6eed Merge mozilla-central to mozilla-inbound 2011-10-10 16:19:01 -07:00
David Mandelin
49f04f6941 Bug 687398: fix debug printing of method GC edge, r=cdleary
--HG--
extra : rebase_source : 1478968f01bed92e64f809d6bbe37169065bf923
2011-10-10 13:08:35 -07:00
Jim Blandy
071d1f62d5 Bug 693406: Set the activeAnalysis flag in the proper compartment when printing TypeCompartments from js_DestroyContext with INFERFLAGS=full. r=bhackett
When ISpewResult is enabled, js_DestroyContext walks over all the
compartments and dumps their types. However, it doesn't switch the context
to each compartment as it does so, so the context passed in to all the
print calls may not be in the same compartment as the scripts whose type
inference results it's printing. This means that

    AutoEnterAnalysis enter(cx);

sets the activeAnalysis flag in the wrong compartment, leading to assertion
failures in functions like js::analyze::ScriptAnalysis::slotEscapes.
2011-10-10 14:31:35 -07:00
Justin Lebar
33ec36f375 Bug 693393 - Make poor man's Maybe<AutoCompartment> in JSAutoEnterCompartment (slightly) less fragile. r=luke
--HG--
extra : rebase_source : 69d96dc62d674df1ba5121c6cbb31474208a6155
2011-10-10 15:51:59 -04:00