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

4033 Коммитов

Автор SHA1 Сообщение Дата
pschwartau%netscape.com 97e08a35b7 Improving readability. 2002-01-25 20:37:37 +00:00
pschwartau%netscape.com 29979faedc Improving readability. 2002-01-25 20:02:31 +00:00
pschwartau%netscape.com 884be956c1 Skip another SpiderMonkey test generating infinite recursion and catching it as an error. 2002-01-25 03:39:21 +00:00
seawood%netscape.com 39ba085fc5 Fix "static" build support for win32 gmake builds.
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
pschwartau%netscape.com e20c536dcb Added three more cases to the test. 2002-01-25 03:17:23 +00:00
pschwartau%netscape.com 26aea873ac Initial add. Regression test for bug 121658. 2002-01-25 03:04:18 +00:00
brendan%mozilla.org b8f48f2f9f Make 'too much recursion' errors be exceptions #if JS_HASH_ERROR_EXCEPTIONS (121658, r=rogerl, sr=shaver). 2002-01-25 00:49:52 +00:00
brendan%mozilla.org f303a64843 Checking in patch from Daniel Bratell <bratell@lysator.liu.se>, r=khanson, sr=me. 2002-01-25 00:47:11 +00:00
nboyd%atg.com d7e41aff99 UPdate implementation version 2002-01-24 20:17:05 +00:00
nboyd%atg.com f79730a30a Fix out-of-date javadoc. 2002-01-24 19:57:52 +00:00
nboyd%atg.com c24a699dd8 Fix the following problem:
Thanks!

As promised, I tried the debugger this afternoon and I had a problem with the '-f' option.
  We use -f to run a standard "startup" script before executing the "main" script.  For
example, we run the Rhino shell with the options "-f startup.js main.js".

When running the debugger's shell with the same options the debugger exits after the
startup.js completes; i.e., I can single step starting from startup.js but the debugger
exits at the end of startup.js without letting me single step into main.js.  This worked
fine in the 1.5R2 release of Rhino and the debugger.

I have not had a chance to look into the problem closely, but a cursory look at the code
suggests (to me) that the problem can be in either the debugger or the shell (since the
debugger basically runs the shell after creating the right "hooks".)  Of course, it could
also be a problem with my embedding.

So ... my question is, has anyone tried single stepping when the options to the debugger
include a '-f' option.  If so, I'll continue to look for a problem in my embedding.

Any suggestions would be appreciated.

Thanks,

dave
2002-01-24 19:57:01 +00:00
rogerl%netscape.com d8f1df22cb Fix bug #104375. Bug in String.replace() with $n where n > # parens.
r=khanson, sr=brendan.
2002-01-24 19:27:21 +00:00
nboyd%atg.com 8ac7ce6e06 Add new skip. 2002-01-24 14:10:35 +00:00
rginda%netscape.com 675a123ada bug 119865, crash exiting venkman, r=peterv, sr=brendan
use nsCOMPtr to avoid releasing a final reference via jsdScript::Invalidate()
2002-01-24 13:17:04 +00:00
jst%netscape.com 74b270f1db Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-24 09:20:51 +00:00
jst%netscape.com 755aed19ba Fixing bug 120901. Eliminating unnecessary QI call in XPCWrappedNative::GetNative(). r=dbradley@netscape.com, sr=jband@netscape.com 2002-01-24 06:03:25 +00:00
jst%netscape.com cc17fd30b7 Fixing bug 120718. Making XPCReadableJSStringWrapper not allocate non-shared buffer handles, this caused a malloc to happen for every XPCReadableJSStringWrapper that was accessed in mozilla, ~400 allocations at startup. r=dbaron@fas.harvard.edu sr=jaggernaut@netscape.com. 2002-01-24 05:59:41 +00:00
bratell%lysator.liu.se af5d807ca1 Bug 120990 - make conversion from integer to string faster by not using sprintf. r=khanson, sr=brendan 2002-01-24 05:24:39 +00:00
pschwartau%netscape.com 47f756e940 Correcting typo. 2002-01-24 02:31:51 +00:00
pschwartau%netscape.com 643394a31d Initial add. Regression test for bug 96526. 2002-01-24 02:25:05 +00:00
pschwartau%netscape.com b11d6ffb0e Initial add; testing Error.prototype.toString() 2002-01-23 02:24:32 +00:00
brendan%mozilla.org dcbcdb0799 Inline-eliminate js_Emit{Break,Continue} and move SRC_CONTINUE generation to the right place (120571, r=rogerl, sr=jst&jband, a=asa). 2002-01-22 22:06:10 +00:00
nboyd%atg.com b0c8c14266 Fix bug:
Norris,

I realize this is probably a nuisance, but the following problem causes our
regression test suite to fail:

    js> foo = new Error("bar")
    undefined: bar
    js> foo.name Error
    js> foo.toString()
    undefined: bar

Our test suite expects:

    js> foo = new Error("bar")
    Error: bar
    js> foo.name Error
    js> foo.toString()
    Error: bar

I have not yet tried the debugger with the RC2 release, but I expect to get
to that later today.

I hope I'm not to late to influence the 1.5R3 release.

Thanks,

dave
2002-01-19 17:43:26 +00:00
pschwartau%netscape.com 4e5c511acb Made sections 13 and 14 more precise. 2002-01-19 03:34:50 +00:00
sfraser%netscape.com 0428dc97e3 Fix for bug 120451 -- clean up the sleep Q entry on quit, so that we don't leave a bad entry there and hose the machine some time later. r=sdagley, sr=beard, a=blizzard 2002-01-18 21:40:13 +00:00
pschwartau%netscape.com eefea05476 Added two more cases to test. 2002-01-18 07:07:13 +00:00
nboyd%atg.com 46f0076965 Skip changed test. 2002-01-17 13:50:47 +00:00
beard%netscape.com 5dfeb6c1a2 Configuration to build on Mac OS X 10.1. 2002-01-17 06:39:04 +00:00
jst%netscape.com 50295b2702 Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com 2002-01-17 04:08:14 +00:00
dbaron%fas.harvard.edu 362b589445 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 83fc380ff9 Add link to article with Rhino. 2002-01-16 16:07:12 +00:00
rogerl%netscape.com be480d0e2d Fixed RegExp bug #72964, r=khanson, sr=brendan 2002-01-16 06:47:06 +00:00
rogerl%netscape.com 08c2912aac Fixed RegExp bugs #105972 & #87231. r=khanson, sr=brendan. 2002-01-16 06:06:34 +00:00
brendan%mozilla.org 71be933776 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 958c05b6cc 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 e56e20b1dc 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 007db84d18 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 4ca475a6d9 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 2f7c759f41 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 81bbc17978 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 14c34495ad Update for 1.5R3. 2002-01-15 17:35:09 +00:00
pschwartau%netscape.com 8d201875cc Correcting a typo in comments- 2002-01-15 01:07:28 +00:00
pschwartau%netscape.com 10fa64eeea Initial add. Regression test for bug 119909. 2002-01-15 00:51:12 +00:00
rginda%netscape.com e4742bb5be bug 119938, nebiros bustage, r=dbaron
remove useless casts
2002-01-14 21:59:34 +00:00
jband%netscape.com 66c9536fcc 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 cfc984cc6c 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 1b30f2ebf8 Exclude Unicode-2 incompatible tests 2002-01-14 01:21:07 +00:00
beard%netscape.com 3420ef9253 Fix mac bustage: jschar* and PRUnichar* aren't compatible. 2002-01-12 01:40:15 +00:00
rginda%netscape.com 73855845b3 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 d24a0fe0ca Updating JS_GetImplementationVersion() to date of latest JS release (67111). 2002-01-11 23:18:39 +00:00