9064 Commits

Author SHA1 Message Date
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
rbs%maths.uq.edu.au
77105b9e58 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
git-svn-id: svn://10.0.0.236/trunk@116634 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 08:03:18 +00:00
attinasi%netscape.com
90cd023a8d Catch the case where the content node for the Input has not been created yet, prevent crash. b=123914 r=jkeiser, sr=roc+moz, a=asa (OBO drivers)
git-svn-id: svn://10.0.0.236/trunk@116604 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 00:40:07 +00:00
andreww%netscape.com
0706b67108 bugzilla 129140 r=hwaara, sr=hewitt, a=asa - updating skinversion to 1.0
git-svn-id: svn://10.0.0.236/trunk@116576 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 21:20:51 +00:00
seawood%netscape.com
08665a280f Remove now redudant REGCHROME calls.
Bug#129456 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@116532 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 07:11:30 +00:00
seawood%netscape.com
14a4c38766 Remove REGCHROME calls since we now auto-register chrome when jars are processed.
Bug #129456 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@116531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 06:17:54 +00:00
jkeiser%netscape.com
feddc0624c Fix select focus crasher (bug 125906), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@116513 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 00:56:56 +00:00
dbaron%fas.harvard.edu
fc255f08ea Attempt to fix topcrash bug 118014 by calling DeletingFrameSubtree in a bunch of places where it should be called to ensure that we don't leave dangling pointers in the undisplayed content map. sr=attinasi r=kin a=brendan
git-svn-id: svn://10.0.0.236/trunk@116478 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 13:51:20 +00:00
bryner%netscape.com
22fc00b640 Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@116476 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 10:12:33 +00:00
mkaply%us.ibm.com
37a03f5b17 OS/2 bustage - need cast here
git-svn-id: svn://10.0.0.236/trunk@116462 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 04:01:56 +00:00
nhotta%netscape.com
d0aa14c5a0 For IMAGE SRC/FRAME SRC, set a charset from the document and pass it to NS_NewURI,
bug 127282, r=attinasi, sr=darin, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116435 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:26:11 +00:00
heikki%netscape.com
2583fca360 Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@116432 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:17:18 +00:00
karnaze%netscape.com
d2766aacef bug 128804 - moved optimization of text controls to nsBlockReflowState and initialized it earlier. a=dbaron, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@116409 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:48:52 +00:00
karnaze%netscape.com
1c08f43c69 bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@116407 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:35:52 +00:00
bzbarsky%mit.edu
feb68c2f7a Account for scrollbar in incremental reflow of fixed-pos elements. Bug
130002, r=dbaron, sr=attinasi, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116405 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:29:33 +00:00
karnaze%netscape.com
e4f8ba49ca 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.
git-svn-id: svn://10.0.0.236/trunk@116402 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:21:35 +00:00
rods%netscape.com
cdc9d9dd89 Change getters of widgets to nsCOMPtrs to get rid of leaks.
Bug 129933 r=dcone sr=attinasi a=roc


git-svn-id: svn://10.0.0.236/trunk@116394 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 14:16:57 +00:00
hyatt%netscape.com
ea10ff831d Fix 129787. Select popups should inherit the background color from the select. XBL Form Controls. r=bryner, sr=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@116387 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 09:44:11 +00:00
hyatt%netscape.com
89dcff9376 Fix the font of XBL select widgets to be sans serif (using the list system font). r=bryner, sr=ben, a=brendan, bug 129788
git-svn-id: svn://10.0.0.236/trunk@116386 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 09:31:54 +00:00
hyatt%netscape.com
bbc2982cd9 Fix for bugs 129786 and 129803, correcting the min width on XBL form control buttons and rewriting the button CSS to disable moz-appearance and correct the padding and active and focus states. r=bryner, sr=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@116385 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 09:19:34 +00:00
hyatt%netscape.com
aeafe69b77 Fix for 129789, XBL form control selects need to leave space for scrollbars. r=bryner, sr=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@116384 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 08:45:52 +00:00
hyatt%netscape.com
15a466345b Fix for 129792, XBL form control selects had wrong display type (block XUL box instead of inline XUL box), r=bryner, sr=shaver, a=brendan
git-svn-id: svn://10.0.0.236/trunk@116381 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 08:24:58 +00:00
badami%netscape.com
229bfc35d1 Newlines in links should be stripped when selecting "Copy Link Location"
bug 77522 r=harishd sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116370 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 05:29:31 +00:00
nisheeth%netscape.com
c4abeaed7a 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.
git-svn-id: svn://10.0.0.236/trunk@116348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 21:52:32 +00:00
attinasi%netscape.com
506da516c9 Support for overflow:hidden on body or html element, in html documents. b=93520 r=alexsavulov,jkeiser, sr=kin, a=asa OBO drivers
git-svn-id: svn://10.0.0.236/trunk@116346 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 21:47:40 +00:00
bernd.mielke%snafu.de
3050d6fba3 adding style sheet switch testcase to table regression testcases not part of the build
git-svn-id: svn://10.0.0.236/trunk@116309 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 17:00:27 +00:00
rods%netscape.com
5a7f899de6 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


git-svn-id: svn://10.0.0.236/trunk@116308 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 15:40:51 +00:00