alexsavulov%netscape.com
0027d9c146
patch for bug 148199 - Images that are "broken" during document editing
...
don't redisplay using broken image icon.
added a request proxy removal from the mLoads to get the broken icon
when paint.
r=glazman, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123524 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 21:28:53 +00:00
karnaze%netscape.com
49e0a9f4cb
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
a9c700ad59
#142562 problem with <td align=right or align=center
...
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
jst%netscape.com
7b7411c3ef
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
mjudge%netscape.com
5707942d3f
fix from 9.8 added to 9.9 and 1.0 branches. moving to trunk as well. small fix for image display
...
git-svn-id: svn://10.0.0.236/trunk@118696 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:11:23 +00:00
cbiesinger%web.de
5acc5ee9c8
bug 136382 r=rjesup@wgate.com sr=tor
...
preference to disable image placeholders
git-svn-id: svn://10.0.0.236/trunk@118626 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:45:05 +00:00
dbaron%fas.harvard.edu
ba46223ec2
Paint image background and border in the correct paint layer, depending on whether the image is block or inline, rather than always as if it were block. b=61217 r=pavlov sr=waterson a=asa
...
git-svn-id: svn://10.0.0.236/trunk@118512 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 01:16:48 +00:00
attinasi%netscape.com
dbe40cd4b1
Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu
4d91361814
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
karnaze%netscape.com
4cedce858a
bug 124637 - when figuring available width for HRs subtract out both margins. a=asa, sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@116999 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:14:27 +00:00
pavlov%netscape.com
c04a410905
fixing bug 131231 r=valeski sr=attinasi a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116703 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 05:46:26 +00:00
nhotta%netscape.com
d0aa14c5a0
For IMAGE SRC/FRAME SRC, set a charset from the document and pass it to NS_NewURI,
...
bug 127282, r=attinasi, sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116435 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:26:11 +00:00
karnaze%netscape.com
1c08f43c69
bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@116407 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:35:52 +00:00
mkaply%us.ibm.com
ba959ec54e
#41924
...
r=timeless, sr=attinasi, a=asa
Display alt text if the user has blocked all images.
git-svn-id: svn://10.0.0.236/trunk@116259 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 05:31:35 +00:00
pavlov%netscape.com
a970af6da5
fixing 76177. r=cmanske sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@115990 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:45:55 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
morse%netscape.com
c30bfac365
bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
...
git-svn-id: svn://10.0.0.236/trunk@115625 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:26:49 +00:00
karnaze%netscape.com
a1c3edffaf
bug 124041 - prevent infinite splitting of images due to 0 avail height. sr=attinasi, r=alexsavulov, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115309 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 14:42:12 +00:00
tor%cs.brown.edu
98278b1663
Bug 125837 - mIntrinsicSize setup missing pixel->twip conversion.
...
r=pavlov, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@114735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 15:31:24 +00:00
attinasi%netscape.com
95bad745a0
Loading and Broken image icons will no longer be drawn if the image size is smaller than the icon size. This fixes a problem where garbage was being left on the screen after the image loaded, because the Linux RenderingContext does not corectly clip image drawing. b=109418, r=pavlov, sr=blizzard, a=blizard on behalf of drivers
...
git-svn-id: svn://10.0.0.236/trunk@112467 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 22:17:12 +00:00
attinasi%netscape.com
ecb20fc642
Fixed problem with images splitting when they should not be. b=111255 r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@111948 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:32:55 +00:00
brade%netscape.com
0137943f93
remove unused static kIOServiceCID saving 16 bytes (bug 117927; rs=glazou)
...
git-svn-id: svn://10.0.0.236/trunk@111694 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:39:24 +00:00
dbaron%fas.harvard.edu
b7194a0ea8
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
mjudge%netscape.com
20a1185b2b
bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
...
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
dbaron%fas.harvard.edu
f5dc1089af
Fix implementation of {min,max}-{width,height} on images. b=18477 r=pavlov sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@110207 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 03:21:13 +00:00
hyatt%netscape.com
6c6f01e32e
Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988
...
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
attinasi%netscape.com
c34413af37
Blocked images will no longer show the broken image icon, nor will they show ALT text. Repairs alleged 'regression' from previous ALT text fixes. b=109090 r=alexsavulov sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@109371 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:47:06 +00:00
attinasi%netscape.com
e41d8f0647
Moving loading and broken image icons to /res for embedding. b=110384 r=adamlock,sfraser sr=sfraser,waterson
...
git-svn-id: svn://10.0.0.236/trunk@108627 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 22:21:14 +00:00
rods%netscape.com
4b3f973350
Added image animation mode constants to imgIContainer.IDL,
...
Changed the animation mode enum to PRUint16 (removed the enum) in nsIPresContext so we could use the constants
from imgIContainer. (change from dcone's review comments)
Bug 2586 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108057 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:59:08 +00:00
karnaze%netscape.com
65fe290a5b
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
attinasi%netscape.com
f06a7c002e
New image for loading and broken images icons. b=108799 r=kmcclusk sr=waterson a=blizzard/drivers
...
git-svn-id: svn://10.0.0.236/trunk@107691 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 21:43:54 +00:00
attinasi%netscape.com
9e73b286fe
Due to popular demand, broken images are now getting an icon and a sized-box if they have width and height and are in QuirksMode documents (see bug for pref to override). b=102281 r=kmcclusk sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@107568 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 05:02:42 +00:00
attinasi%netscape.com
11481ea927
Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@107407 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:44:20 +00:00
karnaze%netscape.com
b1771999ca
bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106966 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:31:13 +00:00
bryner%netscape.com
9f640c7836
Debug-only change to print out the img src when the frame tree is dumped. r=pavlov, sr=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@106808 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 04:43:48 +00:00
rbs%maths.uq.edu.au
410c9e51f2
bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +00:00
karnaze%netscape.com
4ff0e5cecb
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
pavlov%netscape.com
3fb5ffef03
fix for bug 105257 r=dbaron sr=mscott
...
git-svn-id: svn://10.0.0.236/trunk@105890 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 00:12:53 +00:00
pavlov%netscape.com
eff7407871
removing lowsrc support. bug 92453. r=jag sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@105378 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 01:17:08 +00:00
pavlov%netscape.com
6befe588de
fix for bug 103477 r=jag sr=hyatt (not bug 103536 as previously stated)
...
git-svn-id: svn://10.0.0.236/trunk@104768 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:02:13 +00:00
pavlov%netscape.com
3b6f9233b7
adding null check to fix orangeness.
...
git-svn-id: svn://10.0.0.236/trunk@104732 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 08:19:44 +00:00
pavlov%netscape.com
38a84b009c
fix for bug 92248 r=bryner sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@104721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:08:16 +00:00
vidur%netscape.com
ec7aeceee0
Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
...
git-svn-id: svn://10.0.0.236/trunk@104221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 17:50:15 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
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