396 Commits

Author SHA1 Message Date
Jeff Walden
4ee3b4c917 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
Luke Wagner
333c8673a5 Bug 689362 - Remove empty jsstaticcheck.h (r=billm) 2011-10-12 10:28:56 -07:00
Justin Lebar
e727833306 Back out rev 4c0e6b3f7791 (bug 689362) due to suspected mac x64 opt moth orange. 2011-10-12 23:07:04 -04:00
Luke Wagner
ed5d036178 Bug 689362 - Remove empty jsstaticcheck.h (r=billm)
--HG--
extra : rebase_source : d37d29af2a4f6b8c4f9a18468e57285ea8098824
2011-10-12 10:28:56 -07:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
a2e83c488a 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
59fdf6b2d3 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
52fd4e450f 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
Luke Wagner
f90352c158 Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
--HG--
rename : js/src/jshashtable.h => js/public/HashTable.h
rename : js/src/jsvector.h => js/public/Vector.h
rename : js/src/mfbt/InlineMap.h => js/src/ds/InlineMap.h
extra : rebase_source : 818639b74653667b7a572bc1234398c0e4559a60
2011-10-04 15:33:00 -07:00
Luke Wagner
6789a74c55 Bug 632064 - remove use of GetScopeChain in e4x (r=igor)
--HG--
extra : rebase_source : 656a975ea0ca945b9c55b26768545c6e06190754
2011-10-04 10:50:25 -07:00
Jeff Walden
720811e46e Bug 687642 - Start injecting the index/name/special split into JSOP_GETELEM. r=dvander 2011-08-15 00:12:50 -04:00
Jeff Walden
55ad5d956d Bug 619283 - Built-in JS methods must not box undefined or null into the global object when called, both to comply with ES5 and to prevent inadvertent global object exposure to secure JS variants. r=dmandelin
--HG--
extra : rebase_source : be6802a24bd58eb6339369e6803d3eb2fbbc07a5
2011-01-26 13:37:45 -08:00
Chris Leary
e53078d333 Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-27 02:54:58 -08:00
Chris Leary
8a9852db5d Backed out changeset b88172246b66 due to Win32 debug failures. 2011-01-25 04:11:47 -08:00
Chris Leary
39fad63856 Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-25 02:33:27 -08:00
Andreas Gal
deef8edc6e AnyName can't have a NULL parent (bug 617485, r=brendan). 2011-01-21 10:55:39 -08:00
Andrew Drake
38cbf3c475 Bug 621464 - Fix xml_replace thinko introduced by 1d1fe1d1e626 (r=lw) 2011-01-21 09:31:56 -08:00
Chris Leary
123d5c9b50 Bug 617935: Check string lengths using StringBuffer. (r=lw) 2011-01-12 15:28:58 -08:00
Igor Bukanov
92884882fd Bug 619529 - avoid any exposure of XML's AttributeName and AnyName objects. r=brendan 2011-01-09 00:01:52 +01:00
timeless@mozdev.org
151fc31280 Bug 620445 - useless null check of prefix in XMLToXMLString, r=brendan 2010-12-20 18:19:00 -08:00
Andreas Gal
78ff119bd3 Fix bug 635137 (r=luke, a=blocker). 2011-02-24 18:52:27 -08:00
Mike Shaver
6293a9a3ae Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. r=waldo, a=orange 2011-02-19 20:46:44 -08:00
Luke Wagner
0abe4fd441 Luke Wagner – Bug 634542 - Temporary diagnostic patch 2 (r=dvander,a=shaver) 2011-02-18 18:38:10 -08:00
Jeff Walden
155cb95ef3 Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
--HG--
extra : rebase_source : a2f6a11ac3bcc7925cbf122057b694a0aafac970
2011-02-08 17:20:06 -08:00
Chris Leary
0e34a9857c Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
36481bff9a Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Brian Hackett
7cbcc50fa8 Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw 2010-08-15 08:44:51 -04:00
Brian Hackett
0a0e8064d8 Second try at adding interface for JSStackFrame.scopeChain/blockChain, bug 586533. r=lw 2010-08-13 23:36:37 -04:00
Robert Sayre
6adfd16a31 Backed out changeset 1406935fced4. Brian Hackett – Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw. 2010-08-12 21:47:46 -07:00
Brian Hackett
82328d8197 Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw 2010-08-13 00:08:37 -04:00
David Mandelin
7921e1adcf Bug 584615: adding missing oom check, r=jwalden
--HG--
extra : rebase_source : c3357167c84ab2e2e408facdcbf083df78f2fa9c
2010-08-09 16:18:07 -07:00
Paul Biggar
7d5c3109d3 Split object/function allocation paths to avoid branch (578158, r=brendan). 2010-08-09 09:11:22 -07:00
Igor Bukanov
7ae0ecc9d3 bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Igor Bukanov
9842e59608 Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Igor Bukanov
781e5c46d7 bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Alan Pierce
a745dfcc76 Bug 578189 - Add the invariant that dependent strings must have a flat string as the base (r=gal) 2010-07-24 20:22:35 -07:00
Igor Bukanov
3bb859d8fb bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Alan Pierce
c39299c437 Bug 571579 - Implement ropes (r=gal) 2010-07-16 17:41:22 -07:00
Luke Wagner
7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Igor Bukanov
21a98fb81f bug 572494 - removal of JSObjectOps::defaultValue, r=jorendorff 2010-07-07 09:53:47 +02:00
Jeff Walden
5ec929857e Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Brendan Eich
b73234dea0 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Gregor Wagner
2e84690bd8 Bug 519949 - TM: remove LocalRootScopes r=igor 2010-06-23 11:37:35 -05:00
Igor Bukanov
6a4e5cfe7d bug 572991 - replacing JSXMLArray locals with autoclasses. r=gal
--HG--
extra : rebase_source : b0f13006282537b671d4b410fd9849215154ae18
2010-06-19 20:58:00 +02:00
Igor Bukanov
91d01017b8 bug 572411 - removal of JSObjectOps::checkAccess. r=mrbkap 2010-06-17 14:32:26 +02:00
Jim Blandy
5613624c45 Bug 568375: Delete the JSOP_XMLOBJECT bytecode. r=waldo 2010-06-11 10:48:08 -07:00
Nicholas Nethercote
f0e9940673 Bug 568466 - TM: avoid premature NULL check in NewXMLQName(). r=gal. 2010-06-09 19:40:12 -07:00
Igor Bukanov
06ddfe2226 bug 566836 - eliminating JSObjectOps::dropProperty. r=gal
--HG--
extra : rebase_source : cdffca0a863d8a3dddbc77335fc3cdac2eff9f4b
2010-06-05 23:24:54 +02:00
Andreas Gal
20bf6bff8f Nit patrol shot me down. Follow-up nits for bug 569114. 2010-05-30 17:27:56 -07:00
Andreas Gal
eafd5546f6 Don't use tinyids in jsxml.cpp (569114, r=jorendorff). 2010-05-30 17:02:09 -07:00