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

4051 Коммитов

Автор SHA1 Сообщение Дата
rginda%netscape.com 905acd6402 changing a string constant, comenting out a DEBUG_rginda
use more descriptive url when compiling prettyprint changes
2002-01-31 00:37:28 +00:00
pschwartau%netscape.com 5c88e87eeb Initial add. Regression test for bug 121744. 2002-01-30 21:57:28 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
rginda%netscape.com 2ab45af255 quiet bogus "potentially unused" warnings, see bug 121178, sr=brendan 2002-01-30 08:37:57 +00:00
igor%mir2.org 03c7c86042 Stricter enter/exit: enter performs sanity checks on supplied Context and the exit requires previous enter. 2002-01-29 22:58:22 +00:00
dougt%netscape.com c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
igor%mir2.org 7ca511bab3 Few Native* classes are made package private and final. They had been public only for implementation reasons. 2002-01-29 18:40:13 +00:00
igor%mir2.org 86947ddec0 Use ScriptRuntime.toString(double) to convert double to string. Easier to follow version of getElem/setElem 2002-01-29 09:44:24 +00:00
rginda%netscape.com 9626570b63 bug 121318, sr=brendan,r=jst, "Venkman should disable the target window when stopped at a breakpoint".
implement the jsdIContext interface.
create only one jsdValue wrapper per unique jsval.
add executionContext property to jsdIStackFrame.
add enumerateContexts to jsdIDebuggerService.
add jsdIContextEnumerator interface.
2002-01-29 08:32:23 +00:00
rginda%netscape.com 0e7a4d620e fixing os/2 bustage, false vs PR_FALSE mixup 2002-01-29 07:20:59 +00:00
rginda%netscape.com 33fccb8187 bug 121178, r=jst,sr=brendan, "jsdIStackFrame::eval signature needs to be changed"
return exception from jsdService::Eval if one occurs.
2002-01-29 06:15:58 +00:00
rginda%netscape.com ecdf07d4a4 bug 121192, sr=brendan,r=jst, "Add proper errorHook and debugHook to jsdIDebuggerService"
adds jsdIDebugHook interface, change the meaning of jsdIErrorHook.
error hook is called when an error occurs, and is given information about the error report.
debug hook is called when/if the error hook returns false, and is given information about the ececution state.
2002-01-29 05:56:02 +00:00
nboyd%atg.com 044c888b5f Update implementation version. 2002-01-28 00:52:12 +00:00
brendan%mozilla.org 1d1d042dce Checking in rogerl's fix for double-reports of compile-time errors (120197, r=brendan, sr=shaver). 2002-01-27 04:42:37 +00:00
nboyd%atg.com a2254d8379 Clean up formatting. 2002-01-26 20:07:49 +00:00
nboyd%atg.com eec81fb952 Fix bug 121790 2002-01-26 19:15:06 +00:00
nboyd%atg.com cf94c28b89 Fix formatting 2002-01-26 19:13:22 +00:00
pschwartau%netscape.com 31fad3dda2 Improving readablity. 2002-01-25 23:52:24 +00:00
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