Commit Graph

2941 Commits

Author SHA1 Message Date
jkeiser%netscape.com
900ba63a0b Make iframe border repaint when style changes (bug 124507), r=waterson@netscape.com, sr=attinasi@netscape.com 2002-04-28 07:53:41 +00:00
waterson%netscape.com
d572531e5b Bug 138057. Eliminate nsBlockFrame::RememberFloaterDamage, instead recording the damage when we reflow the floater. This allows us to catch several cases that we weren't catching before, so we no longer need to dirty all the line boxes when an incremental reflow targeted at a float arrives. r=dbaron, sr=attinasi. 2002-04-26 19:19:39 +00:00
rods%netscape.com
6db330b5a8 Use binary search from nsTextFrame to find the length of the header/footer strings
Bug 139384  r=dcone sr=attinasi
2002-04-26 11:30:33 +00:00
jst%netscape.com
f3bec601cc Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com 2002-04-25 23:04:52 +00:00
attinasi%netscape.com
2fe443e329 Check for null FontMetrics to prevent crash. r=shanjian sr=kin 2002-04-25 22:00:22 +00:00
karnaze%netscape.com
0ac20fe840 bug 136746 - check for null pointer if a line is empty. sr=waterson, r=alexsavulov 2002-04-25 20:53:32 +00:00
smontagu%netscape.com
c5331b9f14 Correct handling of zero-width joiners and non-joiners. Bug 110497. r=ftang, sr=attinasi 2002-04-23 23:50:17 +00:00
rods%netscape.com
ee07c55f61 Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi
2002-04-23 12:05:43 +00:00
jst%netscape.com
70e9ad0081 Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com 2002-04-22 23:12:18 +00:00
jst%netscape.com
14dc7f7425 Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-04-19 23:55:45 +00:00
attinasi%netscape.com
040d1418c9 Make sure SpaceManager is in the reflowState before absolute items are reflowed to prevent crash. b=130251 r=alexsavulov sr=waterson 2002-04-18 23:37:51 +00:00
rods%netscape.com
1ba300072c printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman
2002-04-18 22:43:02 +00:00
jst%netscape.com
9b2f4f3f6d One more minor tweak for blocker bug 138007 (checked in the wrong diff last time). Making iframe.src=... not load the src twice when the iframe is visible. r=jkeiser@netscape.com, sr=heikki@netscape.com 2002-04-18 22:06:37 +00:00
jst%netscape.com
27eaad06c2 One more minor tweak for blocker bug 138007. Making iframe.src=... not load the src twice when the iframe is visible. r=jkeiser@netscape.com, sr=heikki@netscape.com 2002-04-18 21:54:48 +00:00
jst%netscape.com
cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
mjudge%netscape.com
9f82495160 fix for up down behavior after typing or selecting sr=kin a=scc r=jfrancis 2002-04-16 23:26:22 +00:00
mjudge%netscape.com
09110a5680 bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest 2002-04-16 23:02:11 +00:00
timeless%mac.com
7e64ad7b3d disable-bidi bustage, bug 82151
r=biesi
2002-04-16 14:49:29 +00:00
kin%netscape.com
fb9b52b024 Fix for bug 68331 (Moving caret in TEXTAREA to start of line can cause page to scroll horizontally)
- Modified GetSelectionRegionRectAndScrollableView() to clip
  aRect so that it is completely within the bounds of the
  scrolledView. This insures that other scrolled views in
  the parent hierarchy will not scroll more than they have to.

r=brade@netscape.com  sr=sfraser@netscape.com
2002-04-16 13:30:28 +00:00
mjudge%netscape.com
cbca07291c 82151 r=jfrancis sr = kin 2002-04-16 02:42:09 +00:00
mjudge%netscape.com
b0f1fe2322 r= jfrancis sr= kin 2002-04-16 02:39:54 +00:00
hwaara%chello.se
92f889abb0 #13702, just fixing some minor typos in the documentation. r=bzbarsky 2002-04-13 19:47:15 +00:00
dbaron%fas.harvard.edu
b878ea3fae Fix leak (within the pres shell arena) of lines from nsLineBox::DeleteLineList. b=136764 r=attinasi sr=waterson 2002-04-13 18:54:40 +00:00
peterlubczynski%netscape.com
1fef229506 Correctly set visibility of view on DidReflow for cases when our CSS visibility style has changed from visible (windows part) bug 129306 r=av sr=attinasi 2002-04-13 02:43:58 +00:00
peterlubczynski%netscape.com
54b90e52ee Fixing HIDDEN attribute on EMBED tag and also removing support for it for APPLET tags. Bug 136456 r=av sr=attinasi 2002-04-13 01:53:23 +00:00
kin%netscape.com
03b54f0b0a Fix for bug 110940 (order List ID does not display correctly after change )
RenumberListsFor() now calls Invalidate() for a bullet frame if it's ordinal is changed.

r=kmcclusk@netscape.com  sr=waterson@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org
2002-04-11 14:01:11 +00:00
dbaron%fas.harvard.edu
07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
serge%netscape.com
014a6bcfd1 fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard 2002-04-11 03:27:00 +00:00
waterson%netscape.com
4d89367b86 Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi 2002-04-11 01:13:41 +00:00
mjudge%netscape.com
35d42a18e6 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
rods%netscape.com
6afe706be3 This patch also fixes a regression from 6.2 where when printing selection it
prints in the top margin of the second (or third, etc.) page.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:34:59 +00:00
alexsavulov%netscape.com
804a3c8cac fix for bug 107545
added nullchek for a frame pointer
r= kmcckuskey sr= attinasi a=rjesup adt1.0.0+=syd
2002-04-11 00:06:39 +00:00
shanjian%netscape.com
84eb514a5a #76097 Need to include external leading for CJK normal Line-height
Font metrics returns both internal and external leading to layout. Layout
now is responsible for calculating the normalLineHeight. It take consideration
of external leading, and compensate if it does not exist. All these are controled
by a preference switch.

r=rbs, sr=attinasi,
2002-04-11 00:00:40 +00:00
karnaze%netscape.com
253add7dbb bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov. 2002-04-10 21:32:41 +00:00
cbiesinger%web.de
898fb53814 bug 136382 r=rjesup@wgate.com sr=tor
preference to disable image placeholders
2002-04-10 14:45:05 +00:00
locka%iol.ie
60e32f6220 Lower limit on number of nested content frames before giving up. b=126466 r=fabian@bluishgecko.net sr=jst@netscape.com a=rjesup@wgate.com (drivers) a=jaimejr@netscape.com (adt) 2002-04-10 11:13:35 +00:00
dbaron%fas.harvard.edu
d1afaa6ae6 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
13c4539d6c Backing out patch from bug 128133 due to the myriad regression - my apologies to all good Mozillans. 2002-04-08 23:57:37 +00:00
attinasi%netscape.com
726f525d6f stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr 2002-04-07 18:20:27 +00:00
waterson%netscape.com
9f45ab2b13 Bug 128855. Be sure to grow |spacing| array in the case of small caps. Patch provided by Andrew Schultz <ajschult@eos.ncsu.edu>, r=attinasi, sr=waterson, a=asa. 2002-04-07 17:37:30 +00:00
karnaze%netscape.com
e96121a916 bug 132334 - add nsIFrame::RemovedAsPrimaryFrame which allows the text control frame to access its editor before Destroy (when it is too late). a=asa, adt=jamiejr, sr=attinasi, r=jkeiser 2002-04-06 22:16:12 +00:00
rods%netscape.com
f689da2c74 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 12:13:23 +00:00
timeless%mac.com
a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com
bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com
020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com
bc7a1e56d5 Hmm, looks like the orange on linux is due to a bug in gcc 2.95, there have been issues with using nsCOMPtr's in narrow scopes with that compiler before, so maybe this'll fix this crash too. Who knows, but it's worth a try. This changes nothing, so no reviews... 2002-04-04 04:45:22 +00:00
rbs%maths.uq.edu.au
cc0c21b63a Bug 129560 - Selection doesn't display on stretchy MathML characters. This is the part of the patch that makes text frames retain an appropriate width during selection (to avoid the caret to undershot when crossing stretchy characters), r=dbaron, sr=attinasi, a=asa 2002-04-04 02:15:57 +00:00
jst%netscape.com
aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
shanjian%netscape.com
4e99a38eeb #128394 Cursor position widely off from actual text when selection is made.
Taking langGroup into consideration when selecting font for text selection, it
should be consistent with the way of rendering text.

r=rbs, sr=attinasi, a=asa, adt
2002-04-03 23:26:58 +00:00
bernd.mielke%snafu.de
7fba1e3431 show canvasframe in debug reflow logs, bug 134130 , r=jkeiser sr=attinasi a=asa 2002-04-03 04:21:20 +00:00
karnaze%netscape.com
9acf51392f bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd. 2002-04-01 06:46:17 +00:00
heikki%netscape.com
ba1bf1d780 Bug 86583, make drag and drop work for images, image map links and XLinks. r=pink, sr=jst, a=asa. 2002-04-01 04:27:50 +00:00
karnaze%netscape.com
7bb0f90ec2 bug 130550 - Added nsIFrame::CanPaintBackground, to treat nsTableOuterFrame as transparent. a=asa, sr=attinasi, r=roc+moz 2002-03-31 22:43:40 +00:00
dbaron%fas.harvard.edu
b350a0fd0f Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa 2002-03-31 16:59:00 +00:00
ftang%netscape.com
6818ce0f80 fix bug 130441 and 122584
support surrogate in text-align: jutify , selection and cusor movement
r=shanjian/smontagu sr=kin a=asa
2002-03-27 03:28:34 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0 Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa 2002-03-27 02:38:13 +00:00
attinasi%netscape.com
23630d30e8 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
alexsavulov%netscape.com
aad66d2ce9 fix for bug 100963 r= kmcklusk sr= attinasi a= asa
added region invalidation to cause repainting of areas previously
occupied by a removed line
2002-03-26 20:03:41 +00:00
rods%netscape.com
ca589fdb8d Generically enables the browser to cache the curent presentation (frames,
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa
2002-03-26 11:43:40 +00:00
peterlubczynski%netscape.com
6c0a3b4f5d Fixing ussage of codebase attribute and Java applets loading, bug 130605 patch by adu@sparc.spb.su (Denis Antrushin) r=peterl, sr=beard, a=asa 2002-03-26 06:42:10 +00:00
peterlubczynski%netscape.com
656e798f68 Cleaning up dead code left from fix for bug 118721, patch by dbrittain@superscape.com (David Brittain), bug 132262 r=peterl, sr=attinasi, a=scc 2002-03-26 06:38:53 +00:00
peterlubczynski%netscape.com
0152f1f7f1 Implementing nsIPluginTagInfo2::GetDocumentEncoding(), patch by adu@sparc.spb.su (Denis Antrushin) bug 131197 r=peterl, sr=beard, a=asa 2002-03-26 06:33:48 +00:00
attinasi%netscape.com
bd64a22806 Patched topcrash sites: checking for null before deref. b=121444 r=kmcclusk sr=roc+moz a=asa (drivers) 2002-03-26 01:22:31 +00:00
mjudge%netscape.com
e03712c3fb 123033 a=asa r=blythe sr = kin. fix for selecting from inside a text field to outside 2002-03-25 23:44:46 +00:00
dbaron%fas.harvard.edu
66238732c8 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
cbiesinger%web.de
0604302118 bug 104906 r=pavlov sr=tor a=asa
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function
2002-03-23 13:21:33 +00:00
cmanske%netscape.com
9e19a12bad Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa 2002-03-22 15:26:18 +00:00
cmanske%netscape.com
426077e8ff Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa 2002-03-22 15:25:08 +00:00
av%netscape.com
90ee4e2b2f Fix for 99324 -- initializing variables, patch by mhammond@skippinet.com.au, r=av, sr=beard, a=scc 2002-03-22 04:19:10 +00:00
karnaze%netscape.com
3a172cbd87 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
rods%netscape.com
ebc1a45637 The patch in nsPageFrame.cpp is insurance to help keep a problem like this from
hanging the browser again.
The patch in nsSimplePageSequence.cpp is the actual fix. I verified that
nsPageFrame patch will stop it from happening.
Bug 132022 r=dcone a=attinasi a=scc
2002-03-20 12:34:18 +00:00
kin%netscape.com
9b16927a2b Fix for bug 102615: After changing font color, backspacing
to a previous line does not let caret
                    update position

Modified RemoveFrame() so that it generates a reflow
command when removing a <br> from an inline with a next-in-flow.

r=dbaron@fas.harvard.edu  sr=attinasi@netscape.com  a=scc@mozilla.org
2002-03-20 01:44:43 +00:00
bnesse%netscape.com
d49b1fa6d2 Fix for bug 126578. Initialize the event record on OS X without using the system's EventAvail function to eliminate excess window erases and redraws. r=sdagley, sr=beard, a=asa. 2002-03-19 22:10:45 +00:00
smontagu%netscape.com
2ef941a509 Improve performance by making nsWordFrame in nsLineLayout an nsDeque instead of an nsAutoVoidArray. Bug 121967, r=timeless, sr=attinasi, a=asa 2002-03-19 21:57:45 +00:00
peterlubczynski%netscape.com
3c5ced0393 Cleaning up nsPluginInstanceOwner::GetHeight and ::GetWidth bug 40185 r=av sr=attinasi a=asa 2002-03-19 15:39:45 +00:00
alecf%netscape.com
451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
peterlubczynski%netscape.com
ad422a7ccb Remove JAVA_CLASS_ID support from OBJECT tag bug 108557 patch by Denis Antrushin (adu@sparc.spb.su) r=peterl sr=beard a=asa 2002-03-18 00:01:00 +00:00
karnaze%netscape.com
773d422073 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
pavlov%netscape.com
e001fb9eeb fixing bug 131231 r=valeski sr=attinasi a=asa 2002-03-16 05:46:26 +00:00
rbs%maths.uq.edu.au
2da1544c38 Fix bug 101180 - the minimum line-height wasn't applied at the first reflow, causing the line to flicker at the next reflow, r=dbaron, sr=attinasi, a=asa 2002-03-15 08:03:18 +00:00
mkaply%us.ibm.com
24a43d1548 OS/2 bustage - need cast here 2002-03-13 04:01:56 +00:00
nhotta%netscape.com
5d9debacdd 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
2b094e1eca bug 128804 - moved optimization of text controls to nsBlockReflowState and initialized it earlier. a=dbaron, sr=attinasi, r=alexsavulov. 2002-03-12 15:48:52 +00:00
karnaze%netscape.com
16016ee0cf 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
bzbarsky%mit.edu
9ffb53af67 Account for scrollbar in incremental reflow of fixed-pos elements. Bug
130002, r=dbaron, sr=attinasi, a=roc+moz
2002-03-12 15:29:33 +00:00
karnaze%netscape.com
303ce25eb2 bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron. 2002-03-12 15:21:35 +00:00
rods%netscape.com
bd9bc62f8e Change getters of widgets to nsCOMPtrs to get rid of leaks.
Bug 129933 r=dcone sr=attinasi a=roc
2002-03-12 14:16:57 +00:00
nisheeth%netscape.com
49b8ae3e8c Ongoing fix for bug 81446. r=peter lubcynzski. sr=jst. a=asa. Fixes leaks of PARAM elements which now get destroyed when the document goes away. This fix ddoes away with 394206 bytes of leaks described in bugs 129423, 129424, 129425, 129429. We still leak memory across reloads of the same page so bug 81446 is being left open. 2002-03-11 21:52:32 +00:00
rods%netscape.com
25274d642f The problem is that on windows widget can only be positioned to a y coord of
32767. This ends up being about 32 pages. The nsPageFrame's view creates a
widget for clipping absolutely positioned content and plugins.

This fix will allow a document to have up to 32 pages of clipping after that it
stops creating the widget. The down side is that any absolutely positioned
content or plugins beyond page 32 will not be clippe din print preview.
Also, fixed a leaked widget
Bug 127263 r=dcone sr=attinasi a=asa
2002-03-10 15:40:51 +00:00
shaver%mozilla.org
146f2a192d reversion of patch for 92868, to repair severe regression (129827, a=drivers 2002-03-10 06:16:01 +00:00
mkaply%us.ibm.com
f82953355d #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
alexsavulov%netscape.com
9b52d2d429 checked in the wrong version of the patch
PREVIOUS CHECKIN COMMENT

fix for bug 122200 - floaters regression and fix for bug 99461 - floating
tables will be constrained in the same line if they can fit
quirks mode only
sr= attinasi, r= kin, a= asa
2002-03-08 21:23:55 +00:00
alexsavulov%netscape.com
ea2236d67f fix for bug 122200 - floaters regression and fix for bug 99461 - floating
tables will be constrained in the same line if they can fit
quirks mode only
sr= attinasi, r= kin, a= asa
2002-03-08 20:25:54 +00:00
bnesse%netscape.com
81f57168cc Fix for bug 129151. Initialize all fields in the message object. r=beard, sr=alecf, a=asa. 2002-03-08 19:42:44 +00:00
cbiesinger%web.de
6dc708c085 partially fixes bug 41333, Adding a new image type is way too complicated
r=pavlov sr=tor a=asa
2002-03-08 18:58:57 +00:00
peterlubczynski%netscape.com
d1445caf1f Fix for windowless plugins not painting in the right place, bug 118721 patch by mailto:dbrittain@superscape.com r=peterl sr=roc+moz a=asa 2002-03-08 15:49:43 +00:00
karnaze%netscape.com
789e7e3040 bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa. 2002-03-08 15:34:33 +00:00
peterlubczynski%netscape.com
bdade5d500 Fix for % sizing of object frame, bug 106602 r=serge sr=attinasi a=roc+moz 2002-03-07 15:22:24 +00:00
bryner%netscape.com
d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
pavlov%netscape.com
9f6fa2c683 fixing 76177. r=cmanske sr=jst a=shaver 2002-03-06 22:45:55 +00:00
rbs%maths.uq.edu.au
4514dae43b bug 92896 - incorrect position of bullets next to child blocks if the font-size within the child block is different, r=dbaron, sr=attinasi, a=asa 2002-03-06 22:22:24 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
99a387dcfb Speed up text measurement inside <pre> (major win for view source). Bug
98118, r=shanjian, sr=roc+moz, a=asa
2002-03-05 23:23:09 +00:00
alecf%netscape.com
cd8f07f3e8 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
karnaze%netscape.com
cee69f0564 bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov 2002-03-04 15:48:56 +00:00
rods%netscape.com
7719fefba4 1) This adds in a new layout atom for the SequenceFrame
2) Now checks all the SeqFrame's children (PageFrames) instead of just the first one
Bug 71609 r=dcone sr=attinasi a=asa
2002-03-04 12:55:20 +00:00
morse%netscape.com
d8c109186b bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:49:30 +00:00
morse%netscape.com
662e2a6a2e bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:26:49 +00:00
kin%netscape.com
bbfc68659e Fix for bug 127211 (Events don't get to an IFRAME unless it is scrolled to the top of its parent)
Modified GetOriginToViewOffset() so that it stops traversing view's parent hierarchy if it runs across a frame with a different ViewManager.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=asa@mozilla.org
2002-02-28 22:34:47 +00:00
peterlubczynski%netscape.com
074652f237 Fix for topcrash attempting to paint a null frame, bug 110650 r=kmcclusk@netscape.com sr=beard 2002-02-28 04:54:50 +00:00
attinasi%netscape.com
e7305de97e Safety checks, in case the normalFont cannot be realized (due to system font exhaustion). b=117736 r=rbs sr=shaver a=asa 2002-02-26 00:13:49 +00:00
jkeiser%netscape.com
0d07fd266f bug 125124 (frame resize on unload crasher), r=alexsavulov@netscape.com, sr=attinasi@netscape.com, a=asa@mozilla.org 2002-02-25 19:23:48 +00:00
karnaze%netscape.com
e1dec1aee1 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
rods%netscape.com
62e0cbabdf Get the rect of the PageContentFrame and using it. Also, painting BG
after the container and only when we are suppose to be painting the BG
Bug 126824 r=dcone sr=attinasi a=dbaron
2002-02-22 01:45:05 +00:00
jaggernaut%netscape.com
33fb0161db Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa 2002-02-21 13:39:39 +00:00
kin%netscape.com
2e601306d7 Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
Modified GetOriginToViewOffset() so that it returns an offset of (0,0) when the
contained view returned by GetView() is not a descendant of the frame's parent
view, as is the case with scrolling popup menus.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=roc+moz@cs.cmu.edu
2002-02-21 03:03:31 +00:00
dbaron%fas.harvard.edu
21048cb4cf Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc 2002-02-21 01:36:16 +00:00
joki%netscape.com
8bc4a2199b Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:js 2002-02-20 07:23:35 +00:00
peterlubczynski%netscape.com
f732ce82db Fixing keyboard event bustage for Mac plugins bug 110190 r=sdagley sr=beard 2002-02-20 03:23:50 +00:00
roc+%cs.cmu.edu
59d3d1ebd0 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi 2002-02-19 21:33:26 +00:00
roc+%cs.cmu.edu
808e50f18c Bug 91516. Safeguard view traversal in nsObjectFrame so it doesn't walk out the current document. r=peterl,sr=attinasi 2002-02-19 21:22:23 +00:00
smontagu%netscape.com
37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
karnaze%netscape.com
679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
rbs%maths.uq.edu.au
60016580a6 Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi 2002-02-19 07:30:58 +00:00
tor%cs.brown.edu
444887b6ba Bug 125837 - mIntrinsicSize setup missing pixel->twip conversion.
r=pavlov, sr=blizzard
2002-02-17 15:31:24 +00:00
peterlubczynski%netscape.com
2895dcd901 Fix derefing null pointer during print preview of java.sun.com bug 125396 r=av sr=attinasi 2002-02-16 05:12:45 +00:00
dcone%netscape.com
f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
roc+%cs.cmu.edu
95ccf5f5c7 Bug 124713. Fix transparency flag when clipping a view that grew bigger than its frame. r=kmcclusk,sr=attinasi 2002-02-15 13:15:45 +00:00
jshin%mailaps.org
fffe4a1fb9 Add CS Styles for Ethiopian/Eritrean Languages (per
info. presented at http://www.ethiopic.org/Collation/OrderedLists.html
by yacob@geez.org).
bug 102252, r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
2002-02-15 09:21:08 +00:00
timeless%mac.com
74bcab176b Bug 125601�ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser
2002-02-15 01:01:06 +00:00
rods%netscape.com
16d789ac62 1) Enables the PageSeq frame to specify the "gap" of gray space around
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi
2002-02-14 23:18:09 +00:00
mjudge%netscape.com
b9ae5a3078 check for null to not crash is good. 115350 thanks to Shataro 2002-02-13 21:40:46 +00:00
rods%netscape.com
224588e46f 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
timeless%mac.com
92bbd3b2c2 Bug 124744 remove nsIPtr
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
228f6acb38 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee
2002-02-09 19:00:56 +00:00
kin%netscape.com
d38cee3cd4 Fix for bug 83650 (textarea control has problems with caret positioning at end)
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).

  - Added new utility method GetOriginToViewOffset().

  - Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
    and nsContainerFrame::GetFrameForPointUsing() to factor in the
    offset from GetOriginToViewOffset() to insure that the point
    used is always transformed into the correct coordinate system.

Files modified:

    mozilla/layout/base/public/nsIFrame.h
    mozilla/layout/html/base/src/nsContainerFrame.cpp
    mozilla/layout/html/base/src/nsFrame.cpp
    mozilla/layout/html/base/src/nsFrame.h
    mozilla/layout/html/base/src/nsPresShell.cpp
    mozilla/layout/xul/base/src/nsBoxFrame.cpp

r=kmcclusk@netscape.com  sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
pinkerton%netscape.com
52262d2123 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
cathleen%netscape.com
740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
peterlubczynski%netscape.com
9bb7573f07 Restore consuming of keypress events and don't pass them to plugins also give windowless plugins focus when mouse clicked bug 122501 r=kmcclusk@netscape.com sr=beard 2002-02-02 00:23:30 +00:00
peterlubczynski%netscape.com
acb3e271ae Fix for plugins not being able to get handle to doc's window if plugin is HIDDEN because it has no view. Use the pres shell instead. bug 123059 r=ToddTaylor sr=beard 2002-02-02 00:07:20 +00:00
rods%netscape.com
1c90bef427 enable a margin like gap specification for printing on unix
make it settable via the joboptions dialog
Bug 102596 r=roland sr=kin
2002-02-01 15:31:15 +00:00
rods%netscape.com
c7e2e2869a Clipping wasn't being set correctly in the PageContentFrame when the reflow was smaller than a page
Bug 122434  r=dcone sr=hyatt
2002-01-31 14:24:06 +00:00
waterson%netscape.com
a04e667ef4 Bug 46918, 3490. Clean up inline margin handling. r=rbs, sr=kin 2002-01-30 23:28:56 +00:00
cbiesinger%web.de
d2b399c062 Fixing bug 41187, adding internal-gopher-sound icon
r=pavlov sr=waterson
2002-01-30 21:02:29 +00:00
alecf%netscape.com
28b3772942 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
serge%netscape.com
49f7429098 fix #115308, NPN_PostURL[Notify] does not handle binary data; r=bnesse, sr=darin 2002-01-30 02:40:46 +00:00
peterlubczynski%netscape.com
3a9427fab8 Fix for Plugin paints in the wrong part of the screen when on an absolute Div or scrolled bug 120821 r=kmcclusk@netscape.com sr=beard 2002-01-29 02:36:54 +00:00