9090 Commits

Author SHA1 Message Date
rods%netscape.com
56914b135e Add SetVisibility method to Scroll Views
It now checks the visibility and adjusts the scrollbars accordingly
Bug 92333 r=kmcclusk sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117562 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:58:56 +00:00
dbaron%fas.harvard.edu
cf940e7935 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
git-svn-id: svn://10.0.0.236/trunk@117558 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:42:59 +00:00
dbaron%fas.harvard.edu
0b4effd4ea 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
git-svn-id: svn://10.0.0.236/trunk@117556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:38:13 +00:00
sicking%bigfoot.com
4256d59c55 Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@117531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 00:13:57 +00:00
kmcclusk%netscape.com
b138982f7d give an explicit height to <input type=file> elements when printing to prevent the input file control from expanding vertically to fill the entire page during printing and print preview bug 112156 r=rods sr=attinas a=asa
git-svn-id: svn://10.0.0.236/trunk@117509 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 21:36:22 +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
alexsavulov%netscape.com
7de8bdc786 fix for bug 100963 r= kmcklusk sr= attinasi a= asa
added region invalidation to cause repainting of areas previously
occupied by a removed line


git-svn-id: svn://10.0.0.236/trunk@117493 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:03:41 +00:00
rods%netscape.com
3e0f1a77a9 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


git-svn-id: svn://10.0.0.236/trunk@117481 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 11:43:40 +00:00
peterlubczynski%netscape.com
ee378de566 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
git-svn-id: svn://10.0.0.236/trunk@117468 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:42:10 +00:00
peterlubczynski%netscape.com
96262761f0 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
git-svn-id: svn://10.0.0.236/trunk@117467 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:38:53 +00:00
peterlubczynski%netscape.com
15dfb9e065 Implementing nsIPluginTagInfo2::GetDocumentEncoding(), patch by adu@sparc.spb.su (Denis Antrushin) bug 131197 r=peterl, sr=beard, a=asa
git-svn-id: svn://10.0.0.236/trunk@117465 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:33:48 +00:00
attinasi%netscape.com
d0a0308d7e Patched topcrash sites: checking for null before deref. b=121444 r=kmcclusk sr=roc+moz a=asa (drivers)
git-svn-id: svn://10.0.0.236/trunk@117450 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 01:22:31 +00:00
akkana%netscape.com
e752937005 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@117419 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 22:39:19 +00:00
karnaze%netscape.com
4b57a2558c bug 132130 - Get correct starting row on collapsing border iterator. a=scc, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@117409 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 15:03:14 +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
rods%netscape.com
31e57bdbd6 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


git-svn-id: svn://10.0.0.236/trunk@117317 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 16:48:58 +00:00
cbiesinger%web.de
cf03b9b3e2 bug 104906 r=pavlov sr=tor a=asa
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function


git-svn-id: svn://10.0.0.236/trunk@117305 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 13:21:33 +00:00
kmcclusk%netscape.com
87dc98ac69 suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117288 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 04:33:37 +00:00
cmanske%netscape.com
0b6789dd9e Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/trunk@117183 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:25:08 +00:00
seawood%netscape.com
c0d0184c2a Filling out win32 gmake embed build.
git-svn-id: svn://10.0.0.236/trunk@117161 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 08:27:26 +00:00
bryner%netscape.com
e6f37a4022 More work on XBL radio button (bug 112715). r=jkeiser, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117150 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 04:22:19 +00:00
av%netscape.com
6c3a42c78c Fix for 99324 -- initializing variables, patch by mhammond@skippinet.com.au, r=av, sr=beard, a=scc
git-svn-id: svn://10.0.0.236/trunk@117149 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 04:19:10 +00:00
rods%netscape.com
4cb6b26267 Backing out changes for Bug 131174
git-svn-id: svn://10.0.0.236/trunk@117134 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:42:48 +00:00
dbaron%fas.harvard.edu
a91e9d70d5 Fix dynamic style changes to the background of the root element or the BODY element by doing the necessary extra invalidation for backgrounds that are propagated to an ancestor. Restructure ApplyRenderingChangeToTree so it does less work in recursive calls, and remove old hack to invalidate for background changes that happen through attribute changes. b=63863 sr=attinasi r=bzbarsky a=scc
git-svn-id: svn://10.0.0.236/trunk@117120 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:51:17 +00:00
dbaron%fas.harvard.edu
bcacc9d154 Fix theme switching crash related to menus by regenerating the style contexts in children of menus (which are hidden from ReResolve) after the rest of the ReResolve so that they don't have ancestor style contexts pointing to the old rule tree. b=121055 r=bzbarsky sr=hyatt a=scc
git-svn-id: svn://10.0.0.236/trunk@117116 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:44:45 +00:00
bryner%netscape.com
6c323b9e34 Implement HTML radio button in XBL (bug 112715). r=pavlov, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@117045 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 09:16:17 +00:00
rods%netscape.com
ea7e576f56 This disallows printing or print preview to work if the document is busy.
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@117003 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:42 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
karnaze%netscape.com
c0f48434c7 new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@117000 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:18:38 +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
rods%netscape.com
2bd0f7d51b 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


git-svn-id: svn://10.0.0.236/trunk@116970 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 12:34:18 +00:00
kin%netscape.com
39fbbae643 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


git-svn-id: svn://10.0.0.236/trunk@116937 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 01:44:43 +00:00
bnesse%netscape.com
3bca20a8d9 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.
git-svn-id: svn://10.0.0.236/trunk@116891 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:10:45 +00:00
smontagu%netscape.com
395a7140b7 Improve performance by making nsWordFrame in nsLineLayout an nsDeque instead of an nsAutoVoidArray. Bug 121967, r=timeless, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@116883 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 21:57:45 +00:00
bryner%netscape.com
4c758cd7b1 - Removing modern theme versions of the XBL form controls
- Moving classic theme versions of the controls into forms.jar, so we don't rely on classic.jar
- Updating xpinstall packages to reflect this

Bug 130236, r=ben, sr=hyatt, a=brendan.


git-svn-id: svn://10.0.0.236/trunk@116879 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 21:47:46 +00:00
peterlubczynski%netscape.com
aa949ea765 Cleaning up nsPluginInstanceOwner::GetHeight and ::GetWidth bug 40185 r=av sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@116863 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 15:39:45 +00:00
alecf%netscape.com
f4ad21ae3a 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
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
karnaze%netscape.com
003b7ae387 regression tests not affecting the build
git-svn-id: svn://10.0.0.236/trunk@116838 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:50:36 +00:00
karnaze%netscape.com
676468200c new regression tests not affecting the build
git-svn-id: svn://10.0.0.236/trunk@116837 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:49:12 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
attinasi%netscape.com
89c8d18cf5 Be sure to initialize out-param no matter what. b=127360 r=aaronl sr=brendan a=asa (drivers)
git-svn-id: svn://10.0.0.236/trunk@116813 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:32:41 +00:00
bryner%netscape.com
81edaa6a13 Disable -moz-appearance on the remaining widgets, since we're not going to do native OS form control theming for 1.0. Bug 130236, r=kerz, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@116788 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 09:01:02 +00:00
bryner%netscape.com
9af07c386f Use a scrollbar, not auto-scroll arrows, for <select size=1>. Bug 129805, r=blake, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@116787 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 07:07:45 +00:00
peterlubczynski%netscape.com
215fcc3f0f Remove JAVA_CLASS_ID support from OBJECT tag bug 108557 patch by Denis Antrushin (adu@sparc.spb.su) r=peterl sr=beard a=asa
git-svn-id: svn://10.0.0.236/trunk@116766 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 00:01:00 +00:00
bryner%netscape.com
8e3598ef2e Hardcode sizetopopup=always behavior for HTML select widgets, that way we don't pollute the HTML DOM with our attribute. Also, factoring out the sizetopopup check into a helper method. Bug 128947, r=jkeiser, sr=brendan, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@116765 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 23:41:22 +00:00
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
karnaze%netscape.com
8777f97e84 bug 126118 - remove code which tries to honor height of cell after it splits, get correct height on 3rd pass reflow. a=asa, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@116726 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 21:46:29 +00:00
dbaron%fas.harvard.edu
d2693dd0ff Remove obsolete NEW_CONTEXT_PARENTAGE_INVARIANT ifdefs, and add a few bits of debugging code. b=120888 sr=attinasi r=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@116718 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:26:56 +00:00
dbaron%fas.harvard.edu
c3a4b79934 Fix drawing of rounded borders and backgrounds on large elements by using PRInt32 instead of PRInt16. b=131233 r=dcone sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@116717 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:25:16 +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