mrbkap%gmail.com
f2a41c3d89
Present a non-scriptable api so that C++ callers can get at the tooltip and popup nodes without going through security checks. bug 319434, r=jst sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189038 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 20:19:45 +00:00
vladimir%pobox.com
5031b1dafb
b=203183, context menu stays when clicking other menus, r+sr=roc,a=schrep
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181165 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 18:49:14 +00:00
aaronleventhal%moonset.net
49ba9d91a8
Bug 303404. Crash when hitting escape in context menu for a menu item. r=dbaron, sr=neil, a=cbeard
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177961 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 17:18:25 +00:00
neil%parkwaycc.co.uk
37308a49be
Fix JS exception when menulist has no menuitems b=302120 r=bz sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@177364 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 20:59:16 +00:00
joshmoz%gmail.com
7a6160bbf6
remove unnecessary warning that shows up a lot in mac logs. b=303128 sr=smfr a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@177012 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:22:45 +00:00
neil%parkwaycc.co.uk
0d7764c68d
Wallpaper for bug 294183 just to reduce the crashing r+sr=bz a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176960 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 12:00:22 +00:00
bzbarsky%mit.edu
c5f2e82ac8
Allow menus to abut the left and top edges of the screen. Bug 176767, patch by
...
Martijn Wargers <martijn.martijn@gmail.com >, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@174361 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 15:35:31 +00:00
roc+%cs.cmu.edu
c8abbee51b
Bug 290793. Make nsMenuPopupFrame find its scrollable view properly. r+sr=bzbarsky,a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@174044 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 08:50:52 +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
d4f5aeeaf7
Bug 291390. Don't do hairy view calculations in menu popups ... do it the simple way which seems to actually work. In particular we should take all scroll offsets into account. r+sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172754 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 21:47:29 +00:00
roc+%cs.cmu.edu
bf84648546
Bug 256505. Menu positioning must take into account view-to-widget offset. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171773 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 03:33:18 +00:00
roc+%cs.cmu.edu
3b6fa5f822
Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171281 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 21:08:22 +00:00
bzbarsky%mit.edu
ce5f5c101d
Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
...
presshell args from most frame constructor methods; use the state for the
former and the member for the latter. Bug 281957, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
ef11e761d7
If a popup is too big to fit in the space we have for it vertically, resize it
...
to fit. Bug 245163, r+sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@169248 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 15:21:20 +00:00
bzbarsky%mit.edu
7e4fe60f96
This wasn't supposed to go in either.
...
git-svn-id: svn://10.0.0.236/trunk@168308 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 19:05:41 +00:00
bzbarsky%mit.edu
105a9bdf56
This part wasn't supposed to go in.
...
git-svn-id: svn://10.0.0.236/trunk@168307 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 19:03:52 +00:00
bzbarsky%mit.edu
d7c54cb176
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@168305 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 18:18:34 +00:00
neil%parkwaycc.co.uk
c33a7bb63f
Bug 271945 Crash when a popup's parent isn't a menu or popup set r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@168304 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 17:50:00 +00:00
neil%parkwaycc.co.uk
b6cfbdda85
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
bmlk%gmx.de
e547c59f49
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
neil%parkwaycc.co.uk
df2668e776
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
067c70d127
Add methods to get screen coordinates of frames and views. Bug 268576,
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165642 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:26:19 +00:00
neil%parkwaycc.co.uk
e3f594fd69
Fix crash caused by destroying active popup menu b=266822 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@164911 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 14:11:06 +00:00
bryner%brianryner.com
d80f327086
Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@162876 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:37:50 +00:00
aaronleventhal%moonset.net
be3bc8cf53
Bug 166004. Need to fire accessible focus event on new menuitem when using left arrow to leave submenu and go back into parent menu. r=kyle, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@162623 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 20:45:12 +00:00
neil%parkwaycc.co.uk
7903ea1651
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +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
2dbfb983b1
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +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
bryner%brianryner.com
2a1c8d3594
deCOMtaminate nsBoxLayoutState. Bug 247766, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@158283 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 02:55:04 +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
aaronleventhal%moonset.net
c7ce2f4da0
Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@156625 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 03:14:41 +00:00
bzbarsky%mit.edu
e26ec45382
Remove nsIViewManager::GetWidgetForView; move callers over to
...
nsIView::GetNearestWidget. Part of bug 243723, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@156491 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 01:13:45 +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
roc+%cs.cmu.edu
1f5258aa4a
Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@155749 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 13:23:43 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30: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
bryner%brianryner.com
7ace3321e6
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +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
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
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
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
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
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
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