Commit Graph

7548 Commits

Author SHA1 Message Date
timeless%mozdev.org
a74aa18941 Bug 326961 JS_BeginRequest should JS_ASSERT(cx->thread == js_GetCurrentThreadId())
r=brendan r=mrbkap
2006-03-12 09:38:06 +00:00
timeless%mozdev.org
376cbca96e Bug 329749 Did JS_SealObject mean to call JS_UNLOCK_OBJ instead of JS_UNLOCK_SCOPE ?
r=brendan
2006-03-12 09:35:52 +00:00
mrbkap%gmail.com
390716870f VC8 doesn't like the copyright sign in jscompat.h. Issue found by jshin, bug 328589, r=gerv/mrbkap 2006-03-11 04:05:13 +00:00
mrbkap%gmail.com
68ad7cb404 Use __declspec(dllexport/dllimport) on OS/2. Patch from Andy Willis <abwillis1@gmail.com>, bug 301064, r=mrbkap 2006-03-11 01:35:21 +00:00
timeless%mozdev.org
e0b0545c82 Bug 329754 three coverity complaints about jsj_JSObject.c
r=mrbkap sr=bz
2006-03-10 20:44:48 +00:00
timeless%mozdev.org
01f774de17 Bug 330000 Coverity complains that simple_name can not be null in the loop in pre_define_java_packages
r=mrbkap sr=bz
2006-03-10 19:05:19 +00:00
timeless%mozdev.org
1f363c2e7a Bug 329870 Coverity complains that jsj_EnterJava uselessly null checks envp
r=mrbkap sr=bz
2006-03-10 01:06:06 +00:00
timeless%mozdev.org
29d9267216 Bug 329879 Coverity complains that QName null checks argv after asserting it can't be null
r=brendan
2006-03-09 23:59:40 +00:00
timeless%mozdev.org
eabbe1a513 Bug 329877 Coverity complains that js_ErrorToException dereferences reportp before null checking
r=brendan
2006-03-09 23:58:35 +00:00
igor%mir2.org
9ed4227b6b Bug 328896: Cleanup of tail recursion elimination for MarkGCThing/MARK_GC_THING from jsgc.c. r=brendan 2006-03-09 06:57:01 +00:00
timeless%mozdev.org
6e915855cc Bug 329752 Coverity complains that Statement missed one null check of NewParseNode
r=brendan
2006-03-08 17:17:43 +00:00
timeless%mozdev.org
f33a8fbf21 Bug 329751 Coverity doesn't think obj_eval should null check caller->pc
r=brendan
2006-03-08 17:15:29 +00:00
timeless%mozdev.org
5287fd9a7d Bug 329727 Coverity doesn't like ReportError in jscntxt because it pretends reportp could be null
r=mrbkap
2006-03-08 06:16:33 +00:00
bclary%bclary.com
d9589981d2 Regression test for bug 329383, by Brendan Eich 2006-03-07 23:50:49 +00:00
brendan%mozilla.org
61309696b5 Work around MSVC6/7.1 copysign bustage (329383, tachyonal r=mrbkap). 2006-03-06 01:32:55 +00:00
brendan%mozilla.org
ff5c26ae8b No C++ comments in C code. 2006-03-04 20:44:38 +00:00
mrbkap%gmail.com
17ad69885b Use libm, not fdlibm, on all/most platforms. bug 326842, patch from Josh Aas, r=brendan/shaver 2006-03-04 03:58:55 +00:00
daumling%adobe.com
d5368ac242 Bug 232182: Backed out bad fix causing leaks 2006-03-03 07:03:53 +00:00
bclary%bclary.com
a6660394f9 Regression test for bug 325925, by Blake Kaplan 2006-03-03 05:59:24 +00:00
bclary%bclary.com
e86dd357ac Regression test for bug 328556, by Jesse Ruderman. No bug, not part of the build 2006-03-03 05:53:30 +00:00
bclary%bclary.com
ae1db527de Regression test for bug 327608, make sure to call reportCompare in the onload handler 2006-03-02 22:33:28 +00:00
bclary%bclary.com
097f458033 Regression test for bug 254296 - tweak reportCompare, no bug not part of the build 2006-03-02 22:30:31 +00:00
bclary%bclary.com
f09f68d0c2 Regression Test for bug 324422, correct syntax error, no bug, not part of the build 2006-03-02 22:07:10 +00:00
bclary%bclary.com
9aff67fad1 Regression Test for bug 323338 - add missing TEST(), no bug, not part of the build 2006-03-02 22:05:18 +00:00
bclary%bclary.com
2431d2fe01 JavaScript Test Library - improve basic gc emulation when other method are unavailable, thanks to Igor Bukanov. no bug, not part of the build 2006-03-02 22:00:11 +00:00
brendan%mozilla.org
9875e92b3a Finish separating gcMaxMallocBytes, account for scope hashtables in gcMallocBytes (319980, r/sr=mrbkap/bz). 2006-03-02 20:47:04 +00:00
brendan%mozilla.org
060e4a57c2 Fast followup to allow arbitrary nesting (328897, r=mrbkap). 2006-03-02 20:05:49 +00:00
brendan%mozilla.org
e18de632ae Fix JS_ReportPendingException to when cx has active frames (328897, r=mrbkap). 2006-03-02 20:00:47 +00:00
brendan%mozilla.org
e2a19648cc Never mind. 2006-03-01 20:37:43 +00:00
brendan%mozilla.org
297ef45fb3 Need another auto-mark thingie (326615, r=mrbkap). 2006-03-01 20:34:49 +00:00
neil%parkwaycc.co.uk
6b3d137802 Followup patch to bug 207327 to move the "service" string from the name to the value of the category entry where it is interpreted to belong r=timeless sr=bz 2006-02-28 17:36:58 +00:00
brendan%mozilla.org
ec5bd67e2b Local auto-marker needed (326615, r=mrbkap). 2006-02-28 07:41:01 +00:00
mrbkap%gmail.com
09b149ed2f Flatten before ever reaching CheckCycle, since the way things currently are, it could receive lists of arbitrary length. bug 328769, r=brendan 2006-02-27 20:33:56 +00:00
mrbkap%gmail.com
4500ca30ad Don't optimize globals access in eval and debugger frames. bug 328765, r=brendan 2006-02-27 20:23:04 +00:00
mrbkap%gmail.com
86ab12560e Inspect the correct position in our input stream. bug 325925, r=brendan 2006-02-27 19:14:15 +00:00
igor%mir2.org
1b5685357f Bug 328556: Proper accounting for growth in array_join_sub when reallocating
chars array. r=mrbkap
2006-02-27 17:32:22 +00:00
timeless%mozdev.org
552ca722ee Bug 327605 [@ JSD_GetContextFlags - jsdService::GetFlags]
r=rginda
2006-02-27 04:17:08 +00:00
bclary%bclary.com
5756f43ba9 Regression test for bug 328249, by Jesse Ruderman 2006-02-26 08:49:46 +00:00
bclary%bclary.com
80ce31944f Regression test for bug 327897, by Jesse Ruderman 2006-02-26 08:30:54 +00:00
bclary%bclary.com
1bdeb3fb93 Regression test for bug 327697, by Jesse Ruderman 2006-02-26 08:17:21 +00:00
bclary%bclary.com
8dc377f8b0 Regression test for bug 327608, by Jesse Ruderman 2006-02-26 08:00:53 +00:00
bclary%bclary.com
ba91f8794b Regression test for bug 327564, by Jesse Ruderman, Brendan Eich 2006-02-26 07:50:53 +00:00
bclary%bclary.com
9b11a71259 Regression test for bug 326467, by Alex Vincent, Blake Kaplan 2006-02-26 07:37:01 +00:00
brendan%mozilla.org
d57b325123 Back out last checkin pending better fix (327869). 2006-02-24 23:18:05 +00:00
mrbkap%gmail.com
fd12db55c4 Clean up a bracing nitpick. 2006-02-24 22:12:32 +00:00
benjamin%smedbergs.us
09d9e206b4 Bug 78081 - don't export intermediate libs, initial tree-wide changes blanket-r=mento 2006-02-24 17:50:29 +00:00
daumling%adobe.com
23dac53a6f Bug 327869: Implement brute-force fix for Windows strftime() 2006-02-24 03:37:46 +00:00
daumling%adobe.com
663a0df9ff Bug 328373: Create local variable and copy value to suppress compiler warning 2006-02-24 03:29:57 +00:00
mrbkap%gmail.com
19da7e1561 Detect cycles even when we're inserting a degenerate list of length 1. bug 328249, r=brendan 2006-02-23 23:00:23 +00:00
mrbkap%gmail.com
e9c0b72378 Don't wrap E4X values in XPCWrappedJS since E4X objects have weird semantics, which cause us trouble both elsewhere in XPConnect, and even in the DOM code. bug 327697, r=brendan sr=shaver 2006-02-23 22:21:08 +00:00
igor%mir2.org
032597fa19 Bug 328294: After enumeration that removes hashtable entries,
the hashtable is shrinked only once. r=brendan
2006-02-23 22:20:27 +00:00
igor%mir2.org
11e703be51 Bug 328106: Removal of HT_ENUMERATE_UNHASH. Its implementation had a bug
for 11 years which is a good demonstration that it has never been used.
2006-02-23 10:11:17 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com
80e9555b10 Propagate the proper fp, fun, and variables object to special frames so as to not confuse the optimizer and split the common code that does this into a common function from the 3 places that currently do it. r=brendan 2006-02-23 02:17:04 +00:00
brendan%mozilla.org
ee6e1f5b38 Fix botch in JS_InitClass that passed several rounds of code review. 2006-02-22 23:03:37 +00:00
mrbkap%gmail.com
19d24e194f The end request needs to happen before the context gets destroyed -- use C++ to ensure that. bug 328044, r+sr=brendan 2006-02-22 19:58:31 +00:00
mrbkap%gmail.com
6506658eb0 The end request needs to happen before the context gets destroyed -- use C++ to ensure that. bug 328044, r+sr=brendan 2006-02-22 19:48:45 +00:00
brendan%mozilla.org
a41ae51dbd Fix an initially hard-to-see bug reported by daumling@adobe.com, plus another one mentioned by mrbkap (327941, r=mrbkap). 2006-02-22 06:09:09 +00:00
brendan%mozilla.org
e0a72c8d75 Separate gcMaxBytes from gcMaxMallocBytes and unconstrain the former for Mozilla code (317865, r/sr=mrbkap/shaver). 2006-02-22 05:52:13 +00:00
mrbkap%gmail.com
e5f4ae3a79 Don't assume that JS_ValueToString is infallible. bug 327897, r=brendan 2006-02-22 03:51:09 +00:00
mrbkap%gmail.com
20f04c4bc5 If the wrapper has no prototype, but we have a proto, then it can't be our target wrapper, so skip it. bug 327597, r=jst sr=bzbarsky 2006-02-22 03:48:33 +00:00
brendan%mozilla.org
98294403d3 Fixed typo that left JS_CallFunctionName returning true always, not ok (328037, r=mrbkap). 2006-02-22 03:06:00 +00:00
mrbkap%gmail.com
18fbdccf2c If the this object in a call is not an XPCNativeWrapper, ignore the call instead of crashing. bug 327686, r=brendan sr=bzbarsky 2006-02-22 02:25:24 +00:00
dbaron%dbaron.org
e7d4c69c47 Root new function objects before calling JS_SetReservedSlot on them. b=307560 r=brendan sr=jst 2006-02-22 00:50:47 +00:00
dbaron%dbaron.org
37ba66391b Root cloned function object before calling WrapFunction on it. b=327716 r=jst sr=brendan 2006-02-22 00:49:55 +00:00
mrbkap%gmail.com
39ffe32d28 Support ppc<->x86 cross builds for Mac OS X. bug 322578, patch from Mark Mentovai <mark@moxienet.com>, r=bsmedberg r=cls sr=bryner 2006-02-21 22:03:20 +00:00
igor%mir2.org
75fa05d813 Bug 327129: To calculate ceil(log2(n))/floor(log2(n)) under GCC >=3.4 use
__builtin_clz or count-leading-zeros. r=brendan
2006-02-21 11:28:28 +00:00
igor%mir2.org
8918b3bb16 Bug 327896: JS_STATIC_ASSERT is now used to assert constant conditions during compilation time instead of waiting for runtime to check for JS_ASSERT. r=brendan 2006-02-21 10:27:50 +00:00
igor%mir2.org
b0dd4155c8 Bug 327129: Reverting the previous commit as it broke GCC builds of
firefox.
2006-02-20 10:12:03 +00:00
igor%mir2.org
1f804796e0 Bug 327129: To calculate ceil(log2(n))/floor(log2(n)) under GCC use
__builtin_clz or count-leading-zeros. r=brendan
2006-02-20 08:57:53 +00:00
daumling%adobe.com
c706f9b353 Bug 232182: Added copying of Unicode elements in js_ExpandErrorArguments() 2006-02-20 07:44:25 +00:00
daumling%adobe.com
2d90931631 Bug 318402: Replaced JS_STRINGS_ARE_UTF* with JS_C_STRING_ARE_UTF8 2006-02-19 17:52:56 +00:00
daumling%adobe.com
906d696d79 Bug 315974: JSprintf functions cannot print jschar characters and strings 2006-02-18 07:13:16 +00:00
daumling%adobe.com
3b13b7c632 Bug 326201: Added build rule for jskwgen.o/.obj 2006-02-18 06:33:31 +00:00
mrbkap%gmail.com
7a993a2c0c We won't always find the prototype property, especially if our __proto__ has been cut off. bug 327608, r=brendan 2006-02-18 03:02:32 +00:00
mrbkap%gmail.com
736fd2d205 Protect the sandbox object from GC and make the sandbox code request-safe. bug 265740, r=brendan sr=jst 2006-02-18 03:00:33 +00:00
mrbkap%gmail.com
d1a1bae1b7 Make toString mirror GetOrSetProperty in how it gets wrapped object's toString function. bug 323367, r=bzbarsky sr=jst 2006-02-18 00:11:32 +00:00
brendan%mozilla.org
7f1c18fda8 Fix duplicate kid overwrite case that avoided cycle detection (327564, r=mrbkap). 2006-02-17 21:40:04 +00:00
bclary%bclary.com
5659c2fa63 Regression test for ecma 15.1.2.7, fix bug number 2006-02-15 19:45:05 +00:00
bclary%bclary.com
f56d10f5fb Regression test for ecma 15.1.2.6, fix bug number 2006-02-15 19:08:31 +00:00
bclary%bclary.com
d19497f20e Regression test for ecma 15.1.2.3, fix bug number 2006-02-15 19:06:33 +00:00
bclary%bclary.com
4938de809d Regresion test for ecma 15.1.2.2, fix bug number 2006-02-15 19:04:00 +00:00
bclary%bclary.com
8b54aed7db Regresion test for ecma 15.1.2.1, fix bug number 2006-02-15 19:01:28 +00:00
bclary%bclary.com
f9b4f7509f Regression test for bug 324688, fix Components detection 2006-02-15 18:39:16 +00:00
mrbkap%gmail.com
fcbfb05deb Hold a reference to the regexp that we're using so that it doesn't go away. bug 327170, r=brendan 2006-02-15 01:24:32 +00:00
igor%mir2.org
6997c32ab1 BUG 321985: During xdr decoding of atoms avoid creation of JSString for
the already existing atoms. r=brendan
2006-02-14 09:33:45 +00:00
bclary%bclary.com
d4bb17e77b Regression test for bug 259935, by Steve Chapel 2006-02-14 02:54:28 +00:00
bclary%bclary.com
a964b51428 Regression test for bug 317476, by Seno Aiko 2006-02-14 02:20:14 +00:00
bclary%bclary.com
16db3f592e Regression test for bug 314401, by moz_bug_r_a4 2006-02-14 02:03:56 +00:00
bclary%bclary.com
4a7343bb1d Regression test for bug 323314, by Brendan Eich 2006-02-14 01:34:48 +00:00
timeless%mozdev.org
f0863494a2 Bug 326985 jsinterp.c(975) : warning C4013: 'OBJECT_IS_XML' undefined; assuming extern returning int
r=mrbkap
2006-02-14 00:20:44 +00:00
bclary%bclary.com
d837f008a7 Regression test for bug 324422, by Doug Wright 2006-02-13 21:32:20 +00:00
bclary%bclary.com
a5c8ab56bd Regression test for bug 323338 by Franky Braem and Seno Aiko 2006-02-13 20:34:51 +00:00
bclary%bclary.com
d0e6b87612 Regression test for bug 324688, by Nickolay Ponomarev 2006-02-13 20:19:54 +00:00
bclary%bclary.com
2620be285b Regression test for bug 326453, by Blake Kaplan 2006-02-12 07:31:21 +00:00
timeless%mozdev.org
c0e04c1600 Bug 326223 JS_PARANOID_REQUEST dies in spidermonkey (JS_NewContext)
r=brendan
2006-02-09 08:14:29 +00:00
timeless%mozdev.org
77a7ffbc90 Bug 293881 add version to jsshell build() if JS_VERSION < 150
r=mrbkap
2006-02-09 06:03:38 +00:00
timeless%mozdev.org
d8a7648921 Bug 325780 refactor debug_brendan/debug_notme
r=shaver
2006-02-09 06:02:02 +00:00
timeless%mozdev.org
27bc7e1293 Bug 326223 JS_PARANOID_REQUEST dies in spidermonkey (JS_NewContext)
r=brendan
2006-02-09 05:51:16 +00:00
timeless%mozdev.org
b60caedd4a Bug 266208 [@ js_PCToLineNumber] because of crash due to infinite recursion
r=rginda sr=brendan
2006-02-09 05:47:55 +00:00