Commit Graph

8007 Commits

Author SHA1 Message Date
gavin%gavinsharp.com
74b982040d Bug 343998: copysign was not defined on WINCE, patch by dougt, r=brendan 2006-07-13 14:01:41 +00:00
brendan%mozilla.org
a41c1f3355 Trailing whitespace removal. 2006-07-13 01:31:44 +00:00
bent.mozilla%gmail.com
59c230656f Backing out changes from bug 280236. 2006-07-12 23:00:11 +00:00
bent.mozilla%gmail.com
151e9fcc71 Bug 280236 - "coercing an array containing an nsXPCConstructor to a string results in an uncatchable error". Patch by timeless. r=dbradley, sr=jst. 2006-07-12 22:18:45 +00:00
mrbkap%gmail.com
17e71cd968 Add some code that imitates split windows in the js shell. bug 337528, rs=brendan 2006-07-12 21:21:45 +00:00
szegedia%freemail.hu
3a1f4012bf Fix for #343021 2006-07-12 09:28:57 +00:00
brendan%mozilla.org
baed97a243 Fix js_PutBlockObject, write JSOP_LEAVEBLOCKEXPR decompiler logic (344262, r=mrbkap). 2006-07-11 23:29:41 +00:00
mrbkap%gmail.com
b12405c6a4 Fix dependencies for regenerating jsautokw.h. bug 344265, r=brendan sr=bsmedberg 2006-07-11 20:19:36 +00:00
szegedia%freemail.hu
f1e19754a9 Fix for #314163 "E4X XML object constructed from an XML Beans XmlObject is not consistent with a literal (inline) E4X XML object" 2006-07-11 12:52:35 +00:00
szegedia%freemail.hu
d02505e57c Fix for #342894: "examples/E4X/e4x_example.js has line endings inconsistent with rest of source tree" 2006-07-11 12:38:20 +00:00
szegedia%freemail.hu
54f73196ec Fix for #342894: "examples/E4X/e4x_example.js has line endings inconsistent with rest of source tree" 2006-07-11 12:34:25 +00:00
szegedia%freemail.hu
ed8e5c16e9 Patches from #343021: "Rhino E4X does not correctly build from source with Ant" 2006-07-11 12:28:42 +00:00
brendan%mozilla.org
0aeae8a794 Comment update for last patch (344139, r=mrbkap). 2006-07-10 21:11:47 +00:00
mrbkap%gmail.com
3ed60e4aa8 Emit the correct bytecode when a let-declared variable is on the right side of a += or similar operator. bug 344139, r=brendan 2006-07-10 19:23:13 +00:00
brendan%mozilla.org
7ff75083df Forgot to switch to SRC_INITPROP (344120, r=mrbkap). 2006-07-10 19:13:55 +00:00
bclary%bclary.com
94eb63d441 JavaScript Test Library - regression test for bug 344139, by Jeff Walden 2006-07-10 18:52:32 +00:00
bclary%bclary.com
070b0bc40b JavaScript Test Library - regression test for bug 344120, by timeless 2006-07-10 18:46:47 +00:00
bclary%bclary.com
8a41e721ce JavaScript Test Library - regression test for bug 336376, by Jeff Walden 2006-07-10 00:11:25 +00:00
bclary%bclary.com
67b480f96a JavaScript Test Library - regression test for bug 344052, by Dao Gottwald 2006-07-09 23:54:39 +00:00
mrbkap%gmail.com
964994c006 Clear cached class objects when JS_ClearScope is called on the global object to avoid leaks. Also, add code to GC_MARK_DEBUG that pretty-prints slot names containing cached class objects. bug 343417, r=brendan 2006-07-07 22:28:05 +00:00
brendan%mozilla.org
102fc7b78d Fix another 1.8-branch API compat bit-hack bug. 2006-07-07 06:25:29 +00:00
brendan%mozilla.org
f722c8fbf6 Fix bit-magic brainfart, remove useless test and add assert that it's useless (js1.7 bug, r=mrbkap). 2006-07-07 01:52:07 +00:00
mrbkap%gmail.com
77bbbb4727 Don't stuff the stack slot that we were about to read. bug 343765, r=brendan 2006-07-06 22:46:26 +00:00
mrbkap%gmail.com
c9b8311dda Make sure that we clean up block objects that were cloned into the scope chain for environment capture, so they don't reference dead frame pointers or dead stack slots, and instead have property-based copies of their locals. bug 343765, r=brendan 2006-07-06 20:47:02 +00:00
mrbkap%gmail.com
dd69817f01 Nuke a warning introduced by widening JSFunctionSpec.extra. No bug, r=brendan 2006-07-06 20:18:46 +00:00
mrbkap%gmail.com
02d2912e62 Nuke GCC -pedantic warnings by using the GCC __extension__ keyword (along with a hack to allow us to use it on 'goto' expressions). bug 343680, r=brendan 2006-07-06 20:14:23 +00:00
mrbkap%gmail.com
30d15a673d Landing a patch from Feng Qian <feng.qian.moz@gmail.com> to avoid long-running regexps from hanging the browser forever by calling the branch callback at regular intervals. bug 307456, r=brendan/mrbkap 2006-07-06 20:13:04 +00:00
brendan%mozilla.org
82c8a485f2 Followup to match (modulo comment and whitespace) 1.8 branch for script flags functions. 2006-07-06 19:35:33 +00:00
brendan%mozilla.org
b2072bf1a1 MOZILLA_1_8_BRAN CH API compatibility restoration. 2006-07-06 18:40:03 +00:00
mrbkap%gmail.com
e064fc9e40 Remove this assertion since with objects will botch it. bug 343713, r=brendan 2006-07-06 06:25:31 +00:00
bclary%bclary.com
fd16a87187 JavaScript Test Library - regression test for bug 343713 2006-07-06 05:29:03 +00:00
brendan%mozilla.org
9d0e553b2f Fix function body code generation to happen within the TCF_IN_FUNCTION flag's scope (343708, tachyonal r=mrbkap). 2006-07-06 05:28:15 +00:00
brendan%mozilla.org
59bb712b6f JS_1_7_ALPHA_BRANCH landing, mainly destructuring optimizations and let completion (336373, r=mrbkap). 2006-07-06 01:25:44 +00:00
mrbkap%gmail.com
a91848d680 Add missing rooting around a call out JS_Enumerate. bug 343290, r=brendan 2006-07-02 03:30:46 +00:00
mrbkap%gmail.com
21bc46e129 Protect against overly-large reallocations. bug 342960, r=brendan a=dveditz 2006-07-02 03:05:06 +00:00
igor.bukanov%gmail.com
dc6cc6e7b2 Bug 322135: the length setter for array tries to detect a sparse array and enumerate over properties to remove elements beyond the array length. r=mrbkap,sr=brendan 2006-07-01 19:58:44 +00:00
igor.bukanov%gmail.com
beb746b6aa Bug 343228: Fixing array_sort to always free the temporary array. r=mrbkap 2006-07-01 19:52:32 +00:00
igor.bukanov%gmail.com
19908a421e Bug 341956: Reorder id allocation to avoid delays with their access. r=mrbkap,sr=brendan 2006-07-01 19:29:34 +00:00
igor.bukanov%gmail.com
98919b21b5 Bug 342625: Fix js_GC to return false only for branch callback cancelations restoring WAY_TOO_MUCH_GC. r=mrbkap,sr=brendan 2006-06-29 19:13:51 +00:00
bclary%bclary.com
69d4233d70 Bug 330237 - revert patch due to mac os x bustage, not part of the build. r=shaver 2006-06-29 12:51:42 +00:00
igor.bukanov%gmail.com
9ebf7bc3ae Bug 341896: GC finalizes the states of native iterators before finalizing the rest of object. It avoids using expensive close hooks. r=brendan 2006-06-29 06:51:33 +00:00
bzbarsky%mit.edu
2092c2f893 Move around some debug defines to make life better. No reviews, yay! 2006-06-29 05:33:39 +00:00
bclary%bclary.com
5e78949d9e JavaScript Test Library - add JavaScriptOptions object to e4x test environment 2006-06-28 23:40:24 +00:00
bclary%bclary.com
a4ca8009c7 JavaScript Test Library - update to gVersion for version 1.6 and 1.7, no bug, not part of the build 2006-06-28 21:54:31 +00:00
bclary%bclary.com
d9755392fe JavaScript Test Library - catch too much recursion exception, bug 234398 2006-06-28 21:50:09 +00:00
mrbkap%gmail.com
f2c3659778 Checking in Sebastien Marinier <mozilla@smarinier.net>'s patch (along with a
couple of other bugs that need fixing) to avoid file handle leaks when using
directory[path] syntax. bug 342148, NPOTB
2006-06-28 19:49:39 +00:00
igor.bukanov%gmail.com
d115537fbf Bug 342737: New API to register JS_NewContext/JS_DestroyContext* callback. In this way an embedding can do a common customization of JSContext instances in a single place. r=brendan 2006-06-27 12:09:09 +00:00
mrbkap%gmail.com
80bbd167fe Resolve standard classes even when assigning to give them a chance to initialize
themselves to avoid them overriding the assigned value when they're used internally
the first time. bug 342359, r=brendan sr=jst
2006-06-26 21:22:12 +00:00
bclary%bclary.com
6912312eca JavaScript Test Library - regression test for bug 328897, by Boris Zbarsky 2006-06-26 18:58:27 +00:00
bclary%bclary.com
f37bf1070f JavaScript Test Library - reset String constructor on each path, bug 304376, not part of the build. 2006-06-26 15:22:49 +00:00
silver%warwickcompsoc.co.uk
8470c91b81 Partial backout of bug 341919 to fix bustage caused by DOM_AGNOSTIC3_BRANCH landing. 2006-06-26 11:11:57 +00:00
silver%warwickcompsoc.co.uk
9405c42b36 Bug 341919 - Remove widget dependency from JSD. r=rginda sr=jst 2006-06-26 10:36:28 +00:00
timeless%mozdev.org
b33404c812 Bug 330237 editline.c:1038: warning: implicit declaration of function `getpid'
r=shaver
2006-06-25 07:20:40 +00:00
igor.bukanov%gmail.com
07441484f4 Bug 342180: Check for unitialized scriptFilenameTable in js_SweepScriptFilenames as js_GC can run before js_InitRuntimeScriptState is invoked. r=mrbkap 2006-06-24 10:48:56 +00:00
mrbkap%gmail.com
7b1e11248b Keep a strong reference to the context that we're operating on. This involves
giving the sandbox context an nsISupports private data that controls its
lifetime. bug 337462, r+sr=jst
2006-06-24 04:33:24 +00:00
bent.mozilla%gmail.com
6fc5260a1b Bug 342573 - "Fix accidental return value switch from bug 176182". r=mrbkap. 2006-06-23 22:29:51 +00:00
mrbkap%gmail.com
afbc7f20c9 Some style cleanups, and add some paranoia checking. bug 342267, r=dveditz sr=jst 2006-06-23 18:18:09 +00:00
bclary%bclary.com
19fec1bf7c JavaScript Test Library - regression test for bug 341939, by nanto vi (TOYAMA Nao) 2006-06-23 03:05:07 +00:00
bclary%bclary.com
7cc03cafd9 JavaScript Test Library - regression test for bug 340199, by Blake Kaplan 2006-06-22 18:49:07 +00:00
szegedia%freemail.hu
d4515f125a Removed "pre" 2006-06-22 16:16:07 +00:00
szegedia%freemail.hu
2d4fc75b74 Committing the patch for Bugzilla 328924 "Impossible to use the debugger from outside the omj.tools.debugger package" 2006-06-22 16:12:44 +00:00
bclary%bclary.com
9fc23fb5a4 JavaScript Test Library - properly terminate browser based test if uncaught exception occurs, no bug, not part of the build 2006-06-22 06:44:45 +00:00
mrbkap%gmail.com
c51c5cdee9 Exception classes need to set their constructors on the global object themselves since they don't use JS_InitClass. bug 342359, r=brendan 2006-06-21 23:54:04 +00:00
mrbkap%gmail.com
b2988348b3 Fix whitespace and style nits from brendan (bug 336409) 2006-06-21 18:16:52 +00:00
brendan%mozilla.org
9041c05ece Fix warning in str_split. 2006-06-21 16:54:40 +00:00
igor.bukanov%gmail.com
9f9ab7cc1e Bug 341877: Infrastructure to root properly native iterator states. r=brendan 2006-06-21 09:13:24 +00:00
mrbkap%gmail.com
87295eaca7 Be safer in doing these additions. bug 336409, r=igor 2006-06-21 00:42:04 +00:00
brendan%mozilla.org
cd71953372 Null defense in case of early failure under js_NewContext (342180, r=mrbkap). 2006-06-20 18:36:34 +00:00
gijskruitbosch%gmail.com
a68352ae26 Bug 342074 - JSD crashes on exit when there's two clients
r+a=timeless
2006-06-20 15:54:44 +00:00
igor.bukanov%gmail.com
8d743fde46 Bug 341877: Reverting the previous commit, the patch was broken. 2006-06-20 00:50:17 +00:00
brendan%mozilla.org
a422d9cec7 White space police state attack. 2006-06-19 23:38:02 +00:00
igor.bukanov%gmail.com
2d2124eb15 Bug 341877: Infrastructure to properly mark native iterator state during GC without changing public API. r=brendan 2006-06-19 22:53:51 +00:00
igor.bukanov%gmail.com
e03eb62472 Bug 341896: Call the branch callback outside GC lock. r=brendan 2006-06-19 22:46:39 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
brendan%mozilla.org
574558f96c Home ToString results before concatenating (341896, r=igor). 2006-06-18 16:27:10 +00:00
brendan%mozilla.org
3b45f3b63c Fix iterator to mark opaque state (341877, r=igor). 2006-06-18 02:04:40 +00:00
bclary%bclary.com
e9bdb84776 JavaScript Test Library - regression test for bug 341675, by Igor Bukanov 2006-06-17 04:54:08 +00:00
bclary%bclary.com
99dc9732c0 JavaScript Test Library - regression test for bug 341500, by Igor Bukanov 2006-06-17 04:46:15 +00:00
bclary%bclary.com
db2b8d2079 JavaScript Test Library - regression test for bug 341499, by Igor Bukanov 2006-06-17 04:40:13 +00:00
bclary%bclary.com
bd22b9adae JavaScript Test Library - regression test for bug 341496, by Igor Bukanov 2006-06-17 04:36:01 +00:00
bclary%bclary.com
407bdd50cc JavaScript Test Library - regression test for bug 341360, by Ted Mielczarek, Ria Klaassen 2006-06-17 04:28:35 +00:00
bclary%bclary.com
c420b4d0eb JavaScript Test Library - regression test for bug 340526, by Igor Bukanov 2006-06-17 02:58:31 +00:00
bclary%bclary.com
99032d0253 JavaScript Test Library - regression test for bug 340024, by jhs@lysator.liu.se 2006-06-17 02:47:03 +00:00
mrbkap%gmail.com
0ccee130e1 Hacky patch to allow XPConnect's global objects to participate in the JS engine's new JSCLASS_GLOBAL_FLAGS class flags. bug 339041, r=shaver, sr=sicking 2006-06-17 01:03:10 +00:00
bclary%bclary.com
f9c1cdd373 JavaScript Test Library - regression test for bug 340369, by Ria Klaassen, Gavin Sharp 2006-06-17 00:50:52 +00:00
bclary%bclary.com
aece56f10c JavaScript Test Library - regression test for bug 338709, by Seno Aiko 2006-06-16 22:32:08 +00:00
igor.bukanov%gmail.com
1b632c00b3 Bug 341675: Prevent an infinite loop in GC when a close hook create more objects with close hooks. r=mrbkap 2006-06-16 19:21:38 +00:00
igor.bukanov%gmail.com
b170611b96 Bug 341510: GC executes close hooks after the sweeping phase as a bulletproof way to prevent finalization of new live things created by the hooks. r=mrbkap 2006-06-16 19:18:50 +00:00
bclary%bclary.com
8234e4942c JavaScript Test Library - regression test for bug 339685, by Jesse Ruderman 2006-06-16 15:14:03 +00:00
bclary%bclary.com
9d749f8350 JavaScript Test Library - regression test for bug 338653, by shadowpage, Igor Bukanov 2006-06-16 14:34:56 +00:00
bclary%bclary.com
e17b40198b JavaScript Test Library - regression test for bug 338307, by TOYAMA Nao 2006-06-16 12:50:07 +00:00
igor.bukanov%gmail.com
4ebdd1094a Bug 340526: make sure during GC that all unreachable objects with close hooks are closed. r=mrbkap 2006-06-16 09:51:11 +00:00
bclary%bclary.com
84b26ca512 Bug 340036: Script tag should support version 1.7, r=mrbkap, r=peterv, sr=brendan 2006-06-15 21:47:59 +00:00
bclary%bclary.com
20bc441541 JavaScript Test Library - regression test for bug 331719, by David Baron 2006-06-15 10:51:00 +00:00
igor.bukanov%gmail.com
5c77935888 Bug 341499: The assert in js_NewGCThing about not running GC now takes into account that we allow allocation from close hooks. r=mrbkap 2006-06-15 10:42:57 +00:00
igor.bukanov%gmail.com
e43c76eb9d Bug 341496: Iterator class now tells the engine about extra slots it uses as its instances are exposed to scripts. r=mrbkap 2006-06-15 10:35:11 +00:00
igor.bukanov%gmail.com
16c92706ee Bug 340751: js_NewGCThing now contains missed checks for delayed GC after too many allocation. r=mrbkap 2006-06-15 10:28:39 +00:00
igor.bukanov%gmail.com
640729a776 Bug 340129: Bulletproof rooting of objects during sharp graph construction/usage. r=mrbkap 2006-06-15 10:14:42 +00:00
gavin%gavinsharp.com
db10e826e9 Fix bustage (forgot to check in these files for bug 337095) 2006-06-15 04:17:43 +00:00
gavin%gavinsharp.com
5c16889651 When calling from C++ out to JS, decide whether to wrap in XPCNativeWrapper based on the callee, not based on what's on the JS stack. The latter is not relevant in this case. Bug 337095, patch by bzbarsky, r=jst/mrbkap, sr=brendan 2006-06-15 03:45:18 +00:00
mrbkap%gmail.com
a9b2667c51 Add some sanity checks. bug 336410, r=igor 2006-06-15 03:26:21 +00:00
mrbkap%gmail.com
1c3b387bd2 Don't fold attribute values whose keys weren't folded since it produces invalid output. bug 340042, r=brendan 2006-06-15 03:17:34 +00:00
bclary%bclary.com
2a90e56d39 JavaScript Test Library - regression test for bug 325269, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:17:03 +00:00
bclary%bclary.com
29ca1cef11 JavaScript Test Library - regression test for bug 319980, by diablohn, WADA 2006-06-15 00:14:16 +00:00
bclary%bclary.com
5f0b183588 JavaScript Test Library - regression test for bug 313938, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:11:28 +00:00
bclary%bclary.com
83c798dd5e JavaScript Test Library - regression test for bug 313763, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:08:42 +00:00
bclary%bclary.com
3307ff6c97 JavaScript Test Library - regression test for bug 313630, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:05:51 +00:00
bclary%bclary.com
24c39aecd7 JavaScript Test Library - regression test for bug 313479, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:00:19 +00:00
bclary%bclary.com
7b841d2b8c JavaScript Test Library - regression test for bug 313276, by Igor Bukanov, a=bsmedberg for checking to closed tree 2006-06-14 23:57:40 +00:00
bclary%bclary.com
afdc0d5304 JavaScript Test Library - regression test for bug 312278, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-14 23:54:13 +00:00
bclary%bclary.com
d234f753ef JavaScript Test Library - regression test for bug 311792, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-14 23:51:15 +00:00
bclary%bclary.com
037ccbc99e JavaScript Test Library - regression test for bug 311497, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-14 23:48:08 +00:00
bclary%bclary.com
eef471d7ec JavaScript Test Library - browser automation infrastructure, no bug, not part of the build, a=bsmedberg for checkin to closed tree 2006-06-14 23:45:22 +00:00
bclary%bclary.com
026937fdca JavaScript Test Library - regression test for bug 313952, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-14 23:40:50 +00:00
bclary%bclary.com
0fe3d7aa45 JavaScript Test Library - regression test for bug 327170, by Jonas Jonsson 2006-06-14 23:34:14 +00:00
bclary%bclary.com
db60b1550d JavaScript Test Library - regression test for bug 327691, by Jesse Ruderman, a=bsmedberg for checkin to closed tree 2006-06-14 23:23:36 +00:00
bclary%bclary.com
596fd7f505 JavaScript Test Library - regression test for bug 305335, by shutdown 2006-06-14 23:17:21 +00:00
bclary%bclary.com
fc0292aa49 JavaScript Test Library - miscellaneous fixes for test automation, no bug, not part of the build, a=bsmedberg for checkin to closed tree 2006-06-14 23:14:14 +00:00
bclary%bclary.com
d5eefe02f5 JavaScript Test Library - add JavaScript 1.7 version and fix JavaScript 1.6 to browser menu, no bug, not part of the build, a=bsmedberg for checkin to closed tree 2006-06-14 23:10:47 +00:00
bclary%bclary.com
dd9101e033 JavaScript Test Library - exclude sub-categories from browser menu if all tests are excluded, no bug, not part of the build, a=bsmedberg for checkin to closed tree 2006-06-14 23:09:11 +00:00
bclary%bclary.com
4690063a69 JavaScript Test Library - fix MakeDate, bug 341554, a=bsmedberg for checkin to a closed tree 2006-06-14 19:35:19 +00:00
bclary%bclary.com
ff0e8dc4a3 JavaScript Test Library - add support for browser tests which complete after page load, bug 341550, a=bsmedberg for checkin to closed tree 2006-06-14 18:52:00 +00:00
bclary%bclary.com
6ffc7a26f1 JavaScript Test Library - add JS 1.7 tests by Jeff Walden, bug 341300, not part of the build, a=bsmedberg for checkin during tree closure 2006-06-14 18:16:46 +00:00
bclary%bclary.com
09d48daf4d JavaScript Test Library - add JS 1.7 infrastructure, bug 341300, not part of the build, a=bsmedberg for checkin during tree closure 2006-06-14 18:03:48 +00:00
mrbkap%gmail.com
6cebff1c46 Distinguish between void (VTYPE_VOID) and null (VTYPE_EMPTY). bug 341364, r=bzbarsky sr=shaver 2006-06-14 16:41:29 +00:00
igor.bukanov%gmail.com
99ed8ebc2a Bug 340129: Reverting all the commits as the tree IS CLOSED. 2006-06-13 23:06:17 +00:00
igor.bukanov%gmail.com
0a42ade42c Bug 340129: Bulletproof rooting of objects during sharp graph construction/usage. r=mrbkap 2006-06-13 22:29:31 +00:00
igor.bukanov%gmail.com
719b0db492 Bug 340129: Reverting the commit, it was the wrong patch! 2006-06-13 22:21:56 +00:00
igor.bukanov%gmail.com
59017eb846 Bug 340129: Bulletproof rooting of objects during sharp graph construction/usage. r=mrbkap 2006-06-13 22:19:55 +00:00
mrbkap%gmail.com
98997f8669 Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan 2006-06-12 22:39:55 +00:00
bzbarsky%mit.edu
024441ca86 Use a non-bogus error reporter for the subscript loader. Bug 340019, r=mrbkap,
sr=brendan
2006-06-10 00:47:40 +00:00
mrbkap%gmail.com
0e79e0fd16 Use a less complicated function to create the parent object. bug 340727, r=igor 2006-06-09 18:40:56 +00:00
mrbkap%gmail.com
fd559e119f Protect against leaked objects that have close hooks by not attempting another GC if we didn't actually call any close hooks. bug 340889, r=igor 2006-06-09 00:00:19 +00:00
igor.bukanov%gmail.com
bb6fe16e07 Bug 324533: Added missed checks for bad string buffer. 2006-06-08 18:16:10 +00:00
szegedia%freemail.hu
1f39071795 Fix for #340682 2006-06-08 07:19:24 +00:00
bclary%bclary.com
a9a87b2943 JavaScript Test Library - Add empty files required for browser based tests, bug 339835 2006-06-07 22:54:34 +00:00
mrbkap%gmail.com
26f873f113 Add some additional evalInSandbox functionality for PAC and use it there. bug 337389, r=shaver sr=darin 2006-06-07 20:21:40 +00:00
mrbkap%gmail.com
1c8b596b49 Use a shiny new API for propagating uncaught exceptions. bug 328161, r=brendan sr=shaver 2006-06-07 00:19:29 +00:00
mrbkap%gmail.com
aedf133593 Protect more properties on catch variables. bug 338709, r=brendan 2006-06-05 21:07:22 +00:00
brendan%mozilla.org
8c19983a2d DEBUG_NOT_THROWING addition for new auto-rethrow-if-exception-pending code. 2006-06-05 20:54:24 +00:00
brendan%mozilla.org
fa309dd75b Eliminate warnings, clean up assertion translation. 2006-06-05 20:35:07 +00:00
brendan%mozilla.org
7380498eab Missing error check/early return for TOK_RETURN refactoring (340369, r=mrbkap). 2006-06-05 18:38:14 +00:00
brendan%mozilla.org
928b5dc750 Fix orange balsa by landing mrbkap's patch for 326497, plus other fixes (340340, r=mrbkap). 2006-06-05 07:18:02 +00:00
brendan%mozilla.org
ba5b32f242 Coroutine generators, a la Python 2.5 (326466, r=igor). 2006-06-04 02:19:09 +00:00
dbaron%dbaron.org
5d00219a4f Add a comment, rs=brendan. 2006-06-03 02:40:02 +00:00
brendan%mozilla.org
9f083bbd2b Better failover to js_DefaultIterator if __iterator__ comes back primitive (340199, r=mrkbap). 2006-06-03 02:30:39 +00:00
brendan%mozilla.org
ff7cbca64a Get value from original object when enumerating prototype objects via for-each-in (339169, r=mrbkap). 2006-06-02 06:30:05 +00:00
mrbkap%gmail.com
8bbb081e9b Fixing some failures that were not being properly propagated. no bug, r=brendan 2006-06-02 00:51:56 +00:00
igor.bukanov%gmail.com
22783e41c9 Bug 338653: Check for JSRuntime.gcMaxMallocLimit on each allocation in js_NewGCThing to trigger GC sooner to prevent accumulation of garbage with large allocations. r=brendan 2006-06-01 22:13:56 +00:00
bryner%brianryner.com
996fc94731 Write out an inline version of isdigit() for ASCII characters - it seems to be a performance win for MSVC, and gcc is already inlining it (bug 339868) r+a=brendan 2006-06-01 20:04:29 +00:00
pedemont%us.ibm.com
3565ee7081 Bug 339871 - Scriptable nsIXPCFunctionThisTranslator uses non-scriptable nsIInterfaceInfo. r/sr=jst. 2006-06-01 19:31:39 +00:00
bclary%bclary.com
827be92fd4 JavaScript Test Library - segregate GC tests, bug 339835 2006-06-01 17:55:36 +00:00
szegedia%freemail.hu
a7a165baa1 Bugfix for #321938: Credited patch author 2006-06-01 14:30:19 +00:00
szegedia%freemail.hu
04ddc56768 Bugfix for #321938: XML and XMLList literals don't decompile correctly. Thanks to Yuh-Ruey Chen 2006-06-01 14:29:15 +00:00
brendan%mozilla.org
b390867301 Fix to cope with null __proto__ (339685, r=mrbkap). 2006-05-31 21:41:54 +00:00
igor.bukanov%gmail.com
997bc7e12b Bug 339785: When reporting errors about unknown entities in XML literals, do not include append an extra ';' to token buffer as it would not be included in the error message in any case. 2006-05-31 19:11:52 +00:00
szegedia%freemail.hu
1a1043b609 Bugfix for #324006: According to ECMA-262 15.10.6.1: RegExp.prototype.constructor == RegExp 2006-05-29 10:28:09 +00:00
szegedia%freemail.hu
d8506c6fdf Bugfix for #293958 2006-05-28 20:09:29 +00:00
szegedia%freemail.hu
7c79811986 Bugfix for #335992 2006-05-28 17:19:33 +00:00
szegedia%freemail.hu
3c3a905fdc Bugfix for #322265: clarified that you mustn't call an InterpretedFunction with null. 2006-05-28 17:15:24 +00:00
szegedia%freemail.hu
ac42960789 Fix for bug #309957 2006-05-28 16:08:05 +00:00
brendan%mozilla.org
7aab66ac5a Oops, s/NULL/JS_FALSE/. 2006-05-26 18:01:41 +00:00
brendan%mozilla.org
39933ad5a8 Avoid bad old valueOf call attempt for object-to-object conversion (339256, r=mrbkap). 2006-05-26 17:34:08 +00:00
brendan%mozilla.org
337e318004 Fix off-by-one and logic bugs conspiring against catch blocks (339262, r=mrbkap). 2006-05-25 22:23:37 +00:00
gavin%gavinsharp.com
b581167b49 Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky 2006-05-25 21:22:32 +00:00
mrbkap%gmail.com
19bfba4f52 Fix MSVC warnings about assigning a wider variable into a narrower one resulting from the checkin for bug 338678. r=brendan 2006-05-24 21:07:55 +00:00
mrbkap%gmail.com
a42278ba05 Use the correct scope chains when creating iterator objects and StopIteration exceptions to prevent weird object from breaking iteration. bug 338307, r=brendan 2006-05-24 20:26:54 +00:00
benjamin%smedbergs.us
4b0b5e50d7 Bug 339008 - Static string in xpconnect makes libxul builds crash, r=mrbkap with a nit by timeless 2006-05-24 13:35:37 +00:00
bclary%bclary.com
2fa6242e31 JavaScript Test Library - Regression test for bug 304376. Remove incorrect check for constructor name 2006-05-24 06:24:40 +00:00
bclary%bclary.com
e6c2bf9b97 Bug 336686 - js shell - add pdb files for debugging on windows, r=mrbkap 2006-05-24 05:51:22 +00:00
igor%mir2.org
3df7a16da3 Bug 338804: Making rooting bulletproof. r=mrbkap,sr=brendan 2006-05-23 07:54:17 +00:00
bclary%bclary.com
4fe17a2aa1 JavaScript Test Library - Regression test for bug 336100, fix shell test 2006-05-23 02:43:32 +00:00
brendan%mozilla.org
267d7d8156 Make anonymous classes really anonymous given self-identified global objects (326466, r=mrbkap). 2006-05-22 23:36:32 +00:00
mrbkap%gmail.com
44ffcbf617 Instead of having a source note per variable type, use a single source note with an immediate operand. bug 336378, r=brendan 2006-05-22 23:33:57 +00:00
igor%mir2.org
65028a8035 Bug 338678: For source compatibility fields "uint16 extra,spare" in JSFunctionSpec are replaced by singe "uint32 extra". In this way we do need to update the current sources that list just 5 fields to include the additional ",0" corresponding to "spare" field. To quell GCC warnings all sources that list less then 5 fields of JSFunctionSpec are updated to explicitly list all 5 fields. r=mrbkap, s=brendan 2006-05-22 22:58:31 +00:00
mrbkap%gmail.com
5b7def9e09 fp->thisp can point to a primitive tagged jsval now, so test that before treating it as a GC thing. bug 336804, r=brendan 2006-05-22 22:46:07 +00:00
mrbkap%gmail.com
9de0c9222c Look before we leap: check to make sure that we don't overwrite readonly properties on catch variables. bug 338709, r=brendan 2006-05-22 21:54:54 +00:00
bclary%bclary.com
6f8d81f8e9 Regression test for bug 333728, by Andreas 2006-05-22 01:06:34 +00:00
brendan%mozilla.org
bcf6aea253 First big wave of js1.7 changes (326466, 336376, r=mrbkap). 2006-05-20 22:27:28 +00:00
igor%mir2.org
3d11ecfc91 Bug 312238: using thread-local pool to speedup the allocation of GC things. This is a version of the original patch from Feng Qian <feng.qian.moz@gmail.com> with changes by Brendan and my tunings. r=feng.qian.moz,sr=brendan 2006-05-19 10:25:36 +00:00
igor%mir2.org
c5ae726feb Bug 312238: reverting untill build problems will be sort out. 2006-05-19 09:35:11 +00:00
igor%mir2.org
7a46b5ba6f Bug 312238: using thread-local pool to speedup the allocation of GC things. This is a version of the original patch from Feng Qian <feng.qian.moz@gmail.com> with changes by Brendan and my tunings. r=feng.qian.moz,sr=brendan 2006-05-19 09:31:32 +00:00
brendan%mozilla.org
24ab9e005f Beef up sanity checking (338121, r=mrbkap). 2006-05-18 17:12:14 +00:00
szegedia%freemail.hu
293bce7b4b Implementing Serializable so that continuations captured within a "with" block can be serialized. 2006-05-17 08:23:14 +00:00
mrbkap%gmail.com
0fa46c65df Avoid going through js_LookupProperty for well-known access checks (in particular, __parent__ and __proto__) both for perf wins and to make sure that we check the value that we're asking for. bug 336875, r=brendan 2006-05-16 14:47:28 +00:00
brendan%mozilla.org
70f1347e9f Add integer overflow checking (338001, r=mrbkap). 2006-05-16 09:22:55 +00:00
szegedia%freemail.hu
71505e0715 Fix for #326563: documentation clarification 2006-05-13 11:23:00 +00:00
szegedia%freemail.hu
2a4ca757b6 Fix for 318305: ScriptOrFnNode class reports bad end line number 2006-05-12 12:43:46 +00:00
igor%mir2.org
278c093be5 Bug 312238: Move GC arena initialization/cleanup code to NewGCArena/ DestroyGCArena to simplify js_NewGCThing/js_GC. r=brendan r=feng.qian.moz 2006-05-12 08:21:44 +00:00
igor%mir2.org
9c172158d2 Bug 337407: Make sure that js_NewGCThing initializes the flag byte even after js_PushLocalRoot failure. r=brendan 2006-05-11 22:48:51 +00:00
timeless%mozdev.org
c8f43f6564 Bug 335315 Null pointer dereference in [@ _newJSDContext]
patch by rflint@dslr.net r=rginda sr=brendan
2006-05-11 13:19:45 +00:00
mrbkap%gmail.com
e7695293dd Temporarily backing this change out to fix bug 336100, r=brendan approval for the closed-tree checkin from bz 2006-05-11 02:43:38 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
brendan%mozilla.org
ccc85b3ed6 iteration protocol + simple generators (after PEP-255), v6 (326466). 2006-05-10 01:50:12 +00:00
mrbkap%gmail.com
f50ceb399b Use __applyConstructor__ to allow for an arbitrary number of parameters to be passed to native constructors. bug 331429, r=brendan 2006-05-09 19:23:39 +00:00
bclary%bclary.com
c8ed6c412d JavaScript Test Library - regression test for bug 336100, by Jim Grandy, not part of the build. 2006-05-09 18:58:52 +00:00
igor%mir2.org
dc82ea8c0e Bug 336376: I reverted the commit as the tree is closed! 2006-05-09 03:01:30 +00:00
igor%mir2.org
544353a33f Bug 336376: Keywords are treated as identifiers in object literals or after '::', '.', '..' unless they are part of namespace prefix. I.e. now {try: 1}, obj.delete(), xml..in, ns::new are valid while xml.try::elem is not allowed and xml.function::child continues to refer to the method named child. r=brendan 2006-05-09 02:26:27 +00:00
szegedia%freemail.hu
a59ec892da Adding XML to the optional excluded name 2006-05-07 12:51:44 +00:00
timeless%mozdev.org
7c907ec27a Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=rginda sr=bz
2006-05-07 01:31:33 +00:00