Commit Graph

3270 Commits

Author SHA1 Message Date
rginda%netscape.com
8a92caa7e5 - not built -
mmm.
skeleton jsdIObject, jsdIProperty
string tweaking
lock / unlock script sytem for JSDScript calls
imeplement jsdIStackFrame, jsdIThreadState, and jsdIValue
hacked in EnterNestedEventLoop and ExitNestedEventLoop
2001-04-20 03:54:05 +00:00
rginda%netscape.com
6fccd0404a - not built -
indentation fix
2001-04-20 03:48:03 +00:00
rginda%netscape.com
2fe479c4df - not built -
add *_EvaluateUCScriptInStackFrame
2001-04-20 03:47:09 +00:00
rginda%netscape.com
71a01a1849 - not built -
add private data to JSDScripts, fix unsigned vs signed warning
2001-04-20 03:45:39 +00:00
rginda%netscape.com
3c642c3b37 - not built -
quiet unix missing initializer warnings
add private data to JSDContexxt
2001-04-20 03:44:25 +00:00
rginda%netscape.com
9ddbba17f0 -not built-
adding private data to JSDContext, add jsd_EvaluateUCScriptInStackFrame
2001-04-20 03:43:07 +00:00
rginda%netscape.com
354d761018 - not built -
include <ctype.h> for toupper
2001-04-20 03:41:10 +00:00
brendan%mozilla.org
f8defeec04 Restore ECMA-required Function.prototype.toString while keeping toSource/uneval fix for bug 73760 (76634, r=beard, sr=shaver, a=asa). 2001-04-19 21:57:25 +00:00
brendan%mozilla.org
28427e3770 Fix regexp object (scope) vs GC deadlock (76233, r=beard, sr=shaver, a=asa). 2001-04-19 21:15:40 +00:00
brendan%mozilla.org
09cab04692 Fix __kernel_standard prototype to match recent addition of int *err final out-param (8112, r=shaver, sr=me, prototype not used by Mozilla or embedding builds). 2001-04-19 21:05:52 +00:00
pschwartau%netscape.com
6d221b98ab Getter/setter tests are non-ECMA. Moving them from ecma_3 directory to js1_5 directory. 2001-04-19 19:09:32 +00:00
beard%netscape.com
426dfab4d7 loadClassName: use current class loader to find classes, before calling Class.forName(). 2001-04-19 17:31:34 +00:00
nboyd%atg.com
5199af3051 Latest patches from Igor. 2001-04-19 12:52:39 +00:00
pschwartau%netscape.com
c3db8a47c0 "for (i in myArray)" produces unintentional side effects if a test modifies Array.prototype or Object.prototype. Use for (i=0; __; i++) instead. 2001-04-18 22:33:31 +00:00
beard%netscape.com
e183541072 Removed hard tabs, removed unnecessary cast, (Scriptable)null. 2001-04-18 20:50:58 +00:00
beard%netscape.com
9d02c9eb11 fix for bug #8112, sr=brendan, r=beard 2001-04-18 03:38:58 +00:00
beard%netscape.com
9f1ea34458 fix for bug #60018 (prevent dangling JSContext), sr=brendan, r=edburns 2001-04-18 03:17:30 +00:00
beard%netscape.com
5de19d97ce Added UTCUtil library. [not part of build] 2001-04-18 02:44:01 +00:00
beard%netscape.com
6ea19da1fa Fix for bug #26516, load Java lazily. sr=brendan, r=edburns 2001-04-18 02:22:13 +00:00
pschwartau%netscape.com
093eb06477 Getter/setter tests are non-ECMA. Moving them from ecma_3 directory to js1_5 directory. 2001-04-17 23:56:57 +00:00
pschwartau%netscape.com
b4f95d7a38 Getter/setter tests are non-ECMA. Moving them to js1_5 directory 2001-04-17 23:54:17 +00:00
nboyd%atg.com
1f40b84b6c Hi, Norris!
I attach optimization patch for NativeDate that makes all js... methods
private, removes passing of unnecessary parameters and replaces
checkInstance by realThis call with false as the third parameter.


Regards, Igor

Hi, Norris!

Here is another small optimization for NativeDate in DayFromMonth method
where it replaces arrays by few ifs.

Regards, Igor
2001-04-17 13:54:45 +00:00
rginda%netscape.com
5b9389c467 moving xpcom wrapper from extensions/venkman/src/ and idl/ to here. 2001-04-17 08:50:41 +00:00
brendan%mozilla.org
b9f0126b31 Avoid recursive death *and* don't crash on null proto pointer (75239, r/sr=jband, r=itaj sherman <MobDotCom@hotmail.com>). 2001-04-17 07:34:39 +00:00
jband%netscape.com
3937ca299c fix bug 76102. Only vend weak references from the root of a wrappedJS wrapper chain. r=dbaron sr=brendan 2001-04-17 07:22:52 +00:00
brendan%mozilla.org
00e6bf0cdc Over-engineer byte-order macro generation to catch most PDP-endian situations (65230, r=rogerl, not part of Mozilla-the-browser-suite build). 2001-04-17 07:12:38 +00:00
nboyd%atg.com
39f51f6c80 Subject:
Rhino: patch for IdScriptable.java and question about useDynamicScope
        Date:
             Mon, 16 Apr 2001 17:55:19 +0200
       From:
             Igor Bukanov <igor.bukanov@windriver.com>
 Organization:
             Wind River
         To:
             Norris Boyd <nboyd@atg.com>




Hi, Norris!

Here is a patch to IdScriptable.java that fixes sealed semantic and
makes Something.prototype.constructor to behave just as having DONTENUM
attribute, not DONTENUM|READONLY|PERMANENT. It also renames
seal_function to sealFunctions.

I also have a following question. I added nextInstanceCheck to
IdScriptable.java and its usage in realThis in NativeDate to emulate
code from FunctionObject where it looks up prototype in search for
NativeSomething instance if useDynamicScope is true. But could you
describe why it is necessary? I can understand why doing something like

var proto = new Date();
function Test() { }
Test.prototype = proto;
var test = new Test();
print(test.getDay()); // same as proto.getDay()

would be useful in ceratain situations, but what it has to do with
shared scopes?

Regards, Igor
2001-04-16 19:29:48 +00:00
rginda%netscape.com
c7b6faefda -- not built --
unix make fixes
unix "missing initializer" warnings
2001-04-14 18:57:00 +00:00
beard%netscape.com
b85b5e504f Fix for bug #49130, a=phil 2001-04-14 17:18:14 +00:00
brendan%mozilla.org
ef5f23f75e Use parent, if non-null, as scope chain with which to find default proto from Class.prototype, in js_{New,Construct}Object (75975, sr=jband&jst). 2001-04-14 07:34:58 +00:00
beard%netscape.com
5583150c3d Remove bogus access paths. r/sr=sfraser 2001-04-14 00:16:29 +00:00
beard%netscape.com
6b8a7db136 Fix for bug #74476: pass the actual date to PRMJ_DSTOffset() rather than 0. 2001-04-14 00:07:53 +00:00
brendan%mozilla.org
14a268aa85 Don't zap atom state on last destroy-context in a runtime if interned strings are held by atoms, and/or rooted objects reach atoms -- there may be a new-first-context in the future (72043, r=jband, sr=shaver). 2001-04-13 08:06:15 +00:00
brendan%mozilla.org
93fdf9a5c7 Better GC-deadlock avoidance (75141, r=shaver, sr=jband). 2001-04-12 01:52:30 +00:00
nboyd%atg.com
c83b74d6be Updates from Igor. 2001-04-11 23:29:23 +00:00
nboyd%atg.com
474433c5db Need to pop activation stack. 2001-04-11 23:28:47 +00:00
brendan%mozilla.org
8d92e7ae97 - Don't initialize the arguments class, and do rename it to "Object" so that
arguments objects are prototyped by Object.prototype, per ECMA.  We still
  want a custom class, in order to lazily resolve active-JSStackFrame-based
  properties.
- Use a reserved slot to hold a bitmap of deleted arguments elements, so we
  don't re-resolve them after they've been deleted (which would make them seem
  to be permanent, contrary to ECMA).  This work involved sprucing up several
  fundamental types (jsbitmap) and macros (jsbitmap helper macros in jsbit.h,
  JS_HOWMANY in jstypes.h, JSVAL_INT_BITS in jsapi.h).
2001-04-11 23:07:26 +00:00
shaver%mozilla.org
a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
nboyd%atg.com
096c704d7a Fixes from Igor. 2001-04-11 13:44:09 +00:00
nboyd%atg.com
dfea48c35c Fix race condition in method. 2001-04-11 13:43:07 +00:00
nboyd%atg.com
5425d1691b Make default for generatingDebug flag be true for compilation and false for interpretation. 2001-04-11 13:42:26 +00:00
brendan%mozilla.org
20c8360306 Avoid deadlocking the GC on a scope claimed by another thread, but slated to be shared, i.e. ownercx is null but u.link is not (75141, r=shaver, sr=jband). 2001-04-11 05:45:43 +00:00
brendan%mozilla.org
bbb236a9bf Fix uninitialized var botch (75239, r=rogerl, sr=jband). 2001-04-11 05:31:22 +00:00
nboyd%atg.com
d49a818ed0 Fix incorrect for..in order dependency 2001-04-10 17:16:04 +00:00
nboyd%atg.com
77435b1a17 New file from Igor. 2001-04-10 14:21:24 +00:00
nboyd%atg.com
64bdadc1e0 Add Igor's changes to make generation of id strings by tool. 2001-04-10 13:20:02 +00:00
beard%netscape.com
479d30c766 Synchronized with latest sources. 2001-04-10 07:09:43 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
nboyd%atg.com
a717446397 Remove SecuritySupport code that doesn't apply to the Invoker case. 2001-04-10 01:47:50 +00:00
brendan%mozilla.org
f99ab5259a Fix Function.prototype.to{Source,String} to parenthesize function objects that were expressed rather than declared (73760, r=rogerl, sr=shaver). 2001-04-10 01:10:28 +00:00