166 Commits

Author SHA1 Message Date
dholbert%cs.stanford.edu
e58b6c8eb6 Bug 407080: Disallow print-preview while page is loading. (Re-landing with broken mochitest disabled) r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@247770 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 21:12:56 +00:00
dholbert%cs.stanford.edu
ceb1e9f668 Backing out bug 407080 to investigate breakage of mochitest test_bug396024.html
git-svn-id: svn://10.0.0.236/trunk@246978 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 06:11:54 +00:00
dholbert%cs.stanford.edu
68cf22f2d3 Bug 407080: Disallow print-preview if page is loading. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@246963 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 01:05:27 +00:00
jag%tty.nl
66730e483a Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245954 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 07:36:52 +00:00
roc+%cs.cmu.edu
c738195c61 Bug 398269. Treat naked <frame> elements not in framesets like <iframes> when printing. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@245072 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 04:00:50 +00:00
dholbert%cs.stanford.edu
4c01c5de56 Bug 389358 -- Give doc title & URL to pageSeqFrame for display in print-preview header. r+sr=roc; a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@244309 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 06:49:54 +00:00
reed%reedloden.com
c1ba64331e Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@243641 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 03:47:28 +00:00
reed%reedloden.com
950b6f3300 Back out Michael Ventnor's patch from bug 193001 for now, as it is causing crashes in bug 396024's mochitest.
git-svn-id: svn://10.0.0.236/trunk@243354 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-17 10:13:33 +00:00
reed%reedloden.com
490472d4d1 Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@243343 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-17 06:27:53 +00:00
reed%reedloden.com
121f7293a7 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]
git-svn-id: svn://10.0.0.236/trunk@239766 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 05:09:59 +00:00
Olli.Pettay%helsinki.fi
5f1c0350b4 Bug 301560, print() from modal dialog crashes browser [@ nsPrintEngine::ShowPrintProgress], r+sr=bz, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239199 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 12:17:23 +00:00
Olli.Pettay%helsinki.fi
9b706f181e Bug 398265, Crash [@ nsPrintPreviewListener::RemoveListeners()] with <frame> on print preview, r+sr=roc, a=1.9+
git-svn-id: svn://10.0.0.236/trunk@239107 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 22:38:46 +00:00
Olli.Pettay%helsinki.fi
fde675f559 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+
git-svn-id: svn://10.0.0.236/trunk@239047 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 10:19:12 +00:00
joshmoz%gmail.com
7fbad72616 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237027 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 23:20:38 +00:00
martijn.martijn%gmail.com
1eed6e98b8 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)
git-svn-id: svn://10.0.0.236/trunk@233885 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 21:44:42 +00:00
bzbarsky%mit.edu
762a211f7d Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232489 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 02:57:08 +00:00
mats.palmgren%bredband.net
99fe84e396 Bye bye Xprint. b=326716 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227989 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 18:03:03 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
bzbarsky%mit.edu
fa937acf1d Process XBL constructors right after the frame construction in
InitialReflow().  Bug 377119, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
kjh-5727%comcast.net
7b754b8fab Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi.
git-svn-id: svn://10.0.0.236/trunk@226003 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 11:29:42 +00:00
bzbarsky%mit.edu
708c53b956 Make InitialReflow just post a reflow event instead of doing a synchronous
reflow.  Bug 378975, r=dbaron and Eli Friedman, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225391 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 17:15:08 +00:00
sharparrow1%yahoo.com
bace2d68ca Bug 371372: No print session created (regression from bug 370966). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220840 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 19:29:15 +00:00
sharparrow1%yahoo.com
b29f425841 Bug 370966: Fix error handling in nsPrintEngine. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220798 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 03:58:36 +00:00
sharparrow1%yahoo.com
e03a4b340e Bug 370852. Misc nsPrintEngine fixes/cleanups.r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220565 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 00:44:57 +00:00
joshmoz%gmail.com
c65f7936f7 remove unused variables, other warning fixes. no bug. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@220399 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 08:04:44 +00:00
sharparrow1%yahoo.com
8e3fe5e197 Bug 370034: Replace nsIDeviceContext::GetDeviceContextFor with nsIDeviceContext::Init. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220196 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 11:08:47 +00:00
sharparrow1%yahoo.com
0acc052898 Bustage fix for bug 369834.
git-svn-id: svn://10.0.0.236/trunk@220086 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 23:00:39 +00:00
sharparrow1%yahoo.com
279cfa170d Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220085 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
mats.palmgren%bredband.net
03e5d2c51b Reset 'mAltDC' when we finish Print Preview. b=365578 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218982 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 18:26:00 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
9332796f42 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
sharparrow1%yahoo.com
f3db88e798 Bug 363770: Fix print crash caused by premature release of print engine. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@217101 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 21:39:03 +00:00
dbaron%dbaron.org
866a194991 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
sharparrow1%yahoo.com
bbc7755ab2 Bug 361844: Printing cleanup; r+sr=roc. Changes the way the presentation is managed for print preview, plus many smaller cleanups.
git-svn-id: svn://10.0.0.236/trunk@216817 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 08:05:05 +00:00
kjh-5727%comcast.net
2674b6e768 Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@216801 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 17:18:56 +00:00
sayrer%gmail.com
1173d9db39 bug 361005. remove nsCRT::strdup from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215393 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:49:06 +00:00
bzbarsky%mit.edu
0f9db8680c When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215223 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:27:44 +00:00
gavin%gavinsharp.com
5c9241abf4 Bug 353410: useless null check in nsPrintEngine::SetupToPrintContent, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212069 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-20 18:26:15 +00:00
bmlk%gmx.de
9cda382c67 remove debug cruft (MOZ_LAYOUTDEBUG) and say that printing is finished once the regression dump is done bug 339500 r=sharparrow1 sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@209541 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-09 04:52:57 +00:00
mats.palmgren%bredband.net
b95945d053 Fix Print/Preview crash when (sub-)document doesn't have root content. b=345159 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203631 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 16:05:49 +00:00
sharparrow1%yahoo.com
8842d0b209 Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@203317 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 00:16:07 +00:00
bzbarsky%mit.edu
f7de64e5f9 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
git-svn-id: svn://10.0.0.236/trunk@198903 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 20:29:05 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
9c6c9e84c3 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195125 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 00:06:30 +00:00