521 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
bryner%brianryner.com
62dee43850 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +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
roc+%cs.cmu.edu
1b122ed826 Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position.
git-svn-id: svn://10.0.0.236/trunk@153080 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-22 03:31:30 +00:00
dbaron%dbaron.org
e5ad15e520 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
bryner%brianryner.com
3191a1feaa Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
dbaron%dbaron.org
6dd1e040bf Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152945 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:04:15 +00:00
dbaron%dbaron.org
f19ef7abab Get rid of empty damage rect warning; better to check at callee than caller. Add const to fix DEBUG-only warnings about string constants being used as non-const. b=233292 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@152438 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 23:11:46 +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
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
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
bmlk%gmx.de
478029c599 show reflow targets in reflow logs bug 218961 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@150561 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-20 12:04:31 +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
dbaron%dbaron.org
c53d72392a Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@149126 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-10 23:36:06 +00:00
peter%propagandism.org
e6ae01a399 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +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
uid502
f97b0819f2 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:38:37 +00:00
uid502
6b34cca104 Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +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
dbaron%dbaron.org
544bc7f7d6 My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@147095 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 21:31:18 +00:00
bmlk%gmx.de
ef668f8320 overflow area implementation for table frames (infrastructure), bug 173277 r=jkeiser sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@146837 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:21:41 +00:00
caillon%returnzero.com
c8612ff038 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
brade%netscape.com
a6ecc06d75 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
git-svn-id: svn://10.0.0.236/trunk@145030 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 19:51:34 +00:00
dbaron%dbaron.org
71158040f7 Clean up GetView and SetView. b=208190 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@144765 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 00:50:00 +00:00
smontagu%netscape.com
4f2db22a33 Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144756 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:34:42 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
bd259bdc4d ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144244 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-28 11:48:14 +00:00
roc+%cs.cmu.edu
62382bd5e2 ongoing deCOMtamination work. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144220 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 18:13:48 +00:00
roc+%cs.cmu.edu
59de96e2fe Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144164 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 22:55:27 +00:00
bsmedberg%covad.net
03384bfad0 Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
git-svn-id: svn://10.0.0.236/trunk@144063 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu
d65e3c6fd3 Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout
git-svn-id: svn://10.0.0.236/trunk@144029 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu
5784a81ebc Bug 190735. DeCOMtaminating nsIFrame and removing aPresContext parameters, in particular, the methods GetParent, GetContent, GetRect, GetOrigin, GetSize, SetRect, MoveTo, SizeTo, GetNextSibling, GetFrameState, SetFrameState, GetView, GetViewExternal, SetView, GetClosestView, GetParentWithView, AreAncestorViewsVisible, and GetWindow. For now we have compatibility wrappers, but soon we'll go through and change all the clients to use the new functions. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144027 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 17:06:05 +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
bryner%netscape.com
112e4e9f44 Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00
kaie%netscape.com
27d6f745ef b=202046 Empty (inline) elements cause caret movement to fail
r=smontagu sr=kin/brendan


git-svn-id: svn://10.0.0.236/trunk@143825 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 23:41:21 +00:00
dbaron%dbaron.org
b89215194d Slight correction to previous patch. b=209359
git-svn-id: svn://10.0.0.236/trunk@143721 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 01:24:03 +00:00
dbaron%dbaron.org
994b83f818 Fix wrong parent style context warnings (and incorrect reresolution) with HRs or other leaf frames with :before or :after generated content. Move some code back together that was separated. Also fix case of float whose placeholder is the child of a block within an inline. b=209359 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143720 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 00:55:00 +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
dbaron%dbaron.org
ae3f13f00e Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143158 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-01 20:18:53 +00:00
bmlk%gmx.de
b9f1fd315b infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143137 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 10:32:19 +00:00
dbaron%dbaron.org
69da9d4a19 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
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
aaronl%netscape.com
947985ab30 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@141171 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 08:45:55 +00:00
kin%netscape.com
811daa38c7 Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
subtrees


mozilla/layout/html/base/src/nsFrame.cpp

  - Added utility method ContentContainsPoint()
  - Modified HandlePress() to allow selection of images, hrs and
    -moz-user-select:all subtrees, and then disable selection
    processing of drag events.


mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp

    - Modified InsertFromDrop() so that it prevents a drop from
      happening in a -moz-user-select:all subtree. (Temporary
      workaround to avoid bug 195957 and bug 195959)

r=mjudge@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@140805 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 14:28:51 +00:00
bmlk%gmx.de
ee6bc129df display overflow information in debug reflow bug 200881 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140763 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 08:36:19 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
aaronl%netscape.com
affc2f4d4e Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140501 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 20:02:51 +00:00
dbaron%dbaron.org
534c5ba47d Prevent display-reflow debugging code from cluttering up the leak stats by freeing objects on module shutdown. b=198676 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140064 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 15:09:17 +00:00
roc+%cs.cmu.edu
ad79d0e7da 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
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00