Commit Graph

921 Commits

Author SHA1 Message Date
dbaron%dbaron.org
b575df4492 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
868dd94ecb Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
roc+%cs.cmu.edu
da5fe85b4c Fix a few warnings. Patch by gautheri, r+sr=roc 2004-04-13 03:13:46 +00:00
bryner%brianryner.com
0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
bzbarsky%mit.edu
4b89a4375c 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
386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
fcaa82359f 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
ebb36d077c 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
8397ac8d8f 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
8b6cbebaad Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner 2004-03-06 04:46:11 +00:00
bryner%brianryner.com
ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
bryner%brianryner.com
ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bryner%brianryner.com
184b49fbb4 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
225298a99e 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
5b6ae6e571 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
5f7a8b383e 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
eb9dd86bc5 checked in wrong file, sorry 2004-02-19 13:23:46 +00:00
neil%parkwaycc.co.uk
bf3e577efc (on bsmedberg's advice) third time lucky? 2004-02-19 13:20:57 +00:00
dbaron%dbaron.org
d97dedc812 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
dbaron%dbaron.org
8b7d5f0145 Synthesized mouse moves shouldn't fire DOM mousemove events. b=20022 r=roc sr=bryner 2004-02-06 23:10:32 +00:00
dbaron%dbaron.org
821786cb64 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=roc sr=bryner 2004-02-04 00:11:59 +00:00
danm-moz%comcast.net
a8c0e31042 that doesn't seem to be the problem. restoring over last revision. 2004-02-03 20:07:39 +00:00
danm-moz%comcast.net
4af7136524 disabling last checkin in an attempt to pin down the Tp regression 2004-02-03 17:16:05 +00:00
danm-moz%comcast.net
96fd84fe48 set event being handled in the EventStateManager. bug 197919 r=bryner,jst 2004-02-03 02:23:08 +00:00
bryner%brianryner.com
4f69ec2c2e Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
bryner%brianryner.com
42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
bryner%brianryner.com
08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
dbaron%dbaron.org
1d022f0bcd Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r+sr=jst 2004-01-29 01:45:34 +00:00
bzbarsky%mit.edu
88734d1060 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
bryner%brianryner.com
23ecb8ff4e 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. 2004-01-21 23:05:10 +00:00
bryner%brianryner.com
ef5c330583 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. 2004-01-21 09:35:59 +00:00
dbaron%dbaron.org
0fa1c23cee Process queued-up events after all types of reflow so we don't leak things referenced by the queues. b=231278 r=bzbarsky sr=roc 2004-01-21 04:15:00 +00:00
cbiesinger%web.de
4c4b23d5fe Bug 176637 Custom link colors not rendered correctly
patch by durbacher@gmx.de (Andreas Kunz) r=dbaron sr=bz
2004-01-18 14:44:43 +00:00
bzbarsky%mit.edu
6a1e5b77ff Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron 2004-01-16 03:05:00 +00:00
dbaron%dbaron.org
61d72a988d Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
bryner%brianryner.com
2bddef83ba 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. 2004-01-12 08:25:18 +00:00
dbaron%dbaron.org
1bffaa3cce Ignore incremental reflows targeted inside a reflow root if the reflow root's parent has not yet been reflowed. (This could probably be made more general, but it's enough to fix the bug in question.) b=228156 r=roc sr=bzbarsky 2004-01-10 19:12:23 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com
480c2c6e88 fixing debug bustage 2004-01-08 21:10:33 +00:00
bryner%brianryner.com
16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
dbaron%dbaron.org
b451bb2ef9 Back out some incorrrect changes I just made. b=230270, 230339 r=bryner 2004-01-07 22:38:09 +00:00
bryner%brianryner.com
e65d2d2fe5 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
8f7979ca79 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
5cd7937058 fix for bug 209679 - remove reflow observer junk - r/sr=dbaron 2004-01-07 17:47:25 +00:00
bryner%brianryner.com
d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com
dfe3513814 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
1a56f2a7d1 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
4183787fa9 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
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bryner%brianryner.com
605cc06382 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
7e19a9767b 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
d7a7c453f5 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
3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
bzbarsky%mit.edu
90bce6cd8e 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
2d7f67cb26 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
641223fdd9 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
77642ae698 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
a972a3e501 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
3ebb71a449 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
1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
mkaply%us.ibm.com
640cd0e4e3 #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
9d11b3c424 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
7033b03af5 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
e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
jaggernaut%netscape.com
95899387f6 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
df20768272 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
7495519180 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
f33cafd5a2 Remove redundant #include. 2003-07-12 18:10:51 +00:00
dbaron%dbaron.org
f73d429e36 Add inline accessors for frame manager. b=208190 r+sr=roc 2003-07-12 00:48:16 +00:00
dbaron%dbaron.org
d85698fd40 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
b2ba25b6fd 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
0c5dc097d7 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
5d55c4535e Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
jkeiser%netscape.com
78ba276e17 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
a3601b3e47 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
898a232581 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
b15c56da39 Fixing DEBUG-only bustage. 2003-06-20 01:05:04 +00:00
dbaron%dbaron.org
e1e798d3f8 Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky 2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
4afcaa0e69 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
6851bed075 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
29a5d1102b Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00
dbaron%dbaron.org
fe7914e2c9 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
fccde7c7eb Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
caillon%returnzero.com
2df173e9c8 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
e91426dae0 Comment-only fix. 2003-06-10 22:17:58 +00:00
timeless%mozdev.org
18c28cd6df 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
756d8ef907 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
8b80364217 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
270d3909ca 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
75ff60c62f 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
8dc3ad3076 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
jst%netscape.com
fba31f0405 Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com 2003-05-09 20:42:49 +00:00
bzbarsky%mit.edu
48c50e8f7c Fix scroll state restoration when going back to URL with anchor. Bug 204364,
r=jkeiser, sr=dbaron, a=asa
2003-05-06 05:46:46 +00:00
bzbarsky%mit.edu
04d9b57f42 Make sure to flush reflows before trying to scroll so that frame coordinates
will be up-to-date.  Bug 186149, r=peterv, sr=jst, a=asa
2003-04-26 01:13:28 +00:00
jst%netscape.com
8f24979ea4 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
sfraser%netscape.com
352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
bzbarsky%mit.edu
f09182206c Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
pseudos.  Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions.  Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
bryner%netscape.com
b5af164b7c Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc. 2003-04-21 23:01:36 +00:00
kmcclusk%netscape.com
8dd596f747 Prevent status bar from painting synchronously to prevent flicker. b=129844 r=jkeiser sr=kin 2003-04-16 02:01:12 +00:00
aaronl%netscape.com
83deafd111 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf 2003-04-15 08:45:55 +00:00
bryner%netscape.com
3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
bryner%netscape.com
96f30a0c40 Improve logic for focusing the DOM window on page loads to deal with the
document of a previously focused iframe still being present.  Fixes bug
170811, clicking a link in an iframe which loads in a parent window causes
loss of focus.  r=saari, sr=jst.
2003-04-03 08:14:51 +00:00
heikki%netscape.com
0ee437d7ac Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv. 2003-03-19 23:45:42 +00:00
bryner%netscape.com
f93f9b19d2 Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky. 2003-03-18 23:41:44 +00:00
bzbarsky%mit.edu
fef48cc2d0 Fix a few inefficient callers of getElementsByTagName. Bug 191589,
r=neil@parkwaycc.co.uk, sr=jst
2003-03-15 16:30:09 +00:00
roc+%cs.cmu.edu
210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
aaronl%netscape.com
20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
dbaron%dbaron.org
c3fb353790 Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky 2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
636a18962f Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830 2003-03-06 19:07:22 +00:00
sfraser%netscape.com
511b311820 Fix bug 74404: show caret drag feedback. r=brade, sr=kin 2003-02-27 23:09:51 +00:00
jst%netscape.com
1f6f27bce8 Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com 2003-02-27 01:38:20 +00:00
dbaron%dbaron.org
3f21e0e694 Make CtlStyleWatch |#ifdef MOZ_PERF_METRICS|. b=191831 r+sr=roc+moz 2003-02-22 19:26:30 +00:00
bryner%netscape.com
e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
jkeiser%netscape.com
29f5cb3226 Make mousey events targeted properly at textnodes (bug 185889, bug 103055), fix client-side image maps (bug 110072), r=saari@netscape.com, sr=bryner@netscape.com, a=dbaron@dbaron.org 2003-02-14 21:43:06 +00:00
dbaron%dbaron.org
faba98289a Fix leak when handling key events on zombie pages. b=192336 r+sr=roc a=asa 2003-02-11 20:26:42 +00:00
jkeiser%netscape.com
3d0c799bc9 Fix window focus event regressions (bug 190767), patch by Ruslan Ismailov (croo@nm.ru), r=jkeiser@netscape.com, sr=bryner@netscape.com 2003-02-01 05:26:16 +00:00
jkeiser%netscape.com
b7baf2214d Stop firing mouse events at textnodes, fix tooltips not going away onmouseout (bug 185889, bug 185965), r=bryner@netscape.com, sr=jst@netscape.com 2003-01-21 21:26:45 +00:00
caillon%returnzero.com
8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
dbaron%dbaron.org
1e96329338 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky 2003-01-13 23:10:53 +00:00
bzbarsky%mit.edu
fbaa3a83d1 "Use my chosen colors" should override border-colors too. Bug 156002, r+sr=dbaron 2003-01-10 01:58:37 +00:00
aaronl%netscape.com
b384a46582 Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser 2003-01-09 20:56:53 +00:00
dbaron%dbaron.org
14c5b6b776 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
aaronl%netscape.com
237a050ac2 Bug 110718. Fix keydead problem during Transferring stage of document load, when the currently visible doc is a zombie. r=bryner, sr=jst. Bug 169767. Tabbing in XUL broken when textfield only tabbing pref is set. r=akkana, sr=bryner. Bug 187303. No keyboard access to URL bar when textfield only tabbing pref is set 2003-01-07 02:09:06 +00:00
bzbarsky%mit.edu
8c8465ff11 ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).
2003-01-05 05:05:17 +00:00
dbaron%fas.harvard.edu
8f0f8f4f97 Reduce paint suppression timeout from 1200ms to 250ms (to match Phoenix and Chimera). b=180241 r=rjesup sr=bzbarsky 2002-12-26 21:03:23 +00:00
bratell%lysator.liu.se
40bbe3138a Backout of bug 110718 to fix Tp regression and raise-on-load issues. 2002-12-15 19:52:22 +00:00
roc+%cs.cmu.edu
75f0cde871 Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin 2002-12-14 16:18:57 +00:00
aaronl%netscape.com
569b35651c Bug 110718. During the 'transferring' when the currently visible document is a zombie, the keyboard is dead for the entire document. r=bryner, sr=hyatt+scc 2002-12-14 08:05:51 +00:00
timeless%mozdev.org
9e54dd0377 Bug 133714 Probably harmless typo.... (PresShell::SetCaretReadOnly Unreachable statement)
patch by riceman+bmo@mail.rit.edu r=timeless sr=bz
2002-12-11 15:04:26 +00:00
caillon%returnzero.com
0dffa137af Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
22b558c150 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
caillon%returnzero.com
71f8783cae Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
bzbarsky%mit.edu
fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com
2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
sicking%bigfoot.com
8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com
b615fa9010 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
katakai%japan.sun.com
63ba04d8f5 bug 167866
code clean up
clean up comment line codes for nsPresShell.cpp
r=akkana,sr=roc+moz
2002-11-25 04:58:40 +00:00
dbaron%fas.harvard.edu
f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bryner%netscape.com
e0e945ef10 Fixing topcrash bug 179548 (crash when closing tab via mouse gesture) by null checking the event target frame before dispatching the event the second time, since the first dispatch can nuke the frame. r=dbaron, sr=bzbarsky. 2002-11-15 00:59:28 +00:00
bzbarsky%mit.edu
db47d25a00 Fix ScrollFrameIntoView if we have nested views with the child bigger
than the parent.  Bug 143815, r=roc+moz, sr=jst
2002-11-12 04:38:28 +00:00
bryner%netscape.com
8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
sicking%bigfoot.com
886cde781d Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa
2002-10-22 06:07:52 +00:00
roc+%cs.cmu.edu
1b93fe2b31 Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin 2002-09-24 11:43:48 +00:00
hyatt%netscape.com
e8710c1495 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
dougt%netscape.com
12080d3654 Fixes non idle timers. This is fixes a regression caused by the last timer changes. r=rpotts@netscape.com, sr-darin@netscape.com, b=167841. 2002-09-20 22:32:32 +00:00
mjudge%netscape.com
425dbd86db 14835 r=pavlov sr=sfraser alpha blending on images to denote selection. 2002-09-11 03:03:49 +00:00
katakai%japan.sun.com
742dcbb253 bug 52416
Editor does not accept NS_TEXT_EVENT while losing input focus
r=akkana,sr=bzbarsky
(patch within #ifdef MOZ_X11)
2002-09-11 02:02:29 +00:00
kin%netscape.com
d38f0b028d Fix for bug 167355 (non-inline document.write does not work in builds after 090522)
Clear the mDidInitialReflow flag in ContentRemoved() to allow the content sink
to call InitialReflow() when the <html> node is re-inserted.

r=jkeiser@netscape.com  sr=jst@netscape.com  a=asa@mozilla.org
2002-09-10 04:36:00 +00:00
mjudge%netscape.com
efcadd8b2a fix for 165169. sr=bryner r=kin solves the problem of not finding the area frame to traverse the page when composing in mail or composer. cntrl-home/end should work now. 2002-09-10 00:10:09 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com
fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
jkeiser%netscape.com
0717b547f2 Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com 2002-09-06 05:44:31 +00:00
dougt%netscape.com
f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
mjudge%netscape.com
a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu
cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
8c3542b0dd Ensure that the event state manager doesn't send content state changed notifications for content that's been removed from the document. b=157322 r=bryner sr=kin 2002-08-19 18:31:59 +00:00
dbaron%fas.harvard.edu
22351decd5 Mark freed memory in stack arena with 0xdd. b=161283 sr=bzbarsky r=kin 2002-08-14 12:49:24 +00:00
mkaply%us.ibm.com
2f1ff8bde0 Better fix for OS/2 bustage earlier 2002-08-07 04:06:57 +00:00
mkaply%us.ibm.com
e64a838884 OS/2 bustage 2002-08-06 15:22:34 +00:00
dbaron%fas.harvard.edu
558562bfd2 Mark freed memory with 0xdd in DEBUG builds so that we don't free things to the pres shell's arena and then continue using them. b=114219 r=hixie sr=bzbarsky 2002-08-06 13:57:16 +00:00
dbaron%fas.harvard.edu
5e339bca9e Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson 2002-08-06 13:51:07 +00:00
aaronl%netscape.com
0f8d4f1827 Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst 2002-08-01 21:36:02 +00:00
peterlubczynski%netscape.com
0a41f4603d Fixing bug 152927: can't script any plugin in nested EMBED tag inside an OBJECT tag from onLoad handler -- CNET radio does not play with Real because SetSource is called from onLoad r=kmcclusk sr=dveditz a=asa 2002-07-26 03:48:24 +00:00
rginda%netscape.com
8bdc4f430a bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=rpotts, r=jst, a=asa

make sure we always post new reflow events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.
2002-07-26 03:29:07 +00:00
bzbarsky%mit.edu
dca89da4d5 Make sure that painting is properly unsuppressed in XML docs. Bugs
156985, 81546, 157487, r=dbaron, sr=rbs, a=scc
2002-07-18 01:49:47 +00:00
dbaron%fas.harvard.edu
ff0f07e45b Set up preference style rules before any frame creation happens. b=148414 r=bryner sr=waterson 2002-06-25 21:21:48 +00:00
dbaron%fas.harvard.edu
e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
bryner%netscape.com
3debe8d735 Fixing a crash resulting from my checkin for bug 138237. Instead of causing an initial reflow so that we can dispatch the focus event, just update the focus controller's state. r=alexsavulov, sr=blake. 2002-06-24 04:16:49 +00:00
jst%netscape.com
f794a72a60 Fixing bug 143782. Don't double release the content pointers in mCurrentEventContentStack when a presshell is destroyed from within an event handler called through the presshell. r=dbaron@fas.harvard.edu, sr=protts@netscape.com 2002-06-20 20:14:59 +00:00
kin%netscape.com
2cc8934aad Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:35:12 +00:00
cbiesinger%web.de
15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
bryner%netscape.com
9b37497cfa Fixing loss of focus when opening a URL in a new tab. If we receive a focus event and have not done an initial reflow yet, go ahead and do one so that we can dispatch the event. Otherwise, the focus controller becomes out of sync with the actual native widget focus. Bug 138237, r=dbaron, sr=waterson, a=asa. 2002-06-07 00:53:44 +00:00
cbiesinger%web.de
b73ad2b455 bug 148787 patch by hixie r=dbaron sr=roc+moz
Clicked links don't go red (prefs style sheet is overriding UA style sheet)
2002-06-04 19:44:53 +00:00
kmcclusk%netscape.com
0a88931ae5 Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc 2002-06-04 17:47:54 +00:00
dbaron%fas.harvard.edu
8d231a5fae Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst 2002-05-23 23:09:31 +00:00
jst%netscape.com
1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
jst%netscape.com
262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
waterson%netscape.com
e3554c37cc Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
dbaron%fas.harvard.edu
eb7778a448 Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi 2002-05-01 00:36:50 +00:00
kmcclusk%netscape.com
95ef1c8157 Abort paint if destroying the PresShell and check for null PresShell in nsImageLoader. bug 102585. r=waterson sr=attinasi 2002-04-26 20:44:38 +00:00
jaggernaut%netscape.com
7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki%netscape.com
bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
jst%netscape.com
cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
mjudge%netscape.com
09110a5680 bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest 2002-04-16 23:02:11 +00:00
waterson%netscape.com
1be2855d7e Bug 137378. Stop ancestor frame notification at a frame that is an NS_FRAME_REFLOW_ROOT. r=karnaze, sr=kin. 2002-04-16 21:19:32 +00:00
mjudge%netscape.com
cbca07291c 82151 r=jfrancis sr = kin 2002-04-16 02:42:09 +00:00
attinasi%netscape.com
6519a05626 temporary topcrash fix: make sure stale anonymoux content is removed from the undisplayed map when a style sheet is added. b=118014 r=dbaron sr=kin
NOTE: bug 136704 has been opened for making the real fix, and reference to this patch has been noted therein.
2002-04-14 15:34:02 +00:00
hyatt%netscape.com
e0734fa45e Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben 2002-04-12 02:05:12 +00:00
dbaron%fas.harvard.edu
07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
dbaron%fas.harvard.edu
2ee8b39604 Fix topcrash by clearing the view manager's weak pointer back to the pres shell before the pres shell goes away. b=134664 r=roc+moz sr=jag 2002-04-11 03:24:18 +00:00
timeless%mac.com
a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com
bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com
020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com
aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
dbaron%fas.harvard.edu
b350a0fd0f Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa 2002-03-31 16:59:00 +00:00
hewitt%netscape.com
d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
dbaron%fas.harvard.edu
861b60dbb5 Refix bug 116038 without reducing effectiveness of outliner style cache and outliner image cache by using the fix to 121055. Fix leak when clearing outliner image cache. b=130693 r=varga sr=hyatt a=asa 2002-03-27 02:42:59 +00:00
dbaron%fas.harvard.edu
f18dc50973 Fix theme switching crash related to menus by regenerating the style contexts in children of menus (which are hidden from ReResolve) after the rest of the ReResolve so that they don't have ancestor style contexts pointing to the old rule tree. b=121055 r=bzbarsky sr=hyatt a=scc 2002-03-21 23:44:45 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
rods%netscape.com
bd9bc62f8e Change getters of widgets to nsCOMPtrs to get rid of leaks.
Bug 129933 r=dcone sr=attinasi a=roc
2002-03-12 14:16:57 +00:00
badami%netscape.com
d279593983 Newlines in links should be stripped when selecting "Copy Link Location"
bug 77522 r=harishd sr=jst a=asa patch=tmutreja@netscape.com
2002-03-12 05:29:31 +00:00
aaronl%netscape.com
5b96e558ae Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa 2002-03-10 06:21:48 +00:00
dbaron%fas.harvard.edu
e3bc7ee7fd Fix top theme switching crash by clearing the outliner's style caches from DidSetStyleContext instead of FlushMiscWidgetInfo. b=116038 sr=hyatt r=bzbarsky a=asa 2002-03-07 23:48:26 +00:00
roc+%cs.cmu.edu
f1ceb9bb57 Bug 35274. Make event handling in layout respect clipping. r=dbaron,sr=attinasi,a=asa 2002-03-07 07:03:03 +00:00
bryner%netscape.com
d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
alecf%netscape.com
66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
attinasi%netscape.com
ab06887193 Prevent crash by checking for null frameManager before deref. in UnsuppressAndInvalidate. r=alexsavulov sr=hyatt b=121822 2002-02-14 00:15:40 +00:00
kin%netscape.com
d38cee3cd4 Fix for bug 83650 (textarea control has problems with caret positioning at end)
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).

  - Added new utility method GetOriginToViewOffset().

  - Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
    and nsContainerFrame::GetFrameForPointUsing() to factor in the
    offset from GetOriginToViewOffset() to insure that the point
    used is always transformed into the correct coordinate system.

Files modified:

    mozilla/layout/base/public/nsIFrame.h
    mozilla/layout/html/base/src/nsContainerFrame.cpp
    mozilla/layout/html/base/src/nsFrame.cpp
    mozilla/layout/html/base/src/nsFrame.h
    mozilla/layout/html/base/src/nsPresShell.cpp
    mozilla/layout/xul/base/src/nsBoxFrame.cpp

r=kmcclusk@netscape.com  sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
cathleen%netscape.com
740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
pierre%netscape.com
80235c2988 103594 "Clean up colors prefs code in nsPresShell". Remove PREFS_USE_OVERRIDE, insert the pref sheet at the
beginning of the User level. r=glazman+fantasai/sr-attinasi
2002-01-14 14:47:21 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
dbaron%fas.harvard.edu
e47cc4c2bc Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson 2002-01-11 20:10:46 +00:00
brade%netscape.com
3df6d9fabb remove unused statics kCRangeCID, kCClipboardCID, kCTransferableCID, and kHTMLConvertCID for savings of 64 bytes (bug 117927; rs=glazou) 2002-01-09 15:52:36 +00:00
aaronl%netscape.com
ba57004bb5 Last part of fix for bug 118633 - null frame checks. r=jgaunt, sr=hewitt 2002-01-09 10:53:57 +00:00
dbaron%fas.harvard.edu
c9c0a97163 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
rods%netscape.com
a12766a2da Putting changes back in. This wasn't the cause of the slower page loads 2002-01-03 13:23:47 +00:00
rods%netscape.com
851e639512 Partial back of check to look for bloat 2002-01-03 11:28:48 +00:00
rods%netscape.com
7929b953f5 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
bnesse%netscape.com
e90f24b6a7 Fix for smoketest blocker bug 116410. Fix loop so it increments when deleting objects. r=rbs, sr=sfraser. 2001-12-21 22:15:16 +00:00
rjesup%wgate.com
2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
waterson%netscape.com
7b1f9fa7da Bug 105927. Add #define to turn off the PresShell's arena for trace-malloc debugging. sr=attinasi 2001-12-21 00:16:26 +00:00
heikki%netscape.com
db89a9ce21 Bug 74800, implemented FIXptr. r=harishd, sr=vidur. 2001-12-20 05:15:52 +00:00
hyatt%netscape.com
423d4f12bf fix for 115787, better handling of <style> blocks (avoid reframing) and alternate stylesheets, r=jag, sr=waterson 2001-12-19 01:06:27 +00:00
mjudge%netscape.com
3a7ddd351a smoketest fix 115791 2001-12-18 21:05:55 +00:00
hyatt%netscape.com
80bbf81569 back out the portion of my patch that is guilty of causing the orange (bug 115787 2001-12-18 08:10:49 +00:00
mjudge%netscape.com
2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
waterson%netscape.com
2c5c5fcc04 Bug 115113, redux. Fix some whitespace botches. 2001-12-17 22:54:28 +00:00
hyatt%netscape.com
0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
waterson%netscape.com
854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
sfraser%netscape.com
8e1bfdb0a7 Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:13:08 +00:00
karnaze%netscape.com
748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
bryner%netscape.com
ff84d405a3 Fixing compile warnings. r=akkana, sr=ben. 2001-12-07 01:57:56 +00:00
dbaron%fas.harvard.edu
c3d6b55ca5 Remove nsDST and convert its users (PresShell::mSubShellMap, FrameManager::mPrimaryFrameMap, and FrameManager::PropertyList::mFrameValueMap) to PLDHash. Also convert FrameManager::mPlaceholderMap to PLDHash. Give image map area structures a pointer back to their image frame rather than (mis)using the primary frame map. Change API for changing placeholder map to reflect hash entry that accesses key through value by passing only the value and not the key. Give the root frame a proper mContent. b=110911 r=attinasi sr=brendan 2001-12-06 05:45:07 +00:00
roc+%cs.cmu.edu
c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
bryner%netscape.com
7e8137a340 Bug 41119 - Don't waste time notifying the frame manager about frame destruction if it is happening from nsFrameManager::Destroy. r=dbaron, sr=waterson. 2001-12-01 00:22:00 +00:00
bryner%netscape.com
e73da929bd Bug 87490 - focus goes dead if the focused content is removed. r=saari, sr=hyatt. 2001-11-29 00:04:31 +00:00
roc+%cs.cmu.edu
c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
bzbarsky%mit.edu
cc547c0ce0 Fix scrolling to a frame when the frame is in an abs. pos. element
that's not the scrollable view.  Bug 111081, r=jkeiser, sr=jst
2001-11-21 03:06:19 +00:00
timeless%mac.com
060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
jst%netscape.com
178be4198d Fixing part of bug 62536. Make element.scrollHeight and scrollWidth work correctly and making element.scrollIntoView() work even for elements inside nested scrollable views. r=hidday@geocities.com, jkeiser@iname.com, sr=attinasi@netscape.com 2001-11-18 06:04:17 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
pierre%netscape.com
3da4d257d9 Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt. 2001-11-06 10:04:05 +00:00
attinasi%netscape.com
94f3ab9a20 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt 2001-11-06 01:44:20 +00:00