277 Commits

Author SHA1 Message Date
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
rods%netscape.com
164581aee0 it is just a matter of turning off a boolean in the right spot. The previous spot was some arbitrary in that method. Now we turn it
off a little earlier
Bug 134283 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118111 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 13:04:21 +00:00
jst%netscape.com
68b586dd87 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530 Fixing bug 52334. 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@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
blakeross%telocity.com
32dad1dab5 108099, 75338 - overhaul of main menu and context menus. r=ben sr=hewitt a=asa/brendan
git-svn-id: svn://10.0.0.236/trunk@117976 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-03 04:16:28 +00:00
rods%netscape.com
0da5ca1c57 Reads the "brand name" property and then caches it so it can use it on documents with no title.
Bug 133193 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@117565 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 03:02:42 +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
mscott%netscape.com
7d3010414d Backing out the change to nsDocumentviewer in Bug #70030 to see if it effects page load performance
git-svn-id: svn://10.0.0.236/trunk@117463 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 05:01:49 +00:00
akkana%netscape.com
204c4a6db5 70030: Stop animation with webNavigation.stop. Fix courtesy of Jim Song, jim.song@sun.com; r=akkana, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@117443 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 01:05:03 +00:00
rods%netscape.com
15f33efd46 This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in
DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using
them yet.
Bug 132827 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117396 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 03:19:32 +00:00
rods%netscape.com
f03ac4f0df Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
Bug 128449 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117330 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 18:07:51 +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