Commit Graph

245 Commits

Author SHA1 Message Date
Zack Weinberg
c4b8c90e93 Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache. 2011-04-16 18:22:44 -07:00
Zack Weinberg
0797b06d99 Bug 651017, part 5: mechanical changes. 2011-04-16 18:22:44 -07:00
Zack Weinberg
379282f1bc Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up. 2011-04-16 18:22:42 -07:00
Zack Weinberg
145a79dd39 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup. 2011-04-16 18:22:41 -07:00
Zack Weinberg
3e3bff664d Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h. 2011-04-07 18:04:40 -07:00
Jan Küchler
8774547613 Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>. 2011-04-07 18:04:40 -07:00
Ms2ger
cc1d294433 Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Olli Pettay
56a43dd43f Mark the printing document as printing, not the original doc, r=roc 2011-03-24 13:41:16 +02:00
Brad Lassey
2f015f1bb5 bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec 2011-03-10 23:33:43 -05:00
8d8321482f Bug 604632 nsPrintEngine::DoPrint leaks docTitleStr and docURLStr if !seqFrame
r=roc, a=roc
2010-12-05 12:43:45 +00:00
d7b596351e Bug 616300 crash [@ nsPrintEngine::DoCommonPrint(int, nsIPrintSettings*, nsIWebProgressListener*)]
r=roc, a=roc
2010-12-05 10:16:01 +00:00
Brad Lassey
93da800b44 bug 595919 - Implement PDF printing for "Save As PDF" on Android r=vlad a=blocking-fennec 2010-11-16 18:33:56 -05:00
0333f1d1af Bug 604631: nsPrintEngine::SetupToPrintContent() leaks docTitleStr and docURLStr if mIsCreatingPrintPreview & !seqFrame. r=dholbert a=bsmedberg 2010-11-05 11:24:12 -07:00
Timothy Nikkel
1beadf821a Bug 592405. Printing view manager shouldn't be hooked into screen view manager. r=roc a=blocking final 2010-09-05 14:21:56 -05:00
Robert O'Callahan
86d7a52d72 Bug 584193. Allow print preview to work without its own widget. r=smaug a=blocking beta5 2010-08-27 18:15:08 -05:00
Chris Jones
ca23f46edc Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
da2822645f Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Chris Jones
7788360509 Backed out changeset f1af117d4598 2010-08-19 19:02:09 -05:00
Chris Jones
9231d66ac7 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-19 13:49:35 -05:00
Robert O'Callahan
0b7f75a585 Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Timothy Nikkel
80321610da Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
16fafd331c Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Boris Zbarsky
cd27fc6a1c Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
b799eebaa2 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Neil Deakin
491b03b739 Bug 550878, cannot print child frames if window is not focused, r=neil, patch by arno renevier 2010-04-29 10:14:09 -04:00
Olli Pettay
cd0b74f5c8 Bug 424000 - Crash [@ nsPrintEngine::ReflowPrintObject], r=roc 2010-04-19 01:17:41 +03:00
Craig Topper
c898504113 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Olli Pettay
5977533b7b Bug 539060 - Crash [@ do_QueryFrame::operator<nsIPageSequenceFrame> nsIPageSequenceFrame*() ] in print preview , r=roc 2010-01-25 13:15:25 +02:00
Olli Pettay
d9a18085c8 Bug 539645 - Print preview does not match what prints on animated images, r=roc 2010-01-18 14:39:34 +02:00
Simon Montagu
2cd917e3cf Unescape URIs in page headers. Bug 537216, r=roc 2010-01-05 23:09:18 -08:00
Boris Zbarsky
49d5048a77 Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
Olli Pettay
810fad7059 Bug 535794 - Shorter printPageDelay, r=roc 2009-12-19 12:32:53 +02:00
Olli Pettay
04840dd070 Bug 534407 - Crash [@ nsPrintEngine::DoPrint(nsPrintObject*)] while printing, r=roc 2009-12-16 00:17:57 +02:00
Olli Pettay
2e3d0c93fe Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron 2009-12-10 20:02:13 -08:00
David Zbarsky
aadd6cf119 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mats Palmgren
f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Olli Pettay
47c64b8ed7 Bug 511883 - window.print() doesn't work from inside a frame, r=roc 2009-09-09 16:53:06 +03:00
Boris Zbarsky
c95cebf89b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange. 2009-08-24 20:51:57 -04:00
David Zbarsky
630c8fc41e Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Olli Pettay
de230a1672 Bug 510465 - Initial zoom level of print preview depends on the zoom level of galley presentation, r=roc 2009-08-24 12:55:28 +03:00
Zack Weinberg
18f8b8b129 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Robert O'Callahan
3bec3eb5e9 Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Neil Deakin
f62906b6b1 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Mats Palmgren
549b18850e Don't require a view for non-SubDocumentFrame frames. b=415327 r+sr=roc 2009-03-30 18:15:52 +02:00
Olli Pettay
159518b43a Bug 424377, r+sr=roc 2009-03-10 21:30:50 +02:00
L. David Baron
937cebf683 Remove nsStyleContext::DumpRegressionData, code that uses it, and code that exists only for it. (Bug 477522) r+sr=bzbarsky 2009-02-09 20:36:54 -08:00
Arpad Borsos
af5c52fa8a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Martijn Wargers
cfd5c91caf Bug 428013 - crash [@ nsPrintEngine::DocumentReadyForPrinting() ] when page is drag&drop to Print Preview window after printing, r=sharparrow1, sr=roc 2009-01-22 16:36:25 +01:00
Olli Pettay
39a660cd73 Bug 422294 - Crash [@ nsHTMLContainerFrame::CreateViewForFrame] on print preview, r+sr=roc 2009-01-15 16:24:40 +02:00
Jeremy Lea
3e1e90f73a Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc 2009-01-15 16:27:09 +13:00