Commit Graph

703 Commits

Author SHA1 Message Date
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
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
mkaply%us.ibm.com
3bee9239aa #90459
r=sicking, sr=peterv
DOM support missing for ondblclick = functionname
2003-06-10 18:33:58 +00:00
bryner%netscape.com
71ccaa995c Fix some cases where the caret could be blinking in the URL bar but focus is actually elsewhere. Bug 89214, r=jkeiser, sr=jst. 2003-05-27 22:47:21 +00:00
timeless%mozdev.org
405bacde39 Bug 205358 warning: comma at end of enumerator list (nsTabFocusModel)
r=aaronl sr=jst
2003-05-23 22:10:03 +00:00
jkeiser%netscape.com
d484da106e Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com 2003-05-21 00:42:32 +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
95b238b1d0 Don't throw an exception if asked for nsIDOMPopupBlockedEvent properties on a non-popupblocked event. Bug 204138, r=danm, sr=jst, a=asa. 2003-05-14 22:05:50 +00:00
jkeiser%netscape.com
a964f3a0c9 Fix crash dragging bookmarks (bug 204781), bryner@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com, a=asa 2003-05-14 00:56:17 +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
aaronl%netscape.com
16a07f473a Bug 204204. Crash in editor when shift-tabbing out of html editor. r=brade, sr=bryner, a=asa 2003-05-11 21:14:07 +00:00
jkeiser%netscape.com
687d4c8391 Fix crash when mouseovering things that disappear (bug 196012), r=peterl@netscape.com, sr=bryner@netscape.com, a=asa 2003-05-06 00:03:15 +00:00
jkeiser%netscape.com
2b42436f84 Fix crash dragging stuff (bug 202843), r=sfraser@netscape.com, sr=bryner@netscape.com, a=asa 2003-05-03 01:29:41 +00:00
varga%netscape.com
7967318ca3 Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
bryner%netscape.com
b85c8c81cb Slight optimization to my last checkin - gotDragDelta is unnecessary, since pixelThresholdX is guaranteed to be set to a non-zero value the first time this block of code runs. Part of bug 201342, r=blizzard, sr=sfraser. 2003-05-02 19:10:18 +00:00
bryner%netscape.com
12279edad4 Use system metrics when available, and observed platform behavior otherwise, for determining the threshold to begin a drag. Bug 201342, r=blizzard, sr=sfraser, a=sspitzer. 2003-05-02 18:20:38 +00:00
sfraser%netscape.com
100bc42605 Fix bug 200745 -- we were using the wrong event coords to start a drag. Fix the ESM to use the coords of the mouse down, not the mouse move, so that dragging small objects is easier. r=jkeiser, sr=bryner. 2003-04-19 00:46:28 +00:00
danm%netscape.com
0c46957e6d new popupblocked domevent. also bring the world of ns_assertion home to DOMEvent's accessors and pseudo-subclass Init[...] methods. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:50 +00:00
danm%netscape.com
c8a9092ebc new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:46 +00:00
roc+%cs.cmu.edu
b9ace3df95 Bug 199024. The old way of detecting whether a scroll happened or not in DoWheelScroll doesn't work with smooth scrolling. r+sr=bzbarsky 2003-04-15 13:17:36 +00:00
sfraser%netscape.com
5a14aa5fdd Part of fix for bug 201400. r=aaronl, sr=me. 2003-04-12 03:12:59 +00:00
sfraser%netscape.com
2f449323df Fix for bug 201400: move the "accessibility.browsewithcaret" pref observer to the nsEventStateManager, to remove it from the DOMWindowController. Patch by brade/sfraser, r=aaronl, sr=sfraser. 2003-04-12 03:03:27 +00:00
roc+%cs.cmu.edu
3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
heikki%netscape.com
b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
jst%netscape.com
b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
shliang%netscape.com
b440f41057 112789 - disabled radio elements should not get focus. patch largely by neil@parkwaycc.co.uk. r=shuehan, neil, sr=jag. 2003-03-26 02:55:19 +00:00
bryner%netscape.com
edb3b94597 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-19 00:44:17 +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
sspitzer%netscape.com
06be46ccb3 a (knock on wood) safe fix for (at least) two bugs:
#195011, Dismissing Junk Mail Log dialog crashes Mozilla [@ nsEventListenerManager::HandleEvent]
#137191, Infinite recursion near nsEventStateManager::TabIntoDocument

really the same issue:  guard against tabbing into a sub document, popping back out, and tabbing back in recursively.

r=aaronl, sr=bryner.
2003-03-17 23:08:36 +00:00
jaggernaut%netscape.com
c19fc0a9be Bug 94424: Search/filters UI text field doesn't accept click-right paste. The underlying cause was that mousedown on a menuitem in the textbox's context menu shifted focus from the textbox into the first focusable container of the textbox. We're fixing this by not letting the focusable frame search code look outside popup frames. r=bryner, sr=hyatt 2003-03-12 04:19:53 +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
84551c90d5 Bug 170921, bug 174163, bug 172329. Image selection occuring when image buttons, linked images or image map areas focused. r=mjudge, sr=bryner 2003-03-08 01:09:26 +00:00
aaronl%netscape.com
52677ea55f Bug 192454. Window is focused again if onclick='window.open' and href = '#foo'. r=bryner, sr=jst 2003-03-06 18:42:49 +00:00
peterv%netscape.com
bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
bryner%netscape.com
c8a63c954b Fix leak of mExplicitOriginalTarget from nsDOMEvent (bug 195602). Convert
nsDOMEvent to use nsCOMPtrs for its various targets.  r=jkeiser, sr=kin.
2003-03-04 01:51:16 +00:00
jkeiser%netscape.com
1732a11043 Make click+hold right-click menu work again on Mac (bug 193799), r=bryner/saari, sr=jst 2003-02-27 22:59:08 +00:00
jkeiser%netscape.com
88ca4030aa Fix mouseover topcrasher (bug 194493), r=saari@netscape.com, sr=bryner@netscape.com 2003-02-25 06:01:12 +00:00
bzbarsky%mit.edu
651bd3b256 make dispatchEvent work even if the eventTarget is not in the document tree.
Bug 191960, r=bryner, sr=jst
2003-02-22 19:12:21 +00:00
jkeiser%netscape.com
bd4cc85eeb Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
jkeiser%netscape.com
178bbf710d Fix crasher (bug 186132), r=saari@netscape.com, sr=bryner@netscape.com, a=asa@mozilla.org 2003-02-20 07:59:14 +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
bryner%netscape.com
fad0bef4a6 protect against the to-be-focused content going away during tabbing (bug 171210). r=jkeiser, sr=jst, a=asa. 2003-02-01 00:05:46 +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
aaronl%netscape.com
2c44c5ff43 Bug 188967. Possible fix for talkback crash. r=saari, sr=bz 2003-01-15 00:29:02 +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
aaronl%netscape.com
cceca97ce0 Bug 187301. Tab nav pref accessibility.tabfocus not dynamically changeable. r=akkana,sr=bryner 2003-01-13 20:05:36 +00:00
kyle.yuan%sun.com
1fde1ceb3e Bug 150994 iframe with tabindex shortens tab cycle
r=aaronl, sr=bryner
don't get tabindex for HTML elements that don't support it
2003-01-10 10:07:30 +00:00
aaronl%netscape.com
a448c227fa Backing out fix for bug 187301, to see if Txul numbers go back to normal. 2003-01-09 23:19:55 +00:00
aaronl%netscape.com
ce8157cc7a Bug 187301 - tab nav prefs not dynamically changeable, no prefs observer. r=akkana, sr=bryner. 2003-01-09 20:03:41 +00:00
bryner%netscape.com
7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00