fur%netscape.com
815859a7bb
Project files to build standalone JS using mini-NSPR
...
git-svn-id: svn://10.0.0.236/trunk@9163 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:38:20 +00:00
fur%netscape.com
d9185a5a7e
Minimal NSPR subset required to build JS engine
...
git-svn-id: svn://10.0.0.236/trunk@9161 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:37:14 +00:00
mccabe%netscape.com
5274fdddfe
Fixes for NetBSD and OpenBSD.
...
Thanks Marco S Hyman <marc@snafu.org>.
git-svn-id: svn://10.0.0.236/trunk@9104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 07:56:50 +00:00
beard%netscape.com
ce8cf140f2
The equals method isn't native in the Mozilla tree.
...
git-svn-id: svn://10.0.0.236/trunk@8905 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 23:39:51 +00:00
beard%netscape.com
005646cae3
Changed JavaPackage_resolve so that it doesn't return immediately if quiet_resolve_failure is true. Otherwise, pre_define_java_packages fails.
...
git-svn-id: svn://10.0.0.236/trunk@8904 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 23:39:04 +00:00
warren%netscape.com
1ce76af0e9
Added jsj_JavaMember.c (Changes from SpiderMonkey131_BRANCH of js/ref/liveconnect.)
...
git-svn-id: svn://10.0.0.236/trunk@8884 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:17:31 +00:00
beard%netscape.com
72cd4eeaee
Changes from SpiderMonkey131_BRANCH of ns/ref/liveconnect.
...
git-svn-id: svn://10.0.0.236/trunk@8883 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:15:32 +00:00
shaver%netscape.com
9013b35743
JS_ConstructObject: fill NULL proto/parent like JSOP_NEW would
...
git-svn-id: svn://10.0.0.236/trunk@8495 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:14:55 +00:00
cls%seawood.org
bde336e65a
Updates to autoconf files.
...
git-svn-id: svn://10.0.0.236/trunk@8491 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 04:04:57 +00:00
brendan%netscape.com
68cdb7d0b0
Fix typos, int type mismatch, white-space, and layout style nits.
...
git-svn-id: svn://10.0.0.236/trunk@8438 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:23:34 +00:00
warren%netscape.com
cf540377a4
Fixed copyright.
...
git-svn-id: svn://10.0.0.236/trunk@8252 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 07:58:32 +00:00
warren%netscape.com
9abf0ee471
Added from SpiderMonkey131_BRANCH of ns/js/ref/liveconnect
...
git-svn-id: svn://10.0.0.236/trunk@8251 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 07:58:00 +00:00
cls%seawood.org
4288391d23
AUTOCONF_1_0 landing.
...
git-svn-id: svn://10.0.0.236/trunk@8198 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:42:14 +00:00
danm%netscape.com
48600d89cf
(optionally) include GlowCode lib. a:warren,fur
...
git-svn-id: svn://10.0.0.236/trunk@7448 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 18:52:34 +00:00
sudu%netscape.com
1119d39d7c
Fix to build js classes when NSJVM=1.
...
git-svn-id: svn://10.0.0.236/trunk@7409 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:01:42 +00:00
beard%netscape.com
3b05b85628
Version check breaks HTML dialogs.
...
git-svn-id: svn://10.0.0.236/trunk@7329 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 05:25:12 +00:00
warren%netscape.com
35941018bd
Changes to build with MOZ_OJI, and optionally build NSJVM. Changes to regenerate jar files. Changed version number to 50.
...
git-svn-id: svn://10.0.0.236/trunk@7285 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:36:13 +00:00
warren%netscape.com
379619f4e4
Fixed crashes in reporting errors on failure to initialize.
...
git-svn-id: svn://10.0.0.236/trunk@7269 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:37:16 +00:00
bjorn%netscape.com
30ead9145f
Additional xpcom support for JS. Currently not in use by anyone. See MyScriptable.{h,cpp}
...
for an example of how to use this interface.
git-svn-id: svn://10.0.0.236/trunk@7252 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:34:20 +00:00
shaver%netscape.com
8899f4d056
added JSVERSION_1_4, removed prconv.sed NULs
...
git-svn-id: svn://10.0.0.236/trunk@7062 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:52:50 +00:00
warren%netscape.com
5e49404e07
Removed build of java classes.
...
git-svn-id: svn://10.0.0.236/trunk@6980 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:54:16 +00:00
warren%netscape.com
af74b07970
Fixed _jni dir problem
...
git-svn-id: svn://10.0.0.236/trunk@6976 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:22:43 +00:00
warren%netscape.com
20b5610704
Removed unzip step.
...
git-svn-id: svn://10.0.0.236/trunk@6972 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:12:32 +00:00
warren%netscape.com
3c42f93bf9
Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
...
git-svn-id: svn://10.0.0.236/trunk@6967 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:19:50 +00:00
mccabe%netscape.com
cd73b6485a
Another attempt to remove trailing nul characters added courtesy CVS.
...
git-svn-id: svn://10.0.0.236/trunk@6915 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 01:45:05 +00:00
mccabe%netscape.com
b32b6c20e8
Propagating numerous fixes from js/ref
...
and development branches, including but
not limited to:
- Preliminary exception handling per
ECMA proposal; try, multiple
catchblocks, and finally. Catchblocks
are of the form catch (v) or
catch(v:<guard>), where guard is an
optional boolean expression that is
evaluated to determine whether the
exception is to be caught by that block.
- ECMA-proposed 'in' operator; "'foo' in
o" or "4 in o" asks if o has property
foo or element 4.
- Added a new set of defines in
jsconfig.h for js 1.4
features-in-progress. (in, instanceof,
exception handling.) Default build
version is now 1.4. Fixed a few
conditional features that had become
broken.
- Progress towards porting to FreeBSD
and Alpha; casts of NaN and friends to
int are a little more localized. Not
there yet...
- New config files to compile on more
OSes; various fixes to improve
portability.
git-svn-id: svn://10.0.0.236/trunk@6907 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:07:22 +00:00
warren%netscape.com
6cf0255e58
Committed from OJI_19980618_TIP_MERGE1.
...
git-svn-id: svn://10.0.0.236/trunk@6602 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 02:11:07 +00:00
bjorn%netscape.com
8b53ff3864
Restoring tree to previous version. Should not affect the build. The previous
...
checkin had no impact on the build either, but I'll wait with these changes until
the tree is open again. Sorry for the inconvenience.
git-svn-id: svn://10.0.0.236/trunk@6327 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:25:16 +00:00
bjorn%netscape.com
f507367ff5
New version of jsIScriptable.h (clobbers the old one). New files added for
...
testing (MyScriptable) and embedding support (JSWrapper,jsIScriptable,main).
git-svn-id: svn://10.0.0.236/trunk@6309 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:46:28 +00:00
warren%netscape.com
3ae4ac68e3
Added generated files for when we're not building java anymore.
...
git-svn-id: svn://10.0.0.236/trunk@6059 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 05:42:12 +00:00
shaver
469e36a3d2
more jsI?Context stuff, some Scriptable hackery
...
git-svn-id: svn://10.0.0.236/trunk@5597 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:59:47 +00:00
danm
99159ddc96
glowcode. bug 299200 a:don.
...
git-svn-id: svn://10.0.0.236/trunk@5225 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:33:15 +00:00
shaver
878a85e07b
start at jsContext and jsRuntime implementations, enough to run trivial script
...
git-svn-id: svn://10.0.0.236/trunk@5148 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:53:49 +00:00
shaver
c00692bd31
forgot the NPL
...
git-svn-id: svn://10.0.0.236/trunk@4824 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 19:59:06 +00:00
shaver
d72485a1e5
adding XPCOM interface support (non-functional) -- not part of Gromit
...
git-svn-id: svn://10.0.0.236/trunk@4808 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:18:00 +00:00
atotic
8b49e55a21
Implemented MyReadLocation inline to remove the NavigatorStubs dependency
...
git-svn-id: svn://10.0.0.236/trunk@4610 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:35:01 +00:00
fur
aea62596b0
Propagation of numerous bug fixes from 4.06 (which have been reviewed
...
and tested in that release):
#114564 : Fix JS_Enumerate to return an empty id array instead of null
#115395 : Fix JS garbage collection
#115200 : Security dialog no longer blows assertion
#123211 : Make sure output of sort array function is -1, 0, or 1.
#116195 : Fix ImportProperty(), cope with an existing local variable
of the same name as the imported property
Unbusticate JS_invoke() so that closures work again
#115384,#115395: Handle bugs in toSource that strike when
getProperty is non-idempotent. Fix crash during JavaScript
garbage collection after enumerating object properties.
#??????: mjudge - Win16 files to make ptrdiff_t be 32 bits on Win16
git-svn-id: svn://10.0.0.236/trunk@3573 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 23:04:48 +00:00
shaver
d0ef1a83a8
added JS_YieldRequest to API (me), and removed assertion in InitClass (mlm)
...
git-svn-id: svn://10.0.0.236/trunk@3565 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:39:58 +00:00
shaver
2bbfb94096
first arg to Script.prototype.exec is scopeobj, not second-with-ignored-first
...
git-svn-id: svn://10.0.0.236/trunk@3561 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:10:45 +00:00
fur
c4f601320e
Replacement for stddef.h in the JS interpreter which defines ptrdiff_t to be 32 bits rather than 16 bits on Win16 only
...
git-svn-id: svn://10.0.0.236/trunk@3559 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:05:54 +00:00
norris
b7d3aba53f
Fix 123552 Array length updating is incorrect
...
js> a = new Array()
js> a["3.00"] = "three"
three
js> a.length
4
Since "3.00" is not an array index as defined by ECMA, a.length should be 0.
git-svn-id: svn://10.0.0.236/trunk@3539 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 16:47:00 +00:00
norris
b44d1646cf
Fix bug 104191 "ECMA: multiple params w/ same name":
...
Decompiling "function f(a,b,a) { ... }" would only print two parameters.
git-svn-id: svn://10.0.0.236/trunk@3519 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:41:54 +00:00
mccabe
afa5375ed6
ECMA fix to bug (93557). When excecuting the Function constructor,
...
treat all the 'arguments arguments' as if they were concatenated
together as a comma-separated list, and treat the list as if it were
the arguments list in a normal function declaration. That is, allow
comments, arbitrary whitespace, etc.
Fixed by introducing a TokenStream instance in the Function contructor
code.
git-svn-id: svn://10.0.0.236/trunk@3500 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 19:04:17 +00:00
mccabe
84e1fd30b8
Added a few (JSOp) casts to appease Macintosh compiler workings.
...
Enums are types!
git-svn-id: svn://10.0.0.236/trunk@3150 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 00:22:55 +00:00
mccabe
7880652747
Hopefully removed the offending jsstddef.h for good.
...
git-svn-id: svn://10.0.0.236/trunk@3006 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 03:55:10 +00:00
sar
964270c59d
backing out mccabes checkin
...
git-svn-id: svn://10.0.0.236/trunk@2997 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 02:30:46 +00:00
mccabe
1ccdb802f9
Removed reference to jsstddef.h - which got propagated over from
...
recent changes to js/ref. We need to fix prconv.sed or check in
src/jsstddef.h!
git-svn-id: svn://10.0.0.236/trunk@2975 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:23:57 +00:00
scc
d1e463682a
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@2965 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 23:54:58 +00:00
mccabe
d032f71431
Cleanup of parseInt checkin, including comment changes. The code is
...
now a little more explit about when it expects js strings to be
null-terminated.
git-svn-id: svn://10.0.0.236/trunk@2964 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 23:21:08 +00:00
shaver
aca06adb66
tracking ref fixes: XDR and jsnum
...
git-svn-id: svn://10.0.0.236/trunk@2349 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 14:24:39 +00:00