Граф коммитов

700 Коммитов

Автор SHA1 Сообщение Дата
bryner%netscape.com 80c99af6d6 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 35cec56d18 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 c8633873f1 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 a15b9f2cf4 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 db44c23515 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 a0e469fae9 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 1f825a535d 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 e6dfe63be4 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 6e2f34838f 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 6d07316a09 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 05096034d5 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 18e7480ce6 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 30a4978da7 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 b8238a708e 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 c6b2395fbd 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 13971ba0bd new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:46 +00:00
roc+%cs.cmu.edu 3fd72b014a 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 0ea779d7ff Part of fix for bug 201400. r=aaronl, sr=me. 2003-04-12 03:12:59 +00:00
sfraser%netscape.com c708a0b885 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 f2dc5c2442 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 ab50b51081 Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
jst%netscape.com 14882c9d0c 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 4caa9a491b 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 992925cbe8 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 94b9b8c9d4 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 1ac3480345 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 cc9b6278cf 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 f295b9b118 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 0af3cbbc19 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 44f512c44b 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 b3d575fd9b 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 dc6d631956 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 f9119b08cb 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 0a639e2c11 Fix mouseover topcrasher (bug 194493), r=saari@netscape.com, sr=bryner@netscape.com 2003-02-25 06:01:12 +00:00
bzbarsky%mit.edu b14f217de2 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 d4ce4ad061 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 d739873ede 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 ea491eb824 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 def14175f0 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 ccc9f5af48 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 eea27adf06 Bug 188967. Possible fix for talkback crash. r=saari, sr=bz 2003-01-15 00:29:02 +00:00
dbaron%dbaron.org b0da06ed7e 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 65a541a0db 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 1780184916 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 bb67292648 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 34d0a8847c 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 26d5c6ff25 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
dbaron%dbaron.org 329252c847 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
sfraser%netscape.com 742bcf86a5 Fix scrollwheel code so that shift-mousewheel scrolls sideways. Bug 170403. r/sr=bryner. 2003-01-07 05:35:42 +00:00
aaronl%netscape.com ed48790710 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