Commit Graph
1069 Commits
Author SHA1 Message Date
rogerl@netscape.com 79b27cac74 Fixed copyright dates and added lincense boilerplate. 1999-12-22 22:03:59 +00:00
rogerl@netscape.com 107b19ab58 Changed comment format to C-style. 1999-12-22 22:02:16 +00:00
rogerl@netscape.com 4de1c4b5a5 r=brendan
Bug #20444, delete of non-reference
1999-12-22 22:01:19 +00:00
rogerl@netscape.com dbf2794ebc r=brendan
Bug #21836, apply didn't check for non-object argument.
1999-12-22 22:00:07 +00:00
rogerl@netscape.com 3e89ef4511 r=brendan
Bug #21799, uncaught throw of null crash.
1999-12-22 21:58:53 +00:00
rogerl@netscape.com a57fb1aa4b r=norris
Bug #20547 & 20549 - ECMA3 compatible handling of String.replace and fixes
to $ handling.
1999-12-22 21:57:10 +00:00
cls@seawood.org 07e04a0aae 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
1999-12-22 03:40:16 +00:00
mccabe@netscape.com 77c190e947 #ifdefs to build the JavaScript engine under metrowerks on windows machines.
Fixes courtesy Chris Dillman <chrisd@plaidworld.com>.

r=mccabe
a=sdagley
1999-12-22 00:03:50 +00:00
sspitzer@netscape.com 84e7ae5d17 ignore generated Makefile 1999-12-21 22:41:26 +00:00
jband@netscape.com 96cd1122b1 fix new warnings resulting from my carpool 1999-12-18 22:33:18 +00:00
jband@netscape.com 7dd55bbe9f added files: mozilla/js/src/xpconnect/idl/nsIXPConnect.idl 1999-12-18 21:08:57 +00:00
jband@netscape.com a2f07bf324 added files: mozilla/js/src/xpconnect/src/xpcwrappednativescope.cpp, mozilla/js/src/xpconnect/src/xpcjsruntime.cpp 1999-12-18 20:29:52 +00:00
jband@netscape.com 2e04e1dd4e 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
1999-12-18 20:29:29 +00:00
jband@netscape.com 3519c71dd9 removed files: mozilla/js/src/xpconnect/idl/xpctest.idl, mozilla/js/src/xpconnect/idl/xpctest2.idl 1999-12-18 19:10:33 +00:00
rginda@netscape.com 17a698b2f0 Updated to match the js1.5 announcement's terminology 1999-12-18 00:53:53 +00:00
rogerl@netscape.com 3cc983c944 Fixed typeof test on enumerated object result - is always string now. 1999-12-17 01:53:48 +00:00
waterson@netscape.com 98d2ea6556 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 1999-12-17 00:02:58 +00:00
rginda@netscape.com fd0f35edcc Updated README document.
formatting nit in jsDriver.pl
Added comment to the rhino neg list
1999-12-16 22:38:49 +00:00
rginda@netscape.com a40cbd24e1 Added verbose flag for testcase debugging purposes 1999-12-16 22:35:43 +00:00
rginda@netscape.com f3b732d1fa Fix spacing nit. 1999-12-16 22:34:05 +00:00
rginda@netscape.com 4ee506f507 Fixed 001 test, added 002 test 1999-12-16 22:32:52 +00:00
rginda@netscape.com d6ef654dc3 Added apply test for bug 21836 1999-12-16 00:21:36 +00:00
rginda@netscape.com f4d93ea8a8 Adding null throw and undefined throw tests 1999-12-15 21:17:25 +00:00
mccabe@netscape.com c4a66bfa49 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.
1999-12-14 22:39:54 +00:00
briano@netscape.com 4f30de40e2 Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done. 1999-12-14 00:56:50 +00:00
rginda@netscape.com 8f3cedcdb8 Simple get/set test. 1999-12-13 22:47:31 +00:00
shaver@netscape.com 894050b8ad fix JS component loader by reimplementing nsGenericModule (r=dveditz,slamm;a=leaf) 1999-12-13 22:33:11 +00:00
rginda@netscape.com 55d13e1891 Added printStatus function to shell.js
Added some catchguard tests
1999-12-13 00:37:01 +00:00
rogerl@netscape.com 4ec53387e6 Fixed test of enumerated property to use isNaN - a previous bug fix in
enumerated types stopped it from returning anything but strings here.
1999-12-11 00:44:02 +00:00
rogerl@netscape.com 984c02cba3 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).
1999-12-11 00:42:43 +00:00
rogerl@netscape.com aa9d05f004 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.
1999-12-10 19:56:23 +00:00
briano@netscape.com 923bb47f3c QNX-specific build bustage fix. va_list is an array on QNX, so assignments need to use array notation. 1999-12-09 03:09:56 +00:00
norris@netscape.com e0c0885a75 Add list of inapplicable tests for rhino. 1999-12-08 22:42:18 +00:00
rginda@netscape.com f8ab578dd6 Fixing stupid mistake. 1999-12-08 22:26:19 +00:00
rginda@netscape.com bd4198e601 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"
1999-12-08 22:21:41 +00:00
fur@netscape.com 907a2d6166 Fix #12367. Don't crash evaluating 'foo.constructor' if foo is a JavaObject.
r:none
1999-12-08 07:41:35 +00:00
briano@netscape.com 39d48b61fa 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. 1999-12-08 04:03:24 +00:00
briano@netscape.com fb99d15b2a QNX-specific build bustage fix. Also excludes NTO just in case both are defined under Neutrino. 1999-12-08 03:58:40 +00:00
waldemar@netscape.com a22e371a90 Removed field, method, and constructor. Added static. 1999-12-08 00:35:00 +00:00
waldemar@netscape.com 478f9ea45b Fixed Harlequin incompatibilities 1999-12-08 00:34:29 +00:00
waldemar@netscape.com 12a5f8ac0b 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. 1999-12-07 22:09:10 +00:00
waldemar@netscape.com b448dabc59 Added hash-table-entries 1999-12-07 22:07:04 +00:00
waldemar@netscape.com 202c36a198 Fixed bug in forbidden terminalset calculations 1999-12-07 22:06:43 +00:00
waldemar@netscape.com e7fbb6c5e4 Made semantics compiled on Allegro 1999-12-07 22:04:58 +00:00
rginda@netscape.com 1021f339c0 Should be working on all platforms again. 1999-12-07 20:00:27 +00:00
rginda@netscape.com d38f65798d More windows dual-build tweaks (arg!) 1999-12-07 19:56:40 +00:00
rginda@netscape.com 506cbf8a77 More tweaks to sm engine selection
Updated documentation to reflect tweaks
1999-12-07 19:47:06 +00:00
rginda@netscape.com b2463620f0 * jsDriver.pl
Fix it to know about the two kinds of spidermonkey make on windows
  (Makefile.ref and js.mak)
1999-12-07 19:35:45 +00:00
rginda@netscape.com 17949b74fa Fix exit code detection. 1999-12-07 00:22:06 +00:00
rogerl@netscape.com e0daffd50f Removed unsued local var version - shadowing caused typeof version test
to fail.
1999-12-06 23:53:57 +00:00