Граф коммитов

4566 Коммитов

Автор SHA1 Сообщение Дата
pschwartau%netscape.com c99a7cdfd6 Breaking up test regress-96526.js into separate testcases - 2002-09-04 21:56:13 +00:00
pschwartau%netscape.com 8a42be778d Removing this test to break it up into three separate tests: regress-96526-001.js, -002.js, -003.js 2002-09-04 21:53:40 +00:00
igor%mir2.org c0c5171c48 Store line number and operation type as int field instead of wrapping them into Integer; use Node subclass for nodes with string data; add few explicit checks about node structure assumptions. 2002-09-04 09:28:58 +00:00
brendan%mozilla.org 4710765b36 Checking in rogerl's patch for 141078, to restore pre-ECMA perl-ish octal escape sequences in regexps (r=me). 2002-09-04 06:05:56 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
igor%mir2.org 9068084e6a Use Node subclass to represent number literals to avoid creation of Double object. 2002-09-03 12:34:56 +00:00
brendan%mozilla.org e89c55ad77 Store lastIndex in a reserved slot in each regexp instance, mapped by a shared singleton property in RegExp.prototype, for ultimate thread-safety and best sharing (76717, r=rogerl [NB: SpiderMonkey is now a restricted module, a la NSPR]). 2002-09-01 19:57:50 +00:00
bryner%netscape.com 9f214d42df Use -mdynamic-no-pic when building non-PIC code with gcc 3.1 on MacOS 10.2 (bug 165851). r=cls. 2002-08-31 04:33:02 +00:00
pschwartau%netscape.com 6458af3db0 Whitespace fix. 2002-08-31 01:20:40 +00:00
pschwartau%netscape.com afa6b9aee7 Initial add. Regression test for bug 165353. 2002-08-31 01:05:09 +00:00
brendan%mozilla.org 926ca2b98f Disable new fp->objAtomMap code to relieve blocker bug 165201. 2002-08-28 18:53:25 +00:00
brendan%mozilla.org 9d5d112cf4 Fix for embeddings that precompile and execute using different globals/standard-classes: clone regexp objects at runtime, on demand, to have the right parentage (164697, r=rogerl, sr=shaver). 2002-08-27 23:28:59 +00:00
igor%mir2.org 5381cd9877 Workaround in JS Math.pow implementation for java.lang.Math.pow brokeness in some JVM. 2002-08-27 08:14:49 +00:00
igor%mir2.org 21946b7034 Fixing a bug reported by Steven Beal where Interpreter.icodeTokenLength() and In
terpreter.dumpICode() used wrong size for CLOSURE opcode arguments.
2002-08-27 08:12:25 +00:00
seawood%netscape.com 5c78f48e09 Use $(patsubst) instead of $(shell echo | sed) to force certain files to be built with a specific optimization level. This avoids potential bustage arising from certain characters not being properly escaped when the commandline flags are evaluated multiple times.
Fixing Irix tinderbox bustage.
2002-08-27 01:37:52 +00:00
dougt%netscape.com 22ffaadb79 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2002-08-27 01:05:21 +00:00
alecf%netscape.com dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
dougt%netscape.com 4f8934ad1d Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
rogerl%netscape.com 35b76fe46c Bug 58274. Support double byte characters for toSource identifiers.
r=khanson, sr=brendan.
2002-08-26 20:07:58 +00:00
igor%mir2.org 265a588aaf Fixing a bug reported by Steven Beal where Interpreter.icodeTokenLength() and Interpreter.dumpICode() used wrong size for REGEXP opcode arguments. 2002-08-26 09:11:54 +00:00
igor%mir2.org dd4a08ede4 Renaming the TokenStream.OBJECT constant to TokenStream.REGEXP for better reflection of semantics. 2002-08-26 08:06:27 +00:00
brendan%mozilla.org 3b91b3f362 One-character fix to a comment, use modulus with %, not mask. 2002-08-24 22:14:15 +00:00
pschwartau%netscape.com 68e848167e Removing this testcase from skip list; I have adapted it to run in Rhino. 2002-08-23 22:52:20 +00:00
pschwartau%netscape.com ac3898be9a Editing comments. 2002-08-23 22:48:38 +00:00
pschwartau%netscape.com 8bd1604dae Rhino can't seem to handle the largest array, so we'll skip this case in Rhino - 2002-08-23 22:38:45 +00:00
pschwartau%netscape.com d8d0373489 Re-ordering the sections to try the largest possible array first. 2002-08-23 22:12:12 +00:00
pschwartau%netscape.com 4272d07398 Editing comments in the test. 2002-08-23 21:56:21 +00:00
pschwartau%netscape.com 4d0aad511a Removing two extraneous lines. 2002-08-23 21:47:05 +00:00
pschwartau%netscape.com cb652e487a Adapted the test to run in Rhino. 2002-08-23 21:42:32 +00:00
brendan%mozilla.org f3faeb8796 My tweaks on top of a patch from Mark Hawlitzeck <mhawlitzeck1@earthlink.net> to avoid last-ditch gc failure (162779, sr=jband/shaver). 2002-08-23 07:56:11 +00:00
dbradley%netscape.com cde2b461c1 Bug 160602 - Patch sets FPU precision to 53 bit mantissa. r=khanson, sr=brendan 2002-08-20 12:56:30 +00:00
pschwartau%netscape.com f79a4cab84 Re-factoring for greater clarity. 2002-08-20 04:42:33 +00:00
pschwartau%netscape.com ac4a38830a Modifying test to handle Function.prototype.toString() output whether it is escaped or not. 2002-08-20 01:57:55 +00:00
pschwartau%netscape.com 402b7220b0 Adding a comment. 2002-08-19 21:46:26 +00:00
igor%mir2.org b481986e42 Fixing line number generation for the empty return statement which was reported by Steven Beal. It was caused by missed update of lineno in statementHelper when dealing with return;. 2002-08-16 06:42:27 +00:00
rginda%netscape.com 00ab5c046c apply scole@planetweb.com's fix for JS_InitClass (bug 162946) 2002-08-16 05:11:36 +00:00
igor%mir2.org 7ad5c25d66 Fixing ArrayIndexOutOfBoundsException reported by Steven Beal caused by broken code to setup endLine in SourceInfo.updateLineInfo. 2002-08-15 06:42:45 +00:00
brendan%mozilla.org 08bb9cab14 Avoid reloading rt->interruptHandler on each cycle of the bytecode interpreter (121414, r=rginda, sr=jband). 2002-08-14 00:17:27 +00:00
pschwartau%netscape.com 04e6c6fd15 Amending testcase to expect a run-time "out of memory" error. Still tests that we don't crash. 2002-08-14 00:12:54 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
timeless%mac.com 89ff5bdc9e sorting pure js engine includes alphabetically to match js engine prevailing style
rs=brendan
2002-08-09 00:49:44 +00:00
timeless%mac.com b3565bc10e ### Building "Viper1-Disk:Source Tree:mozilla:js:macbuild:_JavaScript.mcp" (Thu Aug 8 15:19:17 2002)
Error   : function has no prototype
jslock.c line 854   js_FinishDtoa();
adding an include and hoping it works
2002-08-08 22:36:15 +00:00
brendan%mozilla.org 873971ec4c Fix js_NewObject not to share proto's map if proto and obj don't have the same number of reserved slots (112974, r=rogerl, sr=jband). 2002-08-08 21:51:54 +00:00
seawood%netscape.com 2dd8386976 Misc build cleanup v1:
Cleanup win32 configure output. Remove EMACS
Bug #161461 r=bryner
2002-08-08 21:35:45 +00:00
timeless%mac.com 2e645bfdd7 Bug 148171 js_FinishDtoa() not called unless JS_THREADSAFE is set
patch by scole@planetweb.com r=khanson sr=shaver
2002-08-08 20:53:14 +00:00
jdunn%netscape.com b9a04ca106 fixing AIX optimization issue with jsatom.c
# 161542
r=cls@seawood.org
submitted by pkw@austin.ibm.com, checking in for khanson@netscape.com
2002-08-08 13:22:51 +00:00
brendan%mozilla.org 65405aa551 Fix a couple of jsemit.h glitches, and a benign but confusing hard case to do with extended switch jumps in jsemit.c's OptimizeSpanDeps (158382, r=khanson, sr=shaver). 2002-08-08 00:30:20 +00:00
dbradley%netscape.com d64eed2142 Bug 159667 - xpconnect needs support for finding *real* wrapped native methods. r=dbradley, sr=jst patch=jband 2002-08-07 23:39:11 +00:00
brendan%mozilla.org a099682b6e Fix a macro name (LIMIT, not MAX -- fencepost, not maximum value; r=lumpy, sr=jack). 2002-08-07 20:22:38 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
pschwartau%netscape.com 9a8f03f10b Correcting a mistake in the test. 2002-08-02 22:01:35 +00:00
pschwartau%netscape.com 5bbe7d36d7 Initial add. Testing regexps containing octal escape sequences. See bug 141078. 2002-08-02 21:27:12 +00:00
brendan%mozilla.org c2dc7271c9 Steven Don's patch for bug 160592, opt:noicf linker option required for release builds (not part of Mozilla build). 2002-08-02 05:34:41 +00:00
pschwartau%netscape.com 880fd70566 Adding a comment 2002-08-02 00:13:00 +00:00
jdunn%netscape.com b3c11d95b2 removing antiquated aix/jdk1.1.6 hackery
sr=brendan@mozilla.org
r=rogerl@netscape.com
a=asa@mozilla.org
# 158115
2002-08-01 11:04:21 +00:00
brendan%mozilla.org 4cbe5aceda khanson's patch with a comment elaboration for bug 157652 (r=rogerl, sr=me, a=rjesup). 2002-07-31 21:42:12 +00:00
dbradley%netscape.com 7e203d102e Added makefile.in to prepare for nmake going away. This is built separately, not part of the mozilla build process. 2002-07-29 20:47:02 +00:00
brendan%mozilla.org 4e32a6ca06 Finally fix 137000, which requires working around an MSVC ISO-C violation ('identical COMDAT folding', 151066, r=brendan/jrgm, sr=bryner/shaver, a=asa). 2002-07-24 01:48:40 +00:00
rogerl%netscape.com fd5470f403 Changed decimal escape handling to backward compatible rather than ECMA3
conforming. (Bug#158159)
2002-07-23 21:38:03 +00:00
brendan%mozilla.org bdbc5696c2 Don't return 1 cast to JSProperty* for a property found in a non-LiveConnect prototype object (155740, r=rogerl, sr=jband, a=chofmann/blizzard/scc). 2002-07-19 22:00:03 +00:00
pschwartau%netscape.com 7f3babd028 Initial add. Regression test for bug 141078. 2002-07-18 18:36:44 +00:00
seawood%netscape.com fe2f4b55ff Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
Bug #154232 r=wtc sr=scc a=scc
2002-07-18 04:09:30 +00:00
pschwartau%netscape.com 08029cc604 Skip testcase for bug 157652. Will not fix this in Rhino; the OOM error is reasonable. 2002-07-17 18:20:58 +00:00
pschwartau%netscape.com ea91f9a8ab Changing summary text. 2002-07-16 21:35:30 +00:00
pschwartau%netscape.com efd856b77d Initial add. Regression test for bug 157652. 2002-07-16 21:23:58 +00:00
igor%mir2.org 012b28330e Serialization fixes to correctly restore members and related fields in NativeJavaClass. 2002-07-16 21:17:09 +00:00
igor%mir2.org 0257e231a5 Fixing the bug 157196: custom serialization of ScriptableObject not to save deleted/empty slot. 2002-07-16 21:15:51 +00:00
igor%mir2.org 5335225a4e Checking for 1.2 version in toString for objects and arrays is replaced by calling cx.hasFeature(Context.FEATURE_TO_STRING_AS_SOURCE) to allow to control toString from applications without switching on other JS 1.2 features. 2002-07-16 17:42:18 +00:00
igor%mir2.org 091a93a0a4 I removed startString/getString and their support code as TokenStream uses its own buffer and fixed the bug 151337 which was cause by incorrect getLine 2002-07-16 17:37:46 +00:00
pschwartau%netscape.com 78cb8b1131 Initial add. Regression test for bug 58274. 2002-07-15 23:20:15 +00:00
pschwartau%netscape.com 8a7a515579 Initial add. Testing identifiers with double-byte names; see bug 58274. 2002-07-15 23:15:52 +00:00
igor%mir2.org 307d75e312 I changed TokenStream to use internal buffer in place of LineBuffer#startString/getString to store currently read characters for identifiers, strings and numbers. For the price of yet another character coping it allows to simplify code logic especially regarding interaction with LineBuffer.
I also fixed http://bugzilla.mozilla.org/show_bug.cgi?id=157509
2002-07-15 18:49:42 +00:00
pschwartau%netscape.com 6e07af089c Correcting two sections of test. 2002-07-15 17:28:05 +00:00
pschwartau%netscape.com 2b0107b940 Expanding a comment for one section in greater detail. 2002-07-15 17:04:38 +00:00
pschwartau%netscape.com 7d22d6cfee Initial add. Regression test for bug 157509. 2002-07-15 15:22:35 +00:00
pschwartau%netscape.com bc1982e3dc Comment edit. 2002-07-15 15:07:33 +00:00
pschwartau%netscape.com f0874ff813 Added revision date + comment clean-up. 2002-07-15 15:06:37 +00:00
pschwartau%netscape.com 76e9ecaee9 Correcting an error in the test. See bug 155291. 2002-07-15 00:40:14 +00:00
pschwartau%netscape.com e1400f904b Correcting errors in test. See bug 155289. 2002-07-15 00:29:37 +00:00
pschwartau%netscape.com 39c8534587 Correcting errors in the test. See bug 155289. 2002-07-15 00:04:22 +00:00
pschwartau%netscape.com 601c4951e8 Correcting errors in the test. See bug 155289. 2002-07-14 23:57:03 +00:00
pschwartau%netscape.com 1bc81d3f35 Correcting an error in one section of the test. See bug 155285. 2002-07-14 23:42:23 +00:00
pschwartau%netscape.com acbfef97b7 Rhino has also decided to conform with SpiderMonkey on this test. Adding early return for Rhino as well. 2002-07-14 22:34:50 +00:00
pschwartau%netscape.com adaf7bd619 Rhino has also decided to conform with SpiderMonkey on this test. Removing early return for Rhino. 2002-07-14 22:23:52 +00:00
rginda%netscape.com 606d9f3518 bug 155838, "Infinite loop caused by strange code", r=peterv, sr=brendan, a=roc+moz@cs.cmu.edu
don't leave gDeadScripts pointing at garbage.  May or may not fix the problem at hand, but is an improvement in either case.
2002-07-12 21:28:29 +00:00
igor%mir2.org c725147d07 Call to InterpretedFunction.construct is inlined to avoid argument array allocation. 2002-07-12 19:40:49 +00:00
igor%mir2.org a45b576bee Creation and initialization of new object in BaseFunction.construct is moved to a separated function createObject to simplify inlining of InterpretedFunction.construct in Interpreter 2002-07-12 19:39:57 +00:00
igor%mir2.org 017b616d0b Added ObjToIntMap.intern() 2002-07-12 19:37:20 +00:00
brendan%mozilla.org a845077b0d Emulate IE6 by making RegExp.prototype match the empty string (156355, r=rogerl, sr=shaver, a=dbaron). 2002-07-12 04:54:57 +00:00
igor%mir2.org 9896d08d55 When calling interpreted functions from Interpreter.interpret, pass current stack arrays to the callee to avoid creation of temporary argument arrays and wrapping double numbers into Double objects. 2002-07-11 21:17:34 +00:00
igor%mir2.org 8c98718cd4 Optimizing encode/decode not to allocate temporary buffers if the result equals the original string 2002-07-11 21:10:36 +00:00
igor%mir2.org b8b54c75b5 Optimizing NativeGlobal.js_escape, ScriptRuntime.escapeString not to create StringBuffer if there are no character to escape in the initial string. Workaround for JDK 1.1 compiler bug in the initialization of ScriptRuntime.ComparableClass. 2002-07-11 18:45:16 +00:00
igor%mir2.org ed6e3066d3 Fixing 136893: for(i in undefined), for(i in null) do not throw TypeError but treated as for(i in {}) 2002-07-11 18:39:24 +00:00
pschwartau%netscape.com 729cd40cd3 Initial add. Based on examples from ECMA-262 Ed.3 spec, Section 15.10.2 2002-07-10 23:09:48 +00:00
igor%mir2.org a3eec51b34 With Roger's <rogerl@netscape.com> new RegExp implementation Rhino passes:
js1_2/regexp/regress-9141.js
ecma_3/String/regress-104375.js
2002-07-10 22:14:48 +00:00
pschwartau%netscape.com a234e4d358 Skip testcase for bug 152646. Will not fix this in Rhino; too much of a corner case. 2002-07-10 21:03:07 +00:00
igor%mir2.org 6387ce4fe2 No more skiping of ecma/LexicalConventions/7.7.3.js, it works as DToA converts numbers to strings properly 2002-07-10 20:00:25 +00:00
brendan%mozilla.org c567b92abe Fix GC_MARK_DEBUG (DEBUG only, r/sr=dbaron). 2002-07-10 03:01:32 +00:00
rogerl%netscape.com e76a9bdf17 Fixes for bugs #155285 - Array.join(undefined) should use ','
#155289 - String.prototype.XXX.length has some wrong values
 #155291 - RegExp properties should be DontEnum
Plus fix for matching against RegEXp captures with undefined value.
2002-07-09 22:28:52 +00:00