roc+%cs.cmu.edu
0456e20a91
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152067 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 03:20:41 +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
bsmedberg%covad.net
824286124d
Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@151994 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:45:17 +00:00
dbaron%dbaron.org
8eddaadb96
Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@151970 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:04:33 +00:00
bryner%brianryner.com
e46f7c8143
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
caillon%returnzero.com
e26d1a9ead
- If the mouse moves while the scrollbar thumb is incrementing toward it (after a click and hold), update the destination point so it doesn't go past the mouse if it moves closer, and chases the mouse if it moves further away (bug 153946).
...
- Cache the scrollbar prefs so they aren't constantly looked up.
- Minor cleanup.
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@151890 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 05:19:57 +00:00
jst%mozilla.jstenback.com
12ed685455
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk
880a098fe5
Commenting on change in bug 219908 patch is in original bug 217089 p=gautheri@noos.fr r=bryner sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@151693 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 16:14:35 +00:00
bryner%brianryner.com
2dce372072
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151662 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 23:05:10 +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
peterv%propagandism.org
ec0b3d579c
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151491 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:22:22 +00:00
bryner%brianryner.com
dae458dd06
fix content area not redrawing when resizing the window on Mac. bug 222300, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151235 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 00:27:45 +00:00
bryner%brianryner.com
3d8a7179f8
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +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
mkaply%us.ibm.com
540b50bc83
#66834
...
r=mkaply, sr=blizzard (platform specific), a=mkaply
Lost OS/2 only #ifdef change from pedemonte to make us like Windows
git-svn-id: svn://10.0.0.236/trunk@151091 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 19:35:39 +00:00
roc+%cs.cmu.edu
eb3b274cc7
Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@151090 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 19:28:06 +00:00
roc+%cs.cmu.edu
2c7cf5d827
Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@151089 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 19:21:20 +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
bzbarsky%mit.edu
d3e33b0653
Setting .src should reset image animations; don't animate images no one is
...
looking at. Bug 210001, r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@151035 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 18:29:28 +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
timeless%mozdev.org
8ae5584ef1
Bug 229730 change NS_IF_ADDREF to NS_ADDREF in nsNativeScrollbarFrame::FindScrollbar
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@150800 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-31 04:16:23 +00:00
timeless%mozdev.org
6c6d3b946d
Bug 226141 DRefTool analysis for tree files
...
r=varga sr=roc
git-svn-id: svn://10.0.0.236/trunk@150714 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 18:06:20 +00:00
scott%scott-macgregor.org
c7935946e6
Bug #229112 --> Unable to bring up a compose window in debug builds
...
r/sr=bryner
git-svn-id: svn://10.0.0.236/trunk@150612 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 21:42:55 +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
timeless%mozdev.org
2f40626294
Bug 224723 NS_ASSERTION(boxObject, "no box object!"); timer fired after tree was destroyed
...
r=varga sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@150596 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 04:27:50 +00:00
timeless%mozdev.org
6df41f3f4c
Bug 226232 DRefTool analysis for xul files
...
r=roc sr=roc
git-svn-id: svn://10.0.0.236/trunk@150580 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 04:04:05 +00:00
neil%parkwaycc.co.uk
d3f522edfa
Bug 142459 Shift+click on scroll bar should jump to that location r=varga sr=bryner a=asa
...
git-svn-id: svn://10.0.0.236/trunk@149696 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 23:52:49 +00:00
neil%parkwaycc.co.uk
83b957e4ae
Bug 225431 context submenus do not reappear if context menu is dismissed (e.g. by alt key) r=dbaron sr=bz a=asa
...
git-svn-id: svn://10.0.0.236/trunk@149635 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-22 23:35:52 +00:00
jst%mozilla.jstenback.com
e10896ac44
Removing unused variables that I left lying around with my nsIContent::GetTag() deCOMtamination changes.
...
git-svn-id: svn://10.0.0.236/trunk@149576 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-20 03:56:40 +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
sicking%bigfoot.com
2a8221f557
Bug 223012: Make xul fully case sensitive.
...
r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@149500 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 18:20:03 +00:00
bzbarsky%mit.edu
194ad1b078
Fix up more XUL GetFrameForPoint impls to correctly handle paint layers. Bug
...
225732, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@149335 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 00:47:43 +00:00
bzbarsky%mit.edu
fdf8127d9d
BoxFrame should only be the point target in the background layer, and should
...
propagate background layer point requests to kids. Bug 224013, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@149233 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 04:13:12 +00:00
bryner%brianryner.com
2097395338
Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148857 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 05:17:07 +00:00
brendan%mozilla.org
fa2d921b3b
Patch from Neil Deakin <enndeakin@sympatico.ca> to fix overlong button underlines (214956, r+sr=dbaron).
...
git-svn-id: svn://10.0.0.236/trunk@148850 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 00:05:10 +00:00
varga%nixcorp.com
b14757b0a9
Fix for bug 223530. null pointer dereference in nsTreeContentView.cpp [@ nsTreeContentView::ContentRemoved ]
...
r=me sr=bz patch by Nate Nielsen <nielsen@memberwebs.com>
git-svn-id: svn://10.0.0.236/trunk@148782 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 19:11:50 +00:00
uid502
bdc0f5a1e4
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@148696 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 22:34:59 +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
timeless%mozdev.org
b18f127cb7
Bug 223697 nsMenuPopupFrame.cpp:1142:9: warning: multi-line comment
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@148506 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:09:52 +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
varga%nixcorp.com
4743f00758
Changing my email address.
...
git-svn-id: svn://10.0.0.236/trunk@148204 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 15:35:57 +00:00
neil%parkwaycc.co.uk
9e7d84a57a
Bug 195744 Fire command event after dragging or collapsing a splitter r=varga sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@148198 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 11:43:40 +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
dbaron%dbaron.org
09fb6e829c
Remove discontinuity at height of 0. b=220266 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147519 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 22:25:28 +00:00
bzbarsky%mit.edu
62c2420626
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org
37de3855c7
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +00:00
bryner%brianryner.com
4995514c49
Updating my email address
...
git-svn-id: svn://10.0.0.236/trunk@147418 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 06:04:02 +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
timeless%mozdev.org
2da58a87aa
Bug 220057 Crash using nsBoxObject w/ null mContent
...
r=roc sr=roc
git-svn-id: svn://10.0.0.236/trunk@147208 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 01:47:46 +00:00