Commit Graph

1594 Commits

Author SHA1 Message Date
jdunn%netscape.com
9253e8c89b resolving all unresolved symbols at link time
#= 18896 (continuation)
r= pepper@netscape.com - but ramiro and I talked about these types of changes ages ago
2000-01-07 02:46:06 +00:00
jband%netscape.com
cc0b7c4372 change the module string name. not part of build 2000-01-07 02:25:47 +00:00
jband%netscape.com
9378e6155a use generic module stuff. My part to fix bug 22922. r=dp 2000-01-07 02:24:39 +00:00
jband%netscape.com
737c9a85e0 add support for Components.Constructor to build constructors for xpcom objects from JS. r=mccabe 2000-01-07 02:21:14 +00:00
jband%netscape.com
34510f50fe fix leak of argument formatters upon JSContext destruction. bug 22802. r=rogerl 2000-01-07 02:19:44 +00:00
rogerl%netscape.com
bb5e5df58f Fixed accidental trailing semi at end of if statement. Many thanks to
everyone who participated in this test of the warning detection system.
2000-01-07 00:15:11 +00:00
norris%netscape.com
b684dbee7f Test didn't work with the Rhino feature of reflecting bean properties as JavaScript propertes: getClass() becomes
a "class" property, and eval'ing a property name of "class" causes a syntax error.
2000-01-06 22:54:15 +00:00
norris%netscape.com
913e66ba3c Propagate fix from branch. 2000-01-06 16:28:43 +00:00
edburns%acm.org
13be6d7ebf I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
jdunn%netscape.com
4d0333a085 |T| requires an accessible default constructor (on some old compilers)
This is the same as mozilla/netwerk/cache/mgr/nsCachedNetData.h
(also declared nsIXPCWrappedNativeScope to be public since by default it is private

r= scc@netscape.com
2000-01-06 00:59:07 +00:00
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