10027 Commits

Author SHA1 Message Date
benjamin%smedbergs.us
0c44b4be00 Bug 386025 - Expose cycle-collection symbols, r=graydon
git-svn-id: svn://10.0.0.236/trunk@231529 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 14:34:05 +00:00
bclary%bclary.com
7178943cd4 JavaScript Tests - regression test for bug 363258, not part of the build
git-svn-id: svn://10.0.0.236/trunk@231507 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 17:39:44 +00:00
bclary%bclary.com
2e2b390b58 JavaScript Tests - updated tests for JS1_8 by Igor Bukanov, bug 380469, not part of the build
git-svn-id: svn://10.0.0.236/trunk@231502 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 10:22:16 +00:00
bclary%bclary.com
f1c945a1a0 JavaScript Tests - regression test for bug 387871, by Jesse Ruderman, Igor Bukanov, not part of the build
git-svn-id: svn://10.0.0.236/trunk@231501 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 10:09:52 +00:00
bclary%bclary.com
ae9c8e01e9 JavaScript Tests - regression test for bug 390918, by Jesse Ruderman, Igor Bukanov, not part of the build
git-svn-id: svn://10.0.0.236/trunk@231500 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 09:59:42 +00:00
bclary%bclary.com
1d9f5822c2 JavaScript Tests - new version of test to reflect removal of close phase of GC in bug 380469 in JS18, by Igor Bukanov, not part of the build
git-svn-id: svn://10.0.0.236/trunk@231498 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 09:31:32 +00:00
igor%mir2.org
f5aeb9b2d9 Bug 390918: fixing gen_trace assert. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231497 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 04:54:34 +00:00
igor%mir2.org
e0f3e28c6e Bug 106495: js_strtod and js_strtointeger no longer require \0-terminated js chars. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231486 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 19:05:16 +00:00
igor%mir2.org
75943ec976 Bug 390348: pinning of JSAtomState.emptyAtom is restored. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231485 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 18:59:21 +00:00
brendan%mozilla.org
e6684c2ce8 Cope with stillborn funobj tracing via newborn root (390743, r=igor).
git-svn-id: svn://10.0.0.236/trunk@231481 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 07:31:19 +00:00
dbaron%dbaron.org
ff5a646489 Fix leak of JSScript when a JSFunction is collected in a later GC than its function object. This changes GCX_PRIVATE to GCX_FUNCTION, and is essentially the same as the finalization part of the changes from bug 375808 (by igor). b=389757 r=igor a1.9=brendan
git-svn-id: svn://10.0.0.236/trunk@231478 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 07:00:43 +00:00
igor%mir2.org
460ba416c0 Bug 390078: Avoiding unnecessary GC-tracing of JSStackFrame members. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231442 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 19:56:35 +00:00
martijn.martijn%gmail.com
aa38eefe56 Bug 390042 – mingw build error - error: no matching function for call to nsAutoString::nsAutoString(jschar*), r=mrbkap, sr=jst, a=jst
git-svn-id: svn://10.0.0.236/trunk@231403 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 10:15:36 +00:00
dbaron%dbaron.org
78c2338de6 Fix leak of xptiInterfaceInfo in DebugDump. b=389765 r+sr=jst a=DEBUG-only
git-svn-id: svn://10.0.0.236/trunk@231385 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 00:08:28 +00:00
mrbkap%gmail.com
91c566395e Remove an unused variable. no bug, r=sparky sr=lumpy
git-svn-id: svn://10.0.0.236/trunk@231382 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 23:42:33 +00:00
mrbkap%gmail.com
c33ede5588 Detect cyclic __proto__ values ourselves because the JS engine gets confused by the wrappers. bug 390626, r=brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@231381 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 23:38:11 +00:00
brendan%mozilla.org
ee3bb8a370 Remove deadlock hazard when reparenting, single-threaded DOM so don't worry (390551, r+sr=jst).
git-svn-id: svn://10.0.0.236/trunk@231352 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 20:56:02 +00:00
brendan%mozilla.org
b7beb07bbf Restore lost ECMA compatibility for length delegating/shadowing (390598, r=igor).
git-svn-id: svn://10.0.0.236/trunk@231347 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 20:36:53 +00:00
brendan%mozilla.org
5a597c1f23 Fix array_pop default return value (390684, r=igor).
git-svn-id: svn://10.0.0.236/trunk@231330 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:40:47 +00:00
igor%mir2.org
8506e06df9 Bug 387481: baking out again accidental re-commit of the patch.
git-svn-id: svn://10.0.0.236/trunk@231294 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 11:34:41 +00:00
igor%mir2.org
0d31b3324a Bug 390348: Baking out the last commit as the tree is closed.
git-svn-id: svn://10.0.0.236/trunk@231293 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 11:32:40 +00:00
igor%mir2.org
5e0e688f81 Bug 106495: baking out the last commit as the tree is closed.
git-svn-id: svn://10.0.0.236/trunk@231291 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 11:27:04 +00:00
igor%mir2.org
e9ea51440b Bug 106495: js_strtod and js_strtointeger no longer require \0-terminated js chars. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231289 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 09:34:31 +00:00
igor%mir2.org
f8932051ba Bug 390348: pinning of JSAtomState.emptyAtom is restored. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231288 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 09:28:25 +00:00
igor%mir2.org
bed41ddc9f Bug 385393: Changing the return value of js_BoyerMooreHorspool to be jsint to fix mingw compilation.
git-svn-id: svn://10.0.0.236/trunk@231287 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 09:14:06 +00:00
brendan%mozilla.org
3e9ffa7f16 Fix bogus assertion in last patch (for 385393).
git-svn-id: svn://10.0.0.236/trunk@231284 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 08:21:55 +00:00
brendan%mozilla.org
2b381383d8 Fixing uninitialized v bug in InitExnPrivate (385393 followup, r=waldo).
git-svn-id: svn://10.0.0.236/trunk@231259 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 06:32:41 +00:00
brendan%mozilla.org
55368bf8a8 No good, un-reverting.
git-svn-id: svn://10.0.0.236/trunk@231258 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 06:05:44 +00:00
brendan%mozilla.org
6987f56330 Attempt to fix orange.
git-svn-id: svn://10.0.0.236/trunk@231256 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 05:46:19 +00:00
brendan%mozilla.org
1625a24bdd Fast (frame-less) native call optimizations (385393, r=igor).
git-svn-id: svn://10.0.0.236/trunk@231255 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 04:33:52 +00:00
mrbkap%gmail.com
449e7062a7 Make enumeration over XOWs work. bug 390001, r=jst/brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@231245 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-01 22:25:47 +00:00
mrbkap%gmail.com
0fb547f97d Let "window.eval" work again by always wrapping eval when it comes out of a cross origin wrapper. bug 389878, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@231221 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 20:15:21 +00:00
mrbkap%gmail.com
6c4d03c48f Protect vp from garbage collection, since GC could nest under several of the calls here. bug 390222, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@231219 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 19:17:31 +00:00
mrbkap%gmail.com
165342e43a Don't call FindInJSObjectScope on an object that's being finalized because its parent might have been finalized already. bug 389985, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@231197 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 22:39:53 +00:00
mrbkap%gmail.com
5a92f281af Deal with XPCCallContexts that aren't able to initialize themselves. This also fixes bugs related to finalizing objects on dead contexts. bug 390083, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@231194 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 21:50:10 +00:00
igor%mir2.org
9bd77eaa76 Bug 389880: removal of redundant gcflags argument from string-allocation functions. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231131 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-28 16:57:30 +00:00
nboyd%atg.com
7e5af192f8 add more passing tests
git-svn-id: svn://10.0.0.236/trunk@231091 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 01:14:48 +00:00
nboyd%atg.com
29d57c9514 Fix for last generator codegen bug (nested functions in generators).
Patch from Roshan James <roshanj@google.com>.


git-svn-id: svn://10.0.0.236/trunk@231086 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:46:57 +00:00
nboyd%atg.com
f65b5e7e03 Fix misspelling in comment.
git-svn-id: svn://10.0.0.236/trunk@231085 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:36:18 +00:00
nboyd%atg.com
d83af3e36d Implement JavaScript 1.7 generators for bytecode generation mode.
Patch from Roshan James <roshanj@google.com>.


git-svn-id: svn://10.0.0.236/trunk@231072 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 21:48:05 +00:00
mrbkap%gmail.com
0d377e63f9 Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan
git-svn-id: svn://10.0.0.236/trunk@231064 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 19:18:07 +00:00
benjamin%smedbergs.us
cd72164fbb Fix MSVC7 build bustage from bug 389401, a=gavin for checkin to closed tree
git-svn-id: svn://10.0.0.236/trunk@231053 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:09:46 +00:00
nboyd%atg.com
e341332895 Switch to __javaObject__ in the hope that it generalizes to more cases in
the future.


git-svn-id: svn://10.0.0.236/trunk@230651 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 14:10:08 +00:00
brendan%mozilla.org
7050bb0c78 Backing out, see bug 389122 and orange or red tinderboxes.
git-svn-id: svn://10.0.0.236/trunk@230578 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 23:21:20 +00:00
brendan%mozilla.org
18ee45583c Fast natives and related optimizations (385393, r=igor).
git-svn-id: svn://10.0.0.236/trunk@230576 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 21:39:42 +00:00
szegedia%freemail.hu
253b54a5b8 Download junit and emma jar files from ibiblio maven repo
git-svn-id: svn://10.0.0.236/trunk@230572 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 16:27:24 +00:00
szegedia%freemail.hu
d1bb036a16 Added JUnit test task that produces code coverage report
git-svn-id: svn://10.0.0.236/trunk@230560 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:36:08 +00:00
szegedia%freemail.hu
ec00014c57 Use skip files
git-svn-id: svn://10.0.0.236/trunk@230559 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:35:15 +00:00
mrbkap%gmail.com
a9121164a8 Don't double-wrap objects when getting them out of an XPCVariant. bug 384632, r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@230407 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 01:03:55 +00:00
nboyd%atg.com
fcd5dc4054 Update to sync with latest tests.
git-svn-id: svn://10.0.0.236/trunk@230361 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:37:48 +00:00