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

447 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bryner%brianryner.com e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
timeless%mozdev.org 90d07db2d1 Bug 224018 unused variables gDumpFileNameCnt, gDumpLOFileNameCnt in nsDocumentViewer.cpp
r=jst sr=jst
2003-11-03 13:17:00 +00:00
timeless%mozdev.org 0c124554b7 MOZ_TIMELINE - Bug 222134 2003-10-23 10:23:30 +00:00
bryner%brianryner.com 605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bryner%brianryner.com 82310bc4ec If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron. 2003-09-26 21:45:15 +00:00
bzbarsky%mit.edu 3ebb71a449 Make userContent.css come after the prefs sheet in the user sheet list (so that
rules in userContent.css can override prefs).  Bug 215668, r+sr=dbaron
2003-09-24 19:03:06 +00:00
bryner%brianryner.com 2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
roc+%cs.cmu.edu 0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
jaggernaut%netscape.com 9819e5e8fa Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:40:43 +00:00
rbs%maths.uq.edu.au c95c35d2ca Stop animated images with Esc key or Stop button, b=70030, r=akkana, sr=jst 2003-07-11 20:19:34 +00:00
caillon%returnzero.com 3659da7f9c Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug. 2003-07-03 23:33:36 +00:00
caillon%returnzero.com 4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
alecf%flett.org b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
jaggernaut%netscape.com 756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
sfraser%netscape.com 352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
bryner%netscape.com 3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
bzbarsky%mit.edu 36a26eca9c No need for two separate document viewer constructors. Bug 158804, r=peterv, sr=jst 2003-04-04 22:37:52 +00:00
heikki%netscape.com b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
jst%netscape.com b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
peterlubczynski%netscape.com b5850784ea Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
aaronl%netscape.com 20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
jst%netscape.com 1f6f27bce8 Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com 2003-02-27 01:38:20 +00:00
timeless%mozdev.org c6fb3f4dda Bug 193824 Remove unused globals from nsDocumentViewer.cpp
r=smontagu sr=alecf
2003-02-23 07:03:09 +00:00
bzbarsky%mit.edu a47e2fa451 Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
(parent sheet, parent rule, owning node, document).  Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
roc+%cs.cmu.edu 1c6c3011c3 Bug 180921. Make nsDocumentViewer::Show call nsDocumentViewer::MakeWindow instead of duplicating code. Fixes a bug where subdoc view linkage was added to MakeWindow but not Show. r=jkeiser,sr=jst 2003-02-22 21:48:39 +00:00
dbaron%dbaron.org 03366794e8 Fix crash (and refix other crashes in a cleaner way) by making UndisplayedMap own references to content nodes, just like frames do. b=161304 r+sr=bzbarsky 2003-01-21 00:47:14 +00:00
cbiesinger%web.de b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
smontagu%netscape.com f3c37e67d5 Make XUL documents print. Bug 137526, Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=sfraser. 2003-01-09 00:22:16 +00:00
dbaron%dbaron.org 48544669f3 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
caillon%returnzero.com 342abe6814 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
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
rods%netscape.com 15a673155f Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
rods%netscape.com c19ef82a9c Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 14:10:12 +00:00
rods%netscape.com 5f8760cbcd backing out unwanted changes 2002-05-02 13:24:08 +00:00
rods%netscape.com b1cb2953ae Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:38:43 +00:00
racham%netscape.com 486f60f0e0 Fixing bug 140183. Checking ShowProgress dialog attribute and pref as printing is done. Patch by Rod Spears. r=danm,bhuvan sr=sspitzer 2002-04-28 01:43:23 +00:00
peterv%netscape.com f1d35b4a9d Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst. 2002-04-25 11:58:08 +00:00
rods%netscape.com bb4148f2e9 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman
2002-04-24 13:15:13 +00:00
jst%netscape.com 18f1c685f6 Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com 2002-04-24 00:33:56 +00:00
rods%netscape.com bdb9588496 mOrigDCScale needs to come from the previous PrintData object or it will continue to get smaller
Bug 139459  r=dcone sr=attinasi
2002-04-24 00:26:54 +00:00
rods%netscape.com ee07c55f61 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
2002-04-23 12:05:43 +00:00
jst%netscape.com d2298f34f2 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 2002-04-22 23:48:14 +00:00
jst%netscape.com 70e9ad0081 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 2002-04-22 23:12:18 +00:00
jst%netscape.com c5afc3b674 Fixing typo in a comment... 2002-04-19 23:56:45 +00:00
jst%netscape.com 14dc7f7425 Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-04-19 23:55:45 +00:00
jst%netscape.com ea45ab47a7 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 2002-04-18 19:50:31 +00:00
jst%netscape.com cd9afd67e1 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. 2002-04-17 04:17:16 +00:00
rods%netscape.com 6cc2d64532 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
2002-04-15 13:30:32 +00:00
rods%netscape.com 7003507aa7 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
2002-04-15 13:22:05 +00:00
rods%netscape.com 56c0612f03 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
2002-04-11 00:45:11 +00:00
rods%netscape.com 1756fd22db 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
2002-04-11 00:33:24 +00:00
rods%netscape.com c477cf19b3 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
2002-04-09 14:17:56 +00:00
rods%netscape.com 1d4852267d Clamps ShrinkTOFit to 50%
Bug 135013 r=dcone sr=attinasi a=asa adt=jaime
2002-04-06 13:09:15 +00:00
rods%netscape.com d2b6d22083 Stop it from calling EndPage method when printing selection
Bug 135526 r=dcone, sr=kin a=rjesup@wgate.com adt=jaime
2002-04-06 13:02:17 +00:00
timeless%mac.com a84a7e233f 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
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e 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 2002-04-04 22:42:19 +00:00
rods%netscape.com 6d6859123b 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
2002-04-04 13:04:21 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d 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 2002-04-04 02:09:19 +00:00
blakeross%telocity.com 5e34851046 108099, 75338 - overhaul of main menu and context menus. r=ben sr=hewitt a=asa/brendan 2002-04-03 04:16:28 +00:00
rods%netscape.com 565d88ab19 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
2002-03-27 03:02:42 +00:00
rods%netscape.com ca589fdb8d 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
2002-03-26 11:43:40 +00:00
mscott%netscape.com 86a6d0814b Backing out the change to nsDocumentviewer in Bug #70030 to see if it effects page load performance 2002-03-26 05:01:49 +00:00
akkana%netscape.com 09db554fe7 70030: Stop animation with webNavigation.stop. Fix courtesy of Jim Song, jim.song@sun.com; r=akkana, sr=jst, a=asa 2002-03-26 01:05:03 +00:00
rods%netscape.com b3a87921ff 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
2002-03-25 03:19:32 +00:00
rods%netscape.com e3c71475b1 Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
Bug 128449 r=dcone sr=attinasi a=asa
2002-03-23 18:07:51 +00:00
rods%netscape.com dbb633ac74 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
2002-03-23 16:48:58 +00:00
dcone%netscape.com c0b90242cd 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2002-03-22 14:49:29 +00:00
rods%netscape.com a165972d6f Backing out changes for Bug 131174 2002-03-22 00:42:48 +00:00
rods%netscape.com b4898103a0 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
2002-03-20 22:50:42 +00:00
rods%netscape.com aa1233cc10 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
2002-03-20 12:43:13 +00:00
rods%netscape.com 10caff52d1 Removing uwanted debug staments to fix bustage. 2002-03-16 14:08:39 +00:00
rods%netscape.com c42fa2528c 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
2002-03-16 13:08:45 +00:00
rods%netscape.com 9e6a587a72 Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway 2002-03-15 14:49:09 +00:00
rods%netscape.com 20d6c55150 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.
2002-03-15 13:55:54 +00:00
rods%netscape.com b04e03e883 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
2002-03-10 15:23:54 +00:00
rods%netscape.com 4192ff3428 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
2002-03-07 12:57:33 +00:00
rods%netscape.com 56c2710b00 When object tags are sub-documents they should be treated as IFrames for printing
Bug 128142
sr=attinasi r=dcone a=asa
2002-03-07 12:44:57 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
rods%netscape.com 7719fefba4 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
2002-03-04 12:55:20 +00:00
rods%netscape.com f53bdb3606 Don't call these methods when the PO is not printable.
Bug 127639 r=dcone sr=attinas a=asa
2002-02-26 13:29:48 +00:00
cbiesinger%web.de 559f8fc646 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/
2002-02-23 15:32:03 +00:00
rods%netscape.com d7865275df 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
2002-02-21 13:23:11 +00:00
sgehani%netscape.com 4ff1572cca Landing print preview toolbar and UI.
b=111235; r=law; sr=hewitt
2002-02-20 06:19:39 +00:00
rods%netscape.com 57797bf5fc It will no longer layout document with a zero width or height
Bug 114139 r=dcone sr=attinasi
2002-02-20 03:21:25 +00:00
rods%netscape.com 785aacab83 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
2002-02-20 03:18:33 +00:00
roc+%cs.cmu.edu 59d3d1ebd0 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 2002-02-19 21:33:26 +00:00
smontagu%netscape.com 37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
rods%netscape.com ae0b7240a9 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
2002-02-19 11:49:27 +00:00
dcone%netscape.com f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
rods%netscape.com 16d789ac62 1) Enables the PageSeq frame to specify the "gap" of gray space around
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi
2002-02-14 23:18:09 +00:00
bernd.mielke%snafu.de 62b1dc6afe avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
bug 125053 r=karnaze,rods sr=attinasi
2002-02-13 20:01:42 +00:00
rods%netscape.com 106d57603e 1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
   It now has a single GetDevMode method that must be paired with a UnlockDevMode  method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi
2002-02-13 13:58:41 +00:00
rods%netscape.com 224588e46f 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
rods%netscape.com 42c487f008 More streamline approach to discovering if there is at least one printer.
And if the printer name is not set, then it gets the default printer and uses
that. instead.
This fixes remembering the last printer that was used and it also
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone
2002-02-06 13:04:47 +00:00
jst%netscape.com cb926125b8 Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-02-05 05:53:56 +00:00
hyatt%netscape.com 4e2817117c Fix Macho and Cocoa horkage because of a missing ifdef. 2002-02-04 10:56:42 +00:00