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

4004 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu b78789458f Missing part of fix for bug 117153, fixing threadsafety problems with shared empty buffer handles. b=120300 r=jag sr=alecf a=blizzard 2002-01-17 00:07:15 +00:00
nboyd%atg.com 7d952fd13b Add link to article with Rhino. 2002-01-16 16:07:12 +00:00
rogerl%netscape.com 91be3b08e4 Fixed RegExp bug #72964, r=khanson, sr=brendan 2002-01-16 06:47:06 +00:00
rogerl%netscape.com ba120f9938 Fixed RegExp bugs #105972 & #87231. r=khanson, sr=brendan. 2002-01-16 06:06:34 +00:00
brendan%mozilla.org 16168841f8 Simplify #ifdefs in JS_Assert to default to fprintf (45673, debug only, r=rogerl, sr=me, patch from jband). 2002-01-16 05:17:58 +00:00
brendan%mozilla.org 17a60010e3 Checking in patch for rob1@rekl.yi.org, r=khanson, sr=brendan (but neither file is part of the build). 2002-01-16 05:12:53 +00:00
seawood%netscape.com fa5df5e54c Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
brendan%mozilla.org 54a4aac7b9 Checking in patch for Steven Cole <scole@planetweb.com> to fix js_DoubleToECMAInt32 (120083, r=khanson, sr=brendan). 2002-01-16 00:17:16 +00:00
pschwartau%netscape.com 0bf973e9e1 Adding toInt32 tests for numbers between -2^31 and -2^32 with fractional parts. See bug 120083. 2002-01-16 00:16:48 +00:00
pschwartau%netscape.com ef42ed2b41 Adding toInt32 tests for numbers greater than 2^31 with fractional parts. See bug 120083. 2002-01-15 23:27:12 +00:00
dbradley%netscape.com bfe2c74147 Bug 111068 - SyncXPCContextLists uses of XPCContext::Mark is not thread safe. patch by jband, r=dbradley, sr=jst 2002-01-15 22:49:46 +00:00
nboyd%atg.com 13ab451fe3 Update for 1.5R3. 2002-01-15 17:35:09 +00:00
pschwartau%netscape.com 0f4744e066 Correcting a typo in comments- 2002-01-15 01:07:28 +00:00
pschwartau%netscape.com 1c6399c316 Initial add. Regression test for bug 119909. 2002-01-15 00:51:12 +00:00
rginda%netscape.com 2e39614ba0 bug 119938, nebiros bustage, r=dbaron
remove useless casts
2002-01-14 21:59:34 +00:00
jband%netscape.com 8c8b5a2595 fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst 2002-01-14 20:02:14 +00:00
bryner%netscape.com c4219520f9 Bug 119743 - autocomplete doesn't work in gcc 2.96 -O2 builds. r=hixie, sr=brendan. 2002-01-14 06:45:21 +00:00
nboyd%atg.com 9d02982aa1 Exclude Unicode-2 incompatible tests 2002-01-14 01:21:07 +00:00
beard%netscape.com 613c094d95 Fix mac bustage: jschar* and PRUnichar* aren't compatible. 2002-01-12 01:40:15 +00:00
rginda%netscape.com 7cc222ac6c bug 115695, rs=brendan, venkman only
netive changes relating to pretty print support, includes...
* remove jsdIPC interface, replaced with ulong offsets from PC 0.
* add |pcmap| parameter to select between sourcetext/prettyprint linemaps (pcToLine, lineToPc, and isLineExecutable.)
* add |functionSource| property to jsdIScript.
* add |tag| to jsdIScript.
* fixed potential jsdIScript leaks.
2002-01-12 00:56:35 +00:00
pschwartau%netscape.com 1d8176c442 Updating JS_GetImplementationVersion() to date of latest JS release (67111). 2002-01-11 23:18:39 +00:00
pschwartau%netscape.com 150958d489 Correcting a mistaken comment. 2002-01-11 01:34:07 +00:00
pschwartau%netscape.com 720ebc13e5 Initial add. Regression test for bug 103602. 2002-01-11 01:23:40 +00:00
brendan%mozilla.org 95ed51d07d Remove Call constructor (118732) and fix old bug in Function where it failed to convert args to strings (118849; both r=timeless, sr=shaver). 2002-01-10 08:51:01 +00:00
seawood%netscape.com 9623dca0c3 Link jsd into application in a "static" build.
Thanks to Robert Ginda <rginda@netscape.com> for the patch.
Bug #118784 r=cls
2002-01-10 08:47:01 +00:00
pschwartau%netscape.com ea8826f7ad Improving comments. 2002-01-09 19:53:02 +00:00
bryner%netscape.com d7b029bc06 Bug 117276 - regression on gcc 2.95.x debug builds. Since we don't
understand exactly what the problem is here, and it does not seem to
happen on gcc 2.96, and 2.95 doesn't have the alias optimizations that
called for the new code in the first place, just make 2.95 use the old
code.  r=timeless, sr=brendan.
2002-01-09 19:23:37 +00:00
nboyd%atg.com fb444636a5 Fix bug 118636: Date format 2002-01-09 15:21:31 +00:00
nboyd%atg.com 57f49f4ee9 Fix bug:
We have found a problem in string.replace() when replacing a regular
expression with a dollar sign. The following code works right when the
replacement string does not contain "$":

$ java -jar js.jar
js> var re = new RegExp("%%%");
js> var price = "%%% 1.99";
js> price.replace(re, "USD");
USD 1.99
js> price.replace(re, "$");
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
         at
org.mozilla.javascript.regexp.ReplaceData.interpretDollar(RegExpImpl.java:40 0)
         at
org.mozilla.javascript.regexp.ReplaceData.findReplen(RegExpImpl.java:502)
         at
org.mozilla.javascript.regexp.RegExpImpl.replace(RegExpImpl.java:116)
         at
org.mozilla.javascript.NativeString.execMethod(NativeString.java:266)
         at org.mozilla.javascript.IdFunction.call(IdFunction.java:78)
         at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1222)
         at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1940)
         at
org.mozilla.javascript.InterpretedScript.call(InterpretedScript.java:68)
         at
org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:59)
         at org.mozilla.javascript.Context.evaluateReader(Context.java:773)
         at
org.mozilla.javascript.tools.shell.Main.evaluateReader(Main.java:312)
         at
org.mozilla.javascript.tools.shell.Main.processSource(Main.java:219)
         at org.mozilla.javascript.tools.shell.Main.exec(Main.java:106)
         at org.mozilla.javascript.tools.shell.Main.main(Main.java:68)
2002-01-09 15:20:48 +00:00
pschwartau%netscape.com f12fb1d44e Initial add. Regression test for bug 118849. 2002-01-09 01:09:15 +00:00
nboyd%atg.com 57bdef218d Fix doc bug. 2002-01-08 20:11:53 +00:00
dbaron%fas.harvard.edu ab1ac5cb06 Don't use C++ comments in C files. 2002-01-08 02:29:11 +00:00
pschwartau%netscape.com cde8c3d21b Modified test to take account of the change in SpiderMonkey date format (bug 118266) 2002-01-08 02:23:26 +00:00
alecf%netscape.com 72507557e8 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin 2002-01-08 01:31:25 +00:00
brendan%mozilla.org fbd58db1f2 Checking in patch written by balleysson@bigfoot.com based on tenthumbs@cybernex.net's sketch, to avoid mallocs in js_strtod (115627, r=khanson, sr=me). 2002-01-07 23:42:25 +00:00
brendan%mozilla.org 3b402ef3f8 Group date and time fields in toString's result so as to work with PR_ParseTimeString (118266, r=khanson, sr=shaver). 2002-01-07 11:09:04 +00:00
rginda%netscape.com f85a6b8d87 bug 117907, patch=joerg.schaible@gmx.de (J�rg Schaible), r=me
add release build option to jsdb.mak
2002-01-04 19:24:14 +00:00
nboyd%atg.com 73ab04ecba Update implemenation version date. 2002-01-04 14:04:42 +00:00
nboyd%atg.com f30c2d3e28 Fix bug reported by rathje40@yahoo.com
We are converting from spidermonkey to rhino and it appears that the
name property for the constructor function returns "constructor" for
all builtin types.  Spidermonkey would return "Date" or "Array" or
whatever.  Is there a workaround?  This code needs to work with both
interpreters.

Here is an example of the rhino behavior:

js> var i=new Date;
js> i.constructor.name
constructor
js> Date.name
constructor
js> function bob(){}
js> bob.name
bob
js> var i = new Array();
js> i.constructor.name
constructor
js>
2002-01-04 14:04:01 +00:00
nboyd%atg.com fee1adf47b Remove override that is duplicate of superclass. 2002-01-04 14:02:36 +00:00
nboyd%atg.com 49a33e0718 Print implementation version when starting up interactive mode. 2002-01-04 14:02:02 +00:00
brendan%mozilla.org b8913566f5 Null pointer defense in FUN_CALLER fun_getProperty case (117307, r/sr skipped, trivial). 2002-01-01 21:12:21 +00:00
brendan%mozilla.org b77949ac45 Fix old bug introduced by rev 3.2, where this() crashes due to uninitialized obj register (116228, r=timeless, sr=shaver). 2001-12-27 08:47:33 +00:00
timeless%mac.com 711739d601 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
igor%mir2.org 2942f53359 Use Vector.elementAt instead of Vector.getfor jdk 1.1 complience 2001-12-20 22:05:42 +00:00
igor%mir2.org 04393fc2b7 Fixes to allow to use jikes to compile and produce less warnings:
1. Replace catch(Exception) by catch(RuntimeException) when only RuntimeException can be throws

2. Make sure that inner classes does not use the same name for parameters as parent scope, see  http://domino.watson.ibm.com/syssftpr/JavaTech/Jikes.nsf/Named/SunQuery8
2001-12-20 21:15:02 +00:00
dougt%netscape.com 592121caae fixing dumbass error. This could should have returned null if obsoleteManager was null, not the inverse. r=jband@netscape.com 2001-12-20 00:26:28 +00:00
nboyd%atg.com 7d221ec600 Added comment about bug 115717. 2001-12-19 15:31:56 +00:00
brendan%mozilla.org 1b261555c1 Don't double-drop a property when strict-warning about duplicate formals (115436, r=khanson, sr=jband). 2001-12-19 02:10:26 +00:00
beard%netscape.com 0d07f28739 fix for bug #115545. r=sdagley, sr=sfraser 2001-12-19 00:23:05 +00:00