123 Commits

Author SHA1 Message Date
jeff.dyer%compilercompany.com
2784e8857c Fix for #16438 (r=stanley.ho@eng.sun.com). Adds functionality to allow wrapped JSObjects
to be unwrapped. The complete resolution of this bug requires the implementation
of the unwrap function in JPI.


git-svn-id: svn://10.0.0.236/trunk@62289 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:41:11 +00:00
edburns%acm.org
7ed19bbb16 a=edburns
r=idk
bug=14337


git-svn-id: svn://10.0.0.236/trunk@62185 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:34:55 +00:00
edburns%acm.org
4e98df55d1 r=alecf
a=edburns
bug=25931


git-svn-id: svn://10.0.0.236/trunk@62103 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 01:53:52 +00:00
edburns%acm.org
93d3cb3b95 r=bruce
a=edburns
bug=9854


git-svn-id: svn://10.0.0.236/trunk@62093 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:38:29 +00:00
drapeau%eng.sun.com
1ad23fd334 Fix for 7783 (r=marklin@eng.sun.com): Removed extraneous #include
statements, including the "pprthred.h" semi-private header.


git-svn-id: svn://10.0.0.236/trunk@60626 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 09:07:30 +00:00
pp%ludusdesign.com
fdfd888608 Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59394 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 14:26:27 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
jdunn%netscape.com
bf0e3bfbb9 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


git-svn-id: svn://10.0.0.236/trunk@57067 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 02:46:06 +00:00
jdunn%netscape.com
38fe44b8bf deleting a void * is bad!
r= beard


git-svn-id: svn://10.0.0.236/trunk@56893 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:40:32 +00:00
sspitzer%netscape.com
f3a799e437 fix a bunch of warnings for beard, so that he can see (and fix) the real warnings
git-svn-id: svn://10.0.0.236/trunk@56786 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 01:41:06 +00:00
Jerry.Kirk%Nexwarecorp.com
883a9cae70 Remove #includes of libmocha.h and libevent.h which according to Shaver
don't need to be there. I noticed this problem under Neutrino because
these header files also use "uint" which was undefined.
b=23041 r=jst@citec.fr


git-svn-id: svn://10.0.0.236/trunk@56746 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 20:40:09 +00:00
dougt%netscape.com
3b1f67364a Converting to use nsIModule macro. r=dp.
git-svn-id: svn://10.0.0.236/trunk@56674 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:20:25 +00:00
edburns%acm.org
132680033c r=marklin
bug=7785
a=edburns

Change nsIThreadManager::GetCurrentThread(PRUint32 *result)
to nsIThreadManager::GetCurrentThread(nsPluginThread* *result)


git-svn-id: svn://10.0.0.236/trunk@55439 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 20:12:56 +00:00
drapeau%eng.sun.com
6a5ed67b18 Fix for bug 5427 ("Passing security principals into nsILiveConnect
methods will cause browser to crash"), fix contributed by
jeff.dyer@compilercompany.com, r=drapeau@eng.sun.com.  More
bulletproof way of testing if principals passed in are valid (comments
in the code fix explain in more detail).


git-svn-id: svn://10.0.0.236/trunk@54836 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:46:43 +00:00
mark.lin%eng.sun.com
2f9153f71a Changed all occurances of nsVector to use nsVoidArray in the OJI module.
This fixes part of bug #11666. r=ed.burns@eng.sun.com.

Contact me at mark.lin@eng.sun.com or (408) 517-5365 if there are problems.


git-svn-id: svn://10.0.0.236/trunk@54818 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:58:28 +00:00
bryner%uiuc.edu
441b7717d1 Minor changes to fix building on Linux with --enable-oji. r=shaver.
git-svn-id: svn://10.0.0.236/trunk@54571 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 20:27:00 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
akhil.arora%sun.com
38a11db343 17802 r=drapeau@eng.sun.com Workshop C++ 5.0 needs a cast
git-svn-id: svn://10.0.0.236/trunk@52596 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 22:57:58 +00:00
tbogard%aol.net
ae3cd9e2ce Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@52417 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 21:43:56 +00:00
edburns%acm.org
4dcff0c574 r=edburns@acm.org
author=idk@eng.sun.com
#16149
approver=edburns@acm.org


git-svn-id: svn://10.0.0.236/trunk@51795 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 01:29:09 +00:00
edburns%acm.org
dc683794a3 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=15902
Approved by: edburns@acm.org
Reviewed by: edburns@acm.org
Authored by: idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@50289 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:34:29 +00:00
rjc%netscape.com
741f87253e Bug # 14034: Convert to nsIModule to prepare for memory leak fixing. Review: dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49631 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:48:02 +00:00
alecf%netscape.com
f59be319b0 we don't need xplib.lib anymore
git-svn-id: svn://10.0.0.236/trunk@48650 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 22:24:04 +00:00
warren%netscape.com
f923450bcf fixed leaked JVM manager service in oji
git-svn-id: svn://10.0.0.236/trunk@48361 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:53:01 +00:00
briano%netscape.com
1be96e2703 General cleanup.
git-svn-id: svn://10.0.0.236/trunk@47265 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 02:51:42 +00:00
cyeh%netscape.com
e066f641bc Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45411 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:24:51 +00:00
norris%netscape.com
34b474302b Add all-powerful system principals. Remove some dead code from the build.
git-svn-id: svn://10.0.0.236/trunk@45380 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:35 +00:00
mccabe%netscape.com
91543218bc First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.


git-svn-id: svn://10.0.0.236/trunk@43988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:54:47 +00:00
tbogard%aol.net
a74ab35457 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree.
git-svn-id: svn://10.0.0.236/trunk@43556 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 05:36:30 +00:00
toshok%hungry.com
f966d0d966 we need the nspr private directory, even if building from the mozilla source tree, on unix.
git-svn-id: svn://10.0.0.236/trunk@43281 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 06:05:16 +00:00
edburns%acm.org
e65bc07e20 This fix is for http://bugzilla.mozilla.org/show_bug.cgi?id=5429.
This fix enables the Tasks->Java Console menu item to show the Java
Console provided by the JRE plugin if it is installed.

It also exposes nsIJVMManager as a full XPIDL citizen, with the progid
component://netscape/oji/jvm-mgr.  see modules/oji/public/nsIJVMManager.idl
for the methods that can be called.

Thanks to Trevor, John Bandauer, Brendan Eich and Robert Yang.


git-svn-id: svn://10.0.0.236/trunk@43214 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 01:56:18 +00:00
toshok%hungry.com
bcc58d657c if we're building nspr from the mozilla tree, add the correct private NSPR include dir.
git-svn-id: svn://10.0.0.236/trunk@42786 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:47:21 +00:00
beard%netscape.com
008a9afbeb Fixing windows breakage, can't free const char* pointers!
git-svn-id: svn://10.0.0.236/trunk@41946 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 05:10:11 +00:00
buster%netscape.com
56fa198f6b added a (crappy) cast to get it to compile, for VC 5.2 on Windows at least.
the owner should verify this fix immediately.


git-svn-id: svn://10.0.0.236/trunk@41945 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 05:05:38 +00:00
pinkerton%netscape.com
b39a02f91d attempt to fix bustage. would take too long to pull on my win32 box, as that is the only place this breaks.
git-svn-id: svn://10.0.0.236/trunk@41941 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 04:31:19 +00:00
arielb%netscape.com
35dc473dd3 Fix to the caps security module. I removed the nsPrincipal struct, from now
on you can access principals by their xpcomed interface nsIPrincipal.


git-svn-id: svn://10.0.0.236/trunk@40961 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 03:58:23 +00:00
dveditz%netscape.com
3eb825d6c1 makefile cleanups
git-svn-id: svn://10.0.0.236/trunk@38042 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:40:18 +00:00
warren%netscape.com
2f522c1be0 More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string.
git-svn-id: svn://10.0.0.236/trunk@36581 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 19:55:21 +00:00
warren%netscape.com
bee72685ed IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom).
git-svn-id: svn://10.0.0.236/trunk@33600 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:50:47 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
beard%netscape.com
1ff80f1a72 bug #5670: renamed nsJNIEnvRef -> GetProxyEnv, got rid of operator ->, added GetSecureEnv. Changed CreateProxyJNI to return NULL if getSecureEnv() returns NULL, so the proxy JNI doesn't have to check for NULL. Makes OJI more robust when a JVM isn't available.
git-svn-id: svn://10.0.0.236/trunk@32223 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:44:35 +00:00
beard%netscape.com
7f9af1b85a bug #4839: now including xp_path.h instead of primpl.h.
git-svn-id: svn://10.0.0.236/trunk@31923 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:10:45 +00:00
beard%netscape.com
b8dc72bdca changed map_jsj_thread_to_js_context_impl to use the plugin's instance peer2 to obtain the JSContext.
git-svn-id: svn://10.0.0.236/trunk@30830 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:48:05 +00:00
hyatt%netscape.com
9b4cf49af1 Changed the arguments to PostSynchronousEvent.
git-svn-id: svn://10.0.0.236/trunk@30451 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:54:47 +00:00
hyatt%netscape.com
5317865813 Switching over to nsIEventQueues.
git-svn-id: svn://10.0.0.236/trunk@30280 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:31:07 +00:00
beard%netscape.com
5cc5b82d0b added IsJavaEnabled().
git-svn-id: svn://10.0.0.236/trunk@29029 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 04:10:49 +00:00
braddr%puremagic.com
5e146e4b53 Add back in a header file that's still needed that beard took out.
git-svn-id: svn://10.0.0.236/trunk@27146 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 06:00:44 +00:00
beard%netscape.com
008d1c35eb added PostEvent()
git-svn-id: svn://10.0.0.236/trunk@27126 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:17:58 +00:00
beard%netscape.com
55f3acd039 removed g_pNSIServiceManager (no longer used)
git-svn-id: svn://10.0.0.236/trunk@27125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:16:14 +00:00
beard%netscape.com
55603fe5e8 renamed g_pNSIServiceManager to theServiceManager.
git-svn-id: svn://10.0.0.236/trunk@27071 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:01:18 +00:00