13427 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
bryner%netscape.com
8763a125c1 Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117001 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:48:24 +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
29613d1e34 Besides turning on the pref, I needed to move the initialization code for
getting the values from the default printer from the DocumentViewer down into
the PrintOptions service. We want it done only the very first time when the PrintSettings is created.
Bug 131852 r=dcone sr=attinasi a=scc


git-svn-id: svn://10.0.0.236/trunk@116971 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 12:43:13 +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
hewitt%netscape.com
0a4b7db207 124668 - crash moving mouse over outliner, r=sgehani/dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@116942 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 02:27:25 +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
bzbarsky%mit.edu
7b5174cb18 |foo.style.cssText = "";| should work (need to take old hint into
account).  Bug 131905, r=caillon, sr=jst, a=scc.


git-svn-id: svn://10.0.0.236/trunk@116901 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:38:08 +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
d52e6a52a5 fixing non-IBMBIDI builds
git-svn-id: svn://10.0.0.236/trunk@116852 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 10:58:41 +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
sgehani%netscape.com
2f3e2514d8 Delay morphing window when entering print preview mode.
b=126675; r=law; sr=alecf; a=asa


git-svn-id: svn://10.0.0.236/trunk@116828 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 03:23:31 +00:00
dbaron%fas.harvard.edu
ad5fa0f47d Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.)
git-svn-id: svn://10.0.0.236/trunk@116827 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 03:09:02 +00:00
dbaron%fas.harvard.edu
96cc2d6737 Don't make the optimization of not calling the parent context's GetStyleData when there are 'em' or similar units for the 'font-size' property, where those units imply inheritance. b=131454 r=bzbarsky sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@116821 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 01:32:16 +00:00
dbaron%fas.harvard.edu
7ceb8d5e74 Fix performance problem on pages with large numbers of repeated style attributes or differing presentational HTML attributes by changing the way nsRuleNode decides whether to store children in a hashtable or linked list: decide based on the child count rather than whether the node is the root. Convert hashtable child storage from nsHashtable to PLDHashTable. b=129187 sr=brendan r=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@116820 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 01:29:20 +00:00
smontagu%netscape.com
b5f67211c7 Fix for bug 81032, "nsOutlinerBodyFrame.cpp need to be bidi enable". r=mkaply, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@116816 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:45:50 +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
bzbarsky%mit.edu
121c744834 Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116810 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:09:15 +00:00
rginda%netscape.com
e0a5449d5d bug 130894, add null checks to avoid crashes found by js debugger users.
r=caillon@returnzero.com, sr=ben, a=asa


git-svn-id: svn://10.0.0.236/trunk@116801 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 23:39:48 +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
bzbarsky%mit.edu
92d735e650 Speed up edge case in RemoveProperty. Bug 131614, r=caillon, sr=jst,
a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116781 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 05:08:23 +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
bzbarsky%mit.edu
e998568382 "More computed style property implementations". Bug 129843, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116723 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 17:04:35 +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
dbaron%fas.harvard.edu
0076b3d38d Improve performance of SelectorMatches using nsIContent::HasAttr, which was added a few months ago. r=bzbarsky sr=attinasi a=asa b=128739
git-svn-id: svn://10.0.0.236/trunk@116716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:24:08 +00:00
rods%netscape.com
1c65a526ab Removing uwanted debug staments to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@116712 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 14:08:39 +00:00
rods%netscape.com
fd4d2132df 1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver


git-svn-id: svn://10.0.0.236/trunk@116711 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 13:08:45 +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
rods%netscape.com
40889d01ed Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
git-svn-id: svn://10.0.0.236/trunk@116643 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 14:49:09 +00:00
rods%netscape.com
58cfbb8ad2 1) Removes most all the unneeded data from nsPrintOptions service. All data
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
   object. The items not saved are those used during the printing process and
   it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
   If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
   Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
   set of prefs. Then if a printer name is available in the PS then it tries
   to initialize itself from the printer specific prefs. This enables to define
   "back stop" prefs for picking up first. Then the printer specific prefs
   can override those settings.
   For example, we may define in prefs that the default paper size 8.5x11,
   then if if the "save PS prefs" is turned on, for a given printer it might
   save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
   or written.


git-svn-id: svn://10.0.0.236/trunk@116641 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 13:55:54 +00:00
rbs%maths.uq.edu.au
84d6bd5d71 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
badami%netscape.com
a8b2d64408 Animated image prefs don't apply to background images
bug 94938 r=pavlov sr=tor a=asa patch=nivedita@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116636 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 08:29:08 +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
jgaunt%netscape.com
c2b6e01af8 bug 72054 -- make f10 work on UNIX and others
This is a checkin for Jay Yan from the Sun China team
r=jgaunt
sr=sfraser
a=asa


git-svn-id: svn://10.0.0.236/trunk@116606 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 01:35:06 +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
akkana%netscape.com
1b2ac57468 109380: Add an editor accessor to the editor box object. r=brade sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@116572 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 20:48:45 +00:00