3354 Commits

Author SHA1 Message Date
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
Xiaobin.Lu%eng.Sun.com
a6ddde9413 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@101467 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 02:11:10 +00:00
Xiaobin.Lu%eng.Sun.com
bdf0db8824 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@101466 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 02:04:12 +00:00
Xiaobin.Lu%eng.Sun.com
b5a12dfb12 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@101463 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:57:48 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
waterson%netscape.com
e75b4e9d1a Bug 93100. Missed one file.
git-svn-id: svn://10.0.0.236/trunk@101458 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:25:10 +00:00
waterson%netscape.com
4e63322b10 Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf
git-svn-id: svn://10.0.0.236/trunk@101447 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 00:55:20 +00:00
thesteve%netscape.com
0319de1366 Bug #81373: landing the mac static build: making MailNews a meta-component.
This new file is Mac ONLY. Furthermore, it is specific to the mac static build, and CAN NOT break the existing mac builds.


git-svn-id: svn://10.0.0.236/trunk@101379 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 00:55:03 +00:00
thesteve%netscape.com
bacecdfe25 Bug #81373: landing the mac static build: making security a meta-component.
This new file is Mac ONLY. Furthermore, it is specific to the mac static build, and CAN NOT break the existing mac builds.


git-svn-id: svn://10.0.0.236/trunk@101378 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 00:54:03 +00:00
av%netscape.com
e971f4e9e1 Fixing 73436 -- hiding platform specific calls in xp files, not part of the build, r=peterl
git-svn-id: svn://10.0.0.236/trunk@101376 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 00:13:37 +00:00
av%netscape.com
c3a92267af Fixing project file for the spy plugin reflecting new folder structure, not part of the build, r=av
git-svn-id: svn://10.0.0.236/trunk@101375 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 00:11:16 +00:00
av%netscape.com
41c8b588ee Fixing 73430 -- removing MFC dependency from Windows project, not part of the build patch by timeless, r=av
git-svn-id: svn://10.0.0.236/trunk@101362 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 23:11:02 +00:00
akkana%netscape.com
877c882bea 92331: revert plaintext quote pref back to using pre. r=mcafee sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@101361 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 23:00:41 +00:00
av%netscape.com
54b5c1e0ad Bug 73874 -- sample plugin (4.x scriptability), not part of the build, r=peterl
git-svn-id: svn://10.0.0.236/trunk@101356 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:36:46 +00:00
av%netscape.com
ec4a2b1c71 Bug 73874 -- sample plugin (4.x scriptability), not part of the build, r=peterl
git-svn-id: svn://10.0.0.236/trunk@101350 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:23:41 +00:00
blizzard%redhat.com
ac9d1a4c2e Back out brendan's checkin to try and get linux starting up again.
git-svn-id: svn://10.0.0.236/trunk@101334 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 19:45:11 +00:00
peterlubczynski%netscape.com
ffbd960a99 Fixing Carbon bustage (where is the carbon tinderbox?)
git-svn-id: svn://10.0.0.236/trunk@101313 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 14:30:45 +00:00
brendan%mozilla.org
cad980f881 - 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 Writer or Updater must close after the Reader,
  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@101289 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 09:52:55 +00:00
sfraser%netscape.com
8f846789a9 Project cleanup, rs=scc. Fix one or more of access paths, linking with the correct startup library, and unnecessary linkage.
git-svn-id: svn://10.0.0.236/trunk@101255 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 01:16:19 +00:00