7516 Commits

Author SHA1 Message Date
mrbkap%gmail.com
5c696de243 Don't forget to throw syntax errors for missing parentheses or brackets. bug 331127, r=brendan 2006-03-20 20:57:51 +00:00
mrbkap%gmail.com
f60971fc05 Don't pollute String.prototype. bug 330976, r=brendan 2006-03-20 20:15:15 +00:00
bclary%bclary.com
410c7162e5 Regression test for bug 329530, by Erik Fabert 2006-03-20 19:55:22 +00:00
bclary%bclary.com
0e5f054b05 Regression test for bug 330976, by Blake Kaplan 2006-03-20 19:05:49 +00:00
bclary%bclary.com
4b20c14c15 Regression test for bug 330951, by Pawel Chmielowski 2006-03-20 00:40:45 +00:00
dbaron%dbaron.org
4a829838f0 Use __builtin_frame_address instead of setjmp to get the frame pointer. b=323853 r=brendan 2006-03-19 01:27:17 +00:00
igor%mir2.org
cdc28d9089 Bug 330951: Patch from Pawel Chmielowski to fix a regression that I introduced in bug 311515. 2006-03-18 23:36:04 +00:00
igor%mir2.org
a254e22506 Bug 330951: Asserting that string arguments str1 and str2 arguments are not NULLs in js_CompareStrings and js_EqualStrings.
Previously passing str1 and str2 set to NULL did not crash as str1 and str2 compared equals as pointers and the functions returned true without accessing *str1 or *str2. In turn it allowed for the regression from bug 311515 causing this bug to survive much longer then it should. r=brendan.
2006-03-18 23:29:15 +00:00
igor%mir2.org
14a2473a5d Bug 330812: In array_sort clear only those elements of temporary vector that
would be included in the rooted set. It provides better performance for huge
mostly spare arrays. r=mrbkap
2006-03-17 22:09:46 +00:00
nboyd%atg.com
e61b68c185 Add another user. 2006-03-17 16:16:29 +00:00
igor%mir2.org
5f57130e34 Bug 311515: Fixing misspellings in comments from the previous commit. 2006-03-16 08:04:28 +00:00
igor%mir2.org
cba34b6b55 Bug 311515: array_sort sorts undefined value and holes via counting them as according to the Ecma standard holes are bigger then undefined values which are bigger then anything else. This allows to simplify sort_compare and shrink jsarray.c code while making sorting of spare arrays faster. r=mrbkap 2006-03-15 20:49:09 +00:00
igor%mir2.org
6f1486e3be Bug 328664: In js_DecompileValueGenerator search the stack for the value to decompile from the top to bottom to pick up the copy and corresponding code that was pushed to the stack most recently. r=brendan 2006-03-15 16:44:24 +00:00
daumling%adobe.com
d5cca305bd Bug 330169: Replaced early exits in ParseNodeToXML() with a jump to skip_child so js_LeaveLocalRootScope() can be called correctly. r=mrbkap 2006-03-15 09:23:36 +00:00
bryner%brianryner.com
4cd1e2b280 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
timeless%mozdev.org
25c4968b91 Bug 329530 Out of memory crash when calling fn.toString where fn is a deeply nested function
patch by jerfa@email.it r=brendan
2006-03-13 17:00:18 +00:00
bclary%bclary.com
64a948ecc8 Regression test for bug 301574, fix by shutdown 2006-03-13 02:45:26 +00:00
timeless%mozdev.org
718a68e83c Bug 330098 XPCCallContext::~XPCCallContext is still wiping out newborn roots causing crashes under [@ js_FinalizeObject] because AllocSlots is calling gc and causing its caller (js_NewObject)'s obj to be destroyed before it's stable
r=mrbkap sr=bz
2006-03-13 00:24:06 +00:00
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