Commit Graph

3334 Commits

Author SHA1 Message Date
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
av%netscape.com
880ffe0670 Fix for 89672 -- topembed, crash on exit with xpcom plugin, r=peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101249 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 00:45:25 +00:00
peterlubczynski%netscape.com
682e6c5b13 Fixing UNIX bustage, removing extra #include header put in on accident
git-svn-id: svn://10.0.0.236/trunk@101188 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 04:47:16 +00:00
blakeross%telocity.com
860f3add92 Turning off turbo by default for now to avoid slew of bug reports tomorrow about how "turbo was on even though I didn't ask for it!"
git-svn-id: svn://10.0.0.236/trunk@101185 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 04:21:06 +00:00
peterlubczynski%netscape.com
d1363e7d58 Fixing UNIX makefile bustage
git-svn-id: svn://10.0.0.236/trunk@101179 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 03:35:01 +00:00
blakeross%telocity.com
7539fcfa4f Enabling and disabling turbo should not require a restart (89504). Also fixes 85437, 81715, 91221, 91350, 92292. r=ccarlen sr=ben
git-svn-id: svn://10.0.0.236/trunk@101177 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 03:21:40 +00:00
peterlubczynski%netscape.com
beeef7a905 Implement NSPR Logging in plugin module bug 94922 r=av, edburns sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101174 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 02:59:03 +00:00
sfraser%netscape.com
46e39d342d Project cleanup, rs=scc. Use NSComponentStartup.o, since this is a component, and don't link directly with MathLib.
git-svn-id: svn://10.0.0.236/trunk@101164 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 00:50:10 +00:00
peterlubczynski%netscape.com
a43e8e1c46 Make x & y be signed for NPWindow struct bug 93500 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101068 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 03:11:08 +00:00
peterlubczynski%netscape.com
3ca3d9b70d Fixing extra char in win32 makefile for sample plugin, not part of main build
git-svn-id: svn://10.0.0.236/trunk@101065 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 02:32:27 +00:00
leaf%mozilla.org
2c521eac4a removing old files. final task to close bug 76602.
git-svn-id: svn://10.0.0.236/trunk@101062 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 01:50:23 +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
mkaply%us.ibm.com
c07997c013 #94574
r=mkaply, a=blizzard
OS/2 only - from javier - change mouse down scrolling behavior to be like Unix (and other OS/2 apps)


git-svn-id: svn://10.0.0.236/trunk@100834 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 22:37:07 +00:00
peterlubczynski%netscape.com
c616f96764 Fix for mStreamType not being set correctly bug 94371 r=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100794 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 19:49:04 +00:00
leaf%mozilla.org
e958e1d589 bug 76602, sr=cls, r=edburns. modules/plugin rearranging, in preparation for old
file location cvs removal.


git-svn-id: svn://10.0.0.236/trunk@100744 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 07:35:54 +00:00
timeless%mac.com
108fca9a64 fix Bugzilla Bug 93827 Print module autoselection could be better...
by Roland.Mainz@informatik.med.uni-giessen.de r=dcone sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@100743 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 06:58:11 +00:00
cathleen%netscape.com
546ff02d58 make static build to support DISABLE_MAILNEWS flag, and enable making
gecko.dll for static build bug=93100 sr=waterson


git-svn-id: svn://10.0.0.236/trunk@100742 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 05:18:27 +00:00
mitesh%netscape.com
4491c0f140 Fix for bug 94349 - Work around for nsIObserverService problem
r=ccarlen and sr=darin


git-svn-id: svn://10.0.0.236/trunk@100724 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 02:23:45 +00:00
av%netscape.com
632ef5f8c5 Fix for bug 91238 -- eliminating unwanted initial stream to a plugin, r=peterl, edburns, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100719 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:53:38 +00:00
loadrunner%betak.net
bb59bfb94b bug 85747, There is no difference between "OK" and "Cancel" when change Preferences | Fonts language,
r=matt, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@100718 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:49:39 +00:00
av%netscape.com
df3f946dbf Fix for bug 91238 -- unwanted initial plugin stream, r=peterl, edburns, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100716 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:46:12 +00:00