bzbarsky@mit.edu
9a5db57b2f
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
ed77655b3d
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
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
dholbert%cs.stanford.edu
20c793ba39
But 431587: Use zoom-ratio when computing number of needed pages during print-selection. r+sr=roc a=damons
2008-05-01 06:31:17 +00:00
dholbert%cs.stanford.edu
56933ab7bd
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 18:16:49 +00:00
dholbert%cs.stanford.edu
4bdcc6b66a
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-23 01:53:20 +00:00
dholbert%cs.stanford.edu
500b411fe0
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-22 01:22:48 +00:00
dholbert%cs.stanford.edu
fc484c9472
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-22 01:18:27 +00:00
dholbert%cs.stanford.edu
8dd733796e
Backing out bug 429337 to fix broken printing reftests on linux test box.
2008-04-22 00:48:12 +00:00
dholbert%cs.stanford.edu
6657892483
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 22:36:26 +00:00
Olli.Pettay%helsinki.fi
dc656b0aa3
backout Bug 424377, a=beltzner
2008-04-15 18:02:23 +00:00
dholbert%cs.stanford.edu
141ecf27e3
Minor comment-only change (fixing typo)
2008-04-11 00:39:16 +00:00
ajschult%verizon.net
374c0cbb55
Bug 408355: Better fix for bug 396024 that doesn't leak (as much). r+sr=roc, a=beltzner
2008-04-09 05:24:13 +00:00
dholbert%cs.stanford.edu
70e68f7ed6
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-08 00:32:49 +00:00
Olli.Pettay%helsinki.fi
e66e34e802
Bug 424377, r=jst, sr=roc
2008-04-01 10:37:30 +00:00
dholbert%cs.stanford.edu
a0c840a36e
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 23:04:40 +00:00
dholbert%cs.stanford.edu
3232745214
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 20:51:44 +00:00
dholbert%cs.stanford.edu
179fb266ba
Backing out Bug 417356, due to pagination reftest failures.
2008-03-14 08:50:15 +00:00
dholbert%cs.stanford.edu
45dc8c714e
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 07:48:07 +00:00
dholbert%cs.stanford.edu
2f98f329ff
Bug 407080: Disallow print-preview while page is loading. (Re-landing with broken mochitest disabled) r+sr=roc, a=blocking1.9+
2008-03-13 21:12:56 +00:00
dholbert%cs.stanford.edu
6fe30e112b
Backing out bug 407080 to investigate breakage of mochitest test_bug396024.html
2008-03-04 06:11:54 +00:00
dholbert%cs.stanford.edu
94328d3841
Bug 407080: Disallow print-preview if page is loading. r+sr=roc, a=blocking1.9+
2008-03-04 01:05:27 +00:00
jag%tty.nl
79576fee57
Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep
2008-02-19 07:36:52 +00:00
jag%tty.nl
4221353fba
Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
2008-02-18 08:50:33 +00:00
roc+%cs.cmu.edu
5dc7dad8d8
Bug 398269. Treat naked <frame> elements not in framesets like <iframes> when printing. r+sr=mats
2008-02-07 04:00:50 +00:00
dholbert%cs.stanford.edu
f7485693b1
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 20:14:51 +00:00
dholbert%cs.stanford.edu
235ccf9571
Bug 389358 -- Give doc title & URL to pageSeqFrame for display in print-preview header. r+sr=roc; a=blocking1.9+
2008-01-29 06:49:54 +00:00
reed%reedloden.com
38e12ee76c
Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr+a1.9=roc]
2008-01-21 03:47:28 +00:00
reed%reedloden.com
6f9ce8a3d1
Back out Michael Ventnor's patch from bug 193001 for now, as it is causing crashes in bug 396024's mochitest.
2008-01-17 10:13:33 +00:00
reed%reedloden.com
e5354271fd
Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=schrep]
2008-01-17 06:27:53 +00:00
reed%reedloden.com
c9402272df
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-21 05:09:59 +00:00
Olli.Pettay%helsinki.fi
bc6ff5a02a
Bug 301560, print() from modal dialog crashes browser [@ nsPrintEngine::ShowPrintProgress], r+sr=bz, a=blocking1.9+
2007-11-12 12:17:23 +00:00
Olli.Pettay%helsinki.fi
6283ec8380
Bug 398265, Crash [@ nsPrintPreviewListener::RemoveListeners()] with <frame> on print preview, r+sr=roc, a=1.9+
2007-11-09 22:38:46 +00:00
Olli.Pettay%helsinki.fi
7fe67a9ca5
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 10:19:12 +00:00
joshmoz%gmail.com
001dc7f51c
remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc
2007-10-01 23:20:38 +00:00
martijn.martijn%gmail.com
69d5a1b9dc
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 21:44:42 +00:00
masayuki%d-toybox.com
5fa5b33f97
Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
2007-08-22 11:13:55 +00:00
bzbarsky%mit.edu
ac2d663836
Make sure to process style updates before reflow, and both before painting.
...
Bug 375436, r+sr=roc, a=dbaron
2007-08-22 02:57:08 +00:00
mats.palmgren%bredband.net
1104dddb66
Bye bye Xprint. b=326716 r+sr=dbaron
2007-06-13 18:03:03 +00:00
Olli.Pettay%helsinki.fi
6721d4f009
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 09:13:09 +00:00
bzbarsky%mit.edu
8f97837637
Process XBL constructors right after the frame construction in
...
InitialReflow(). Bug 377119, r+sr=sicking
2007-05-14 03:52:49 +00:00
Olli.Pettay%helsinki.fi
8e287d3582
backout Bug 363089
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
670f53f666
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 11:15:20 +00:00
kjh-5727%comcast.net
bbdb08d2de
Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi.
2007-05-06 11:29:42 +00:00
bzbarsky%mit.edu
b1e55b927c
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
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
88acf3ce4f
Make InitialReflow just post a reflow event instead of doing a synchronous
...
reflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron
2007-05-01 17:15:08 +00:00
sharparrow1%yahoo.com
b74b6d8562
Bug 371372: No print session created (regression from bug 370966). r+sr=roc.
2007-02-23 19:29:15 +00:00
sharparrow1%yahoo.com
16200d9c97
Bug 370966: Fix error handling in nsPrintEngine. r+sr=roc.
2007-02-23 03:58:36 +00:00
sharparrow1%yahoo.com
7f917d232a
Bug 370852. Misc nsPrintEngine fixes/cleanups.r+sr=roc.
2007-02-20 00:44:57 +00:00
joshmoz%gmail.com
94eb54893c
remove unused variables, other warning fixes. no bug. r/sr=bz
2007-02-16 08:04:44 +00:00
sharparrow1%yahoo.com
5d26b185b1
Bug 370034: Replace nsIDeviceContext::GetDeviceContextFor with nsIDeviceContext::Init. r+sr=roc
2007-02-15 11:08:47 +00:00
sharparrow1%yahoo.com
b52771b429
Bustage fix for bug 369834.
2007-02-13 23:00:39 +00:00
sharparrow1%yahoo.com
d6505bc847
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
c78720aa24
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
0c24c4a4c3
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
5f84696e46
Reset 'mAltDC' when we finish Print Preview. b=365578 r+sr=roc
2007-01-26 18:26:00 +00:00
timeless%mozdev.org
abc256e3da
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
45306477d3
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
0e646d9b81
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
992a8cce12
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
aed289073e
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
7adef32225
Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc.
2006-12-09 17:18:56 +00:00
sayrer%gmail.com
4adf8297fe
bug 361005. remove nsCRT::strdup from layout. r+sr=bz
2006-11-17 01:49:06 +00:00
bzbarsky%mit.edu
8fc18b2ae7
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
a71460d5f6
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
5fd6a75d0b
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
c249dc7837
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
2006-09-08 04:35:17 +00:00
mats.palmgren%bredband.net
6597b160c4
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
daf26752ad
Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc.
2006-07-21 00:16:07 +00:00
bzbarsky%mit.edu
6239df552d
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
198b2c0d8a
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
7d3e7d7acd
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
36f352636c
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
ae1b7a2d2b
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
052042d9a5
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
23a6cefff1
Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
2006-04-11 01:48:48 +00:00
sharparrow1%yahoo.com
7a3fdae812
Bug 331415: some printing code cleanup. r+sr=roc.
2006-03-30 00:27:42 +00:00
bzbarsky%mit.edu
38041b1d43
Fix bug 325991 -- spinning event queues requires more care. r=jst, sr=shaver
2006-02-07 22:24:47 +00:00
sharparrow1%yahoo.com
cc2905f869
Bug 321433 - Don't enable selection for printing. r+sr=roc.
2006-02-07 02:52:40 +00:00
sharparrow1%yahoo.com
0dc91d8188
Bug 326157: Get rid of unnecessary clipping code. r+sr=roc.
2006-02-07 02:22:06 +00:00
cbiesinger%web.de
a898e666b8
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
5451e97878
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
cf718838cc
Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc
2005-11-30 13:24:00 +00:00
bzbarsky%mit.edu
4e9db4350c
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
3d3e3b5e74
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
f3714ce5e2
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
7a5af690c6
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
b77715cac8
Bug 303023. Fix printing of SVG EMBED elements. r+sr=dbaron
2005-11-24 00:48:40 +00:00
timeless%mozdev.org
8e0a0fb22e
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
b20620f6ab
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
8e1263ab28
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
bfc7bfee82
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
b6c7d26cca
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
692c9e00f2
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
d25f538cf6
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
72662c774b
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
900fbeaa4b
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
ad52bee497
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
ed461f1d77
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
b943b4e17b
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
592dbdc176
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
5220d01e24
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
6e5dd4811f
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
ab0810ddac
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
51faac852b
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
3203d0d58e
Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
2005-01-03 22:51:17 +00:00
dbaron%dbaron.org
54a8b8baac
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
9b38a42a41
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
03e05c8243
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
48a696beb8
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
81a0de68d5
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
d619b0de9a
Fix make install bustage.
2004-12-09 23:39:48 +00:00
dbaron%dbaron.org
178b5e327a
Bug 272151: reorganize files within layout, r+sr=roc: add new Makefiles.
2004-12-07 18:09:28 +00:00
dbaron%dbaron.org
9d167cfdab
Remove unneeded include. b=272151
2004-12-07 02:49:12 +00:00
shaver%mozilla.org
c5b21b0df3
Bug 267352: make sure frame construction events are flushed before starting
...
to print, to fix regression (form inputs print blank) from 228557. r=darin,
sr=jst, a=roc.
2004-11-17 16:38:01 +00:00
neil%parkwaycc.co.uk
869014801a
Bug 267302 Views should be created by the view manager r+sr=roc
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
5522863148
"Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
...
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2004-10-24 18:34:50 +00:00
bryner%brianryner.com
4de1e631ea
deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc.
2004-09-02 03:08:51 +00:00
neil%parkwaycc.co.uk
61bde17c6e
Bug 255929 Can't drag scrollbar in Print Preview r+sr=roc
2004-08-18 19:17:13 +00:00
bryner%brianryner.com
18fa617572
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
cc807b07b1
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
88f80381e3
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
2004-07-29 19:41:39 +00:00
jst%mozilla.jstenback.com
693923a31f
Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
2004-07-16 17:03:10 +00:00
bzbarsky%mit.edu
3cf776f03e
Fix preshints in anonymous content some more (by moving all document sheet
...
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels). Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
roc+%cs.cmu.edu
52092297fe
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
neil%parkwaycc.co.uk
a34c4349b6
Bug 245641 Make scrollbars draggable in print preview again r/sr=jst
2004-06-16 08:11:30 +00:00
neil%parkwaycc.co.uk
a4c3a9de51
Bug 245024 Fix crash in print preview by blocking click events r/sr=jst
2004-06-04 22:06:05 +00:00
roc+%cs.cmu.edu
f1f89a9129
Backing out 233441.
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
e508d2a0ad
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
2004-05-06 03:17:14 +00:00
bryner%brianryner.com
f9f55ca33e
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com
ca74706604
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
2004-04-29 23:34:19 +00:00
gerv%gerv.net
692411203a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
745944525d
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
jst%mozilla.jstenback.com
09b4fb5ea6
Checking in for roland.mainz@nrubsig.org, bug 234982. Making print errors always be reported to the user. r+sr=roc@ocallahan.org
2004-02-20 20:59:55 +00:00
tor%cs.brown.edu
e4f437d0e6
Bug 234752 - Print code returns NS_OK in cases where it should return
...
an error. Patch by roland.mainz@nrubsig.org , r+sr=roc.
2004-02-19 21:58:40 +00:00
jst%mozilla.jstenback.com
8b6dc1c3ca
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
bryner%brianryner.com
d4f13c3ba7
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
2004-02-05 01:57:10 +00:00
dbaron%dbaron.org
2940eb1647
Make debugging code compile on gcc. Fix warnings. b=232711 r+sr=bryner
2004-02-02 22:42:29 +00:00
bryner%brianryner.com
05a0e4f624
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
hpradhan%hotpop.com
75bee2c1db
bug 232731 : misc cleanup in printing code
2004-02-01 12:10:57 +00:00
jst%mozilla.jstenback.com
1804c4910c
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
hpradhan%hotpop.com
08548ef3b2
bug 232035 : fix leak and cleanup some stuff in printing code r=dbaron sr=jst
2004-01-28 11:17:14 +00:00
hpradhan%hotpop.com
502d3e6a09
bug 231233 : nsPrintData.h cleanup r+sr=jst
2004-01-24 07:23:56 +00:00
bryner%brianryner.com
290494e26b
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
b73f7d8861
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
roc+%cs.cmu.edu
4ce233447a
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com
4ab234b8be
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
632559f54a
Fix printing crash regression (bug 230516). r=bzbarsky, sr=dbaron
2004-01-09 22:54:09 +00:00
roc+%cs.cmu.edu
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
83f9b1e537
Additional cleanup related to bug 64116. r=bzbarsky.
2004-01-08 19:23:12 +00:00
dbaron%dbaron.org
07c8d2aef6
Fix backwards captions on print error dialogs (printing vs. print preview). b=230342 Patch from Isaac Hwak Han <isaachh@mailc.net>. r+sr=dbaron
2004-01-08 01:24:09 +00:00
bryner%brianryner.com
9c81944cb6
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
bryner%brianryner.com
73561d1e28
Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky.
2003-12-26 04:24:11 +00:00
bryner%brianryner.com
5aeafaa8a6
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
7264501b7b
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com
6380d7fd12
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
a0e219b348
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
8aa7b563d2
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
mkaply%us.ibm.com
23092c5ec4
Bug #212821
...
r=mkaply, sr=roc, a=mkaply
Allows show all pages in print preview
2003-09-05 20:09:25 +00:00
roc+%cs.cmu.edu
50878e792b
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +00:00
timeless%mozdev.org
42d179412d
Bug 213461 Want a way to specify single-sided or double-sided printing
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner
2003-08-01 01:56:15 +00:00
bzbarsky%mit.edu
0a144d33f1
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
2003-07-28 21:09:56 +00:00
jaggernaut%netscape.com
024a2adbb2
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
dbaron%dbaron.org
42b06cc4f5
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
caillon%returnzero.com
ba75de772b
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
1decc3f74c
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
bzbarsky%mit.edu
1e45eadc55
Make some static data const in content. Bug 204532, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
cbiesinger%web.de
1bdbf1e104
191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two
2003-04-17 20:17:01 +00:00
bryner%netscape.com
4d3b825ffa
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
heikki%netscape.com
ab50b51081
Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
2003-04-03 18:57:33 +00:00
seawood%netscape.com
de59dbee4b
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
jst%netscape.com
14882c9d0c
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
aaronl%netscape.com
c616086a0c
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
peterv%netscape.com
b3d575fd9b
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
roc+%cs.cmu.edu
77e5c960ef
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
2003-02-23 02:49:22 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
d87fde2b51
Re-enable print preview gui stuff (which was mostly off) on GTK and Xlib
...
ports. Bug 187125, patch by Roland.Mainz@informatik.med.uni-giessen.de (Roland
Mainz), r=smontagu, sr=rbs
2003-01-10 00:53:28 +00:00
smontagu%netscape.com
867f4b6534
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
329252c847
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
eef263b19e
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
caillon%returnzero.com
d84dcb7bfa
182702: Convert printing code to use nsIPrefBranch and nsIPrefService
...
r=rods sr=roc+moz
2002-12-04 02:03:17 +00:00
peterv%netscape.com
23b10864c8
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
rods%netscape.com
b5e31d9566
Instead of at the end of of the PO it needs to be in the middel of reflow
...
where we bail out earlier, basically same fix different location
Bug 149710 r=dcone sr=jst
2002-11-22 13:06:58 +00:00
rods%netscape.com
63bf52851b
The search for the selected frames was not looking in all the child lisst for each frame
...
Bug 181228 r=dcone sr=jst
2002-11-22 13:02:05 +00:00
timeless%mozdev.org
7875f468ed
Bug 58221 don't use strlen to check if a string is of length 0
...
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
rods%netscape.com
80c45b5574
change STF threshold to 60%
...
Bug 175316 r=dcone sr=alecf a=dbaron
2002-10-24 09:31:52 +00:00
rods%netscape.com
b22c2c60f5
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
seawood%netscape.com
4351b67848
Fixing static build bustage caused by checkin for bug 158110.
2002-10-04 00:27:14 +00:00
rods%netscape.com
0231efac68
Removing unwanted part of patch
2002-10-03 11:28:48 +00:00
rods%netscape.com
df510b6c24
Impl print preview for mail and addrbook
...
Bug 158110 r=bienvenu sr=sspitzer
2002-10-03 10:48:59 +00:00
rods%netscape.com
d5b52a8c82
This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
...
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin
2002-09-26 11:25:04 +00:00
rods%netscape.com
84a1fbb462
Change STF to use an unconstrainad reflow instead of searching for the widest frame
...
Bug 168961 r=dcone sr=kin
2002-09-19 21:45:07 +00:00
rods%netscape.com
119c100475
IFrames need their own calculation for placement, different from Frameset frames
...
Bug 167775 r=dcone sr=kin
2002-09-12 13:20:38 +00:00
rods%netscape.com
49064768f2
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
c5e8f896cd
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
dougt%netscape.com
d94b37c68a
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 05:38:16 +00:00
dougt%netscape.com
c1b9f8114d
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
df5117a6a4
Checked in from wrong tree.
2002-09-03 23:25:17 +00:00