bryner@brianryner.com
a90ec6ff21
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.
2004-01-07 22:30:53 +00:00
dbaron@dbaron.org
704c9a8d70
Fix leaks of mCurrentEventContent. A few other little pieces of cleanup. b=230270 r+sr=bryner
2004-01-07 22:18:37 +00:00
alecf@flett.org
9398bf817c
fix for bug 209679 - remove reflow observer junk - r/sr=dbaron
2004-01-07 17:47:25 +00:00
bryner@brianryner.com
01533e488c
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner@brianryner.com
640685cbe9
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.
2003-12-21 05:36:36 +00:00
neil@parkwaycc.co.uk
19c5df32fa
Bug 225885 nsPresShell::DoCopy does not work for embedding p=marco@gnome.org r=bz sr=bryner a=dbaron
2003-11-26 10:23:03 +00:00
jst@mozilla.jstenback.com
d47517f6dc
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.
2003-11-19 01:20:56 +00:00
uid502
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner@brianryner.com
1f9609e30b
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.
2003-10-22 06:09:48 +00:00
bzbarsky@mit.edu
f0b6893e06
Add pref for the default :active styling. Bug 142163, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
dbaron@dbaron.org
efcb8ebd99
Remove reflow callbacks from the list as they are processed, to avoid crashes when reentering HandlePostedReflowCallbacks. b=220126 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=roc
2003-10-14 23:29:07 +00:00
dbaron@dbaron.org
9446ce805f
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
bzbarsky@mit.edu
7c5555d9d6
Make sure to notify document observers even about content that gets added to
...
the document before StartLayout(). Block those notifications from getting
passed on to the frame constructor before StartLayout(), though. Bug 220930,
r=peterv, sr=jst
2003-10-11 00:27:45 +00:00
bzbarsky@mit.edu
f0c98edf54
Don't scroll anchors entirely out of view when we click on them. Bug 195905,
...
r+sr=dbaron
2003-10-10 02:35:05 +00:00
bzbarsky@mit.edu
1e56927f9d
Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
2003-10-06 13:24:55 +00:00
darin@meer.net
a49e0e55cd
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
bzbarsky@mit.edu
9b4a152c55
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
bzbarsky@mit.edu
4a9d98b6f4
Make userContent.css come after the prefs sheet in the user sheet list (so that
...
rules in userContent.css can override prefs). Bug 215668, r+sr=dbaron
2003-09-24 19:03:06 +00:00
uid502
91e7029c77
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
mkaply@us.ibm.com
2a83d4c82f
#210269
...
r=dbaron, sr=dbaron
Checkin for roc - bandaid fix for nsXULElement pageload crash
2003-09-14 12:07:11 +00:00
bryner@brianryner.com
4475fee458
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 22:37:27 +00:00
bryner@brianryner.com
7453b237e8
Stopping event propagation in the default event group should not stop it for the system event group. Bug 216237, r=caillon, sr=jst, a=mkaply.
2003-08-15 21:35:13 +00:00
bzbarsky@mit.edu
634c6e9bdc
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
jaggernaut@netscape.com
ee1d5a8446
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
aaronl@netscape.com
efd633a3f1
Bug 192729. Tabs that are still loading or have error block all keyboard shortcuts. r=bryner, sr=roc+moz
2003-07-24 08:48:59 +00:00
caillon@returnzero.com
6918aba572
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
bzbarsky@mit.edu
653ef468ea
Remove redundant #include.
2003-07-12 18:10:51 +00:00
dbaron@dbaron.org
e498864545
Add inline accessors for frame manager. b=208190 r+sr=roc
2003-07-12 00:48:16 +00:00
dbaron@dbaron.org
660339f971
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
bzbarsky@mit.edu
cd6e02fda7
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bzbarsky@mit.edu
cfe82976bb
Don't bother reresolving style when empty stylesheets get added (eg from empty
...
<style> elements). Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected. Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
roc+@cs.cmu.edu
acbd7967d4
Ongoing deCOMtamination. r+sr=dbaron
2003-06-30 10:46:59 +00:00
jkeiser@netscape.com
ee2a67dca3
Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-06-26 06:10:03 +00:00
rbs@maths.uq.edu.au
261c9a73d1
Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky
2003-06-25 01:14:25 +00:00
jst@netscape.com
b52c8fe710
Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
2003-06-24 01:46:50 +00:00
dbaron@dbaron.org
0ab6cd90ac
Fixing DEBUG-only bustage.
2003-06-20 01:05:04 +00:00
dbaron@dbaron.org
5755dea24a
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
dbaron@dbaron.org
384f320c3a
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
dbaron@dbaron.org
6d4c063340
Begin deCOMtamination of central objects by adding inline getters to get from one object to another. b=208190 r=roc sr=bzbarsky
2003-06-19 18:16:53 +00:00
bryner@netscape.com
f665fdef8e
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
2003-06-18 22:58:51 +00:00
dbaron@dbaron.org
99d81c4dbc
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +00:00
aaronl@netscape.com
5a602642aa
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
caillon@returnzero.com
c8a200d763
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
2003-06-13 20:10:01 +00:00
bryner@netscape.com
e75177e0b7
Comment-only fix.
2003-06-10 22:17:58 +00:00
timeless@mozdev.org
d6694848d3
Bug 205017 Uninitialized variables in layout/html/base/src/nsPresShell.cpp
...
r=dbaron sr=dbaron
2003-05-30 19:47:39 +00:00
jaggernaut@netscape.com
0a22e59792
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
2003-05-30 00:21:01 +00:00
bzbarsky@mit.edu
6105820b98
Make some static data const in layout. Bug 204073, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:52:33 +00:00
dwitte@stanford.edu
0be0aa3679
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dbaron@dbaron.org
f98e358469
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
2003-05-15 03:42:21 +00:00
bryner@netscape.com
be52ecc97d
Fixes for a number of focus problems:
...
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)
Summary of the changes:
- Don't require a frame to be present for focus events. This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent. We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().
r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00