Commit Graph

3629 Commits

Author SHA1 Message Date
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
seawood%netscape.com
ae7c7f0de5 Error 690: "nsSelectsAreaFrame.cpp", line 149 # Nonempty source files must end with a newline that is not preceded by a backslash.
(Fixing HP-UX tinderbox bustage)
2002-04-11 03:25:58 +00:00
dbaron%fas.harvard.edu
2ee8b39604 Fix topcrash by clearing the view manager's weak pointer back to the pres shell before the pres shell goes away. b=134664 r=roc+moz sr=jag 2002-04-11 03:24:18 +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
57b403c725 Click on the checkbox to get focus to the right spot and then press <tab> to
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
2002-04-11 00:53:20 +00:00
rods%netscape.com
56c0612f03 The real fix is to enable the printing of XUL docs, which is what is crashing.
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi
2002-04-11 00:45:11 +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
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
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
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
attinasi%netscape.com
16f29f9eff Attempt to fix topcrash bugs, possibly due to stale cached lookup undisplayed entry (that part by dbaron). Also added some artificial branching to help narrow the problem should crash persist. b=118014 r=attinasi/dbaron, sr=kin a=asa (drivers) 2002-04-02 21:14:43 +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
jkeiser%netscape.com
e95bf883e6 Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
31e41094ef Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
39fe8af27c Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org) 2002-03-29 05:35:47 +00:00
hewitt%netscape.com
d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +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
861b60dbb5 Refix bug 116038 without reducing effectiveness of outliner style cache and outliner image cache by using the fix to 121055. Fix leak when clearing outliner image cache. b=130693 r=varga sr=hyatt a=asa 2002-03-27 02:42:59 +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
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
rods%netscape.com
dbb633ac74 The original patch worked fine for regular documents but didn't work for mail
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded  and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa
2002-03-23 16:48:58 +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
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