3668 Commits

Author SHA1 Message Date
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
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
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
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
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
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
rods%netscape.com
a9b8c03c41 The document viewer was only clamping on values above 100%, the Front-end UI
was doing the clamping on 50-100%, I have changed the back-end to do no
clamping and the front will now allow values between 10 and 500%, these seem
reasonable.
Bug 127508 r=sgehani sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@116307 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 15:23:54 +00:00
aaronl%netscape.com
faab731ad7 Bug 129628. Crash in nsFrameManager::Destroy. r=dbaron, sr=shaver, a=asa
git-svn-id: svn://10.0.0.236/trunk@116301 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:47:42 +00:00
aaronl%netscape.com
aab415c282 Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@116297 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:21:48 +00:00
shaver%mozilla.org
e045387a83 reversion of patch for 92868, to repair severe regression (129827, a=drivers
git-svn-id: svn://10.0.0.236/trunk@116295 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:16:01 +00:00
kmcclusk%netscape.com
0c8fc33acb Render background images when the entire image has been loaded instead of incrementally. <IMG> elements are not affected, they will continue to be incrementally displayed as image data arrives. bug 85771 r=pavlov sr=attinasi a=roc+moz, tor
git-svn-id: svn://10.0.0.236/trunk@116236 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 00:15:46 +00:00
karnaze%netscape.com
7cf7c2cc59 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.
git-svn-id: svn://10.0.0.236/trunk@116150 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 15:34:33 +00:00
bryner%netscape.com
b59df2a97b Don't crash when the user changes OS themes (bug 129314). This avoids reconstructing the rule tree, which is unnecessary and currently buggy. r=pinkerton, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116111 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 00:53:04 +00:00
dbaron%fas.harvard.edu
564273d1d2 Fix top theme switching crash by clearing the outliner's style caches from DidSetStyleContext instead of FlushMiscWidgetInfo. b=116038 sr=hyatt r=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@116103 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:48:26 +00:00
alexsavulov%netscape.com
083153ec7a forgot some comments in the source... damn the tree will burs
git-svn-id: svn://10.0.0.236/trunk@116082 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 21:18:26 +00:00
alexsavulov%netscape.com
46ac9aab40 fix for bug 121368 - prevents the method nsCSSFrameConstructor::ReframeContainingBlock
to execute during a reflow and so destroy the frame tree that's in reflow
sr= attinasi, r= karnaze, a= asa


git-svn-id: svn://10.0.0.236/trunk@116074 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:51:05 +00:00
rods%netscape.com
3f19270582 1) Added a new method to nsIWebBrowserPrint iface that enables you to get the current PS being used to print or PP
2) Change the PP toolbar code to use the current PS instead of the global
Bug 127969 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@116053 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 12:57:33 +00:00
rods%netscape.com
d493013619 When object tags are sub-documents they should be treated as IFrames for printing
Bug 128142
sr=attinasi r=dcone a=asa


git-svn-id: svn://10.0.0.236/trunk@116052 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 12:44:57 +00:00
roc+%cs.cmu.edu
47f375d504 Bug 35274. Make event handling in layout respect clipping. r=dbaron,sr=attinasi,a=asa
git-svn-id: svn://10.0.0.236/trunk@116038 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 07:03:03 +00:00
bryner%netscape.com
01634657fa - 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.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
970eee3834 Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
faster.  Bug 129079, r=rjesup@wgate.com, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@115871 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:17:32 +00:00
smontagu%netscape.com
0d64fabaf3 Fix for bug 121654, "Browser hangs when viewing a Ja message w/o MIME header with folder charset set to Arabic (IBM-864)". r=mkaply, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@115775 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:41:35 +00:00
karnaze%netscape.com
a32de30fd5 bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@115722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 15:48:56 +00:00
rods%netscape.com
65023cbef8 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


git-svn-id: svn://10.0.0.236/trunk@115714 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 12:55:20 +00:00
bryner%netscape.com
af01c27e5a Bug 128408 - XBL select widgets crash in embedding apps. Fixing the
select binding to load synchronously as it was intended to, and removing
usage of the outlinercols binding to ensure that the OutlinerColFrame is
constructed before the OutlinerBodyFrame.  r=varga, sr=shaver, a=roc.


git-svn-id: svn://10.0.0.236/trunk@115688 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 23:31:26 +00:00
morse%netscape.com
1bd627dc7c bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115629 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:49:30 +00:00
rbs%maths.uq.edu.au
f59867d4df bug 127227 - rowspan and columnspan regressed in MathML mtable - a spill over from the landing of the table border collapsing code in bug 41262, r=karnaze, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115400 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:37:13 +00:00
rods%netscape.com
3de996f11f Don't call these methods when the PO is not printable.
Bug 127639 r=dcone sr=attinas a=asa


git-svn-id: svn://10.0.0.236/trunk@115370 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 13:29:48 +00:00
bzbarsky%mit.edu
da76abe8f6 Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
sr=attinasi, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115323 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:18:26 +00:00
cbiesinger%web.de
6889b4fa22 Bug 126303 patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi a=roc+moz
Remove the DOM dependendecies from gfx/src/xprint/


git-svn-id: svn://10.0.0.236/trunk@115277 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 15:32:03 +00:00
dcone%netscape.com
57f590a5d8 b=127042 Fix background printing.. print preview image loading. r=pavlov sr=kin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115210 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 05:41:27 +00:00
attinasi%netscape.com
91eac9645b Fixed big problem trying to change the position property on an absolutely positioned element, was leaving dangling placeholder frame. b=118415, r=kmcclusk, sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@115192 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:17:18 +00:00
rods%netscape.com
46c42a9045 We were sending Progress notification from the destructor of the PrintData.
I have done the following:
1) Removed unneeded nsresult arg from OnEndPrinting
2) Removed unneeded calls to OnEndPrinting before the deletion of PrintData objs
3) The destructor of PrintData now only calls OnEndPrinting if onStartPrinting  was called first, meaning printing notification was actually started.
Bug 126427 r=dcone sr=attinasi a=roc


git-svn-id: svn://10.0.0.236/trunk@115150 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 13:23:11 +00:00
pinkerton%netscape.com
3e6b411297 fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770
git-svn-id: svn://10.0.0.236/trunk@115116 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 21:51:25 +00:00
pavlov%netscape.com
ee5bd6103b bug 125713 sr=brendan
git-svn-id: svn://10.0.0.236/trunk@115094 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:44:35 +00:00
sgehani%netscape.com
dc2420a155 Landing print preview toolbar and UI.
b=111235; r=law; sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@115066 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:19:39 +00:00
rods%netscape.com
41c01215ce It will no longer layout document with a zero width or height
Bug 114139 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@115018 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:21:25 +00:00
rods%netscape.com
d45c6e25f1 1) Makes sure that when a PrintSettings is created it is initialized from the
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@115015 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:18:33 +00:00
pinkerton%netscape.com
1bdf0dd8ca don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736
git-svn-id: svn://10.0.0.236/trunk@114995 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:14:18 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
roc+%cs.cmu.edu
d392c57939 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
git-svn-id: svn://10.0.0.236/trunk@114952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:26 +00:00
smontagu%netscape.com
d0afe74092 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
rods%netscape.com
221670b5c2 1) In DocumentViewer: I did rearrange some of the data members for PrintData
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114923 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:49:27 +00:00
karnaze%netscape.com
14130fefa0 bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@114804 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:57:19 +00:00
dbaron%fas.harvard.edu
152311587f Fix invalid optimization that prevented style changes on inline elements that caused a reflow from applying to more than the first line. b=98783 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114695 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:31:49 +00:00
rbs%maths.uq.edu.au
d7f37a4594 Fix bug 125404 - hang on certain mathml pages. The table code relies on the display propertyto build its frames and things went out of sync when just using MathML tag names without the display associations in mathml.css. r=karnaze, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114653 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:48:10 +00:00