Commit Graph

1584 Commits

Author SHA1 Message Date
jband%netscape.com
5a0b3e6330 adding new files. not part of build 2000-01-03 22:34:01 +00:00
blizzard%redhat.com
d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
rogerl%netscape.com
329f23093b Need to update the value of newly created closure. 1999-12-24 00:49:44 +00:00
rogerl%netscape.com
0b84cb0f44 Clean-up message text 1999-12-23 00:16:07 +00:00
rogerl%netscape.com
67f8689368 Fixed copyright dates and added lincense boilerplate. 1999-12-22 22:03:59 +00:00
rogerl%netscape.com
1bdf87b315 Changed comment format to C-style. 1999-12-22 22:02:16 +00:00
rogerl%netscape.com
caab4f003c r=brendan
Bug #20444, delete of non-reference
1999-12-22 22:01:19 +00:00
rogerl%netscape.com
e2125cefc6 r=brendan
Bug #21836, apply didn't check for non-object argument.
1999-12-22 22:00:07 +00:00
rogerl%netscape.com
56d5bbb958 r=brendan
Bug #21799, uncaught throw of null crash.
1999-12-22 21:58:53 +00:00
rogerl%netscape.com
15c2b44da1 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
6f3b1dbf87 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
2ad305edc7 #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
a4493ba510 ignore generated Makefile 1999-12-21 22:41:26 +00:00
jband%netscape.com
c27916de03 fix new warnings resulting from my carpool 1999-12-18 22:33:18 +00:00
jband%netscape.com
65805af7ac added files: mozilla/js/src/xpconnect/idl/nsIXPConnect.idl 1999-12-18 21:08:57 +00:00
jband%netscape.com
f0b1a678e7 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
ef9c82db1e 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
1011e47f1e 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
9cceb99eaa Updated to match the js1.5 announcement's terminology 1999-12-18 00:53:53 +00:00
rogerl%netscape.com
67e41a2568 Fixed typeof test on enumerated object result - is always string now. 1999-12-17 01:53:48 +00:00
waterson%netscape.com
6baf6f2475 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
norris%netscape.com
881d203b8f Fix Counter example. 1999-12-16 22:49:50 +00:00
rginda%netscape.com
ed76fb15f1 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
2f79add8e9 Added verbose flag for testcase debugging purposes 1999-12-16 22:35:43 +00:00
rginda%netscape.com
3fa2af9bf1 Fix spacing nit. 1999-12-16 22:34:05 +00:00
rginda%netscape.com
a25e8ff1ad Fixed 001 test, added 002 test 1999-12-16 22:32:52 +00:00
norris%netscape.com
7d795f197b Make it possible to report multiple errors. 1999-12-16 18:47:27 +00:00
rginda%netscape.com
5580e045b2 Added apply test for bug 21836 1999-12-16 00:21:36 +00:00
rginda%netscape.com
088ed7cd3f Adding null throw and undefined throw tests 1999-12-15 21:17:25 +00:00
mccabe%netscape.com
58020e6fe8 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
9587f6dc46 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
eb94ffbdf1 Simple get/set test. 1999-12-13 22:47:31 +00:00
shaver%netscape.com
ab1040199d fix JS component loader by reimplementing nsGenericModule (r=dveditz,slamm;a=leaf) 1999-12-13 22:33:11 +00:00
rginda%netscape.com
24be9ed036 Added printStatus function to shell.js
Added some catchguard tests
1999-12-13 00:37:01 +00:00
rogerl%netscape.com
beb5b9cfda 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
8de0af5814 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
4ef42618e3 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
norris%netscape.com
a155377984 Remove unused member variable. 1999-12-09 23:37:18 +00:00
beard%netscape.com
f32c492fc7 fixes case where an InterpretedFunction has both a closure and needs an activation. 1999-12-09 22:05:09 +00:00
briano%netscape.com
05bf5d8f48 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
rogerl%netscape.com
d5a5a0e7fc smaller faster better - it'll probably burn up on entry. 1999-12-09 00:26:09 +00:00
norris%netscape.com
3e5be76cf6 Add list of inapplicable tests for rhino. 1999-12-08 22:42:18 +00:00
rginda%netscape.com
723ab02319 Fixing stupid mistake. 1999-12-08 22:26:19 +00:00
rginda%netscape.com
34d727d48c 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
307f28b402 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
920c3c1e7d 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
9caaaac6b4 QNX-specific build bustage fix. Also excludes NTO just in case both are defined under Neutrino. 1999-12-08 03:58:40 +00:00
rogerl%netscape.com
7b2b34b4b3 Added 'flat' argument to NewRegExp to force literal interpretation of
entire string.
1999-12-08 01:48:03 +00:00
rogerl%netscape.com
b75ab1c96c Needed a quick-and-dirty constructor from a string. 1999-12-08 01:47:13 +00:00
rogerl%netscape.com
bcf6134bde 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. $
1999-12-08 01:46:43 +00:00