Ehsan Akhgari
5e56126930
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-15 08:13:08 -04:00
Ms2ger
8c78d3f478
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Adrian Johnson
a8a9a3744c
Bug 624699. Fix some landscape printing bugs. r=roc
...
Specifically:
1) Only rotate print output for PostScript, not PDF.
2) Rotate in the correct direction for PostScript.
3) Set the %%Orientation comment correctly.
2011-07-14 13:02:20 -04:00
Olli Pettay
99d89c2a1a
Bug 664434 - Make sure to Destroy the old document when setting a new print document, r=roc
...
--HG--
extra : rebase_source : b75688d5320d9dcaf59468bd5def2fa7f2e0bbc0
2011-06-16 21:20:13 +03:00
Ed Morley
95e5ecd7d4
Bug 617539 - Integrate nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH back into the main interface; r=smontagu
2011-05-30 18:36:23 +02:00
Ms2ger
86b93bb1ab
Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz
2011-05-28 09:43:57 +02:00
Ms2ger
e5cf1395fc
Bug 658906 - Remove nsIDOMNSDocument; r=sicking
2011-05-28 09:43:53 +02:00
Masayuki Nakano
caee4cc73f
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Olli Pettay
3b50630ddb
Bug 649170, use the same nsIWeakReference in DocumentViewer and nsPrintEngine, r=roc
2011-05-10 15:55:26 +03:00
David Zbarsky
a0b813679f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
2af4853be5
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
732897cc3f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Zack Weinberg
5f5acf8da6
Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Zack Weinberg
3929b6bfdd
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
0d75035ecd
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.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
8648dcc368
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Zack Weinberg
1628ea1551
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
c510bc3046
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Ms2ger
4b1168a59f
Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz
2011-03-29 22:24:54 -04:00
Olli Pettay
04b6972e10
Mark the printing document as printing, not the original doc, r=roc
2011-03-24 13:41:16 +02:00
Brad Lassey
7f36eddd1d
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
Olli Pettay
ff05433231
Bug 620158 - Crash while printing, r=mats, a=blocking
...
--HG--
extra : rebase_source : 9aab81626cf1d2e68f266a78ac4bbee780706067
2011-01-14 14:27:31 +02:00
timeless@mozdev.org
4b2873c9ad
Bug 604632 nsPrintEngine::DoPrint leaks docTitleStr and docURLStr if !seqFrame
...
r=roc, a=roc
--HG--
extra : rebase_source : db8c6ee9af5e627317285b3aa41b2f5d83914f93
2010-12-05 12:43:45 +00:00
timeless@mozdev.org
f227fa5712
Bug 616300 crash [@ nsPrintEngine::DoCommonPrint(int, nsIPrintSettings*, nsIWebProgressListener*)]
...
r=roc, a=roc
--HG--
extra : rebase_source : f426a11ca443c9cf0845d3b368bbff0359e6cdd9
2010-12-05 10:16:01 +00:00
Brad Lassey
dfacbe1834
bug 595919 - Implement PDF printing for "Save As PDF" on Android r=vlad a=blocking-fennec
2010-11-16 18:33:56 -05:00
Olli Pettay
7e8cc37590
Bug 610690 - Crash when printing many documents successively [@ nsCOMPtr_base::assign_from_qi | nsDocShell::SetTreeOwner ], r=mats, a=benjamin
2010-11-10 23:15:21 +02:00
timeless@mozdev.org
4cad84729d
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
3c0cf6471d
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
7f643ab37a
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
0a3ef826a6
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
3cc44e2456
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
21a68ff030
Backed out changeset f1af117d4598
2010-08-19 19:02:09 -05:00
Chris Jones
4dc5eaa5b6
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
3133bff6c6
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
20d255fcc2
Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats
2010-07-18 21:23:48 -05:00
Ms2ger@gmail.com
91560b026e
Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug
2010-06-25 15:59:57 +02:00
Mitchell Field
0fd15d94da
Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver
2010-05-14 18:24:41 +09:00
Boris Zbarsky
fb534f9674
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
9c2ad4b2aa
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
7be66d68d2
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
5885f3d1d4
Bug 424000 - Crash [@ nsPrintEngine::ReflowPrintObject], r=roc
2010-04-19 01:17:41 +03:00
Craig Topper
8b8747d605
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Craig Topper
25d5518e18
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Daniel Holbert
d509dc0e16
Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc
2010-04-01 11:05:40 -07:00
Daniel Holbert
605900c19f
Backed out changeset 29bc09de2f77 (Bug 551298) due to Linux debug mochitest-5 orange
2010-04-01 09:38:53 -07:00
Daniel Holbert
f670acaa95
Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc
2010-04-01 08:08:51 -07:00
Craig Topper
fd9001c409
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Craig Topper
3d7073c4a5
Bug 253889: DeCOMtaminate nsIPresShell r=roc
2010-03-20 17:54:19 -04:00
Olli Pettay
7c78ce23a9
Bug 539060 - Crash [@ do_QueryFrame::operator<nsIPageSequenceFrame> nsIPageSequenceFrame*() ] in print preview , r=roc
...
--HG--
extra : rebase_source : 246c540277da95dbc670bcfc899dc9f9796f603e
2010-01-25 13:15:25 +02:00
Olli Pettay
5d51f6e3ae
Bug 539645 - Print preview does not match what prints on animated images, r=roc
2010-01-18 14:39:34 +02:00
Robert O'Callahan
cff7965f83
Bug 526394. Part 15: Convert various random chunks of layout code. r=mats
2009-09-03 16:26:00 +12:00
Simon Montagu
7d6e3f5400
Unescape URIs in page headers. Bug 537216, r=roc
2010-01-05 23:09:18 -08:00
Boris Zbarsky
8b56c4f81d
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
96f3c9cd42
Bug 535794 - Shorter printPageDelay, r=roc
2009-12-19 12:32:53 +02:00
Olli Pettay
3ed6a2c84c
Bug 534407 - Crash [@ nsPrintEngine::DoPrint(nsPrintObject*)] while printing, r=roc
...
--HG--
extra : rebase_source : 2dfe04469e14c8dc6903f5284daf2a36fa9d723d
2009-12-16 00:17:57 +02:00
Olli Pettay
423522c88b
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
David Zbarsky
3d96b7b4a7
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Mats Palmgren
dea07412a1
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Olli Pettay
54ee98bc91
Bug 511883 - window.print() doesn't work from inside a frame, r=roc
...
--HG--
extra : rebase_source : 1e82eedf7b3c49f249800aa919b06c43270091f0
2009-09-09 16:53:06 +03:00
Neil Deakin
0beee44e9d
Bug 508477, add a flag to distinguish key focus navigation from other types of focus navigation, allows initial focused textboxes in a dialog to be selected by default, r=smaug
2009-08-26 09:19:41 -07:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Boris Zbarsky
8f435d226b
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
...
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
0aa6350041
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Olli Pettay
68c7971972
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
430c5ceb95
Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap
2009-08-20 14:52:48 -07:00
Robert O'Callahan
16f8bf9ac4
Bug 339548. Part 2: Introduce nsRootPresContext.
2009-07-22 12:44:54 +12:00
Neil Deakin
15df29db77
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
Timothy Nikkel
6724ca0012
Bug 491848. Ensure scripts are blocked during frame destruction. Also, don't dispatch paint events during a synchronous plugin message. r=roc
2009-05-15 15:08:41 +12:00
Mats Palmgren
e847fb240e
Don't require a view for non-SubDocumentFrame frames. b=415327 r+sr=roc
2009-03-30 18:15:52 +02:00
Olli Pettay
04166a178f
Bug 424377, r+sr=roc
2009-03-10 21:30:50 +02:00
L. David Baron
cb6012ec82
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
c0f2dadc80
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Martijn Wargers
c2af1ac3b7
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
b2d23e878d
Bug 422294 - Crash [@ nsHTMLContainerFrame::CreateViewForFrame] on print preview, r+sr=roc
2009-01-15 16:24:40 +02:00
Jeremy Lea
ce80f69254
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
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
3498a5f86e
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Robert O'Callahan
a39e457b50
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
4527d5d1a8
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Olli Pettay
925283111e
Bug 433132, Running mochitest for bug 396024 still leaks r+sr=roc
2008-09-26 12:51:42 +03:00
Robert O'Callahan
5dbf5690ac
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Jeremy Lea
7261376c29
Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc
2008-09-26 10:42:19 +12:00
Arpad Borsos
ed2268548d
Bug 454475 - Fix "unhandled enumeration value" warnings in layout/; r+sr=roc
2008-09-16 13:25:35 +02:00
Daniel Holbert
b9e4bbbdbc
Bug 447835, r+sr=roc
2008-09-09 11:26:20 -07:00
Robert O'Callahan
fb7a994159
Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst
2008-08-18 14:10:28 +12:00
Robert O'Callahan
842b3fea92
Backing out bug 118704 to try to fix Windows leak orange
2008-08-16 23:27:40 +12:00
Robert O'Callahan
78a2558a52
Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst
2008-08-16 21:01:46 +12:00
dholbert@cs.stanford.edu
1df2b5324a
But 431587: Use zoom-ratio when computing number of needed pages during print-selection. r+sr=roc a=damons
2008-04-30 23:31:17 -07:00
dholbert@cs.stanford.edu
90c649cd1b
Bug 430748: In print-selection, crop out selection regions that are before the top of the first page. (e.g. initial whitespace) r+sr=roc a=beltzner
2008-04-29 11:16:49 -07:00
dholbert@cs.stanford.edu
062853928d
Bug 430357: Subtract not just normal margin, but also unwriteable margin, when positioning selected block during print-selection. r+sr=roc a=damons
2008-04-22 18:53:20 -07:00
dholbert@cs.stanford.edu
adba8b45ad
Bug 430150: During print-selection, use zoom ratio to scale y-position and height of selection, so that it doesn't get shifted too far when we move it to top of page. r+sr=roc a1.9=damons
2008-04-21 18:22:48 -07:00
dholbert@cs.stanford.edu
53026c6433
Bug 429337: re-landing patch, with bustage fix. (bustage fix initializes nsPrintSettingsGTK::mPrintSelectionOnly to false in default constructor. Wasn't getting initialized before.)
2008-04-21 18:18:26 -07:00
dholbert@cs.stanford.edu
eb3eec51c9
Backing out bug 429337 to fix broken printing reftests on linux test box.
2008-04-21 17:48:12 -07:00
dholbert@cs.stanford.edu
b0920a520c
Bug 429337: During print-selection, don't use an unconstrained page height everywhere -- just on the reflowSize (where we need it, to catch selections on pages beyond the first). r+sr=roc a=beltzner
2008-04-21 15:36:26 -07:00
Olli.Pettay@helsinki.fi
f2fddd2288
backout Bug 424377, a=beltzner
2008-04-15 11:02:22 -07:00
dholbert@cs.stanford.edu
ee797e1963
Minor comment-only change (fixing typo)
2008-04-10 17:39:16 -07:00
ajschult@verizon.net
e440a7575b
Bug 408355: Better fix for bug 396024 that doesn't leak (as much). r+sr=roc, a=beltzner
2008-04-08 22:24:13 -07:00
dholbert@cs.stanford.edu
616bf5f49e
Bug 389949, second patch: rotate landscape-mode printed output in Linux. (so we don't end up printing landscape-oriented content on top of portrait-oriented paper.) r+sr=vlad a=blocking1.9
2008-04-07 17:32:48 -07:00
Olli.Pettay@helsinki.fi
82fc44e130
Bug 424377, r=jst, sr=roc
2008-04-01 03:37:28 -07:00
dholbert@cs.stanford.edu
6e16062fb8
Bug 423345: Use mIsCreatingPrintPreview, not mIsDoingPrintPreview, to check if we're setting up a print-preview page. r+sr=vlad a=blocking1.9+
2008-03-19 16:04:40 -07:00
dholbert@cs.stanford.edu
15bc2e8781
Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+
2008-03-19 13:51:42 -07:00
dholbert@cs.stanford.edu
9a1e61b815
Backing out Bug 417356, due to pagination reftest failures.
2008-03-14 01:50:13 -07:00
dholbert@cs.stanford.edu
2f86ee574d
Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) r=ventron sr=roc a=blocking1.9+
2008-03-14 00:48:04 -07:00
dholbert@cs.stanford.edu
2e437c0b98
Bug 407080: Disallow print-preview while page is loading. (Re-landing with broken mochitest disabled) r+sr=roc, a=blocking1.9+
2008-03-13 14:12:55 -07:00
dholbert@cs.stanford.edu
baafe71f19
Backing out bug 407080 to investigate breakage of mochitest test_bug396024.html
2008-03-03 22:11:54 -08:00
dholbert@cs.stanford.edu
28710c609c
Bug 407080: Disallow print-preview if page is loading. r+sr=roc, a=blocking1.9+
2008-03-03 17:05:27 -08:00
jag@tty.nl
dd268604cd
Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep
2008-02-18 23:36:50 -08:00
jag@tty.nl
05cdb6aefe
Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
64d3078aac
Bug 398269. Treat naked <frame> elements not in framesets like <iframes> when printing. r+sr=mats
2008-02-06 20:00:50 -08:00
dholbert@cs.stanford.edu
122cc4ab89
Bug 389359: In print-preview jump-to-page, scale page-position so we arrive at correct spot. r+sr=roc, a=blocking1.9+
2008-01-29 12:14:51 -08:00
dholbert@cs.stanford.edu
2439ba6b7a
Bug 389358 -- Give doc title & URL to pageSeqFrame for display in print-preview header. r+sr=roc; a=blocking1.9+
2008-01-28 22:49:54 -08:00
reed@reedloden.com
23bbd145b3
Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr+a1.9=roc]
2008-01-20 19:47:25 -08:00
reed@reedloden.com
ac15e5aa0a
Back out Michael Ventnor's patch from bug 193001 for now, as it is causing crashes in bug 396024's mochitest.
2008-01-17 02:11:00 -08:00
reed@reedloden.com
9e6a8820f7
Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=schrep]
2008-01-16 22:27:50 -08:00
reed@reedloden.com
66a7aaf1b0
Bug 404519 - "some margin and edges twips/app units confusion" [p=reg@freebsd.org (Jeremy Lea) / chpe@gnome.org (Christian Persch) r+sr=roc a1.9=schrep]
2007-11-20 21:09:58 -08:00
Olli.Pettay@helsinki.fi
eddad205bb
Bug 301560, print() from modal dialog crashes browser [@ nsPrintEngine::ShowPrintProgress], r+sr=bz, a=blocking1.9+
2007-11-12 04:17:23 -08:00
Olli.Pettay@helsinki.fi
406b6dc659
Bug 398265, Crash [@ nsPrintPreviewListener::RemoveListeners()] with <frame> on print preview, r+sr=roc, a=1.9+
2007-11-09 14:38:46 -08:00
Olli.Pettay@helsinki.fi
34a6718afd
Bug 363265, Scroll arrows, page up/page down, home, end, and space don't work in print preview, r=roc+myk,sr=roc,a=1.9+
2007-11-09 02:19:12 -08:00
joshmoz@gmail.com
f219b51c26
remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc
2007-10-01 16:20:37 -07:00
martijn.martijn@gmail.com
fb91d61afa
Bug 362734 - Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that sets print preview, then reloads the page, patch by Andrew Smith, r=sharparrow1, sr=roc (blocking1.9 bug)
2007-09-04 14:44:42 -07:00
masayuki@d-toybox.com
a20d56bd8d
Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
e51e8403e6
Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron
2007-08-21 19:57:06 -07:00
mats.palmgren@bredband.net
266f784855
Bye bye Xprint. b=326716 r+sr=dbaron
2007-06-13 11:02:58 -07:00
Olli.Pettay@helsinki.fi
7817abfbca
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
2704d6350d
Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking
2007-05-13 20:52:48 -07:00
Olli.Pettay@helsinki.fi
40178e46a3
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
kjh-5727@comcast.net
bc93bea324
Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi.
2007-05-06 04:29:41 -07:00
bzbarsky@mit.edu
086c2eb0c0
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me
2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
79c66b8a27
Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron
2007-05-01 10:15:08 -07:00
hg@mozilla.com
05e5d33a57
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00
sharparrow1%yahoo.com
6eb7b30fcc
Bug 371372: No print session created (regression from bug 370966). r+sr=roc.
2007-02-23 19:29:15 +00:00
sharparrow1%yahoo.com
8c4edcac47
Bug 370966: Fix error handling in nsPrintEngine. r+sr=roc.
2007-02-23 03:58:36 +00:00
sharparrow1%yahoo.com
c665c10b94
Bug 370852. Misc nsPrintEngine fixes/cleanups.r+sr=roc.
2007-02-20 00:44:57 +00:00
joshmoz%gmail.com
19b60dfc6a
remove unused variables, other warning fixes. no bug. r/sr=bz
2007-02-16 08:04:44 +00:00
sharparrow1%yahoo.com
d986ad1f22
Bug 370034: Replace nsIDeviceContext::GetDeviceContextFor with nsIDeviceContext::Init. r+sr=roc
2007-02-15 11:08:47 +00:00
sharparrow1%yahoo.com
9f9ef10f7f
Bustage fix for bug 369834.
2007-02-13 23:00:39 +00:00
sharparrow1%yahoo.com
a8f437abc4
Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc.
2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
mats.palmgren%bredband.net
72dca139bf
Reset 'mAltDC' when we finish Print Preview. b=365578 r+sr=roc
2007-01-26 18:26:00 +00:00
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
2084e073f8
Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
2006-12-20 01:23:45 +00:00
sharparrow1%yahoo.com
fe85f89a4d
Bug 363770: Fix print crash caused by premature release of print engine. r+sr=roc.
2006-12-17 21:39:03 +00:00
dbaron%dbaron.org
d5af630c22
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
2006-12-13 23:04:57 +00:00
sharparrow1%yahoo.com
01ccd95a11
Bug 361844: Printing cleanup; r+sr=roc. Changes the way the presentation is managed for print preview, plus many smaller cleanups.
2006-12-10 08:05:05 +00:00
kjh-5727%comcast.net
5f49ed61b9
Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc.
2006-12-09 17:18:56 +00:00
sayrer%gmail.com
0d2f67fa51
bug 361005. remove nsCRT::strdup from layout. r+sr=bz
2006-11-17 01:49:06 +00:00
bzbarsky%mit.edu
84053a9abd
When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
...
Bug 360524, r+sr=roc
2006-11-13 21:27:44 +00:00
gavin%gavinsharp.com
2156c6d99b
Bug 353410: useless null check in nsPrintEngine::SetupToPrintContent, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=roc
2006-09-20 18:26:15 +00:00
bmlk%gmx.de
3b2bf8ecb8
remove debug cruft (MOZ_LAYOUTDEBUG) and say that printing is finished once the regression dump is done bug 339500 r=sharparrow1 sr=dbaron
2006-09-09 04:52:57 +00:00
sayrer%gmail.com
9395f31ee3
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
2006-09-08 04:35:17 +00:00
mats.palmgren%bredband.net
ff9ebb7df2
Fix Print/Preview crash when (sub-)document doesn't have root content. b=345159 r+sr=bzbarsky
2006-07-25 16:05:49 +00:00
sharparrow1%yahoo.com
341097b456
Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc.
2006-07-21 00:16:07 +00:00
bzbarsky%mit.edu
bf01cece13
Deal with the messed-up way changing any print-preview settings works by ignoring random calls to TurnScriptingOn which are trying to turn it off when it's already off. This way we only track the state when the first TurnScriptingOff call came through. Bug 340119, r+sr+branch181=sicking
2006-06-02 20:29:05 +00:00
Olli.Pettay%helsinki.fi
cb1f0a0bb9
Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
2006-05-19 10:26:44 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
d3ec0aa5c5
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
7d7cc60668
Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst
2006-04-22 00:06:30 +00:00
sharparrow1%yahoo.com
3dba8a1b8c
Bug 333926: Don't create a widget for documents when printing (fix cocoa printing). r+sr=roc.
2006-04-18 00:37:53 +00:00
sharparrow1%yahoo.com
3b62c93943
Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
2006-04-11 01:48:48 +00:00
sharparrow1%yahoo.com
1e650e3784
Bug 331415: some printing code cleanup. r+sr=roc.
2006-03-30 00:27:42 +00:00
bzbarsky%mit.edu
3b307aca09
Fix bug 325991 -- spinning event queues requires more care. r=jst, sr=shaver
2006-02-07 22:24:47 +00:00
sharparrow1%yahoo.com
ac6fed3850
Bug 321433 - Don't enable selection for printing. r+sr=roc.
2006-02-07 02:52:40 +00:00
sharparrow1%yahoo.com
8debca1822
Bug 326157: Get rid of unnecessary clipping code. r+sr=roc.
2006-02-07 02:22:06 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
roc+%cs.cmu.edu
77bca74243
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
masayuki%d-toybox.com
856897abff
Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc
2005-11-30 13:24:00 +00:00
bzbarsky%mit.edu
fe494a9f14
Don't paint selection shading on images when printing. Bug 312415, r+sr=roc
2005-11-29 16:26:22 +00:00
masayuki%d-toybox.com
8211dc3b14
Oops, currently the Tree is closed, backing out previous check-in. b=317289
2005-11-29 05:50:24 +00:00
masayuki%d-toybox.com
9a0e324461
Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc
2005-11-29 05:40:36 +00:00
jst%mozilla.jstenback.com
8f1863159b
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
2005-11-28 23:56:44 +00:00
roc+%cs.cmu.edu
4fbeaa90bb
Bug 303023. Fix printing of SVG EMBED elements. r+sr=dbaron
2005-11-24 00:48:40 +00:00
timeless%mozdev.org
17f5f5429f
Bug 106386 Correct misspellings in source code
...
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +00:00
timeless%mozdev.org
1c34e68034
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
dbaron%dbaron.org
3c95294952
Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
2005-11-14 20:09:51 +00:00
peterv%propagandism.org
a91a09cd13
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv.
2005-09-26 14:37:29 +00:00
roc+%cs.cmu.edu
f8d744f15d
Bug 73373. Allow multiple selections of content using the ctrl/option keys. This is for testing --- it will probably expose bugs in other places. r+sr=roc,patch by Martijn Wargers.
2005-08-31 02:16:03 +00:00
bzbarsky%mit.edu
0d6a610963
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
cbiesinger%web.de
26a83fee9a
bug 292998
...
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
mats.palmgren%bredband.net
dd31c1c22e
Allow spacebar to scroll in Print Preview. b=158362 r=neil sr=bzbarsky a=benjamin
2005-07-26 00:21:29 +00:00
mats.palmgren%bredband.net
9e90d126c5
Prevent having kbd focus inside the content document in Print Preview. b=244128 r=bryner sr=bzbarsky a=asa
2005-07-21 00:15:27 +00:00
masayuki%d-toybox.com
b3c6b8174a
Bug 217332 When I ask for only pages 1 to 1 to be printed, page 2 prints as well. If the page has IFRAME r+sr=roc, a=benjamin
2005-07-20 08:45:22 +00:00
bzbarsky%mit.edu
eb8a6b7fe6
Make sure to disable scripting in all subframes while in print preview; fixes
...
crashes. Bug 299107, patch by Martijn Wargers <martijn.martijn@gmail.com>,
r+sr=bzbarsky, a=bsmedberg
2005-07-13 19:10:00 +00:00
roc+%cs.cmu.edu
c682260f76
Bug 297669. Don't specially avoid reflowing/printing zero-size subdocuments when printing. Fixes a hang. r+sr=me,a=chofmann,patch by Martijn Wargers
2005-06-24 02:10:58 +00:00
bryner%brianryner.com
aed69207f0
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
2005-05-04 20:22:32 +00:00
roc+%cs.cmu.edu
7fefa798b7
Bug 291775. Fix print preview UI by making nsPrintEngine::GetSeqFrameAndCountPagesInternal use the frame constructor API to correctly find the page sequence frame. r+sr=bzbarsky,a=chofmann
2005-04-26 03:17:07 +00:00
bzbarsky%mit.edu
14a25b0710
Don't show username/password in the URI we print. Bug 186695, r=jst, sr=darin
2005-03-18 04:16:02 +00:00
bsmedberg%covad.net
3219ac4125
Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey)
2005-03-10 04:38:35 +00:00
neil%parkwaycc.co.uk
a3392e7e6c
Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
2005-01-18 23:46:59 +00:00
bzbarsky%mit.edu
1601d80e99
Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
2005-01-03 22:51:17 +00:00
dbaron%dbaron.org
d1da171a4f
Restore old code that prevents printing or previewing XUL documents, since it still doesn't work. b=240490 r+sr=roc
2004-12-24 22:27:57 +00:00
ginn.chen%sun.com
3ead8bc443
Bug 274685 [print]Mozilla can't print frame correctly
...
patch=leon.sha@sun.com r=roc sr=roc
2004-12-22 03:26:29 +00:00
smontagu%smontagu.org
6a9211d8aa
Fix a crash in printing pages with non-visible elements. Bug 275262, r+sr=roc
2004-12-21 11:51:13 +00:00
dbaron%dbaron.org
972b29f4a1
Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
2004-12-17 20:40:48 +00:00
bsmedberg%covad.net
60567bb185
Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
2004-12-15 04:07:01 +00:00
dbaron%dbaron.org
958a20f89e
Fix make install bustage.
2004-12-09 23:39:48 +00:00
dbaron%dbaron.org
953fdd4a1f
Bug 272151: reorganize files within layout, r+sr=roc: add new Makefiles.
2004-12-07 18:09:28 +00:00
dbaron%dbaron.org
615caad017
Remove unneeded include. b=272151
2004-12-07 02:49:12 +00:00