Граф коммитов

313 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
rods%netscape.com ff4a3fb80d Make it so SetDocument doesn't get set when returning from PP
Bug 176201 r=dcone sr=jst
2002-11-18 14:34:09 +00:00
rods%netscape.com 855fd85355 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts
2002-10-08 13:17:56 +00:00
rods%netscape.com 51646a434c Impl print preview for mail and addrbook
Bug 158110 r=bienvenu sr=sspitzer
2002-10-03 10:48:59 +00:00
rods%netscape.com d8b1751919 Have the DV ref coun itself if the the DV is being Clsoed while printing or a pending print.
Bug 165445 r=dcone sr=rpotts
2002-10-01 21:57:15 +00:00
rods%netscape.com 493c71a327 Make sure the Print Data is cleaned up when exiting PP
Bug 164384 r=pete sr=kin a=asa
2002-09-10 01:57:09 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
rjesup%wgate.com e74f7b07e5 Bustage fix for 126346 - checked in the wrong version of this file. 2002-09-06 19:16:11 +00:00
rjesup%wgate.com a6da2110b6 Bug 126346: make iframes inherit text zoom values. Re-commiting after mods
to deal with 1.5% Tp regression in last commit.  r=dbaron, sr=jst, a=roc+moz
2002-09-06 18:46:19 +00:00
jkeiser%netscape.com 0717b547f2 Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com 2002-09-06 05:44:31 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
rods%netscape.com 24609f73f8 Bug 164250 Instrument the PrintEngine for print testing
r=dcone sr=kin
2002-09-03 23:21:15 +00:00
aaronl%netscape.com 223216a863 Bug 163897. Can't copy image location. r=rods,caillon, sr=bzbarsky 2002-08-29 01:01:31 +00:00
shanjian%netscape.com fd1c7b2e6c #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
2002-08-26 20:13:31 +00:00
rods%netscape.com fa04fb294e Move printing code out of the DocumentViewer
add in #defines to turn on and off printing and print preview
Bug 139905 r=dcone sr=jst
2002-08-21 12:01:05 +00:00
henry.jia%sun.com 566036896f 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 06:20:45 +00:00
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
aaronl%netscape.com 0f8d4f1827 Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst 2002-08-01 21:36:02 +00:00
bzbarsky%mit.edu 0b57e2e387 Fix tab switching in embedding apps. Bug 139294,
r=philipl@mail.utexas.edu, sr=jst, a=asa
2002-07-23 03:45:06 +00:00
rods%netscape.com d1ba61dd4b When a FrameSet Frame's contains a FrameSet the mFrameType for the PrintObject
is always set to an eFrame. Which is fine when printing "AsIs"
but is incorrect when when printing "Each Frame Separately".
When printing "Each Frame Separately" the Frame really acts like a frameset.
So we need to set it to an eFrame
Bug 157918 r=dcone sr=kin a=scc
2002-07-22 10:55:07 +00:00
rods%netscape.com cfc2ea8421 need to check BUSY_FLAGS_PAGE_LOADING before printing
Bug 157632 r=dcone sr=jst a=scc
2002-07-18 09:09:54 +00:00
ccarlen%netscape.com 04b6fab64b Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa 2002-07-13 00:18:46 +00:00
ducarroz%netscape.com 1bb98ce41b Fix for bug 156772: Replace the pair NS_ADDREF_THIS/NS_RELEASE_THIS by nsCOMPtr<nsIDocumentViewer>
kungFuDeathGrip(this). R=rods, SR=jst
2002-07-11 18:11:12 +00:00
rods%netscape.com 1ba1fcde85 Implement progress dialog for printing and PP that show before reflow
Bug 154136 r=dcone/sgehani sr=alecf
2002-07-09 12:39:02 +00:00
jst%netscape.com f2ccfa37c0 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 2002-07-09 02:49:58 +00:00
rods%netscape.com 9ad7dc90a0 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
2002-07-09 02:33:29 +00:00
rods%netscape.com c23a2a8368 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
2002-06-28 13:39:44 +00:00
bryner%netscape.com b2750b78bc Bug 151607 - fix an uninitialized variable in DocumentViewerImpl::PrintDocContent that was causing a later crash. r=rods, sr=sspitzer. 2002-06-27 22:20:59 +00:00
rods%netscape.com 545f2640f9 We do not want to skip page ejects when printing the selection
BUg 153964 r=dcone sr=kin
2002-06-25 22:11:56 +00:00
dbaron%fas.harvard.edu e63a11c0e8 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 2002-06-25 21:16:17 +00:00
peterv%netscape.com d5b273bc97 Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst. 2002-06-20 12:04:22 +00:00
rods%netscape.com 944a302a29 Need to call EndObservingDocument before destroy of PresShell
Bug 152536 r=dcone sr=jst
2002-06-19 22:18:43 +00:00
rods%netscape.com 89bbd44ace Add PR_LOGGING for printing
Bug 121622 r=dcone sr=kin
2002-06-19 21:51:13 +00:00
dbaron%fas.harvard.edu 155b9b60cb 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 2002-06-12 03:32:24 +00:00
roc+%cs.cmu.edu 3cd559ba29 Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson 2002-06-12 03:22:35 +00:00
cbiesinger%web.de 15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
rods%netscape.com caa5458797 Don't check the range boolean for ending the page
Bug 146296 r=dcone sr=waterson a=asa
2002-06-07 14:30:17 +00:00
dbaron%fas.harvard.edu e6315d638a 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 2002-05-26 17:03:42 +00:00
dbaron%fas.harvard.edu 8d231a5fae 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 2002-05-23 23:09:31 +00:00
rods%netscape.com b9efd96eca unregisters the focus listener after a new one is installed.
Bug 145388 r=dcone sr=jst
2002-05-21 19:37:28 +00:00
rods%netscape.com 55cdb88790 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
2002-05-16 13:51:54 +00:00
rods%netscape.com 68b0319c10 Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128
2002-05-14 14:32:42 +00:00
rods%netscape.com 517bc877a1 Static build bustage fix 2002-05-14 14:15:19 +00:00
rods%netscape.com 0c5c90b638 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
2002-05-14 12:05:00 +00:00
rods%netscape.com 1d956bc3a5 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi
2002-05-09 22:02:44 +00:00
rods%netscape.com 7848ffedc6 Need to call StartPrint to initialize the Seq Frame
Bug 143089 r=dcone sr=kin
2002-05-08 20:11:14 +00:00
rods%netscape.com 464860f81c OK, really fixing the HP bustage this time. 2002-05-07 15:33:06 +00:00
rods%netscape.com 50dc137d4e fixed build bustage on HP 2002-05-07 14:07:28 +00:00
rods%netscape.com 51a39e7277 These files are no longer needed.
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 14:03:30 +00:00