rogerl%netscape.com
e3feb3e20d
Fixed copyright dates and added lincense boilerplate.
...
git-svn-id: svn://10.0.0.236/trunk@56429 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:03:59 +00:00
rogerl%netscape.com
71f0399576
Changed comment format to C-style.
...
git-svn-id: svn://10.0.0.236/trunk@56427 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:02:16 +00:00
rogerl%netscape.com
2db1cd9984
r=brendan
...
Bug #20444 , delete of non-reference
git-svn-id: svn://10.0.0.236/trunk@56426 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:01:19 +00:00
rogerl%netscape.com
2a08ef02a3
r=brendan
...
Bug #21836 , apply didn't check for non-object argument.
git-svn-id: svn://10.0.0.236/trunk@56425 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:00:07 +00:00
rogerl%netscape.com
992a41ca10
r=brendan
...
Bug #21799 , uncaught throw of null crash.
git-svn-id: svn://10.0.0.236/trunk@56424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 21:58:53 +00:00
rogerl%netscape.com
4026653f80
r=norris
...
Bug #20547 & 20549 - ECMA3 compatible handling of String.replace and fixes
to $ handling.
git-svn-id: svn://10.0.0.236/trunk@56423 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 21:57:10 +00:00
cls%seawood.org
f446188835
Partial fix for bug 20254. Allow flags passed to CFLAGS during configure be used for both compiling & linking. CFLAGS as we know it becomes COMPILE_CFLAGS so that platforms that cannot link using DSO flags (qnx) can still build. The new CFLAGS will not have DSO flags and will be used primarily for linking.
...
Remove OPTIMIZER & XP_DEFINE from config.mk
git-svn-id: svn://10.0.0.236/trunk@56347 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 03:40:16 +00:00
mccabe%netscape.com
4083308200
#ifdefs to build the JavaScript engine under metrowerks on windows machines.
...
Fixes courtesy Chris Dillman <chrisd@plaidworld.com>.
r=mccabe
a=sdagley
git-svn-id: svn://10.0.0.236/trunk@56316 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 00:03:50 +00:00
jband%netscape.com
d1b85e8dda
fix new warnings resulting from my carpool
...
git-svn-id: svn://10.0.0.236/trunk@56206 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 22:33:18 +00:00
jband%netscape.com
8292d2cbeb
added files: mozilla/js/src/xpconnect/idl/nsIXPConnect.idl
...
git-svn-id: svn://10.0.0.236/trunk@56205 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 21:08:57 +00:00
jband%netscape.com
b95f29069b
added files: mozilla/js/src/xpconnect/src/xpcwrappednativescope.cpp, mozilla/js/src/xpconnect/src/xpcjsruntime.cpp
...
git-svn-id: svn://10.0.0.236/trunk@56203 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:52 +00:00
jband%netscape.com
191411b358
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
jband%netscape.com
cf0bc5642e
removed files: mozilla/js/src/xpconnect/idl/xpctest.idl, mozilla/js/src/xpconnect/idl/xpctest2.idl
...
git-svn-id: svn://10.0.0.236/trunk@56200 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 19:10:33 +00:00
rginda%netscape.com
d0578aaf75
Updated to match the js1.5 announcement's terminology
...
git-svn-id: svn://10.0.0.236/trunk@56162 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 00:53:53 +00:00
rogerl%netscape.com
eb947e2e0f
Fixed typeof test on enumerated object result - is always string now.
...
git-svn-id: svn://10.0.0.236/trunk@56125 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 01:53:48 +00:00
waterson%netscape.com
c2fc0cada2
Bug 21643. Temporary hack to avoid leaking root wrapper when creating both, and root != wrapper. Note that the fix is 'sloppy', as there are flows-of-control that could potentially leak the NS_ADDREF(); however, since jband is rewriting this stuff RSN, and that stuff doesn't really ever fail too often, we'll let i slide. r=jband
...
git-svn-id: svn://10.0.0.236/trunk@56112 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:02:58 +00:00
norris%netscape.com
0e9dcb010e
Fix Counter example.
...
git-svn-id: svn://10.0.0.236/trunk@56106 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:49:50 +00:00
rginda%netscape.com
dd0784012d
Updated README document.
...
formatting nit in jsDriver.pl
Added comment to the rhino neg list
git-svn-id: svn://10.0.0.236/trunk@56104 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:38:49 +00:00
rginda%netscape.com
872eb92f09
Added verbose flag for testcase debugging purposes
...
git-svn-id: svn://10.0.0.236/trunk@56103 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:35:43 +00:00
rginda%netscape.com
ebfdd5a65b
Fix spacing nit.
...
git-svn-id: svn://10.0.0.236/trunk@56102 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:34:05 +00:00
rginda%netscape.com
e65acc096b
Fixed 001 test, added 002 test
...
git-svn-id: svn://10.0.0.236/trunk@56101 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:32:52 +00:00
norris%netscape.com
1a3cb6f3e4
Make it possible to report multiple errors.
...
git-svn-id: svn://10.0.0.236/trunk@56094 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 18:47:27 +00:00
rginda%netscape.com
29a06390db
Added apply test for bug 21836
...
git-svn-id: svn://10.0.0.236/trunk@56067 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:21:36 +00:00
rginda%netscape.com
0eb04b005d
Adding null throw and undefined throw tests
...
git-svn-id: svn://10.0.0.236/trunk@56052 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 21:17:25 +00:00
mccabe%netscape.com
44c36dfaf7
Add missing JS_END_EXTERN_C to match JS_BEGIN_EXTERN_C at the beginning. Thanks to Till Volmer <tvollmer@hyperwave.com> cor spotting this.
...
r=mccabe, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@55993 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:39:54 +00:00
briano%netscape.com
80de098422
Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done.
...
git-svn-id: svn://10.0.0.236/trunk@55956 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:56:50 +00:00
rginda%netscape.com
09cb8a8254
Simple get/set test.
...
git-svn-id: svn://10.0.0.236/trunk@55937 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:47:31 +00:00
shaver%netscape.com
58b99ebb6d
fix JS component loader by reimplementing nsGenericModule (r=dveditz,slamm;a=leaf)
...
git-svn-id: svn://10.0.0.236/trunk@55934 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:33:11 +00:00
rginda%netscape.com
8070111007
Added printStatus function to shell.js
...
Added some catchguard tests
git-svn-id: svn://10.0.0.236/trunk@55925 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 00:37:01 +00:00
rogerl%netscape.com
0a6117621f
Fixed test of enumerated property to use isNaN - a previous bug fix in
...
enumerated types stopped it from returning anything but strings here.
git-svn-id: svn://10.0.0.236/trunk@55887 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:44:02 +00:00
rogerl%netscape.com
18e2c469eb
Removed tests invalidated by new argument rules - java.lang.String is
...
preferred over java.lang.Double when coming from a Java Object and both
Double & Float have constructors that take a String - only the DataType
toString doesn't return the correct value for the test. (See Christine's
comment).
git-svn-id: svn://10.0.0.236/trunk@55886 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:42:43 +00:00
rogerl%netscape.com
d02bcc7362
Updated tests to account for new LiveConnect behaviour for JS array type
...
as input argumnet - it used to be handled as any other JS object, but there
are now new rules for arrays, invalidating portions of these tests.
git-svn-id: svn://10.0.0.236/trunk@55855 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 19:56:23 +00:00
norris%netscape.com
396cb6ad29
Remove unused member variable.
...
git-svn-id: svn://10.0.0.236/trunk@55826 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 23:37:18 +00:00
beard%netscape.com
cfddb992ee
fixes case where an InterpretedFunction has both a closure and needs an activation.
...
git-svn-id: svn://10.0.0.236/trunk@55813 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:05:09 +00:00
briano%netscape.com
13076f014b
QNX-specific build bustage fix. va_list is an array on QNX, so assignments need to use array notation.
...
git-svn-id: svn://10.0.0.236/trunk@55791 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 03:09:56 +00:00
rogerl%netscape.com
2fba19da79
smaller faster better - it'll probably burn up on entry.
...
git-svn-id: svn://10.0.0.236/trunk@55778 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 00:26:09 +00:00
norris%netscape.com
6c64d3eef2
Add list of inapplicable tests for rhino.
...
git-svn-id: svn://10.0.0.236/trunk@55768 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:42:18 +00:00
rginda%netscape.com
c3389c553d
Fixing stupid mistake.
...
git-svn-id: svn://10.0.0.236/trunk@55765 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:26:19 +00:00
rginda%netscape.com
b7fb654fc5
Turned off automatic fslash insertion for shellpath (it now takes a full exe name)
...
Added --noexitmunge option for systems that don't report the exitcode/exitsignal "properly"
git-svn-id: svn://10.0.0.236/trunk@55764 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:21:41 +00:00
fur%netscape.com
15a02bd1bb
Fix #12367 . Don't crash evaluating 'foo.constructor' if foo is a JavaObject.
...
r:none
git-svn-id: svn://10.0.0.236/trunk@55746 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:41:35 +00:00
briano%netscape.com
1c1c8ceac0
Change for QNX 4 to work around their extremely limited compiler and linker, which aren't capable of creating an object from a lib as we're doing here with jsmath.o.
...
git-svn-id: svn://10.0.0.236/trunk@55708 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:03:24 +00:00
briano%netscape.com
19c5c7d1b9
QNX-specific build bustage fix. Also excludes NTO just in case both are defined under Neutrino.
...
git-svn-id: svn://10.0.0.236/trunk@55707 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:58:40 +00:00
rogerl%netscape.com
11acc154a5
Added 'flat' argument to NewRegExp to force literal interpretation of
...
entire string.
git-svn-id: svn://10.0.0.236/trunk@55674 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:48:03 +00:00
rogerl%netscape.com
42e4c9ee34
Needed a quick-and-dirty constructor from a string.
...
git-svn-id: svn://10.0.0.236/trunk@55673 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:47:13 +00:00
rogerl%netscape.com
6573b9f779
Added 'flat' argument to NewRegExp to force literal interpretation of
...
entire string.
Fixed String.replace to not coerce first arg to regexp.
Fixed behaviour of replace w.r.t. $
git-svn-id: svn://10.0.0.236/trunk@55672 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:46:43 +00:00
rogerl%netscape.com
a3f7091a2e
Added 'flat' argument to NewRegEXp to force literal interpretation of
...
entire string.
git-svn-id: svn://10.0.0.236/trunk@55670 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:44:08 +00:00
waldemar%netscape.com
2b21095fef
Removed field, method, and constructor. Added static.
...
git-svn-id: svn://10.0.0.236/trunk@55665 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:35:00 +00:00
waldemar%netscape.com
5d10cfab17
Fixed Harlequin incompatibilities
...
git-svn-id: svn://10.0.0.236/trunk@55664 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:34:29 +00:00
waldemar%netscape.com
0adbaf9a98
Added next-token-unit. Simplified grammar and removed boolean actions that indicate whether the next token can be a regexp. Added assertion that a * can't follow a division.
...
git-svn-id: svn://10.0.0.236/trunk@55609 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:09:10 +00:00
waldemar%netscape.com
0b8e72cc74
Added hash-table-entries
...
git-svn-id: svn://10.0.0.236/trunk@55604 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:07:04 +00:00