6747 Commits

Author SHA1 Message Date
igor%mir2.org
f57ef91bc9 Fixing bug 298786: bad type inference caused infinite loop in the compiler.
git-svn-id: svn://10.0.0.236/trunk@176928 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 14:02:27 +00:00
igor%mir2.org
d944f3bb04 Bug 278701: patch based on code from James Eggleston <james.eggleston@vega.de> to deiconify debugger window on breakpoints.
git-svn-id: svn://10.0.0.236/trunk@176927 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 13:50:33 +00:00
igor%mir2.org
778f22a5d7 Fix to make things compilable: getElemFunctionAndThis returns Callable, not Function nowdays.
git-svn-id: svn://10.0.0.236/trunk@176926 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 13:48:32 +00:00
igor%mir2.org
62aaaa1353 Resolving bug 299613
New interface RefCallable simplifies implementation of function-call-as-rvalue
in Java code. In addition native objects is required to implemet only Callable
interface, not Function, to serve as target of () operator.


git-svn-id: svn://10.0.0.236/trunk@176891 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-31 14:27:36 +00:00
igor%mir2.org
ff160c1518 Fixing bug 291591
\<LineTerminator> in string literals is removed from the resulting string to follow SpiderMonkey and C/C++


git-svn-id: svn://10.0.0.236/trunk@176890 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-31 13:48:46 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
bob%bclary.com
9171dd1720 Date Parsing - fix regression from bug 273292, improve MSIE compatibility, bug 301738. r=mrbkap, r=shaver, a=asa
git-svn-id: svn://10.0.0.236/trunk@176868 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 03:15:49 +00:00
bob%bclary.com
6390b6f762 ECMA Compliance: fix daylight savings time before 1970, Bug 58116. Patch by Mike McCabe <mike+mozilla@meer.net>. r+a=shaver
git-svn-id: svn://10.0.0.236/trunk@176859 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 00:00:05 +00:00
bzbarsky%mit.edu
8b2119f451 Include pointers to the JSObjects involved when printing out the path in the
GC_MARK_DEBUG log.  Bug 295434, r+a=shaver


git-svn-id: svn://10.0.0.236/trunk@176836 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 15:15:48 +00:00
bzbarsky%mit.edu
02bdf94e23 Make XPCNativeWrapper call the wrapped native's classinfo resolve/get/set
hooks.  Makes native wrappers work in lots of nasty DOM0 corner cases.  Bug
296967, r=mrbkap, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@176835 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 15:11:08 +00:00
mrbkap%gmail.com
073f829a1a bug 302531: QuoteString doesn't deal with not outputting anything. Also fix some whitespace nits. r=shaver a=brendan
git-svn-id: svn://10.0.0.236/trunk@176790 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 18:16:30 +00:00
mrbkap%gmail.com
256c67fbd4 bug 302439: Spandep fu doesn't skip unused JSOP_TABLESWITCH jump table entries. Patch by brendan (except for the whitespace cleanup by me), r=shaver a=brendan
git-svn-id: svn://10.0.0.236/trunk@176784 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 17:39:44 +00:00
timeless%mozdev.org
ddb5b08e79 Bug 301491 [@ js_LinkFunctionObject]
r=brendan sr=shaver a=brendan


git-svn-id: svn://10.0.0.236/trunk@176778 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 17:18:09 +00:00
bzbarsky%mit.edu
f0d1d5ac73 Reland patch for bug 300562. Patch by brendan. r=jst, sr=shaver, a=brendan
git-svn-id: svn://10.0.0.236/trunk@176768 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 16:19:06 +00:00
timeless%mozdev.org
b163cc0e89 Bug 302100 I just downloaded Firefox 1.06, and it crashes at 004A6170 whenever I try to view any page [@ nsJSPrincipalsSubsume] using PAC
r=mrbkap sr=shaver a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176760 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 15:26:05 +00:00
nboyd%atg.com
251c60175c Fix bug 302501. Constructor property shouldn't be readonly.
git-svn-id: svn://10.0.0.236/trunk@176753 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 14:12:03 +00:00
bob%bclary.com
9d582715fc Regression test for bug 300858, crash sorting arrays with holes
git-svn-id: svn://10.0.0.236/trunk@176741 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 07:32:26 +00:00
bob%bclary.com
6c41201ed9 Regression test for bug 301692, by Seno Aiko
git-svn-id: svn://10.0.0.236/trunk@176740 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 07:28:34 +00:00
mrbkap%gmail.com
6f34ad9d25 bug 301692: Fix typos (extraneous ! in a < condition) and style nits. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@176739 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 07:06:20 +00:00
bob%bclary.com
a59c9075e8 Add regression testcase for bug 292455, by Martin Honnen
git-svn-id: svn://10.0.0.236/trunk@176738 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 06:49:17 +00:00
bob%bclary.com
358dd684d1 Add regression testcase for bug 301545, by Axel Hecht
git-svn-id: svn://10.0.0.236/trunk@176737 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 06:45:28 +00:00
bob%bclary.com
7b636aa080 function prototypes are now enumerable, bug 299642. Hat tip to mrkbap
git-svn-id: svn://10.0.0.236/trunk@176735 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 06:30:14 +00:00
bob%bclary.com
362429c729 add bug number 297025 to test, no bug
git-svn-id: svn://10.0.0.236/trunk@176734 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 06:27:19 +00:00
bob%bclary.com
9d9165b9e1 add bug number 289630 to test, no bug
git-svn-id: svn://10.0.0.236/trunk@176733 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 06:26:16 +00:00
bob%bclary.com
6f5044113d jsDriver.pl - Add Failure indicators for automated testing
git-svn-id: svn://10.0.0.236/trunk@176729 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 03:37:12 +00:00
bob%bclary.com
1537374195 Do not crash in args_resolve enumerating |arguments|, bug 291213. Test by David Baron
git-svn-id: svn://10.0.0.236/trunk@176728 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 03:33:22 +00:00
bob%bclary.com
5dec512b5e ECMA 262, 10.1.3 - Function Declarations, bug 299639. Test by mozilla@florian.loitsch.com
git-svn-id: svn://10.0.0.236/trunk@176727 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 03:17:06 +00:00
bob%bclary.com
02ee00625b Add tests for Date.toLocaleFormat, bug 291494
git-svn-id: svn://10.0.0.236/trunk@176726 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 02:34:07 +00:00
bob%bclary.com
31e7611740 ECMA 262-3 12.4 - wrap function expressions in parens since expression statements can not begin with a comma or function keyword
git-svn-id: svn://10.0.0.236/trunk@176723 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 01:14:32 +00:00
mrbkap%gmail.com
5973774e54 bug 302412: Make sure to call QuoteString on XML strings so non-ASCII strings get properly escaped. Prefer to use small precedences instead of the op = JSOP_NOP hack in the decompiler. JSOP_JSEXPR is a bad name for a bytecode, use the more-consistent name JSOP_STARTXMLEXPR. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@176720 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 00:38:40 +00:00
bob%bclary.com
014735257f function prototypes are now enumerable, bug 299642. Hat tip to mrbkap
git-svn-id: svn://10.0.0.236/trunk@176710 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-27 22:28:25 +00:00
mrbkap%gmail.com
daf2306f91 bug 302097: E4X toString incorrectly quotes JS tag expressions that are used as attributes. r+a=shaver
git-svn-id: svn://10.0.0.236/trunk@176679 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-27 16:10:26 +00:00
mrbkap%gmail.com
843d045531 bug 301692: E4X toString quotes the returned XML string. r+a=shaver
git-svn-id: svn://10.0.0.236/trunk@176633 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 20:43:09 +00:00
wr%rosenauer.org
bcb86c51bf Bug 302173 JS engine doesn't work on PPC/Linux because of gcc optimization, r+a=shaver
git-svn-id: svn://10.0.0.236/trunk@176609 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 13:28:08 +00:00
joshmoz%gmail.com
9c85748c29 export MACOSX_DEPLOYMENT_TARGET and kill MACOS_DEPLOYMENT_TARGET. Allows us to build on x86 Macs right out of cvs (note that we still crash a lot straight from cvs, but it runs). Patch by Mark Mentovai. b=298543 r=josh sr=peterv a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176488 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-23 21:17:40 +00:00
mrbkap%gmail.com
c5486f21c2 bug 301574: Allow XML mode to be enabled explicitly by the XML constructor. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@176462 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 20:22:28 +00:00
brendan%mozilla.org
458ac547a0 No silent failures! (301553, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@176443 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 16:55:15 +00:00
brendan%mozilla.org
d4ba64d1c4 Expand entities only in TSF_XMLONLYMODE (r=mrbkap, who helped a great deal; a=me).
git-svn-id: svn://10.0.0.236/trunk@176412 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 22:15:36 +00:00
shaver%mozilla.org
5814459ec3 Bug 301545: avoid crash when attribute-op name collides with local var or arg
by taking an early out from LookupArgOrVar for JSOP_QNAMEPART. r+a=brendan.


git-svn-id: svn://10.0.0.236/trunk@176405 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 19:18:15 +00:00
brendan%mozilla.org
b3dc50ae81 Fix js_FilterXMLList to save and restore fp->spbase (301596, r+a=shaver).
git-svn-id: svn://10.0.0.236/trunk@176404 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 19:14:30 +00:00
joshmoz%gmail.com
629699c509 don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176401 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 19:02:52 +00:00
shaver%mozilla.org
f21971c8c0 Bug 301353 (followup): return value from JS_ThrowReportedError, telepathic
r=brendan, a=shaver.


git-svn-id: svn://10.0.0.236/trunk@176332 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 15:35:13 +00:00
mrbkap%gmail.com
7dd36d494d bug 301340: Use public apis to fix link errors on Windows. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@176309 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 04:15:42 +00:00
mrbkap%gmail.com
27b88bc15b bug 300858: Make sure to update all_strings so that we don't try to treat a JSVAL_HOLE as a JSString in sort_compare_strings. Instead, arrays composed of strings and holes should go through sort_compare. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@176308 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 04:06:51 +00:00
mrbkap%gmail.com
98f7afec5e bug 300841: Provide a readline function to allow scripts run under the js shell to access stdin. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@176306 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 03:51:45 +00:00
brendan%mozilla.org
111193296e Fix Components.utils.evalInSandbox bugs: 1) GC'ing after even eval blows performance, no need; 2) borrowing the calling cx's error reporter doesn't work, we must turn uncaught exception errors back into thrown exceptions on the calling cx (301353, r+sr+a=shaver).
git-svn-id: svn://10.0.0.236/trunk@176305 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 03:35:40 +00:00
pete.zha%sun.com
64481cb7e3 bug=297750 wrong sequence of declaration in union fd_twoints on x86
r/sr/a=brendan@mozilla.org
patch=nian.liu@sun.com


git-svn-id: svn://10.0.0.236/trunk@176304 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 03:18:59 +00:00
bob%bclary.com
e90d57b3e4 tweak system to place redirect_command after stdout redirect, bug 301346
git-svn-id: svn://10.0.0.236/trunk@176303 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 02:27:42 +00:00
bob%bclary.com
ad848a16f2 change jsDriver.pl to use system instead of open for executing js shell, bug 301346. r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@176292 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:03:12 +00:00
bzbarsky%mit.edu
aba621f2dc Preserve XPCNativeWrappers when "expando" properties are set on them. Bug
295937, r=shaver, sr+a=brendan


git-svn-id: svn://10.0.0.236/trunk@176280 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:40:33 +00:00