299 Commits

Author SHA1 Message Date
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
attinasi%netscape.com
82570cc02b Fix for image wrapping problems in table cells. b=97619 r=bernd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102594 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 19:26:34 +00:00
attinasi%netscape.com
69aebe1a55 Inline images no longer break text runs. b=32191 r=bernd,dbaron sr=waterson a=asa(obod)
git-svn-id: svn://10.0.0.236/trunk@101986 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 22:59:09 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01: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
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
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
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
92c01c45b6 fix for bug 94768
r=smfr,leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
pavlov%netscape.com
460155a537 fixing bug 78690. removing old imagelib. r=jst sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100670 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 20:22:39 +00:00
pavlov%netscape.com
565158229b adding a GetImageRequest method to allow access to the image stuff. r=valeski sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100320 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:11:03 +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
pavlov%netscape.com
cec3a7eb41 part of bug 78690. r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@99366 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 01:14:40 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jst%netscape.com
419062c72d Fixing bug 66022, recurse to death if image attributes are touched from an images onload handler when the image is loaded from the cache. r=pavlov@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99059 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 05:44:12 +00:00
waterson%netscape.com
78314c2326 Bug 85422. Since nsIContent::GetDocument() may now sometimes return a null document back-pointer due to paint suppression, be extra paraniod with a sprinkle of null-check fairy dust. r=brendan, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@98629 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 05:54:09 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
tor%cs.brown.edu
b1ac4cdc54 Bug 87540 - nsImageFrame was offsetting invalidate rect by one pixel
for historical reasons (jpeg decoder used to one-index update rect).
r=kmcclusk, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@97889 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 22:14:37 +00:00
tor%cs.brown.edu
bed028e26b Bug 87550 - nsImageFrame wasn't adjusting for bordering padding when
invalidating itself.  r=kmcclusk, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@97888 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 22:12:15 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
pavlov%netscape.com
24aa04014f fixing bug 82520 r=jag sr=hyatt a=tor
git-svn-id: svn://10.0.0.236/trunk@96445 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 20:22:52 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
attinasi%netscape.com
224a80eebc Fixed crash when mouse move event is handled by image frame and the baseURI is null (after traversing to the link'd document). b=81728 r=pavlov@netscape.com sr=hyatt2netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95951 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 05:46:33 +00:00
pavlov%netscape.com
926828ec42 changing baseURI to an nsCOMPtr r=jst
git-svn-id: svn://10.0.0.236/trunk@95822 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 07:00:37 +00:00
valeski%netscape.com
e2736d6096 sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API.
git-svn-id: svn://10.0.0.236/trunk@95620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:10 +00:00
mkaply%us.ibm.com
8f9de3b761 More IRIX bustage - CRLF
git-svn-id: svn://10.0.0.236/trunk@95577 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 00:02:10 +00:00
pavlov%netscape.com
b31666bd9f fixing bug 32269 r=bryner sr=scc
git-svn-id: svn://10.0.0.236/trunk@95570 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-20 21:21:44 +00:00
mstoltz%netscape.com
a8b60368de Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95481 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:33:51 +00:00
evaughan%netscape.com
a4d0ce6ac8 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan


git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
mstoltz%netscape.com
a617f63914 Fixing bug 78831 - treat chrome and resource URLs the same in the
URL loading check and give them access to each other. r=pavlov,
 sr=brendan. This allows us to turn on the fix (already reviewed)
for 69070.


git-svn-id: svn://10.0.0.236/trunk@95063 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:47:21 +00:00
evaughan%netscape.com
eab27303ef Landing accessibility
-r aarol, jgaunt

-sr brendan


git-svn-id: svn://10.0.0.236/trunk@94685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:11:38 +00:00
pavlov%netscape.com
1a8cccb9b4 fixing bug 78015 and removing some old imagelib code r=saari sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@93899 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 06:29:59 +00:00
hyatt%netscape.com
c51a96b825 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
git-svn-id: svn://10.0.0.236/trunk@93083 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 19:52:49 +00:00
heikki%netscape.com
f76611d359 Bug 51339, XHTML map elements did not work, r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@92615 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 00:14:34 +00:00
pavlov%netscape.com
c71f927843 fixing printing of images printing them too small. r=timeless sr=ben. bug 73254 and 75425.
git-svn-id: svn://10.0.0.236/trunk@92542 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 09:03:20 +00:00
akkana%netscape.com
f04dc5d2b2 74169: Enable controls on image animation in libpr0n. r=pavlov,saari sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@92446 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 22:02:39 +00:00
pavlov%netscape.com
e0faddc87b fixing scaling problem r=saari, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@92340 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 05:15:48 +00:00
pavlov%netscape.com
77851f9099 fixing bug 75185 r=brendan sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@92333 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 02:13:49 +00:00
pollmann%netscape.com
9aeae4bd3a Bug 66399: Make click on targetted server-side image map load resulting page into correct frame, r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91961 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 08:12:10 +00:00
sspitzer%netscape.com
64e2e50b2b another bulletproofer, until pavlov wakes up. #75416 r=waterson.
git-svn-id: svn://10.0.0.236/trunk@91892 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 18:16:58 +00:00
pavlov%netscape.com
fd002cfbf7 fixing images not drawing correctly. bug 73195. patch from kmcclusk@netscape.com. r=pavlov sr=jst
git-svn-id: svn://10.0.0.236/trunk@91276 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 08:23:14 +00:00
evaughan%netscape.com
94e72ae454 XP part of accessibility landing
-r vidur, rods -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
pavlov%netscape.com
b754d759a4 fix for bug 73345. r=hixie,bryner sr=cls
git-svn-id: svn://10.0.0.236/trunk@90354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 02:56:38 +00:00
pavlov%netscape.com
2830c89559 fix for bug 73239. output pixels instead of twips from GetNaturalImageSize. r=ninsheeth sr=shaver,smfr
git-svn-id: svn://10.0.0.236/trunk@90279 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 21:52:08 +00:00
pavlov%netscape.com
aad32bcf85 bug 37779. patch mostly from tor@cs.brown.edu. r=me, saari. r=blizzard for gtk gfx changes. r=rods for the nsImageFrame changes. sr=waterson. needed to land new imagelib.
git-svn-id: svn://10.0.0.236/trunk@90089 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 07:05:22 +00:00
pavlov%netscape.com
af920845ac adding ifdef'd code to use the new imagelib. bug #70938. r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90054 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:38:35 +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
joki%netscape.com
2e54b7c296 Fix bug 58331, don't access internal frame data after DOM event dispatch. r:peterv sr:jst
git-svn-id: svn://10.0.0.236/trunk@89491 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 11:32:43 +00:00
attinasi%netscape.com
6e78b74479 Don't reflow for every notification of an image load if the image frame's size is constrained. b=69552 r=kmcclusk sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88591 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:47:46 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00