Commit Graph

751 Commits

Author SHA1 Message Date
bryner@brianryner.com
15745b0b06 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron@dbaron.org
08d6baff75 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
dbaron@dbaron.org
c7c8c95397 Reframe all image box frames on theme change, as a workaround for chrome: URL comparison mess. b=252703 r+sr=bzbarsky 2004-07-27 23:31:08 +00:00
roc+@cs.cmu.edu
ee26481321 Bug 217120. Make the scroll position restoration logic in nsPresShell actually use the right scroll and scrollbox frames. r+sr=dbaron 2004-07-27 18:16:10 +00:00
cbiesinger@web.de
dbeac20231 Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
roc+@cs.cmu.edu
038bba5645 Bug 217120. Always make an attempt to scroll to history position after restoring scroll position in EndLoad, just in case no reflows happen again. r+sr=dbaron 2004-07-23 21:39:47 +00:00
cbiesinger@web.de
0ebb036f79 Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc
2004-07-21 20:18:39 +00:00
dbaron@dbaron.org
e62c79d3f8 Add null-check. b=226791 r+sr=bryner 2004-07-18 21:55:24 +00:00
dbaron@dbaron.org
0314b10a83 Restore ReResolveMenusAndTrees code, which is needed for theme switching. b=226791 r+sr=bzbarsky 2004-07-18 01:16:27 +00:00
aaronleventhal@moonset.net
2664407e1c Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal@moonset.net
4626431d47 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
aaronleventhal@moonset.net
d511850eee Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
dbaron@dbaron.org
9dea7c93d2 Null check mViewManager. b=248343 r+sr=roc 2004-06-24 21:56:29 +00:00
dbaron@dbaron.org
66ccd22431 Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc 2004-06-22 04:32:52 +00:00
cbiesinger@web.de
3c29a17f41 bug 227313 patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net> r+sr=roc
remove unused code related to PresShell::ScrollFrameIntoView(nsIFrame*)
2004-06-18 14:54:56 +00:00
roc+@cs.cmu.edu
d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger@web.de
2db935464b bug 196380
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz
2004-06-05 17:57:00 +00:00
bzbarsky@mit.edu
c4c22ab2fb When scrolling to form controls on focus, make sure to flush out pending
reflows first.  Bug 245133, r+sr=jst
2004-05-31 20:56:55 +00:00
bzbarsky@mit.edu
7ba303cfc0 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
bzbarsky@mit.edu
d798469240 Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc
2004-05-18 01:13:45 +00:00
roc+@cs.cmu.edu
0c0dd832f5 Backing out 233441. 2004-05-17 16:29:13 +00:00
roc+@cs.cmu.edu
87f4283bc1 Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bzbarsky@mit.edu
6a8dda5314 Make sure to not finish the reflow command hash till we've cancelled all
commands on shutdown.  Bug 242602, r+sr=dbaron
2004-05-04 21:59:56 +00:00
aaronleventhal@moonset.net
11451c819d Use win32 window class name corresponding to UI/content/general/hidden. r=ere, sr=roc 2004-05-04 12:39:42 +00:00
bryner@brianryner.com
d509d3c6ba deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
bzbarsky@mit.edu
ec9897b705 Minor tweak to hashkey calculation. Bug 240934. 2004-05-02 19:56:06 +00:00
bzbarsky@mit.edu
aca3eb3fe8 Switch AlreadyInQueue to use a hashtable (which is maintained sorta in parallel
with the reflow command list) instead of walking the array each time.  Bug
240934, r=roc, sr=brendan
2004-05-02 18:07:12 +00:00
roc+@cs.cmu.edu
9e89288e76 Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron 2004-04-30 13:23:43 +00:00
jst@mozilla.jstenback.com
91aa65c204 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
roc+@cs.cmu.edu
521d9eb8e9 Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it. 2004-04-28 17:48:02 +00:00
dbaron@dbaron.org
439b9d3b7e Fix leak of content on all key and IME events. b=241591 r+sr=bryner 2004-04-26 23:19:50 +00:00
tor@cs.brown.edu
4b2931240a Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv@gerv.net
a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor@cs.brown.edu
02dfd13b0b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
roc+@cs.cmu.edu
baa4ef5b9f Fix a few warnings. Patch by gautheri, r+sr=roc 2004-04-13 03:13:46 +00:00
bryner@brianryner.com
5ddc9f91a1 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
bzbarsky@mit.edu
709b2596e8 Make sure to null out mStyleSet if Init() fails, since the caller will delete
it in that case.  Bug 240240, r+sr=bryner
2004-04-13 00:27:29 +00:00
sicking@bigfoot.com
04bff86218 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron@dbaron.org
f81eb789f3 Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861 2004-04-12 21:53:22 +00:00
bryner@brianryner.com
4428ac8deb Fix following an image map link by pressing enter. Bug 214373, r+sr=jst, a=asa. 2004-03-22 18:13:11 +00:00
roc+@cs.cmu.edu
bfa2b2d5c6 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
roc+@cs.cmu.edu
9fcd1843dc Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner 2004-03-06 04:46:11 +00:00
bryner@brianryner.com
08d2e8fc4c inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
bryner@brianryner.com
f485f95ee8 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bryner@brianryner.com
9eda708f2b Try to fix some crashes from calling PresShell methods after Destroy() has called. Bug 235395, r+sr=roc. 2004-02-25 09:10:06 +00:00
bryner@brianryner.com
180d96f792 Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
dbaron@dbaron.org
f4264ddfc8 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 2004-02-20 21:38:31 +00:00
bryner@brianryner.com
9a3c56b36f Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
neil@parkwaycc.co.uk
3a41c548d0 checked in wrong file, sorry 2004-02-19 13:23:46 +00:00
neil@parkwaycc.co.uk
6820fa57b7 (on bsmedberg's advice) third time lucky? 2004-02-19 13:20:57 +00:00