dbaron%dbaron.org
8b81db7e6f
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
2004-02-20 21:38:31 +00:00
sicking%bigfoot.com
580557c74f
Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
...
r=bryner sr=jst
2004-02-20 19:00:43 +00:00
cbiesinger%web.de
bb8f20a832
233890, misc cleanup in some layout files, r+sr=bz
2004-02-19 18:56:13 +00:00
bryner%brianryner.com
b26298f7c2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
cbiesinger%web.de
57eed0eb39
Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
...
r+sr=bzbarsky
2004-02-10 16:57:00 +00:00
dbaron%dbaron.org
ab80dc5e92
Clean up code related to broken / loading image icons and make it observe pref changes. b=180620 r+sr=bzbarsky
2004-02-03 20:30:02 +00:00
bryner%brianryner.com
f67839e02e
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
290494e26b
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
b73f7d8861
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
jst%mozilla.jstenback.com
4ab234b8be
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
bzbarsky%mit.edu
d37d9a3e5f
Setting .src should reset image animations; don't animate images no one is
...
looking at. Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
bryner%brianryner.com
9c81944cb6
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
73561d1e28
Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky.
2003-12-26 04:24:11 +00:00
bryner%brianryner.com
5aeafaa8a6
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
7264501b7b
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com
6380d7fd12
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
bzbarsky%mit.edu
54e4d504ae
Be a little smarter about handling the mess that is broken images. Only look
...
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload. Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
bzbarsky%mit.edu
6e09c27e06
Only paint the image if its computed width or height is nonzero. Otherwise, we
...
may divide by zero when computing the transform matrix. Bug 221975, r+sr=roc
2003-11-06 16:03:34 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
a0e219b348
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
8aa7b563d2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bsmedberg%covad.net
3c7f6e517d
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +00:00
bzbarsky%mit.edu
1c89273d3a
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu
76799ff743
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
dbaron%dbaron.org
92b921aca3
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
25471a836d
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
roc+%cs.cmu.edu
55a49cd4d6
Ongoing deCOMtamination. r+sr=dbaron
2003-06-29 03:43:05 +00:00
dbaron%dbaron.org
adce84c7af
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
42b06cc4f5
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
alecf%flett.org
5614718dd3
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
ba75de772b
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
cbiesinger%web.de
7696e14674
address reviewer comments that I forgot when checking in patch for bug 204386. r+sr=bz
2003-05-30 19:47:08 +00:00
cbiesinger%web.de
e2194e13e1
204386 r+sr=bz Allow setting Image.src to empty
2003-05-25 20:43:08 +00:00
dwitte%stanford.edu
149f719c00
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
cbiesinger%web.de
b825755f7f
199045 r+sr=bz a=asa Animated image rotates although "Animate images should loop ... [X] never" is marked
2003-05-04 18:06:10 +00:00
bzbarsky%mit.edu
2260b6b2a3
When doing a placeholder, paint it and the alt text in the foreground layer,
...
not the background one. Bug 156987, r+sr=roc+moz, a=sspitzer
2003-05-03 02:34:42 +00:00
bzbarsky%mit.edu
621e3620d4
Images with no alt attr in quirks mode should show a placeholder, even if they
...
were blocked. Bug 201288, r+sr=roc+moz, a=asa
2003-04-29 18:49:42 +00:00
mjudge%netscape.com
ff760775ae
192566 r=danm sr=smfr even though we may disagree with the user experience in some cases, this fix will stop the editor from drawing the alpha blended images in the case of only the images being selected (see resizing images)
2003-04-22 23:18:34 +00:00
bzbarsky%mit.edu
c72ee5ce87
Make sure that Init() failures for image frames don't mean no alt text. Also
...
fixes a crasher when reframing fixed-pos frames.
This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED). This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.
Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
cbiesinger%web.de
7f36693bcc
70820 patch by keeda@hotpop.com r=dbaron sr=jst ALT in broken image cannot be changed by the DOM
2003-04-18 21:02:49 +00:00
bzbarsky%mit.edu
09fa9aa380
"Backing" changes back in since tree has reopened.
2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu
a855c02802
Backing all this out, since tree is closed.
2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu
19d7284dc8
Make the IconLoad hold a ref to the image listener. Fixes race to a crash.
...
Bug 199021, r=pavlov, sr=dbaron
2003-04-02 01:35:20 +00:00
bzbarsky%mit.edu
97f49d8a47
Don't invalidate and such if no initial reflow yet. Bug 83774, r=pavlov
2003-03-19 06:51:46 +00:00
bzbarsky%mit.edu
1bfea66b89
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
jkeiser%netscape.com
56680b1637
Make ismap images not overwrite the query part of the URL (bug 185169), r+sr=bzbarsky@mit.edu
2003-03-12 21:22:21 +00:00
paper%animecity.nu
ca7962fefd
Bug 196072. Don't invalidate image area when incoming image data is for different frame. r=pavlov sr=bz
2003-03-05 23:55:53 +00:00
bzbarsky%mit.edu
7267f149a3
Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
...
and do not hold a ref to them. Bug 190475, r=pavlov, sr=jst
2003-02-26 05:51:32 +00:00
heikki%netscape.com
ff37c8bc12
Bug 189077, make nsImageFrame smaller by using frame state bits, r=paper@animecity.nu, sr=roc+moz@cs.cmu.edu.
2003-02-24 22:20:26 +00:00
dbaron%dbaron.org
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
a5fcfea19e
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
dbaron%dbaron.org
1419b5fd03
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:19:10 +00:00
dbaron%fas.harvard.edu
818581d1d9
Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc
2002-12-23 22:05:47 +00:00
sspitzer%netscape.com
1fc8d8d9e2
fix typo in comment.
2002-12-14 20:18:56 +00:00
caillon%returnzero.com
c3e3447b52
Re-landing these because I don't believe this are responsible for the Txul spike.
...
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
7ca2c28686
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
28a20c3eb6
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
dbaron%fas.harvard.edu
00a1205bd2
Remove unneeded stubs for code to support Navigator 4.x-only suppress attribute. b=182554 r=biesi (who noticed the problem) sr=peterv
2002-11-28 23:02:31 +00:00
bzbarsky%mit.edu
4d094c04fc
Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
2002-11-20 00:44:26 +00:00
jerry.tan%sun.com
9422fcd717
bug 156731, force image with unlimited css width to reflow,
...
patch by jerry.tan@sun.com r=karnaze, sr=bz
2002-11-07 02:50:39 +00:00
tor%cs.brown.edu
015ac48d65
Bug 155939 - frames not replaced correctly on bordered animated gif.
...
Patch by paper@animecity.nu , r=bzbarsky, sr=tor
2002-11-06 20:44:51 +00:00
dbaron%fas.harvard.edu
958f91e6b7
Miscellaneous performance improvements, mostly related to image loads. Cache a copy of the IO service on the Pres Context for use in starting image loads. b=170116 r=darin sr=bzbarsky
2002-11-06 12:58:05 +00:00
caillon%returnzero.com
7871a3af0d
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
rpotts%netscape.com
6777c1f117
bug #145579 (r=darin, sr=jst) send the correct referrer for images...
2002-09-17 18:59:41 +00:00
cbiesinger%web.de
816cc51247
bug 151983 patch by bernd.mielke@snafu.de r=paper sr=tor
...
ASSERTION: imgLoader::LoadImage -- NULL URI pointer: 'aURI'
2002-09-03 22:49:51 +00:00
pete.zha%sun.com
ccf995ebf0
Reproducible crash when printing page [@nsFloaterCacheList::~nsFloaterCacheList()] (bug=149074)
...
r=karnaze@netscape.com sr=bzbarsky@mit.edu
2002-08-29 01:44:15 +00:00
aaronl%netscape.com
96b6202731
Bug 132158. Active Accessibility: expose correct bounds information and accessible value for HTML areas. r=saari, sr=alecf.
2002-08-17 01:46:58 +00:00
cbiesinger%web.de
e17057d531
bug 147938 patch by paper r=dbaron sr=waterson
...
Don't Invalidate nsImageFrame area if it's hidden
2002-07-01 18:17:35 +00:00
alexsavulov%netscape.com
2b78156b17
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
2002-06-18 21:28:53 +00:00
karnaze%netscape.com
dc7e454eb3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
7f123711f0
#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
2002-05-24 20:11:14 +00:00
jst%netscape.com
c510ff0346
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
jst%netscape.com
5ef2ac2f34
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
2002-05-20 22:47:02 +00:00
mjudge%netscape.com
e87a5b9301
fix from 9.8 added to 9.9 and 1.0 branches. moving to trunk as well. small fix for image display
2002-04-11 01:11:23 +00:00
cbiesinger%web.de
123b6f43a0
bug 136382 r=rjesup@wgate.com sr=tor
...
preference to disable image placeholders
2002-04-10 14:45:05 +00:00
dbaron%fas.harvard.edu
5ecc2896bc
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
2002-04-09 01:16:48 +00:00
attinasi%netscape.com
159525bdf5
Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu
95771efc1f
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:26:36 +00:00
karnaze%netscape.com
c057e25308
bug 124637 - when figuring available width for HRs subtract out both margins. a=asa, sr=attinasi, r=alexsavulov.
2002-03-20 22:14:27 +00:00
pavlov%netscape.com
feefbf588d
fixing bug 131231 r=valeski sr=attinasi a=asa
2002-03-16 05:46:26 +00:00
nhotta%netscape.com
2bfc3f7831
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.
2002-03-12 22:26:11 +00:00
karnaze%netscape.com
5eb430d051
bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov.
2002-03-12 15:35:52 +00:00
mkaply%us.ibm.com
e479c5afac
#41924
...
r=timeless, sr=attinasi, a=asa
Display alt text if the user has blocked all images.
2002-03-09 05:31:35 +00:00
pavlov%netscape.com
bf1bb49544
fixing 76177. r=cmanske sr=jst a=shaver
2002-03-06 22:45:55 +00:00
darin%netscape.com
026dda9f95
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
morse%netscape.com
b26cb82e9b
bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
2002-03-02 01:26:49 +00:00
karnaze%netscape.com
c85d99ace2
bug 124041 - prevent infinite splitting of images due to 0 avail height. sr=attinasi, r=alexsavulov, a=asa
2002-02-25 14:42:12 +00:00
tor%cs.brown.edu
a7a7fbb998
Bug 125837 - mIntrinsicSize setup missing pixel->twip conversion.
...
r=pavlov, sr=blizzard
2002-02-17 15:31:24 +00:00
attinasi%netscape.com
035940f4e4
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
2002-01-18 22:17:12 +00:00
attinasi%netscape.com
1264a2434d
Fixed problem with images splitting when they should not be. b=111255 r=karnaze sr=waterson
2002-01-11 19:32:55 +00:00
brade%netscape.com
cc8acc3ccc
remove unused static kIOServiceCID saving 16 bytes (bug 117927; rs=glazou)
2002-01-09 15:39:24 +00:00
dbaron%fas.harvard.edu
1db5b984db
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
2002-01-07 23:46:07 +00:00
mjudge%netscape.com
9b25533dc1
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
2001-12-18 01:29:49 +00:00
dbaron%fas.harvard.edu
c5b8bac972
Fix implementation of {min,max}-{width,height} on images. b=18477 r=pavlov sr=attinasi
2001-12-11 03:21:13 +00:00
hyatt%netscape.com
1704f7364f
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
2001-12-05 08:35:05 +00:00
attinasi%netscape.com
13ff934175
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
2001-11-30 20:47:06 +00:00
attinasi%netscape.com
484e67aa94
Moving loading and broken image icons to /res for embedding. b=110384 r=adamlock,sfraser sr=sfraser,waterson
2001-11-20 22:21:14 +00:00
rods%netscape.com
0dba7b881b
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
2001-11-14 13:59:08 +00:00
karnaze%netscape.com
40c7483281
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
attinasi%netscape.com
c4e8cd3d13
New image for loading and broken images icons. b=108799 r=kmcclusk sr=waterson a=blizzard/drivers
2001-11-08 21:43:54 +00:00
attinasi%netscape.com
91ac83e5d0
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
2001-11-07 05:02:42 +00:00
attinasi%netscape.com
c78eb318ca
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
2001-11-06 01:44:20 +00:00
karnaze%netscape.com
1e228891d1
bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
2001-11-01 15:31:13 +00:00
bryner%netscape.com
4e75d0bf7f
Debug-only change to print out the img src when the frame tree is dumped. r=pavlov, sr=waterson.
2001-10-31 04:43:48 +00:00
rbs%maths.uq.edu.au
f67bb3c2d5
bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
2001-10-30 22:58:00 +00:00
karnaze%netscape.com
16dee217fc
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
pavlov%netscape.com
5050144276
fix for bug 105257 r=dbaron sr=mscott
2001-10-21 00:12:53 +00:00
pavlov%netscape.com
8f58942452
removing lowsrc support. bug 92453. r=jag sr=attinasi
2001-10-14 01:17:08 +00:00
pavlov%netscape.com
6a281131aa
fix for bug 103477 r=jag sr=hyatt (not bug 103536 as previously stated)
2001-10-07 18:02:13 +00:00
pavlov%netscape.com
781fe5aa1e
adding null check to fix orangeness.
2001-10-06 08:19:44 +00:00
pavlov%netscape.com
e15f4f6c5d
fix for bug 92248 r=bryner sr=jst
2001-10-06 05:08:16 +00:00
vidur%netscape.com
338e3871f8
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
2001-09-29 17:50:15 +00:00
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
a77cb3b548
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
attinasi%netscape.com
abe0f6fb8d
Fix for image wrapping problems in table cells. b=97619 r=bernd sr=waterson
2001-09-08 19:26:34 +00:00
attinasi%netscape.com
bb1bf04cc5
Inline images no longer break text runs. b=32191 r=bernd,dbaron sr=waterson a=asa(obod)
2001-08-29 22:59:09 +00:00
hyatt%netscape.com
1e28dfba99
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +00:00
brendan%mozilla.org
b365808864
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.
2001-08-21 20:51:34 +00:00
blizzard%redhat.com
8449d6469f
Back out brendan's checkin to try and get linux starting up again.
2001-08-17 19:45:11 +00:00
brendan%mozilla.org
525a387cf2
- 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.
2001-08-17 09:52:55 +00:00
bryner%netscape.com
67f6aa83cb
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
00f903a8da
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
pavlov%netscape.com
b72c324af1
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
pavlov%netscape.com
e8da494bb8
adding a GetImageRequest method to allow access to the image stuff. r=valeski sr=waterson
2001-08-03 21:11:03 +00:00
jaggernaut%netscape.com
c14d9c09a1
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
pavlov%netscape.com
0852f1b0c5
part of bug 78690. r=bryner sr=jst
2001-07-17 01:14:40 +00:00
dbaron%fas.harvard.edu
bf82abfd11
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
jst%netscape.com
1024be8b98
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
2001-07-11 05:44:12 +00:00
waterson%netscape.com
9ca563d1bc
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
2001-07-04 05:54:09 +00:00
jaggernaut%netscape.com
03ab87e4a1
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 :-)
2001-06-30 11:02:25 +00:00
tor%cs.brown.edu
d2d37479ab
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
2001-06-25 22:14:37 +00:00
tor%cs.brown.edu
9cf9218a44
Bug 87550 - nsImageFrame wasn't adjusting for bordering padding when
...
invalidating itself. r=kmcclusk, sr=blizzard
2001-06-25 22:12:15 +00:00
dbaron%fas.harvard.edu
688519fb0c
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
2001-06-20 03:27:48 +00:00
pavlov%netscape.com
f82787cd6d
fixing bug 82520 r=jag sr=hyatt a=tor
2001-06-05 20:22:52 +00:00
hyatt%netscape.com
2bf7260d28
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
attinasi%netscape.com
91a3fbb04b
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
2001-05-26 05:46:33 +00:00
pavlov%netscape.com
89a358984f
changing baseURI to an nsCOMPtr r=jst
2001-05-23 07:00:37 +00:00
valeski%netscape.com
fc50f8ba21
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.
2001-05-21 22:40:10 +00:00
mkaply%us.ibm.com
da3a98d780
More IRIX bustage - CRLF
2001-05-21 00:02:10 +00:00
pavlov%netscape.com
3ab36a91a0
fixing bug 32269 r=bryner sr=scc
2001-05-20 21:21:44 +00:00
mstoltz%netscape.com
edf3f8a6e9
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.
2001-05-19 00:33:51 +00:00
evaughan%netscape.com
453d1d1d71
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
mstoltz%netscape.com
822c76926e
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.
2001-05-15 22:47:21 +00:00
evaughan%netscape.com
a8792fc3db
Landing accessibility
...
-r aarol, jgaunt
-sr brendan
2001-05-11 21:11:38 +00:00
pavlov%netscape.com
e973fdc83f
fixing bug 78015 and removing some old imagelib code r=saari sr=hyatt
2001-05-04 06:29:59 +00:00
hyatt%netscape.com
31a850a277
Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
2001-04-25 19:52:49 +00:00
heikki%netscape.com
aa9a3a3c06
Bug 51339, XHTML map elements did not work, r=harishd, sr=vidur.
2001-04-18 00:14:34 +00:00
pavlov%netscape.com
b8c8ecf7d7
fixing printing of images printing them too small. r=timeless sr=ben. bug 73254 and 75425.
2001-04-17 09:03:20 +00:00