54 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
edburns%acm.org
753ec174c7 r=peterl
sr=waterson
a=asa


modules/plugin/base/src/nsIPluginInstanceOwner.h
modules/plugin/base/src/nsPluginHostImpl.cpp
modules/plugin/base/src/nsPluginHostImpl.h
modules/plugin/base/src/nsPluginViewer.cpp
modules/oji/src/nsJVMManager.cpp
modules/oji/src/nsJVMManager.h
layout/html/base/src/nsObjectFrame.cpp
xpfe/global/resources/locale/en-US/region.properties


Here's what I did to fix this bug.

I pestered Rick Potts about the problem of
nsIWebBrowserChrome->SetStatus() not being synchronous.  He fixed that
under bug 97227.

Taking advantage of Rick's fix to 97227, I modified
nsIPluginInstanceOwner to have new method, ShowStatus(const PRUnichar
*aStatusMsg).  This is necessary to allow for localized messages to be
posted from the plugin, such as "Starting plugin for type
application/x-java-vm" or "Beginnen steckbar für Art
application/x-java-vm".

I modified all the implementations of nsIPluginInstanceOwner:

  layout/html/base/src/nsObjectFrame.cpp
  modules/plugin/base/src/nsPluginViewer.cpp

I inserted a call to nsIPluginInstanceOwner->ShowStatus() at the part
just before the big "whole damn app freezes when starting java" thing
happens.

I also modifed nsJVMManager.cpp ShowJavaConsole() to do the same.  These
are the two places I know of now that can start java.


git-svn-id: svn://10.0.0.236/trunk@102266 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:58:34 +00:00
cls%seawood.org
3b8b92a2e8 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
waterson%netscape.com
18986ada3f Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
joe.chou%eng.sun.com
c8667e6bce Bug 83698 - make sure browser creates proxy JNI before Java plugin doing it
which broke LiveConnect. a=dbaron, sr=jband, r=beard.


git-svn-id: svn://10.0.0.236/trunk@97194 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 02:59:56 +00:00
Xiaobin.Lu%eng.Sun.com
8f022393f0 bug 5403 r=edburns sr=beard
remove the Get_JVMMgr and use do_GetService instead


git-svn-id: svn://10.0.0.236/trunk@93213 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 01:54:22 +00:00
Xiaobin.Lu%eng.Sun.com
acc0c9d7f5 Bug 68933 r=Ed Burns sr=Mike Shaver
Get rid of the duplication function of JavaEnabled & IsJavaEnabled


git-svn-id: svn://10.0.0.236/trunk@91353 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 22:16:52 +00:00
edburns%acm.org
3f17be6c32 ra=edburns
r=av
sr=waterson
author = Nikolay Igotti <inn@sparc.spb.su>
Changes are:
  - adding IID accessors to nsIJVMPlugin and nsIJVMConsole interface - I think
    better patch would  add accessors to the end of interface definition -
    to save binary compatibility with Java Plugin
 -  together with old way of obtaining of JVM service (GetFactory) use new way
    GetService - it's good anyway and shouldn't break Java Plugin

M modules/oji/public/nsIJVMPlugin.h
M modules/oji/public/nsIJVMConsole.h
M sun-java/stubs/include/jri_md.h
M modules/oji/src/nsJVMManager.cpp


git-svn-id: svn://10.0.0.236/trunk@91183 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:05:03 +00:00
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
beard%netscape.com
86c68b32ff fix for bug #63466, r=mstoltz, sr=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@86811 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 07:47:28 +00:00
blakeross%telocity.com
5923da1d77 Fix 61474: disable Java Console item in Tasks menu when Java plugin isn't installed. patch mostly by Xiaobin Lu (xiaobin.lu@eng.sun.com). r=blake a=ben
git-svn-id: svn://10.0.0.236/trunk@84671 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:49:02 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
jeff.dyer%compilercompany.com
77c82c67ad FALSE -> PR_FALSE
git-svn-id: svn://10.0.0.236/trunk@78871 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 12:44:48 +00:00
jeff.dyer%compilercompany.com
d227ddb376 b=45692 r=edburns a=brendan: Enable liveconnect security.
git-svn-id: svn://10.0.0.236/trunk@78864 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 11:47:42 +00:00
jgaunt%netscape.com
df95a315cc r=jdunn@netscape.com r=edburns@acm.org r=cls@netscape.com
a=leaf@netscape.com a=drapeau@eng.sun.com
bug=#43090
fix for hpux java plugin, generalized through configure.in for anyone.


git-svn-id: svn://10.0.0.236/trunk@76321 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:32:14 +00:00
jeff.dyer%compilercompany.com
5f9b87830d Bug#34746,34853,40077: Implementation for new method for checking permission to run java.
git-svn-id: svn://10.0.0.236/trunk@76245 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 14:05:18 +00:00
drapeau%eng.sun.com
ca8d63a49a Two main things:
1) Fix for 23775 (three files changed for this)

2) Many OJI unit tests added.


git-svn-id: svn://10.0.0.236/trunk@73017 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:28:31 +00:00
edburns%acm.org
afc4214e74 a=leaf
r=edburns
Author = snizinsk@us.ibm.com

bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34762

Use PR_CALLBACK on thread_starter


git-svn-id: svn://10.0.0.236/trunk@65418 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 04:20:32 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +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
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
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
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
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
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
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
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
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
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
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
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
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
beard%netscape.com
11860bd66d nsJVMManager::CreateThread(): upped the priority from LOW to NORMAL.
git-svn-id: svn://10.0.0.236/trunk@26026 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:21:59 +00:00
beard%netscape.com
0b7e535830 added WrapJavaObject, which wraps a JNI global reference in a JSObject.
git-svn-id: svn://10.0.0.236/trunk@24625 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:53:28 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
beard%netscape.com
83fc142853 Added InitLiveConnectClasses for DOM's use.
git-svn-id: svn://10.0.0.236/trunk@23141 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:09:05 +00:00
ebina%netscape.com
465c926ebe Change old RegisterFactory calls to use the new API.
git-svn-id: svn://10.0.0.236/trunk@21935 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:38:45 +00:00
beard%netscape.com
5b22aebd36 implementing nsILiveConnectManager.
git-svn-id: svn://10.0.0.236/trunk@21852 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:18:00 +00:00
beard%netscape.com
d7cf5961f9 OJI interface changes
git-svn-id: svn://10.0.0.236/trunk@21382 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:24:15 +00:00
amusil%netscape.com
6eda94e535 Added oji, liveconnect and caps shared libs to the registry.
git-svn-id: svn://10.0.0.236/trunk@19609 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:18:22 +00:00