3972 Commits

Author SHA1 Message Date
av%netscape.com
8d0ac39f1b Fix for bug 98285 -- added a new value to the NPNVariable enum type to enable access to the service manager from plugins, r=beard, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@102564 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:23:07 +00:00
darin%netscape.com
66747c911f fixes bug 97528 "1200 urls created on startup about:blank"
r=dp, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@102554 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:32:50 +00:00
mitesh%netscape.com
ca72868cd3 Fix for the regression caused by bug 92447
movinf request for the nsPrefService out of Init()
r=bnesse and sr=alecf


git-svn-id: svn://10.0.0.236/trunk@102540 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:12:41 +00:00
beard%netscape.com
ad548ee4ed [not part of build] Mac files for scriptable NPAPI plugin.
git-svn-id: svn://10.0.0.236/trunk@102529 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 15:54:40 +00:00
beard%netscape.com
0051338311 [not part of build] fixes for bug #98382, r=av, allow building on Mac.
git-svn-id: svn://10.0.0.236/trunk@102484 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:18:07 +00:00
beard%netscape.com
b43f7e045a [not part of build] Mac files for scriptable NPAPI plugin.
git-svn-id: svn://10.0.0.236/trunk@102483 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:15:57 +00:00
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
bnesse%netscape.com
2651ba14d0 Fix for bug 49776. Add additional bulletproofing to nsPrefBranch. r=mitesh, sr=alecfl.
git-svn-id: svn://10.0.0.236/trunk@102435 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:30:47 +00:00
waterson%netscape.com
b7c9fb7cd4 Bug 98456. Fix meta-modules on Linux. r=dp, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@102428 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:13:41 +00:00
mitesh%netscape.com
c20c2c2a0e Fix for bug 97228 - multiple appends of email address
r=bnesse and sr=shaver


git-svn-id: svn://10.0.0.236/trunk@102343 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 23:25:54 +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
bnesse%netscape.com
dec4d71678 Fix for bug 92447. Internalize loading of config file so it can be re-read if the preferences are reset. r=chipc, mitesh. sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@102312 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 18:22:10 +00:00
jaggernaut%netscape.com
234588f481 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@102292 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 10:46:45 +00:00
axel%pike.org
6fa04b04c1 bug 94834, without png and mng, DIRS was " ", r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102291 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 08:48:54 +00:00
cls%seawood.org
911a6f4163 Updating module dependencies caused by checkin for bug 97380
git-svn-id: svn://10.0.0.236/trunk@102273 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 06:37:42 +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
dougt%netscape.com
8e801f7f38 Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above


git-svn-id: svn://10.0.0.236/trunk@102265 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:52:26 +00:00
av%netscape.com
72c385ca9f Fixing bug 86642 -- crash in DOMMimeTypeImpl::DOMMimeTypeImpl() when assigning fields missing from the plugin version stamp, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102223 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:17:48 +00:00
darin%netscape.com
f90e1af576 fixes bug 83526 "http should use fewer connections per server per page"
r=bbaetz sr=dougt,blizzard


git-svn-id: svn://10.0.0.236/trunk@102220 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:02:26 +00:00
serge%netscape.com
91130476f6 bug 69167; plugin load fails silently on library not found; r=av, sr=waterson, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@102199 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 23:04:53 +00:00
av%netscape.com
c8299ff2f4 Removing no longer needed file in the sample code -- not part of the build
git-svn-id: svn://10.0.0.236/trunk@102124 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 23:04:14 +00:00
av%netscape.com
a84571a019 Bug 97488 -- sample code to reflect new approach to scripting, not part of the build, patch by jband and av, r=av
git-svn-id: svn://10.0.0.236/trunk@102122 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 23:00:11 +00:00
peterlubczynski%netscape.com
f55b5f439b Patch to fix incorrect coordinates to first call of SetWindow(), bug 97656 r=av sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@102088 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 18:28:04 +00:00
mstoltz%netscape.com
626f878a47 Bug 92955 - Option to disable window.open from onLoad/onUnload event
handlers. r=harishd@netscape.com, sr=jst@netscape.com, a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@102066 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:06:39 +00:00
mstoltz%netscape.com
427c5f13ad New set of restrictions on the DOM in mailnews to prevent several
kinds of privacy attacks. Uses new wildcard policy functionality.
Fixes 87395 and 84545. r=harishd, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@102004 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 02:27:50 +00:00
cls%seawood.org
37a108b0dc Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.
Bug #97386 r=mcafee a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101994 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 01:14:45 +00:00
bnesse%netscape.com
928bf74900 Fix for bug 96514. Don't return bogus values from preferences when no default preference exists. patch=ccarlen, r=bnesse,sr=sfraser,a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@101979 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 22:22:52 +00:00
waterson%netscape.com
42e83067a0 Bug 96910. Restore NS_NewGenericModule() entry point for backwards compatibility. r=dougt, sr=jband, a=asa
git-svn-id: svn://10.0.0.236/trunk@101976 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 21:59:43 +00:00
waterson%netscape.com
1b902b4f59 Fix static build bustage.
git-svn-id: svn://10.0.0.236/trunk@101940 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 05:28:12 +00:00
cls%seawood.org
95f6d098e3 Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.
Bug #97386 r=mcafee a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101936 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 03:29:44 +00:00
tao%netscape.com
58e0f58084 8124: default charset should be set in ja-unix.jar -> move this pref to
en-unix.jar.(r=jbetak,sr=sspitzer).


git-svn-id: svn://10.0.0.236/trunk@101934 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 03:00:27 +00:00
tao%netscape.com
6df38cd183 8120: intl.collationOption should be defined in ja-unix.jar
(r=jbetak,sr=mscott) move this pref to en-unix.jar.


git-svn-id: svn://10.0.0.236/trunk@101933 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 02:55:47 +00:00
tao%netscape.com
e144476998 8052: Available tab list on Sidebar customize tab is still US contents
after switching to JP region pack. (r=jbetak,sr=mscott)
use "intl.content.langcode" instead of u-a locale


git-svn-id: svn://10.0.0.236/trunk@101931 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 02:47:01 +00:00
serge%netscape.com
edfdb96c1d fix for 69167; plugin load fails silently on library not found; r=av, sr=waterson, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@101844 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 22:14:52 +00:00
av%netscape.com
47e21da3e9 Fixing 96528 -- crash on File/Exit with full page xpcom plugin, r=peterl, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@101773 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 21:08:25 +00:00
av%netscape.com
0fc41edefe Adding missing file to the sample project, not part of the build
git-svn-id: svn://10.0.0.236/trunk@101772 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 21:03:50 +00:00
mitesh%netscape.com
025e68f211 Fix for Bug 87661 - moving AutoConfig creation after reading of netscape.cfg
r=bnesse, sr=shaver and a=asa


git-svn-id: svn://10.0.0.236/trunk@101766 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 19:44:45 +00:00
mitesh%netscape.com
bd06551cdd Fix for Bug 95795 Timer on Linux doesn't work in AutoConfig
r=bnesse , sr=sfraser and a=asa


git-svn-id: svn://10.0.0.236/trunk@101664 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 23:58:12 +00:00
peterlubczynski%netscape.com
4933556d7a Fix for not opening bundles plugin resources on Mac fixing crashes (and tab clean up) bug 91988 r=bnesse sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@101610 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 03:55:53 +00:00
mkaply%us.ibm.com
7a0c0a2b08 OS/2 will take this as well, thank you very much.
Fixes transparent PNGs on OS/2.


git-svn-id: svn://10.0.0.236/trunk@101559 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 22:29:25 +00:00
tor%cs.brown.edu
0d3c9ba521 Bug 84980 - zero out the color components of transparent pixels
in a binary alpha PNG on win32 before handing them off to libpr0n.
r=pavlov, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@101555 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 21:59:08 +00:00
brendan%mozilla.org
6abf5e7f73 Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.


git-svn-id: svn://10.0.0.236/trunk@101544 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 20:51:34 +00:00
pavlov%netscape.com
f2d747d729 fix for bug 87739 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@101538 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 20:17:22 +00:00
pavlov%netscape.com
1602a591a1 fixing indentation of {
git-svn-id: svn://10.0.0.236/trunk@101533 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 19:45:18 +00:00
ftang%netscape.com
5257d4fa4b fix 92988. r=shanjian rs=ftang
add more fallback font face for Japanese


git-svn-id: svn://10.0.0.236/trunk@101526 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 19:01:40 +00:00
sspitzer%netscape.com
d16c4dec7a more mac bustage fixage. sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101484 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 05:56:48 +00:00
waterson%netscape.com
d15b77ae3e Fix Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@101481 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 04:26:03 +00:00
waterson%netscape.com
a7ccc20459 Attempt to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@101479 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 03:30:03 +00:00
dbaron%fas.harvard.edu
fdd5d25c83 fixing Mac bustage. b=45797
git-svn-id: svn://10.0.0.236/trunk@101475 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 02:58:44 +00:00
Xiaobin.Lu%eng.Sun.com
85ca40dcdb Fix for 77194 (liveconnect does not work for non-applet case)
r=edburns & beard sr=brendan


git-svn-id: svn://10.0.0.236/trunk@101468 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 02:23:24 +00:00