nboyd%atg.com
51ddcc8533
Fix bug 57060 for/in loop enumerates array elements as numbers, not strings
...
git-svn-id: svn://10.0.0.236/trunk@82012 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 19:46:02 +00:00
nboyd%atg.com
6677211b56
Fix bugs:
...
56318 function literals with names don't work right
57045 negative integers as object properties: weird behavior
58479 functions defined within conditional phrases are always crea
git-svn-id: svn://10.0.0.236/trunk@82011 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 19:34:11 +00:00
shaver%mozilla.org
853ef950d0
#56716 , run finally{} before return from try{}/catch{}, r=mccabe, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@81984 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 18:54:58 +00:00
brendan%mozilla.org
8b26bb2761
Use 0 - i rather than -i to avoid unsigned warning on Windows.
...
git-svn-id: svn://10.0.0.236/trunk@81982 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 18:08:40 +00:00
nboyd%atg.com
b2e5fffdaf
Fix formatting
...
git-svn-id: svn://10.0.0.236/trunk@81981 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 18:07:26 +00:00
brendan%mozilla.org
327f36258e
Handle negative-int-fits-in-jsval string literals as property names equivalent to their int conversions (57043, r=shaver, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@81973 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 01:30:16 +00:00
waldemar%netscape.com
f1156c178a
Allowed multiple units in a unit expression
...
git-svn-id: svn://10.0.0.236/trunk@81946 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:55:47 +00:00
waldemar%netscape.com
6594c99865
Renamed OrdinaryInitialIdentifierCharacter and OrdinaryContinuingIdentifierCharacter to InitialIdentifierCharacter and ContinuingIdentifierCharacter
...
git-svn-id: svn://10.0.0.236/trunk@81944 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:55:19 +00:00
waldemar%netscape.com
8313ac2651
Initial version
...
git-svn-id: svn://10.0.0.236/trunk@81943 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:54:44 +00:00
waldemar%netscape.com
beecf34d49
Added JS20/Units
...
git-svn-id: svn://10.0.0.236/trunk@81941 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:53:23 +00:00
rogerl%netscape.com
2dc7e15103
Fixed gcc whine about char16.
...
git-svn-id: svn://10.0.0.236/trunk@81902 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:07:36 +00:00
rogerl%netscape.com
7ccc093f31
Removed unused parameter.
...
git-svn-id: svn://10.0.0.236/trunk@81901 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:01:58 +00:00
rogerl%netscape.com
8133677bfb
Named parameter work.
...
git-svn-id: svn://10.0.0.236/trunk@81899 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:55:31 +00:00
nboyd%atg.com
558c3dabc5
Add javadoc.
...
git-svn-id: svn://10.0.0.236/trunk@81879 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 20:17:56 +00:00
nboyd%atg.com
eb1585428c
Fix tree and icode printing.
...
git-svn-id: svn://10.0.0.236/trunk@81878 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 20:17:19 +00:00
mccabe%netscape.com
babe1d49fe
Changes to update standalone JavaScript and Liveconnect library builds to the New Era of NSPR 4 and JDK 1.2.
...
Fixes for OSF; they they assume the existence of /share/builds/components/[jdk|nspr]/SOME_VERSION/etc/etc. Sorry, external folks!
Not part of the Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@81844 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 01:10:09 +00:00
mccabe%netscape.com
58fa3caf3e
Changes to update standalone JavaScript and Liveconnect library builds to the New Era of NSPR 4 and JDK 1.2.
...
Fixes for Linux and SunOS; they assume the existence of /share/builds/components/[jdk|nspr]/SOME_VERSION/etc/etc. Sorry, external folks!
Not part of the Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@81841 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 00:08:31 +00:00
mccabe%netscape.com
fdc21556f0
Fix standalone liveconnect build to not complain about missing fdlibm when asked to clean or clobber.
...
Not part of the Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@81839 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 23:48:16 +00:00
mccabe%netscape.com
8f2cf2aab5
Make commandline shells for javascript and xpconnect-enabled javascript not return failure error codes when a warning occurs.
...
The failure codes were confusing our test drivers.
Not part of the Mozilla product.
git-svn-id: svn://10.0.0.236/trunk@81838 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 23:45:43 +00:00
jeff.dyer%compilercompany.com
833f58344e
Added a couple missing redesignates.
...
git-svn-id: svn://10.0.0.236/trunk@81821 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 19:51:31 +00:00
beard%netscape.com
972f467d5e
adding nodefactory.h to dependency mix
...
git-svn-id: svn://10.0.0.236/trunk@81795 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:43:41 +00:00
beard%netscape.com
0a57f9fd4a
fixing confusing code for linux, static Arena() -> getArena()
...
git-svn-id: svn://10.0.0.236/trunk@81794 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:40:51 +00:00
mccabe%netscape.com
2ab9981a8b
Add magic emacs modeline comment to make it display in Makefile mode.
...
Not part of the Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@81789 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:59:03 +00:00
mccabe%netscape.com
a5b99df08e
Add magic emacs modeline comment to make it display in Makefile mode.
...
Not part of the Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@81783 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:13:07 +00:00
jeff.dyer%compilercompany.com
5f7b205835
Added to FunctionDefinition a pointer that marks the position in the
...
parameter list that the named parameter marker occurs. The names at or
after that position may or may not have aliases associated with them.
git-svn-id: svn://10.0.0.236/trunk@81733 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 12:46:23 +00:00
brendan%mozilla.org
614fbcdb8a
Fix obj.toSource to get attributes using the object in which id was found (56482, r=jband, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@81729 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 07:00:31 +00:00
brendan%mozilla.org
c36c1df644
Home sp before calling js_ValueToStringAtom and js_ValueToFunction (bug 57826, r=mccabe, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@81724 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 04:04:29 +00:00
jeff.dyer%compilercompany.com
8d898e96b3
Fix assertions that I missed in partial debug mode. Also fixed problem with
...
optional parameter after the named parameter marker.
git-svn-id: svn://10.0.0.236/trunk@81622 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 22:23:32 +00:00
jeff.dyer%compilercompany.com
4cfc6bf75b
Parsing named parameters and arguments according to the Sep-23rd revision
...
of the grammar. WARNING: struct VariableBinding has grown. Recompile all
after getting this revision.
git-svn-id: svn://10.0.0.236/trunk@81613 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 19:39:55 +00:00
nboyd%atg.com
5a686d236b
Subject:
...
[Rhino] Optimization for OptRuntime.thisGet
Date:
Mon, 23 Oct 2000 17:50:53 +0200
From:
Hannes Wallnoefer <hannes@helma.at>
Organization:
Another Netscape Collabra Server User
Newsgroups:
netscape.public.mozilla.jseng
I found a little oddity in
org.mozilla.javascript.optimizer.OptRuntime.thisGet().
get() is called twice on thisObj, once right at the beginning, and once
when starting to walk down the prototype chain. Below is what I think
this should look like - the prototype walk now begins with thisObj's
prototype, if it exists.
Also, (thisObj == null) was checked only after thisObj.get() was called,
so I moved that up in front.
Hannes
PS: I just made the changes in the news msg editor, so there may be
stupid mistakes.
git-svn-id: svn://10.0.0.236/trunk@81605 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 17:48:27 +00:00
nboyd%atg.com
1fbed5f2e4
Subject:
...
updated Global, Main and ImporterTopLevel
Date:
Mon, 23 Oct 2000 14:37:45 +0100
From:
Matthias Radestock <matthias@lshift.net>
To:
nboyd@atg.com
Norris,
I've made some more changes to shell.Main and shell.Global in order to
reduce their mutual dependency, enable "quit" and get "load" to operate
in the local scope.
see attachments for updated .diffs.
Matthias.
git-svn-id: svn://10.0.0.236/trunk@81604 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 15:55:42 +00:00
beard%netscape.com
0313a2b161
Fixed typo in package target.
...
git-svn-id: svn://10.0.0.236/trunk@81603 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 15:44:05 +00:00
nboyd%atg.com
151d31ddc9
Fix 56883.
...
git-svn-id: svn://10.0.0.236/trunk@81602 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 14:31:05 +00:00
nboyd%atg.com
e92e7d150f
Patch from beard@netscape.com to fix 56879.
...
git-svn-id: svn://10.0.0.236/trunk@81601 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 14:30:40 +00:00
brendan%mozilla.org
df4a97d00e
Comment change only: document TOK_TRY and TOK_CATCH nodes.
...
git-svn-id: svn://10.0.0.236/trunk@81588 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 22:47:40 +00:00
beard%netscape.com
874e0ea6e0
Fixed access paths, link errors. [Not part of build.]
...
git-svn-id: svn://10.0.0.236/trunk@81574 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 07:29:53 +00:00
beard%netscape.com
329128977d
Added static library targets, JSRef.o and JSRefDebug.o. [Not part of build.]
...
git-svn-id: svn://10.0.0.236/trunk@81573 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 06:46:21 +00:00
beard%netscape.com
8982594879
LiveConnect support for Mac. [Not part of standard build.]
...
git-svn-id: svn://10.0.0.236/trunk@81572 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 06:44:54 +00:00
beard%netscape.com
660e01fccb
fixed some spacing problems, Makefiles use hard tabs!
...
git-svn-id: svn://10.0.0.236/trunk@81562 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:57:54 +00:00
beard%netscape.com
6bfc356e68
update depenencies for linux
...
git-svn-id: svn://10.0.0.236/trunk@81559 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:55:59 +00:00
beard%netscape.com
e146d9b8f5
added xmlparser.cpp.
...
git-svn-id: svn://10.0.0.236/trunk@81557 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:51:32 +00:00
beard%netscape.com
c425f9d8ff
fixing unsigned warnings, a leetle error checking.
...
git-svn-id: svn://10.0.0.236/trunk@81556 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:50:44 +00:00
beard%netscape.com
3aa4a2283f
fixing unsigned/signed conversion warnings.
...
git-svn-id: svn://10.0.0.236/trunk@81555 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:43:35 +00:00
rogerl%netscape.com
6fdef2e1d5
Fixed signed/unsigned warning.
...
git-svn-id: svn://10.0.0.236/trunk@81554 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:38:59 +00:00
rogerl%netscape.com
a7b53cf793
Changed ArgumentList to ArgumentList*. (Still need to handle the
...
destructor though).
git-svn-id: svn://10.0.0.236/trunk@81553 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:31:22 +00:00
rogerl%netscape.com
289f607a92
Changed ArgumentList to ArgumentList*. Changed ICodeGenerator to take a
...
Context instead of world & global pair. Connected to ICodeAssembler from
XMLParser.
git-svn-id: svn://10.0.0.236/trunk@81552 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:30:23 +00:00
rginda%netscape.com
fc4f32fec4
fixups for lame windows parser, and multiple parse per instance issues.
...
git-svn-id: svn://10.0.0.236/trunk@81538 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 22:18:52 +00:00
rginda%netscape.com
e0d39a5237
lalala, things run, lalala. (well, kinda.)
...
git-svn-id: svn://10.0.0.236/trunk@81523 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 10:33:57 +00:00
rginda%netscape.com
3f03ec66b9
more work on producing real live instructionstreams
...
git-svn-id: svn://10.0.0.236/trunk@81511 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 03:33:37 +00:00
rginda%netscape.com
58820fbf80
starting to turn the icode StatementNode vector into actual Instructions...
...
git-svn-id: svn://10.0.0.236/trunk@81496 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 01:13:03 +00:00