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
timeless%mozdev.org
36a8d6a84e
Bug 334196 nsXPCWrappedJSClass::GetNamedPropertyAsVariant returns an unitialized value when JS_ValueToId fails
...
r=jst sr=jst
2006-05-06 22:37:05 +00:00
timeless%mozdev.org
3d2bf4ae10
Bug 334194 XPC_WN_Helper_Mark returns unitialized value
...
r=jst sr=jst
2006-05-06 22:34:46 +00:00
timeless%mozdev.org
ce1d6f5c30
Bug 334204 XPCConvert::JSValToXPCException is too cautious
...
r=mrbkap sr=jst
2006-05-06 22:26:39 +00:00
cbiesinger%web.de
51a89a8b1e
bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
...
associated code. These options do not really work anymore.
r=bsmedberg
2006-05-06 17:53:51 +00:00
bclary%bclary.com
58b2813057
JavaScript Test Library - fix UTF8 detection by Michael Daumling, bug 232182
2006-05-06 04:15:06 +00:00
mrbkap%gmail.com
e8c803bd1e
Expand the checks to more cases. bug 336601, r+a181=brendan a=dveditz
2006-05-05 23:29:37 +00:00
mrbkap%gmail.com
9fa33e3770
Expand the checks to more cases. bug 336601, r+a181=brendan a=dveditz
2006-05-05 23:17:22 +00:00
mrbkap%gmail.com
00f677e640
OBJ_CHECK_ACCESS on call objects will return v = JSVAL_VOID since call objects don't have Object.prototype in their prototype. bug 336560, r=brendan
2006-05-05 08:08:56 +00:00
mrbkap%gmail.com
d807f17350
Create a safe version of js_ComputeThis that does access checks up the scope chain and bails if there's a failure. Use js_SafeComputeThis in places where its needed. bug 319263, r+a181=brendan
2006-05-04 06:46:27 +00:00
brendan%mozilla.org
a0b076d854
Keep cached class objects coherent with global properties mapping same (336054, r=shaver).
2006-05-02 05:50:28 +00:00
mrbkap%gmail.com
27b5f3a944
Tab patrol
2006-05-02 00:20:31 +00:00
brendan%mozilla.org
538e9fb7b0
Tab and style policing.
2006-05-01 22:25:19 +00:00
mrbkap%gmail.com
fc083d22f5
Don't assume that mWrapper is non-null, since it can be null when we're dealing with a wrapped prototype. bug 335731, r+sr=jst
2006-04-29 01:02:37 +00:00
dbaron%dbaron.org
3df5f58ee9
Fix recently introduced reference leak. b=335785 r=mrbkap sr=jst
2006-04-29 00:23:45 +00:00
brendan%mozilla.org
07e73ba791
Avoid strict warning set-up costs if strict option is off (335700, r=mrbkap).
2006-04-28 18:50:40 +00:00
brendan%mozilla.org
ec58ef8486
Fixed another JSVERSION_1_2 removal botch that broke splice (325951 regression, but see 326466 for the report).
2006-04-28 00:20:44 +00:00
mrbkap%gmail.com
1e7cde7835
Make typeof (0, undef) throw a reference error. bug 333728, r=brendan
2006-04-27 23:49:51 +00:00
mrbkap%gmail.com
f952f6ded0
Finish checking in bug bug 331429 (r=brendan). I forgot to check this in.
2006-04-27 20:50:28 +00:00
brendan%mozilla.org
2e05c97889
Awesome patch from Andreas <mqmq87@web.de> to avoid creating unnecessary objects for primitives being operated on via methods (334261, r=me).
2006-04-27 17:58:55 +00:00
igor%mir2.org
3f2ce53374
Bug 325951: All keywords are JSVERSION_DEFAULT as we no longer support JS < 1.5. r=mrbkap
2006-04-27 08:04:40 +00:00
bclary%bclary.com
bb57d1b736
JavaScript Test Library - obsolete version dependent tests, bug 325951
2006-04-27 07:29:36 +00:00
mrbkap%gmail.com
07ab557f71
More nukage of private API usage.
2006-04-27 01:33:45 +00:00
brendan%mozilla.org
4e8f899939
Don't use private APIs, please.
2006-04-27 01:22:24 +00:00
brendan%mozilla.org
c0cd5cc0b5
js_MarkStackFrame prototype, for bug 326466 pre-patch that already landed.
2006-04-27 00:46:30 +00:00
brendan%mozilla.org
0667cc1d4c
Prep patch for iterators and generators (326466, r=mrbkap).
2006-04-27 00:39:43 +00:00
brendan%mozilla.org
3595b88dc7
Foopy
2006-04-26 23:31:54 +00:00
brendan%mozilla.org
45adb0b200
Oops.
2006-04-26 22:34:00 +00:00
mrbkap%gmail.com
0cf9f4ba99
Protect against an overly-large length. Patch from brendan, bug 335535, r=mrbkap
2006-04-26 21:46:53 +00:00
mrbkap%gmail.com
05a259f259
Comments should match reality.
2006-04-26 21:44:27 +00:00
brendan%mozilla.org
916f80bcda
Major simplification to jsconfig.h, dropping support for all ancient bug config and almost all pre-ECMA-Edition-3 feature config (325951, r=mrbkap).
2006-04-26 21:33:01 +00:00
bclary%bclary.com
1dc3e25c92
JavaScript Test Library - add support for selecting product during tests, no bug, not part of the build
2006-04-26 20:00:13 +00:00
mrbkap%gmail.com
fcb69da993
When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst
2006-04-26 19:53:27 +00:00
bclary%bclary.com
75f2a4882b
JavaScript Test Library - apply with null this parameter passes the global object as this, bug 306591
2006-04-26 06:33:40 +00:00
bclary%bclary.com
1f1d7e8dfa
JavaScript Test Library - remove push, pop, shift, splice tests, bug 312385
2006-04-26 06:15:13 +00:00
brendan%mozilla.org
c0afb8d783
Fix eager standard class init to control recursion through lazy paths, and re-enable the dreaded XXXMLM assertion in JS_InitClass (334834, r=mrbkap).
2006-04-25 21:00:36 +00:00
bclary%bclary.com
302fd19827
JavaScript Test Library - improve jsDriver.pl timeout handling (bug 335397, r=mrbkap)
2006-04-25 18:10:33 +00:00
mrbkap%gmail.com
d5be5a4723
Backing out bug 326497 again to see if it fixes the problems that we're seeing with us not recognizing functions set on [classname].prototype.
2006-04-24 19:27:25 +00:00
bclary%bclary.com
64667d0f59
Regression test for bug 328012, by Jesse Ruderman
2006-04-24 01:02:43 +00:00
bclary%bclary.com
73ac16348c
Regression test for bug 334807, by Andreas
2006-04-24 00:47:59 +00:00
igor%mir2.org
5759cafb55
Bug 324278: Set by default the stack limit quota to 500000 for js shell. r=brendan
2006-04-23 19:23:53 +00:00
igor%mir2.org
c96d4c8210
Bug 334929: tuning JS_MaybeGC so it would trigger GC less often on the browser start-up to match the behaviors before I committed patched from bug 312238 to change nature of rt->gc(Private)?Bytes. r=brendan
2006-04-23 14:45:10 +00:00
bclary%bclary.com
14c95ee840
Regression test for bug 333541, by Biju
2006-04-23 13:00:58 +00:00
bclary%bclary.com
d7b08ce806
Regression test for bug 334158, by Andreas
2006-04-23 12:20:05 +00:00
bclary%bclary.com
918ad25b23
Regression test for bug 331558, by Erik Fabert
2006-04-23 11:45:17 +00:00
bclary%bclary.com
de0f332433
Regression test for bug 324278, by Igor Bukanov
2006-04-23 11:09:58 +00:00
bzbarsky%mit.edu
c5f4268fcb
Fix leak. Bug 334898, patch by Ryan Flint <rflint@dslr.net>, r=mrbkap, sr=bzbarsky
2006-04-21 21:23:46 +00:00
brendan%mozilla.org
b9727d2b3d
Fix 334807 (r=mrbkap).
2006-04-21 11:08:18 +00:00
neil%parkwaycc.co.uk
13b0235496
--disable-xpcom-fastload breaks JS component loader b=334849 r=shaver sr=brendan
2006-04-21 09:46:00 +00:00
brendan%mozilla.org
3e30b0dbae
Revert to comment out the XXXMLM mystery assert.
2006-04-21 07:47:06 +00:00
brendan%mozilla.org
8259bdb3cd
Remove non-standard and not-for-public-use With (304376 followup).
2006-04-21 07:14:29 +00:00
igor%mir2.org
f63b1ca6f0
Bug 312238: gcBytes and gcPrivateBytes from JSRuntime now means the total
...
amount of memory allocated by GC arenas, not the size of allocated things
which does not include the memory taken by free GC cells. This simplified
accounting and allows to implement lock-less allocation of GC things.
2006-04-20 15:33:35 +00:00
brendan%mozilla.org
3164d9ab80
Final (I hope) followup patch (304376, r=mrbkap).
2006-04-20 05:18:09 +00:00
brendan%mozilla.org
da86244695
Fix brain-damaged code from last checkin (r=mrbkap).
2006-04-20 01:17:06 +00:00
brendan%mozilla.org
1734f2c734
Second half of fix for 304376 (r=mrbkap).
2006-04-19 23:36:16 +00:00
dbaron%dbaron.org
4fd4c8fc7c
Call SetName so we don't have an XPCCallContext in a bad state. b=334104 r=dbradley sr=jst
2006-04-19 22:00:31 +00:00
gavin%gavinsharp.com
c8c5efd97f
Bug 334180: backport pldhash -> jsdhash of win32 fastcall support, rev. 1, patch by bsmedberg, r=brendan
2006-04-19 20:34:56 +00:00
bclary%bclary.com
5da9633f8e
JavaScript Test Library - Regression test for bug 234389, add expected exit code 3 for 'too much recursion' error, remove old -n version of test.
2006-04-19 03:12:26 +00:00
bclary%bclary.com
4e9ba2ba66
JavaScript Test Library - tweak reporting to improve automated test comparisons, no bug
2006-04-19 03:03:12 +00:00
bclary%bclary.com
76b89d9191
JavaScript Test Library - Regression test for bug 330352
2006-04-19 02:58:42 +00:00
bclary%bclary.com
c29f6adc76
JavaScript Test Library - Regression test for bug 319872, by Georgi Guninski
2006-04-19 02:56:29 +00:00
bclary%bclary.com
945d6e3a37
JavaScript Test Library - Regression test for bug 316885, by Igor Bukanov
2006-04-19 02:53:38 +00:00
bclary%bclary.com
a79f219015
JavaScript Test Library - Regression test for bug 315974, by Michael Daumling
2006-04-19 02:49:49 +00:00
bclary%bclary.com
d05efd6f2b
JavaScript Test Library - Regression test for bug 312385
2006-04-19 02:35:10 +00:00
brendan%mozilla.org
dcf53bc38a
Oops.
2006-04-19 00:57:03 +00:00
brendan%mozilla.org
705725e02f
Memoize standard class.prototype bindings, per ECMA-262 (304376, r=mrbkap).
2006-04-19 00:22:43 +00:00
dbaron%dbaron.org
c6e5aec25e
Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan
2006-04-18 18:30:50 +00:00
mrbkap%gmail.com
a9e8f95b55
Use the right object constructors. bug 334024, r=brendan
2006-04-18 18:12:53 +00:00
igor%mir2.org
624cae247a
Bug 331598: The tail recursion elimination in MarkGCThingChildren is simplified.r=brendan
2006-04-18 07:25:37 +00:00
bclary%bclary.com
a3d034cd75
Remove regression test for bug 322177 since it is WONTFIX
2006-04-18 06:38:55 +00:00
brendan%mozilla.org
f423f359b1
Random trailing space search.
2006-04-18 04:41:24 +00:00
brendan%mozilla.org
10cbbda3cf
Patch from Feng Qian <feng.qian.moz@gmail.com> with assist from Igor, based on ancient patch from me, to factor per-thread state from JSContext into JSThread to support per-thread lock-free GC allocation (312238, r=me).
2006-04-18 01:41:54 +00:00
mrbkap%gmail.com
2d7096065f
Fix use of uninitialized fp.
2006-04-18 01:34:38 +00:00
mrbkap%gmail.com
e343a97818
Fix off-by-one error while parsing control escape sequences. bug 334158, patch by Andreas <mqmq87@web.de>, r=mrbkap
2006-04-18 00:10:27 +00:00
mrbkap%gmail.com
45f0829287
Split out construction code from the interpreter proper and share it between the js_Interpret and a new Narcissus-only function on Function.prototype (__applyConstructor__). This allows Narcissus to call a native constructor with an array of arguments, like Function.prototype.apply. bug 331429, r=brendan
2006-04-17 23:36:31 +00:00
dbaron%dbaron.org
849f97dd03
Fix mismatched allocators. b=334162 r+sr=jst
2006-04-17 23:03:51 +00:00
brendan%mozilla.org
66aaeb15a5
Fix int constant precedent (333541, r=mrbkap).
2006-04-16 05:10:10 +00:00
brendan%mozilla.org
33af4e7a97
Add exec-time ecmaStrictMode flag and use it to allow 'for (i in null)' and the like.
2006-04-15 05:02:08 +00:00
mrbkap%gmail.com
3fda3a292b
-- Allow the DOM script object factory to turn XPConnect return values into proper nsIException objects.
...
-- Make nsDOMClassInfo::ThrowJSException never throw null as an exception.
-- Make XPCException::ToString grab the description of the result as well as the name.
r+sr=jst
2006-04-15 00:37:51 +00:00
mrbkap%gmail.com
ee5ae83517
Only avoid calling toObject when v is null. bug 333911, r=brendan
2006-04-14 18:14:43 +00:00
mrbkap%gmail.com
cde0d2439f
Don't throw when given |for (i in null)| to match SpiderMonkey and to match users' expectations. bug 333911, r=brendan
2006-04-13 22:49:56 +00:00
bclary%bclary.com
15b95f62a1
JavaScript Test Library - Regression test for bug 327534, by Jesse Ruderman
2006-04-11 18:36:46 +00:00
bclary%bclary.com
4c6955719e
JavaScript Test Library - Regression test for bug 331664, by Brendan Eich
2006-04-11 18:29:29 +00:00
bclary%bclary.com
b27ebeec48
JavaScript Test Library - Regression test for bug 332472, by Wladimir Palant
2006-04-11 18:18:11 +00:00
bclary%bclary.com
b185ee48c3
JavaScript Test Library - regression test for bug 328443, by Jesse Ruderman
2006-04-11 18:04:48 +00:00
bclary%bclary.com
49530f6507
JavaScript Test Library - Regression test for bug 330812, by Igor Bukanov
2006-04-11 17:53:02 +00:00
bclary%bclary.com
3eac92ea2b
JavaScript Test Library - Regression test for bug 328664, by Hermecz Vajk
2006-04-11 17:42:02 +00:00
bclary%bclary.com
46def5be45
JavaScript Test Library - tweak section 6 to not depend on whitespace settings, no bug, not part of the build
2006-04-11 17:05:14 +00:00
jst%mozilla.jstenback.com
f4f7012c0b
Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2006-04-11 03:49:44 +00:00
mrbkap%gmail.com
7970a7888a
Try fixing bug 326497 again, this time allowing DOM constructors to be wrapped in cross-domain settings, since some of them can be used (e.g., Location). r+sr=jst for the DOM bits, r=brendan sr=shaver for the XPConnect bits.
2006-04-10 21:40:28 +00:00
brendan%mozilla.org
2c653c4861
Duh... (333398, r=mrbkap).
2006-04-10 05:35:12 +00:00
silver%warwickcompsoc.co.uk
a7f77479db
Bug 332514 - Don't allow null argument to Sandbox constructor. r=brendan sr=jst
2006-04-08 22:04:40 +00:00
bclary%bclary.com
95ccbc1e1d
Update JS_GetImplementationVersion() date string (bug 67111, r=brendan)
2006-04-07 16:04:45 +00:00
bclary%bclary.com
dc0d9ca6bf
jsDriver.pl - add new options (-K|--linefail)(-T|--timeout) seconds, (bug 331478, r=mrbkap)
2006-04-07 15:58:32 +00:00
brendan%mozilla.org
73ab09a55c
Fix thread- and GC-safety bugs in js_GetAnyName and its evil twin (331782, 325526, r=mrbkap).
2006-04-06 20:24:24 +00:00
brendan%mozilla.org
d911007cfc
Fix uneval on E4X objects (327534, r=mrbkap).
2006-04-06 20:15:24 +00:00
gavin%gavinsharp.com
c1c8fbfcac
Bug 314529: E4X: delete operator misses some descendants - e4x/Types/9.1.1.3.js, patch by Erik Fabert <jerfa@email.it>, r=brendan
2006-04-06 13:04:54 +00:00
gavin%gavinsharp.com
d0dee808f7
Bug 330319: Remove duplicate string constants in jsnum.c, patch by Erik Fabert <jerfa@email.it>, r=brendan
2006-04-06 13:02:03 +00:00
gavin%gavinsharp.com
0ce6c36fee
Bug 331203: Result of Math.pow(NaN, 0) should be 1, patch by Erik Fabert <jerfa@email.it>, r=brendan
2006-04-06 04:49:20 +00:00
dbaron%dbaron.org
e94b49b6af
Root across calls to JS_SetElement and JS_SetProperty. b=331667 r=jst,dbradley sr=brendan
2006-04-05 21:34:16 +00:00
dbaron%dbaron.org
04b8c33eda
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00