124 Commits

Author SHA1 Message Date
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
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
masayuki%d-toybox.com
a66141bcf0 Oops, currently the Tree is closed, backing out previous check-in. b=317289
git-svn-id: svn://10.0.0.236/trunk@185365 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 05:50:24 +00:00
masayuki%d-toybox.com
2735678944 Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185363 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 05:40:36 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
roc+%cs.cmu.edu
af86f4514e Bug 303023. Fix printing of SVG EMBED elements. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185237 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 00:48:40 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
peterv%propagandism.org
5b98a9db45 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.
git-svn-id: svn://10.0.0.236/trunk@180960 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 14:37:29 +00:00
roc+%cs.cmu.edu
0d3ee201f7 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.
git-svn-id: svn://10.0.0.236/trunk@179368 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 02:16:03 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
cbiesinger%web.de
c41020b640 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177690 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:54:22 +00:00
masayuki%d-toybox.com
466ddd8397 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
git-svn-id: svn://10.0.0.236/trunk@176315 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 08:45:22 +00:00
bzbarsky%mit.edu
ff64093fb0 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


git-svn-id: svn://10.0.0.236/trunk@176037 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 19:10:00 +00:00
roc+%cs.cmu.edu
2545d04c64 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
git-svn-id: svn://10.0.0.236/trunk@175077 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 02:10:58 +00:00
bryner%brianryner.com
189a661d09 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.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
roc+%cs.cmu.edu
26e313756f 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
git-svn-id: svn://10.0.0.236/trunk@172723 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 03:17:07 +00:00
bzbarsky%mit.edu
f4e82c94ed Don't show username/password in the URI we print. Bug 186695, r=jst, sr=darin
git-svn-id: svn://10.0.0.236/trunk@170875 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 04:16:02 +00:00
neil%parkwaycc.co.uk
e717d9b1f9 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
dbaron%dbaron.org
bdd42a3253 Restore old code that prevents printing or previewing XUL documents, since it still doesn't work. b=240490 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167026 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-24 22:27:57 +00:00
ginn.chen%sun.com
dc74f856e5 Bug 274685 [print]Mozilla can't print frame correctly
patch=leon.sha@sun.com r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@166942 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-22 03:26:29 +00:00
smontagu%smontagu.org
77f5010ba5 Fix a crash in printing pages with non-visible elements. Bug 275262, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@166913 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-21 11:51:13 +00:00
dbaron%dbaron.org
13decbac15 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166823 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:40:48 +00:00
dbaron%dbaron.org
38047e5d76 Remove unneeded include. b=272151
git-svn-id: svn://10.0.0.236/trunk@166372 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 02:49:12 +00:00
shaver%mozilla.org
54dfbc3fbd 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.


git-svn-id: svn://10.0.0.236/trunk@165424 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-17 16:38:01 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
c349fca2eb "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@164294 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 18:34:50 +00:00
bryner%brianryner.com
ae9e02402a 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.
git-svn-id: svn://10.0.0.236/trunk@161637 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 03:08:51 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
bzbarsky%mit.edu
1b04542f5d 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


git-svn-id: svn://10.0.0.236/trunk@159283 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:30:30 +00:00