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
masayuki%d-toybox.com
4a791f4b57
Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
...
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +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
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(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
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +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
sayrer%gmail.com
4b8ca2af78
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +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
sharparrow1%yahoo.com
16364f4942
Bug 333926: Don't create a widget for documents when printing (fix cocoa printing). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@194570 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 00:37:53 +00:00
sharparrow1%yahoo.com
b1c51e04df
Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
...
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
sharparrow1%yahoo.com
4faf77261e
Bug 331415: some printing code cleanup. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
bzbarsky%mit.edu
7db1feab23
Fix bug 325991 -- spinning event queues requires more care. r=jst, sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@189362 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 22:24:47 +00:00
sharparrow1%yahoo.com
6e15d1b177
Bug 321433 - Don't enable selection for printing. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@189285 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 02:52:40 +00:00
sharparrow1%yahoo.com
b588088110
Bug 326157: Get rid of unnecessary clipping code. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@189284 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 02:22:06 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
roc+%cs.cmu.edu
df8627e29b
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
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
masayuki%d-toybox.com
86b68957e5
Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@185437 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 13:24:00 +00:00
bzbarsky%mit.edu
329fd07d66
Don't paint selection shading on images when printing. Bug 312415, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@185373 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:26:22 +00:00