288 Commits

Author SHA1 Message Date
jst%netscape.com
ce2c73b7b7 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@124818 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:49:58 +00:00
rods%netscape.com
c856a8ba1d use the title unless empty then use URL instead. And change
the progress dialog to display title intead of url
Bug 156305 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@124812 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:33:29 +00:00
rods%netscape.com
692772b640 If the user or JS requests to print while the document is still loading the DV
will print it in the LoadComplete
Bug 137739 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@124276 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 13:39:44 +00:00
bryner%netscape.com
c6d67052ab Bug 151607 - fix an uninitialized variable in DocumentViewerImpl::PrintDocContent that was causing a later crash. r=rods, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@124230 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 22:20:59 +00:00
rods%netscape.com
d5d3234fab We do not want to skip page ejects when printing the selection
BUg 153964 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@124026 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 22:11:56 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
peterv%netscape.com
473737daaa Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@123686 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 12:04:22 +00:00
rods%netscape.com
5dbadfe64a Need to call EndObservingDocument before destroy of PresShell
Bug 152536 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@123620 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:18:43 +00:00
rods%netscape.com
b9882159d7 Add PR_LOGGING for printing
Bug 121622 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@123612 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 21:51:13 +00:00
dbaron%fas.harvard.edu
b362818ab8 Fix crash exiting print preview in certain cases (pages with frames; embedding apps) by ensuring view manager outlives pres shell. b=148308 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123129 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:32:24 +00:00
roc+%cs.cmu.edu
f300916895 Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson
git-svn-id: svn://10.0.0.236/trunk@123126 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:22:35 +00:00
cbiesinger%web.de
6f7dc93da9 bug 115473 r=pavlov sr=brendan
Remove timer priorities


git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00
rods%netscape.com
f762610be3 Don't check the range boolean for ending the page
Bug 146296 r=dcone sr=waterson a=asa


git-svn-id: svn://10.0.0.236/trunk@122887 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 14:30:17 +00:00
dbaron%fas.harvard.edu
255ee4ff0c Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122187 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:03:42 +00:00
dbaron%fas.harvard.edu
36706675ec Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
rods%netscape.com
c9a14d5e5f unregisters the focus listener after a new one is installed.
Bug 145388 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@121939 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 19:37:28 +00:00
rods%netscape.com
8776ddd71b Adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121621 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:51:54 +00:00
rods%netscape.com
de84818d20 Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128


git-svn-id: svn://10.0.0.236/trunk@121469 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:32:42 +00:00
rods%netscape.com
c9aff94488 Static build bustage fix
git-svn-id: svn://10.0.0.236/trunk@121468 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:15:19 +00:00
rods%netscape.com
29c0c5d959 This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121463 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:05:00 +00:00
rods%netscape.com
e97a493be3 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121197 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:02:44 +00:00
rods%netscape.com
a9806babab Need to call StartPrint to initialize the Seq Frame
Bug 143089 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@121086 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:11:14 +00:00
rods%netscape.com
659bd3bd17 OK, really fixing the HP bustage this time.
git-svn-id: svn://10.0.0.236/trunk@120950 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 15:33:06 +00:00
rods%netscape.com
f2b48d0e93 fixed build bustage on HP
git-svn-id: svn://10.0.0.236/trunk@120944 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:07:28 +00:00
rods%netscape.com
7ad503bef8 These files are no longer needed.
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120943 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:03:30 +00:00
rods%netscape.com
fe2355ea4d Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120936 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 12:03:37 +00:00
rods%netscape.com
047a00dc17 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120544 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 14:10:12 +00:00
rods%netscape.com
2eb86ae788 backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@120541 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 13:24:08 +00:00
rods%netscape.com
86b99f77e1 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120540 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:38:43 +00:00
racham%netscape.com
923a0afa2f Fixing bug 140183. Checking ShowProgress dialog attribute and pref as printing is done. Patch by Rod Spears. r=danm,bhuvan sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@120129 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 01:43:23 +00:00
peterv%netscape.com
f55dfe4eb5 Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119822 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 11:58:08 +00:00
rods%netscape.com
02eac7b853 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman


git-svn-id: svn://10.0.0.236/trunk@119709 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 13:15:13 +00:00
jst%netscape.com
aea34406c2 Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119660 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:33:56 +00:00
rods%netscape.com
cf98beaa54 mOrigDCScale needs to come from the previous PrintData object or it will continue to get smaller
Bug 139459  r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119654 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:26:54 +00:00
rods%netscape.com
f5d5b87dc0 Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119606 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 12:05:43 +00:00
jst%netscape.com
4b957f7a30 Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119576 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:48:14 +00:00
jst%netscape.com
856750ef5c Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119570 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:12:18 +00:00
jst%netscape.com
3d4957e7ba Fixing typo in a comment...
git-svn-id: svn://10.0.0.236/trunk@119441 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:56:45 +00:00
jst%netscape.com
1e97d5f5a8 Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119440 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:55:45 +00:00
jst%netscape.com
eead4a8134 Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119291 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:50:31 +00:00
jst%netscape.com
67ee650f45 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
rods%netscape.com
2cdba8dc7e Original check work with passing back NS_OK, it appears something in the front-end
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118980 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:30:32 +00:00
rods%netscape.com
657b01c9ea For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
Bug 136785 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118979 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:22:05 +00:00
rods%netscape.com
dd82de1a8d 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


git-svn-id: svn://10.0.0.236/trunk@118688 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:45:11 +00:00
rods%netscape.com
b274a573de Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118686 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:33:24 +00:00
rods%netscape.com
ea43271139 Although the front-end should be disabled and not allow the user to make any
changes to PP while the document is printing. This samll fix is back-end
insurance to keep a crash from happening.
Bug 130691 r=kin sr=attinas a=rjesup adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118546 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 14:17:56 +00:00
rods%netscape.com
f59954a843 Clamps ShrinkTOFit to 50%
Bug 135013 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118365 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 13:09:15 +00:00
rods%netscape.com
cc9571b450 Stop it from calling EndPage method when printing selection
Bug 135526 r=dcone, sr=kin a=rjesup@wgate.com adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118364 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 13:02:17 +00:00
timeless%mac.com
bcb964d3df 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


git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921 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
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00