beard%netscape.com
23425c7dea
use string8::difference_type rather than uint for difference between iterators, cast uint32 to int32 to remove warnings.
2000-12-16 06:57:58 +00:00
beard%netscape.com
50f3452e77
fixed return value warning by moving return statement.
2000-12-16 06:56:37 +00:00
beard%netscape.com
27888b7f72
warnings, explicit use of JSValue constructor.
2000-12-16 06:54:40 +00:00
waldemar%netscape.com
157324e348
Converted to CodeWarrior 6 and fixed errors
2000-12-16 01:14:55 +00:00
waldemar%netscape.com
a86b8ebf19
Fixed C++ errors
2000-12-16 01:14:36 +00:00
jeff.dyer%compilercompany.com
80b7ec4f9f
Revised readme and removed CommandLine parser (for now).
2000-12-16 00:50:25 +00:00
jeff.dyer%compilercompany.com
9f31ccbf60
Removing Util.java.
2000-12-16 00:43:05 +00:00
jeff.dyer%compilercompany.com
144aa7a24d
Removed dependency on sun.tools packages.
2000-12-16 00:42:16 +00:00
rogerl%netscape.com
c858f0c335
Added 'length' to Array objects as a getter property - and fixed up stuff
...
that this depended on. Fixed parameter names for xml classes and added
'loadxml' global function.
2000-12-15 01:38:40 +00:00
beard%netscape.com
e16204d82f
Converted to an application for testing.
2000-12-15 01:26:06 +00:00
beard%netscape.com
364b0b1752
JDK 1.1 compatibility. Should flesh out the CommandLine class to do what sun.tools.util.CommandLine does.
2000-12-15 01:09:58 +00:00
beard%netscape.com
d140c9c45f
JDK 1.1 compatibility.
2000-12-15 01:06:50 +00:00
beard%netscape.com
9517cfdbab
build system for Mac using CW Pro 6.
2000-12-15 01:05:32 +00:00
beard%netscape.com
a03e258f94
Removing obsolete furballs.
2000-12-15 00:04:31 +00:00
beard%netscape.com
b565b9d3f9
Removing obsolete furball.
2000-12-15 00:01:26 +00:00
nboyd%atg.com
87a029eeb9
Fix bug:
...
Subject:
[Rhino] Script compiler bug?
Date:
Tue, 12 Dec 2000 22:08:23 GMT
From:
dave russo <d-russo@ti.com>
Organization:
Deja.com
Newsgroups:
netscape.public.mozilla.jseng
The following script does not seem to compile properly (using Rhino
1.5R1):
test.js:
var test = {};
test.foo = function () { print('foo')}
test.bar = function () { print('bar')}
After compiling test.js ("java org.mozilla.javascript.tools.jsc.Main
test.js"):
js> loadClass('test')
js> test.foo()
bar
js> load('test.js')
js> test.foo()
foo
Note that changing test.js to read:
var test = {};
test.foo = function foo() { print('foo')}
test.bar = function bar() { print('bar')}
Works around the problem. Is there a problem with anonymous functions?
Sent via Deja.com
http://www.deja.com/
2000-12-13 15:17:24 +00:00
nboyd%atg.com
2504e1cfd0
Missed call to "in" needing parameter change.
2000-12-13 14:47:27 +00:00
nboyd%atg.com
c87949e3b4
Support single-letter bean properties.
2000-12-12 20:29:06 +00:00
nboyd%atg.com
70ff180f2f
Fix test case failures with RegExp constructor (new tests)
2000-12-12 15:19:36 +00:00
nboyd%atg.com
4f6ace3554
Fix ArrayIndexOutOfBoundsException on "new RegExp()"
2000-12-12 14:51:55 +00:00
nboyd%atg.com
5e0b2ebaed
Fix 62559, 58479
2000-12-12 14:35:38 +00:00
nboyd%atg.com
619fce4329
fix javadoc
2000-12-12 01:48:53 +00:00
pschwartau%netscape.com
508c2cdc93
Skip ecma_3/Date/15.9.5.7.js Rhino does Date.toLocaleTimeString() differently than SpiderMonkey
2000-12-12 00:13:24 +00:00
nboyd%atg.com
073df548cd
Fix bug where "a = new Array[3]" would produce an IndexOutOfBoundsException
2000-12-10 18:33:52 +00:00
mccabe%netscape.com
68e18aa4b9
Fix to 62309. Change JS_AddRoot to JS_AddNamedRoot in Liveconnect to aid leak diagnoses.
...
r=beard
sr=brendan
2000-12-09 01:35:46 +00:00
rogerl%netscape.com
d11b23802a
Sweeping set of changes to implement closures. Also re-targetted entire
...
front-end to Cobol and back-end now generates pdp11 assembly code in
spanish.
2000-12-08 23:55:39 +00:00
mccabe%netscape.com
7656e0fc52
More licenses and modelines.
...
Not part of the Mozilla build.
2000-12-08 10:19:59 +00:00
mccabe%netscape.com
2c218914aa
Add informative comment.
...
Not part of the Mozilla build.
2000-12-08 10:01:35 +00:00
mccabe%netscape.com
f97fe01b08
Whoops, wrong license.
2000-12-08 10:00:20 +00:00
mccabe%netscape.com
e295112197
Add -p flags to several Makefile mkdir commands, to allow parallel gmakes. Still not sure how to make js/src/liveconnect/classes/*.java happy with parallel. gmakes...
...
Also add some #modelines to makefiles, and some more NPL licenses.
None of these files are part of the Mozilla build.
2000-12-08 09:56:47 +00:00
mccabe%netscape.com
7ebb6b839c
Update to last fix of js.c. Multiple versions of functions #ifdef'ed to take different numbers of arguments (in C) are a pain. Use #ifdef-safe JS_GET_CLASS, instead.
...
Not part of the Mozilla build.
2000-12-08 06:30:57 +00:00
mccabe%netscape.com
841f9da3de
Fix to Windows build problem with the js reference build; replace non-API macro OBJ_GET_CLASS with API-kosher JS_GetClass. (OBJ_GET_CLASS used js_GetSlotWhileLocked, pulled from the set of exported symbols with the recent thread optimization checkin.)
...
Not part of the Mozilla build. (Yes, it's a closed tree!)
r=brendan
2000-12-08 02:35:17 +00:00
cls%seawood.org
51b7673641
Adding caps to REQUIRES. Bug #62069 r=burning tinderbox: senna
2000-12-07 22:46:13 +00:00
mccabe%netscape.com
ef122d5552
Fix to 58120 - Rhino's Date.prototype.setYear wasn't converting from internal UTC time to local time before working with the date, resulting in new dates that were off by the current timezone offset. Adding a LocalTime call fixes it.
...
Thanks to David Flanagan <david@oreilly.com> for catching this.
2000-12-07 09:21:45 +00:00
jband%netscape.com
a046f19ac6
now that the bustage is cleanedup (sorry), I'm fixing the whitespace of that hasty checkin
2000-12-07 09:06:55 +00:00
jband%netscape.com
27072b9f5b
fix build bustage on some platforms from MI ambiguity
2000-12-07 08:33:50 +00:00
jband%netscape.com
5874e12cb0
fix bug 62069 and bug 68538 by using nsISecurityCheckedComponent to allow unfettered access from JavaScript to Components.interfaces and the safer methods on nsXPCException. r=brendan r=mstoltz sr=hyatt
2000-12-07 08:14:27 +00:00
mccabe%netscape.com
63a3cc2ac2
Add emacs makefile modeline to many makefiles, add npl license to others.
...
(Comment changes only.)
2000-12-07 02:44:27 +00:00
pschwartau%netscape.com
91b6d231cc
Initial add; regression test for Bugzilla bug 57043
2000-12-06 20:52:59 +00:00
jeff.dyer%compilercompany.com
271600c65f
Corrupt. Removing.
2000-12-06 19:01:21 +00:00
jeff.dyer%compilercompany.com
609cdf48ec
Removing, corrupt.
2000-12-06 18:59:39 +00:00
jeff.dyer%compilercompany.com
b75ea2c533
Drawing of compile-time values.
2000-12-06 18:37:20 +00:00
jeff.dyer%compilercompany.com
3c956b5aec
Fixed test to be correct js2.
2000-12-06 18:30:18 +00:00
jeff.dyer%compilercompany.com
c8f0271f30
Fixes to the type system and error handler.
2000-12-06 18:27:42 +00:00
brendan%mozilla.org
cbb04dbb0b
Fix leak on IS_BIG_ENDIAN malloc failure early return (r=mccabe,sr=jband).
2000-12-06 06:53:33 +00:00
brendan%mozilla.org
67c52d247d
Include <ctype.h> before using isalpha, etc.; misc style cleanup (r=mccabe,sr=jband).
2000-12-06 06:46:55 +00:00
jband%netscape.com
33ab5378a8
fix bug 59588. Since js_MarkAtom is called *so* often but is usually short-circuited, we add a macro to get the shortcircuit flag in the 3 callers and avoid most of the calls. r=mccabe sr=brendan
2000-12-06 06:03:30 +00:00
jband%netscape.com
9827507e37
fix bug 61788 - don't leave garbage in stack from js_AllocStack. Also, avoid allocing unneeded slots. r=mccabe sr=brendan
2000-12-06 06:00:49 +00:00
jband%netscape.com
f1a8a3d9a8
fix warnings
2000-12-06 05:59:16 +00:00
brendan%mozilla.org
38504ea317
JSPROP_SHARED implies no slot to entrain garbage (bug 61482, r=mccabe, sr=jband).
2000-12-05 21:47:23 +00:00