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

3597 Коммитов

Автор SHA1 Сообщение Дата
nboyd%atg.com e89d7ebdc2 Try recommitting changes to see if they make it to the web site. 2001-08-03 13:57:05 +00:00
nboyd%atg.com b42e37107b Try to tweak getting the change propagated to the web site. 2001-08-03 13:55:31 +00:00
rginda%netscape.com 78dca2e056 remove js_EmitTree call (And friends) because this stuff has already been taken care of by the Statements() call.
See bug 82188
patch=brendan, r=me, sr=jband
2001-08-03 05:20:59 +00:00
rginda%netscape.com 5f82a6723b - not built -
add javadoc comments, remove jsdIScript::isActive, add jasIService::GC()
2001-08-03 05:15:27 +00:00
rginda%netscape.com 4bec38f2e7 - not built -
remove isActive attribute from jsdScript (it's the same thing as isValid)
fix bug in jsdValue::GetDoubleValue()
add jsdService::GC()
2001-08-03 05:14:21 +00:00
brendan%mozilla.org 5627dc3547 Mike Epstein's patch to make MAX_INTERP_LEVEL predefinable (93176, r=rogerl, sr=brendan) 2001-08-02 21:31:00 +00:00
dbaron%fas.harvard.edu 6f534f6129 Fix leaks of JS runtime service. b=93089 r=shaver, dbradley sr=waterson 2001-08-02 01:58:33 +00:00
nboyd%atg.com 9e1e01f617 New version number. 2001-08-01 20:46:46 +00:00
pschwartau%netscape.com f801e2ecf9 Improving comments. 2001-08-01 17:43:12 +00:00
pschwartau%netscape.com 473c2ac5c6 Adding attribution to jim@jibbering.com 2001-08-01 00:54:44 +00:00
pschwartau%netscape.com 19f7f431ea Minor change to comment. 2001-07-31 20:14:30 +00:00
pschwartau%netscape.com aa725b6658 Adding a new case to the test, from jim@jibbering.com (see bug 92942). 2001-07-31 20:05:26 +00:00
pschwartau%netscape.com 275f729477 Correcting an error in the testcase - 2001-07-31 19:47:19 +00:00
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
nboyd%atg.com 3df003a114 Update for 1.5R2 release. 2001-07-30 19:30:07 +00:00
nboyd%atg.com a44bfbaa7b Update with new bugs unfixed in either engine. 2001-07-30 14:11:18 +00:00
timeless%mac.com e962707671 Bugzilla Bug 92134 Sun Workshop 6 Update 2 _FCS_ fails to build due "jscpucfg" error
by : Roland.Mainz@informatik.med.uni-giessen.de r=cls a=dbaron
2001-07-30 06:44:43 +00:00
pschwartau%netscape.com 2c4e65702e Updated email addresses in the document. 2001-07-27 21:24:49 +00:00
nboyd%atg.com a0b6deb251 Updates for 1.5R2. 2001-07-27 14:12:03 +00:00
nboyd%atg.com 41a836bef0 Update to test changes. 2001-07-26 19:00:39 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
brendan%mozilla.org 52f4ef75ac Fix 3-way deadlock by never nesting rt->gcLock inside rt->setSlotLock (90994, sr=shaver&jband). 2001-07-25 02:43:40 +00:00
radha%netscape.com 5489eac1e8 Partial fix to bug # 40867. Exposes interfaces implemented by nsGlobalwindow to JS. r=rpotts sr=jst, vidur 2001-07-24 22:39:11 +00:00
jaggernaut%netscape.com cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
waldemar%netscape.com f43f993809 Moved to mozilla/js2/semantics 2001-07-21 02:11:56 +00:00
cls%seawood.org c95f2a4a26 Update REQUIRES for jsd 2001-07-20 05:33:34 +00:00
pschwartau%netscape.com 0733c8cb62 Changing test since bug 90551 has been marked WONTFIX. 2001-07-19 23:46:23 +00:00
brendan%mozilla.org f90032b6ba Drop scope property after holding, even if SPROP_GET/SET failed (90597, r=hyatt, sr=waterson). 2001-07-19 23:08:10 +00:00
pschwartau%netscape.com 8a89543e3d Added another section to the test. Improved comments. 2001-07-18 22:34:37 +00:00
rogerl%netscape.com 6303b01730 Added fdlibm_ns to build, stopped warnings from formmatter.h 2001-07-18 22:34:09 +00:00
pschwartau%netscape.com 40cf988765 Adding a comment. 2001-07-18 21:49:16 +00:00
pschwartau%netscape.com 2d58cb38ba Whitespace cleanup. 2001-07-18 21:42:24 +00:00
pschwartau%netscape.com 830f617bd4 Initial add. Regression test for bug 72964. 2001-07-18 20:30:21 +00:00
pschwartau%netscape.com 22b52e59d0 Initial add. 2001-07-17 21:48:28 +00:00
jst%netscape.com f70ebcaecd Fixing bug #87389 This refreshes prototypes when classes are initialized on the context (Page transition) to prevent changes to prototypes from persisting across document loads. r=dbradley@netscape.com, sr=jst@netscape.com, patch by jband and dbradley (dbradley checking in from jst's account) 2001-07-17 06:20:37 +00:00
av%netscape.com 3ee52d160b Backing out existing fix for 87193 -- r=mstolz, sr=shaver, attinasi 2001-07-17 02:24:16 +00:00
pschwartau%netscape.com 8105cee9ce Initial add. 2001-07-16 23:40:35 +00:00
bryner%uiuc.edu 6ea11b87bc Fixing BeOS bustage - use uint32 instead of u_int32_t. 2001-07-16 06:04:25 +00:00
bryner%uiuc.edu 006ec96e1e Bug 83388 -- dialogs (and probably other things) broken when using -O2 on gcc 2.96 due to js code that was unsafe for alias optimization. r=drepper@cygnus.com, sr=brendan. 2001-07-16 05:02:10 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
pschwartau%netscape.com e3f7836a54 Initial add. 2001-07-15 23:01:19 +00:00
nboyd%atg.com bf90b94ec7 Subject:
Re: Rhino 1.5R2 release candidate
        Date:
             Fri, 13 Jul 2001 22:52:43 -0700
       From:
             Christopher Oliver <coliver@mminternet.com>
 Organization:
             Primary Interface LLC
         To:
             Norris Boyd <nboyd@atg.com>
  References:
             1




Hi Norris,

Attached are some (final?) changes to the debugger:

- Display NativeCall objects as "[object Call]" in this/locals tree-tables
- Fixed "Go to Function" to highlight the target function in the source
window
- Synchronized ContextListener implementation
- Added slightly more useful tooltips to the tool bar

Note I modified files from today's rhinoTip.zip.  Hopefully they were
identical to those in the cvs release branch.

Chris
2001-07-14 17:17:35 +00:00
brendan%mozilla.org a41197782b Fix a bug reported incompletely by 89474: UMR in its_item for it.item() calls (NOT PART OF BUILD). 2001-07-13 17:58:50 +00:00
nboyd%atg.com bd4398308e Subject:
Rhino: deal with all Throwables in Interpreter.interpret
        Date:
             Thu, 12 Jul 2001 14:27:34 +0200
       From:
             Igor Bukanov <igor@icesoft.no>
 Organization:
             Wind River
         To:
             Norris Boyd <nboyd@atg.com>




The attached patch modifies the catch code in Interpreter.interpret to
catch general Throwable exceptions to allow cleanup after throwing an
Error instance from Context.observeInstructionCount.
===================
Subject:
             Rhino: change of InterpreterData.itsLineNumberTable from Hahstable to
             UintHash
        Date:
             Thu, 12 Jul 2001 15:51:38 +0200
       From:
             Igor Bukanov <igor@icesoft.no>
 Organization:
             Wind River
         To:
             Norris Boyd <nboyd@atg.com>




The patch linetable_patch changes InterpreterData.itsLineNumberTable
from Hahstable to UintHash and debug/DebuggableScript.java to return
int[] array instead of Enumeration. It was run produced via
diff -ru javascript.0 javascript

The patch debugger_patch contains update for
toolsrc/org/mozilla/javascript/tools/debugger/Main.java to reflect above
api changes.
===============================
Subject:
             Rhino: patch not to store VariableTable in InterpreterData
        Date:
             Thu, 12 Jul 2001 16:34:18 +0200
       From:
             Igor Bukanov <igor@icesoft.no>
 Organization:
             Wind River
         To:
             Norris Boyd <nboyd@atg.com>




The patch removes the "VariableTable itsVariableTable" field from
InterpreterData so it would not be stored in
InterpretedFunction/InterpretedScript and could be garbage collected
after interpreter byte code generation is finished. The usage of
theData.itsVariableTable it Interpreter.interpret is replaced by
accessing argNames/argCount fields from the passed NativeFunction.
2001-07-13 13:53:40 +00:00
brendan%mozilla.org 2822c6166e Always select JSOP_EVAL for unqualified eval calls (77578, r=rogerl, sr=shaver). 2001-07-13 06:13:56 +00:00
pschwartau%netscape.com dbf7887f5e Initial add. Regression test for bug 77578. 2001-07-13 01:29:24 +00:00
pschwartau%netscape.com 85685006f5 Initial add. Regression test for bug 90445. 2001-07-12 21:55:17 +00:00
pschwartau%netscape.com 0da74e32ad Initial add. Regression test for bug 89443. 2001-07-12 21:54:27 +00:00
nboyd%atg.com 08f4af156e Fix bug:
Subject:
             Fatal error executing in IBM J9 VM
 Resent-Date:
             Mon, 9 Jul 2001 15:35:32 -0700 (PDT)
 Resent-From:
             mozilla-jseng@mozilla.org
        Date:
             9 Jul 2001 15:33:38 -0700
        From:
             bdemchak@tpsoft.com (Barry Demchak)
 Organization:
             http://groups.google.com/
          To:
             mozilla-jseng@mozilla.org
  Newsgroups:
             netscape.public.mozilla.jseng




Hi --

I've encountered an error in either Rhino or the IBM J9 VM's runtime
support -- I'm not sure which -- but the end result is an unhandled
exception. I'm quite willing to believe that it's already been dealt
with. If so, will someone point me to the solution?

I'm using: IBM's J9 on Windows 2000,
           IBM's IDE v1.3 on Windows 2000,
           Rhino v1.5 from mozilla.org

The exception is java.lang.StringIndexOutOfBoundsException.

It occurs in Context.getSourcePositionFromStack just after the call to
RuntimeException.printStackTrace. The code is expecting a code
reference that looks something like "(Example.js:50)" where "50" is
the line number. (I gather that's what the Sun VM returns???)

Instead, J9 is returning a code reference that looks like:
"java.lang.RuntimeException\n\n\n\nStack trace:\n\n
java/lang/Throwable.<int>()V\n\n" etc, etc, etc.

The error occurs because the Colon variable's value is less than the
Open variable's value in Context.getSourcePositionFromStack. When the
s.substring is evaulated, there's a negative string length ... boom.

I've patched an "if" statement in the getSourcePositionFromStack code
so that instead of:

if (c == '\n' && open != -1 && close != -1 && colon != -1)

I have:

if (c == '\n' && open != -1 && close != -1 && colon != -1 && open <
colon && colon < close)

Certainly, there's a better fix, but it's sufficient to keep me going.

So, I have several questions ... being new to open source and this
forum:

1) Is this a real bug ... a real Rhino bug??
2) Has this already been found?
3) Has this already been fixed?
4) If not, what's the proper protocol for reporting it?
5) What's the proper protocol for fixing it?

This shows up *very* quickly when trying to run a script under J9.
When it occurs, Rhino is trying to issue a warning about some shady
JavaScript code.

If this is a real bug and hasn't been fixed, I would infer that there
aren't a lot of people trying to run this under J9. Would that be a
fair statement? If so, can anyone comment as to why that would be??

Thanks!
2001-07-12 00:07:27 +00:00
nboyd%atg.com 0ee98640dd Subject:
Rhino: Fixes for catch in Interpreter.interpret
        Date:
             Wed, 11 Jul 2001 19:06:46 +0200
       From:
             Igor Bukanov <igor@icesoft.no>
 Organization:
             Wind River
         To:
             Norris Boyd <nboyd@atg.com>




Hi, Norris!

When doing that instruction counting implementation, I managed to mess
up code in the catch statement in Interpreter.interpret.

First for some reason I assumed that for a general RuntimeException the
previous code do not run finally statements but only script catch code.
Of cause this was wrong: that code skipped catch for arbitrary exception
while calling finally.

This is a reasonable behavior especially given the fact that arbitrary
RuntimeException may only arise from, say, bugs, other exceptions should
be wrapped to JavaScriptException.

Second I removed calls to debug.handleExceptionThrown...

The attached patch restores the original catch/finally logic and re-adds
calls to debug.handleExceptionThrown.

I will later update it that catch to handle Error as well to allow
cleanup after throwing an Error instance from
Context.observeInstructionCount , but restoration should go first.

Regards, Igor
2001-07-12 00:06:27 +00:00