183 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
neil%parkwaycc.co.uk
bc6971b8a2 Bug 245024 Fix crash in print preview by blocking click events r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@157414 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-04 22:06:05 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
1eea5c536c Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
jst%mozilla.jstenback.com
97fa60f452 Checking in for roland.mainz@nrubsig.org, bug 234982. Making print errors always be reported to the user. r+sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@153036 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 20:59:55 +00:00
tor%cs.brown.edu
f06b3be285 Bug 234752 - Print code returns NS_OK in cases where it should return
an error.  Patch by roland.mainz@nrubsig.org, r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@152971 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:58:40 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
bryner%brianryner.com
e6a225b469 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152326 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 01:57:10 +00:00
dbaron%dbaron.org
fb65dd6f85 Make debugging code compile on gcc. Fix warnings. b=232711 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@152183 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:42:29 +00:00
bryner%brianryner.com
5b5cd321a4 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.
git-svn-id: svn://10.0.0.236/trunk@152182 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:17:21 +00:00
hpradhan%hotpop.com
d2ecf20783 bug 232731 : misc cleanup in printing code
git-svn-id: svn://10.0.0.236/trunk@152139 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 12:10:57 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
hpradhan%hotpop.com
839ea54af6 bug 232035 : fix leak and cleanup some stuff in printing code r=dbaron sr=jst
git-svn-id: svn://10.0.0.236/trunk@151947 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 11:17:14 +00:00
bryner%brianryner.com
70bf134ff4 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.
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
roc+%cs.cmu.edu
986d8acdaa Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151139 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
69c79cb702 Fix printing crash regression (bug 230516). r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151110 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 22:54:09 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
9dfcd977cb Additional cleanup related to bug 64116. r=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@151039 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 19:23:12 +00:00
dbaron%dbaron.org
c47ca84f57 Fix backwards captions on print error dialogs (printing vs. print preview). b=230342 Patch from Isaac Hwak Han <isaachh@mailc.net>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151006 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 01:24:09 +00:00
bryner%brianryner.com
468d3e2e8d 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.
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
019725339d Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150737 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-26 04:24:11 +00:00
bryner%brianryner.com
4cca78120d deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
b5347dd60c 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.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 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.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
eeddf02bde 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.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
ef67a47aab 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.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
mkaply%us.ibm.com
e1ba2569bf Bug #212821
r=mkaply, sr=roc, a=mkaply
Allows show all pages in print preview


git-svn-id: svn://10.0.0.236/trunk@146579 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-05 20:12:32 +00:00
roc+%cs.cmu.edu
c0bc42c584 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
timeless%mozdev.org
74f314a010 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


git-svn-id: svn://10.0.0.236/trunk@145444 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 01:56:15 +00:00
bzbarsky%mit.edu
0147d8d4a6 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
jaggernaut%netscape.com
40f122a577 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144991 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:40:43 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
caillon%returnzero.com
0a6d1ae509 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


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
jaggernaut%netscape.com
fd04e5bb85 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00