dbaron%dbaron.org
ea8847cd51
Followup patch to bug 286303 to prevent hotspot coordinates outside of image from getting to platform APIs, even though they might make sense in some cases. b=286303 r=biesi sr=bzbarsky a=asa
2005-07-02 22:24:38 +00:00
dbaron%dbaron.org
22c8c10292
Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
2005-07-01 04:29:42 +00:00
mats.palmgren%bredband.net
97417c0bb6
Make drag-n-drop of frame-less content work again. b=289667 r+sr=roc a=benjamin
2005-06-28 21:40:15 +00:00
mats.palmgren%bredband.net
f68de81ba3
Fix event.relatedTarget for MouseOver events. b=298477 r+sr=roc a=asa
2005-06-25 01:32:02 +00:00
masayuki%d-toybox.com
1f93ebdcd5
Bug 259454 IME input (e.g., Chinese, Japanese and Korean) cannot be performed in Find Toolbar when opened with "/" or "'" r=bryner, dbaron, sr=dbaron, a=benjamin
2005-06-24 04:25:43 +00:00
jst%mozilla.jstenback.com
f3ed62af01
Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com
2005-06-22 01:53:58 +00:00
mats.palmgren%bredband.net
b58facb03c
Give up if the old focus was removed from the document. b=298250 r+sr=bryner a=chofmann
2005-06-21 22:55:39 +00:00
bzbarsky%mit.edu
94faa65c47
MAke sure to set the external reference bit on mCurrentTarget. Bug 295670,
...
r+sr=roc, a=chofmann
2005-06-04 02:21:40 +00:00
bzbarsky%mit.edu
4b8823720e
Add an nsIContent api for getting the intrinsic state of the content; this can
...
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms). Bug
296309, r+sr=dbaron, a=chofmann
2005-06-03 02:02:45 +00:00
bzbarsky%mit.edu
9aa0fb9ff9
Just use our document for the doc we call ContentStatesChanged on instead of
...
trying to get it off the content nodes (which may no longer be in a document by
this point). Bug 274736, r+sr=roc, a=shaver
2005-06-01 15:38:09 +00:00
bzbarsky%mit.edu
137b2f7312
Fix up more of the m*Content pointers correctly when content is removed from
...
the document. Bug 293914 followup, r+sr=dbaron, a=shaver
2005-06-01 15:36:11 +00:00
bzbarsky%mit.edu
af1ea33dd6
Update focus and hover state correctly when an _ancestor_ of the current focus
...
or hover content is removed from the DOM. Bug 293914, r+sr=roc, a=asa
2005-05-19 16:18:32 +00:00
bzbarsky%mit.edu
a5df6c9834
Only unset :hover in NotifyMouseOut if we're not mousing over
...
anything. Otherwise, let NotifyMouseOver handle changing :hover; it's faster
that way. Bug 292472, r+sr=roc, a=dbaron
2005-05-03 16:05:48 +00:00
jst%mozilla.jstenback.com
50de4a3e1d
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
923c54f450
Bug 291537. Don't wipe out mGestureDownPoint in StopTrackingDragGesture, since we may need it right afterward. r+sr=bzbarsky,a=asa
2005-04-28 22:11:53 +00:00
dbaron%dbaron.org
0bcd95a260
Mouseout shouldn't fire on elements that were removed from the document. b=292146 r+sr=roc a=asa
2005-04-28 20:47:53 +00:00
roc+%cs.cmu.edu
3135638698
Bug 255378. Make the click-hold context menu code keep content references, not frame references, just as the drag gesture code does, so that it's robust to frame reconstruction during the click-hold time interval. r+sr=bzbarsky,a=asa
2005-04-19 23:03:23 +00:00
roc+%cs.cmu.edu
2a41dc97ca
Bug 288406. Stop tracking potential drag gesture *before* we fire the drag DOM event, in case something happens that causes us to think a second drag gesture happens recursively. r+sr=bzbarsky,a=asa
2005-04-18 00:48:59 +00:00
bzbarsky%mit.edu
bf404f199e
Fix mouseover event regression by making sure to init our doc pointer before
...
null-checking it. Bug 289719 and oodles of dependencies, r+sr=roc, a=asa
2005-04-10 23:35:18 +00:00
roc+%cs.cmu.edu
4ab8153bb1
Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa.
2005-04-07 04:04:06 +00:00
roc+%cs.cmu.edu
fc3153b467
Bug 288775. Don't forget to pass relatedTarget to mouseout events, pointing to the element the mouse is moving into. r+sr=bzbarsky,a=dbaron
2005-04-07 00:19:08 +00:00
aaronleventhal%moonset.net
d4552b3222
Bug 265203. When caret is at end of one link, focus displays to next link. r=ginn.chen, sr=bryner
2005-04-04 18:11:14 +00:00
ginn.chen%sun.com
c4da642d54
Bug 260399 disabled textarea/input should use DEFAULT pointer
...
r+sr=bzbarsky
2005-04-04 10:35:50 +00:00
roc+%cs.cmu.edu
4909c3aac5
Fixing Mac bustage
2005-03-30 03:05:17 +00:00
roc+%cs.cmu.edu
9acec347cc
Bug 255863. Make drag/drop work even when the clicked-on content gets reframed by the click. r=mats,sr=bzbarsky
2005-03-30 02:14:41 +00:00
roc+%cs.cmu.edu
d0ffefd09a
Bug 284664. Generate mouseover and mouseout events in IFRAMEs in a much more consistent way. r=mats,sr=bzbarsky
2005-03-28 23:39:13 +00:00
bryner%brianryner.com
45a4bdafb0
Add null check as workaround for bug 239563 (crash if mousedown handler calls window.close()). r+sr=bzbarsky.
2005-03-10 22:53:29 +00:00
jst%mozilla.jstenback.com
a57ec3f6dc
Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
2005-03-04 02:01:54 +00:00
bsmedberg%covad.net
361daac936
Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector)
2005-02-25 20:46:35 +00:00
roc+%cs.cmu.edu
51924d4a38
Bug 125386. Turn MOUSE_EXIT events into MOUSE_MOVEs when the mouse didn't actually leave the top level widget. r+sr=bzbarsky
2005-02-23 21:46:43 +00:00
dveditz%cruzio.com
d3bc41de0a
bug 280889 prevent use of uninitialized 'cursor', r/sr=bzbarsky
2005-02-04 00:14:06 +00:00
mozilla.mano%sent.com
4ddcb38789
Bug 277516 - Add a hidden pref to follow accessibility.tabfocus for xul elements; default to true on mac, false everywhere else. r=aaronlev sr=bzbarksky
2005-01-29 23:47:35 +00:00
bzbarsky%mit.edu
905bf0a35a
Flush out reflows before processing invalidates and paint events. Fixes a
...
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor. Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
mats.palmgren%bredband.net
7441be5622
Implement the accesskey attribute for LEGEND, make it move focus forward when it's not focusable. b=81481 r=aaronleventhal sr=bzbarsky
2005-01-16 16:39:35 +00:00
bzbarsky%mit.edu
9866f848c5
Make sure to scroll and such _before_ firing events. Bug 264873, r=mats,
...
sr=bryner
2005-01-12 02:42:39 +00:00
timeless%mozdev.org
0f16244b59
Bug 187508 Follow "full keyboard access" setting in System Preferences for tabbing navigation
...
patch by bugs.mano@mail-central.com r=aaronl sr=neil a=asa
2005-01-06 23:41:52 +00:00
jst%mozilla.jstenback.com
f9d194248d
Fixing bug 268830. Enable popups when handling access key events. r+sr=bzbarsky@mit.edu, a=asa@mozilla.org
2005-01-06 15:13:15 +00:00
cbiesinger%web.de
b71e2a3790
38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
...
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
2004-12-30 21:56:11 +00:00
aaronleventhal%moonset.net
5dee634fa7
Bug 269318. TAB should start from selection text after mouse click. If element gets focused, move selection to focus if focus isn't already inside the selection. mLastFocusedWith is no longer needed for making tab not move relative to selection after a mouse click. r=ginn.chen, sr=neil
2004-12-01 16:15:02 +00:00
aaronleventhal%moonset.net
9bae58277b
Bug 270030. Tabbing gets stuck at first child input elements. r=ginn.chen, sr=neil.parkway, a=asa
2004-11-19 04:28:56 +00:00
aaronleventhal%moonset.net
0eaecc5f33
Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner
2004-10-29 13:40:25 +00:00
jst%mozilla.jstenback.com
4013aad2a9
Fixing part of bug 265790 (the part that's a regression from bug 265921). Make it possible to flag DOM events as trusted when created using DOM APIs from native code, and marking the DOMWindowClose event (and a few other fired from nsGlobalWindow) as trusted to make closing a tab from script close the tab only, and not the whole window. r+sr=bzbarsky@mit.edu, a=chofmann@mozilla.org
2004-10-28 00:36:30 +00:00
jst%mozilla.jstenback.com
46655dce46
Fixing bug 265921. Prevent script from closing tabs. r=bryner@brianryner.com, sr=brendan@mozilla.org, patch by bzbarsky@mit.edu and jst@mozilla.org
2004-10-26 00:13:50 +00:00
dbaron%dbaron.org
62bd820c74
Propagate trusted flag to synthesized events. b=265692 r=bzbarsky sr=jst a=asa
2004-10-23 22:28:25 +00:00
dbaron%dbaron.org
2e13a0b566
Restrict handling of various things to events coming from the user (not Web content). b=265176 r+sr=jst a=asa
2004-10-22 07:32:08 +00:00
aaronleventhal%moonset.net
e9feb9853d
Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc
2004-10-19 02:24:27 +00:00
aaronleventhal%moonset.net
ca0cd1c767
Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
2004-10-13 01:12:14 +00:00
dbaron%dbaron.org
6e688d8ca1
Also prevent 'overflow:hidden' elements from being scrollable by wheel mouse. b=259615 r+sr=roc
2004-10-09 05:15:08 +00:00
kyle.yuan%sun.com
6e78733e8f
Bug 257581 Cursor (caret) doesn't appear in MailNews Compose Window, although you type something
...
r=daniel, sr=roc, a=asa, patch=ginn.chen@sun.com
2004-09-23 04:04:50 +00:00
kyle.yuan%sun.com
e79fd4429d
Backout the last checkin. Haven't noticed that the tree is frozen from 1.8a4.
2004-09-23 02:53:17 +00:00
kyle.yuan%sun.com
d6d2f12c50
Bug 257581 Cursor (caret) doesn't appear in MailNews Compose Window, although you type something
...
r=daniel, sr=roc, patch=ginn.chen@sun.com
2004-09-23 02:50:07 +00:00
dbaron%dbaron.org
feb3d9aee8
Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc
2004-09-21 04:41:08 +00:00
neil%parkwaycc.co.uk
6a4f37de6b
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
2004-09-20 22:25:07 +00:00
mats.palmgren%bredband.net
0b0506f06b
Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron
2004-09-19 19:49:29 +00:00
mats.palmgren%bredband.net
d2ba7bbd65
Re-resolve target frame after "DOMMouseScroll" event handlers in case it was destroyed. b=257998 r+sr=bzbarsky
2004-09-12 21:24:59 +00:00
mats.palmgren%bredband.net
14b5343acd
Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org
2004-09-11 23:24:30 +00:00
jst%mozilla.jstenback.com
5aed475ce3
Eliminating dead code. Patch by trev@gtchat.de. r+sr=jst@mozilla.org
2004-09-07 22:34:02 +00:00
roc+%cs.cmu.edu
6255acffd9
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
2004-09-06 02:44:43 +00:00
jst%mozilla.jstenback.com
51fd4d10d8
Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
2004-09-04 19:28:46 +00:00
aaronleventhal%moonset.net
1f5edcb856
Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc
2004-09-01 14:58:34 +00:00
kyle.yuan%sun.com
cb64f4adb3
Bug 169297 caret becomes invisible when switching windows if it's not in linked content
...
r=aaronl, sr=roc, patch=ginn.chen@sun.com
2004-08-31 02:10:59 +00:00
bryner%brianryner.com
d082d2bf5e
More nsIPresShell deCOMtamination:
...
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.
Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
bryner%brianryner.com
180b0b7373
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
2004-08-20 20:34:37 +00:00
mats.palmgren%bredband.net
410a676e29
Fix mouse-wheel scrolling for overflow:scroll elements. b=97283 r=roc sr=dbaron
2004-08-07 14:30:30 +00:00
bzbarsky%mit.edu
8e58d9b316
Fixing build bustage
2004-08-06 17:51:20 +00:00
mats.palmgren%bredband.net
2ec5e837c2
Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron
2004-08-06 15:55:17 +00:00
aaronleventhal%moonset.net
37fd617b34
Bug 254011. After focusing an element with a negative tabindex, tab relative to it's position in doc. r=bryner, sr=jst
2004-08-03 12:52:42 +00:00
aaronleventhal%moonset.net
93ac8df487
Bug 244179. Tabindex not honoured if form element is focused via <label>. Buggy part of code pinpointed by Nian Liu. r=nian.liu@sun.com, sr=bryner
2004-08-02 17:56:43 +00:00
bryner%brianryner.com
6a8c79a9b2
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net
cc206bb650
Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst
2004-07-24 21:12:43 +00:00
timeless%mozdev.org
f8ebe41cd6
Bug 252732 Add call parentheses to GetScriptGlobalObject and remove trailing whitespace in nsEventStateManager.cpp
...
patch by jonathan.watt@strath.ac.uk r=jst sr=jst
2004-07-23 07:27:57 +00:00
bzbarsky%mit.edu
32e146e622
Fix bug 246012 by not going through presshells at all while deciding whether a
...
docshell is an iframe. r+sr=jst
2004-07-15 06:05:27 +00:00
dbaron%dbaron.org
678827b364
Make :active hierarchical. b=65917 r+sr=bzbarsky
2004-07-14 22:27:24 +00:00
aaronleventhal%moonset.net
1f6e33dc7a
Bug 171366. Support tabindex for all elements. r=bryner, sr=jst
2004-07-07 00:58:57 +00:00
robin.lu%sun.com
22049cde58
fix Bug 222297 Cannot toggle input checkbox via accesskey without taking focus off of input field first. r=aaronleventhal sr=dbaron patched by Nian Liu<neo.liu@sun.com>
2004-07-06 03:14:09 +00:00
aaronleventhal%moonset.net
87ddf79d06
Bug 17602. Keyboard access to HTML radio buttons should use arrow keys, as it does on most OS's radios as well as XUL radios. r=bryner, sr=neil
2004-07-05 01:31:30 +00:00
dbaron%dbaron.org
60b7e73a8f
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
bzbarsky%mit.edu
a7bff6ad5b
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
jst%mozilla.jstenback.com
3fed14ec9e
Fixing bug 243379. If a page moves the focus while we're moving the focus, let the page do its thing and leave focus alone from then on. r+sr=bryner@brianryner.com
2004-05-27 21:25:22 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
aaronleventhal%moonset.net
e28c5241bd
Bug 243028. Tabbing broken when links have a subtree of nodes rather than just an image or text node. r=bryner, sr=darin
2004-05-21 18:33:07 +00:00
bryner%brianryner.com
2cf459d69c
Ensure that mDocument is current before accessing it. Fixes some timing-related focus problems. Bug 241942, r+sr=jst, a=asa.
2004-05-20 07:17:03 +00:00
danm-moz%comcast.net
39953021d3
addref focus controller in deactivate event handler. bug 243112 code=crispin r=bryner,danm-moz
2004-05-17 23:36:34 +00:00
bryner%brianryner.com
7d80b4f5cf
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
2004-05-03 21:48:36 +00:00
roc+%cs.cmu.edu
0bf1ffdf5d
Fixing bustage.
2004-04-30 15:14:41 +00:00
aaronleventhal%moonset.net
58be57bf41
Bug 138069. Make -moz-user-focus work for any html element. r+sr=bryner
2004-04-30 14:05:27 +00:00
jst%mozilla.jstenback.com
77c4322ab2
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
timeless%mozdev.org
5aec87e773
Bug 241646 Shift+Mousewheel (scrollwheel) behavior backwards, unintuitive not correctable with configuration
...
patch by sand@blarg.net r=bryner sr=roc
2004-04-29 07:01:50 +00:00
timeless%mozdev.org
1280270843
Bug 64485 [Linux] Intellimouse Explorer Backwards and Forwards button support
...
changes per bryner for r=bryner sr=roc
2004-04-20 05:14:40 +00:00
bryner%brianryner.com
c40b54ea5d
Fix shift+tab in mail compose (bug 240504). r=neil, sr=jst
2004-04-19 17:48:34 +00:00
timeless%mozdev.org
ae203fc51b
Bug 64485 [Linux] Intellimouse Explorer Backwards and Forwards button support
...
patch by sand@blarg.net r=bryner sr=roc
2004-04-19 15:48:14 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
998edae794
Fix lack of caret in add email account wizard (bug 214306). The problem here was that when ShiftFocusInternal was given an explicit starting point, it was calling SetFocusedContent() for that node, which updated mCurrentFocus but not gLastFocusedContent. That violated the "invariant" that the active ESM's mCurrentFocus is the same as gLastFocusedContent, causing confusion later in SendFocusBlur(). This is fixed by making ShiftFocusInternal and GetNextTabbableContent not rely on mCurrentFocus being set to the starting content, which avoids the inconsistency. r=neil, sr=dbaron.
2004-04-13 09:39:16 +00:00
timeless%mozdev.org
3f31864cbd
Bug 239372 ESM caches profile preferences and constantly gets others
...
r=bryner sr=bz
replacement was a bit too global
2004-04-13 07:09:54 +00:00
timeless%mozdev.org
92f4cbc2a9
Bug 239372 ESM caches profile preferences and constantly gets others
...
r=bryner sr=bz
2004-04-13 06:41:35 +00:00
neil%parkwaycc.co.uk
b4f37cbfb7
Bug 227646 Tabbing to move focus doesn't work at end of top chrome doc r/sr=bryner a=chofmann
2004-03-25 09:10:53 +00:00
bryner%brianryner.com
0da165d2cc
Make sure the canvas focus border is removed any time a content node within the document becomes focused. Bug 235522, r=danm, sr=darin.
2004-03-09 19:34:34 +00:00
sicking%bigfoot.com
fc084e0c73
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
2004-03-06 00:22:03 +00:00
bryner%brianryner.com
440bc8e33e
fixing windows bustage
2004-02-27 17:43:15 +00:00
bryner%brianryner.com
ed98c9a308
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
cbiesinger%web.de
e073bfa038
233890, misc cleanup in some layout files, r+sr=bz
2004-02-19 18:56:13 +00:00
bryner%brianryner.com
aad9f258c7
Make script-created DOM events get dispatched to the system event group just like user events. This fixes firing keypress events at a form input, since editor listens for keypresses using the system event group. Bug 213144, r+sr=bzbarsky, a=chofmann.
2004-02-16 08:50:56 +00:00
dbaron%dbaron.org
d97dedc812
Back out bug 20022. a=chofmann
2004-02-14 20:29:19 +00:00
bzbarsky%mit.edu
556d811109
Fix hang bug 232368. Patch by Mats Palmgren <mats.palmgren@bredband.net>,
...
r=bzbarsky, sr=bryner
2004-02-11 07:47:06 +00:00
bryner%brianryner.com
433c389ddf
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
2004-02-05 01:57:10 +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
865ea79700
add accessor and mutator for event currently being handled. bug 197919 r=bryner,jst
2004-02-03 02:22:01 +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
jst%mozilla.jstenback.com
90431d8022
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
7d79d7ba8b
Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
2004-01-28 23:45:17 +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
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
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
jst%mozilla.jstenback.com
11519cdc49
Fixing mac bustage.
2003-11-19 02:23:25 +00:00
jst%mozilla.jstenback.com
eda3b8db64
Fixing mac bustage.
2003-11-19 02:02:56 +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
bzbarsky%mit.edu
3c78a4048f
Fix bug 225565 by looking at the actual control type. r+sr=peterv
2003-11-13 18:38:41 +00:00
bzbarsky%mit.edu
6bdc5f8b17
Fix crash bug 118685. Patch by mats.palmgren@bredband.net (Mats Palmgren),
...
r=bryner, sr=dbaron
2003-11-07 03:35:05 +00:00
caillon%returnzero.com
150adb2e29
Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
...
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bryner%brianryner.com
7ab366ef3d
Don't set mCurrentFocus to null after firing a blur if the blur handler focused something. Bug 147927, r=blizzard, sr=jst, a=sspitzer
2003-10-27 19:52:49 +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
ef87236cea
Useless test for unsigned >= 0. Bug 221292, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
2003-10-05 23:46:55 +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
jst%mozilla.jstenback.com
5037b2a4a2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
pinkerton%netscape.com
ffae5552f9
check if there is an active focus controller before sending the blur
...
(r=pink/sr=bryner/a=brendan) bug 198153
2003-09-09 21:09:22 +00:00
bryner%brianryner.com
ae5cfff4d7
Fix bug 215771 (form inputs not editable after alert dialog dismissed). r=jkeiser, sr=roc, a=asa.
2003-08-29 21:52:25 +00:00
bryner%brianryner.com
228a416d62
Fix mousewheel scrolling over certain IFRAMEs which have a line height of 0 on the scrollport view. Bug 203239, r/sr=roc, a=asa.
2003-08-25 21:47:58 +00:00
roc+%cs.cmu.edu
0b8cd870e1
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +00:00
aaronl%netscape.com
84bdb34c82
bug 159998 - type named anchor in URL bar, hit Enter - focus/selection appears to stay. r=bryner, sr=jst
2003-08-01 09:41:12 +00:00
bzbarsky%mit.edu
e2dae4d2f9
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:17:26 +00:00
aaronl%netscape.com
718fd8dd01
Bug 211852 and bug 212626. Tab and shift+tab not working with sub documents. r=bryner, sr=bz
2003-07-24 08:53:48 +00:00
bzbarsky%mit.edu
81acd2c428
Return already_AddRefed instead of a raw addrefed pointer. Bug 211195, r+sr=bryner
2003-07-03 20:34:52 +00:00
bryner%netscape.com
dfd3c1dd7a
Fix some issues related to focus changes in onfocus and onblur handlers:
...
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else. This ensures that the caret doesn't get confused about whether it should be active.
- Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
- Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.
Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
roc+%cs.cmu.edu
542467a8bd
deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron
2003-06-24 13:39:15 +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
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
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
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
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
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
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
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
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
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
dbaron%dbaron.org
48544669f3
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
41453fc4cb
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
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
jkeiser%netscape.com
64df219fb4
Fix onmouseover/onmouseout crash (bug 186132), r=saari@netscape.com, sr=dbaron@fas.harvard.edu
2002-12-24 20:21:40 +00:00
jkeiser%netscape.com
cb84e04c70
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
2002-12-18 23:38:09 +00:00
jkeiser%netscape.com
d0d006e134
Fix crasher in mouse events (bug 185850), r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu
2002-12-18 07:13:51 +00:00
jkeiser%netscape.com
5e20e45df5
Make mouseover/mouseout/hover apply only to elements (bug 103055), r=bryner@netscape.com, sr=jst@netscape.com
2002-12-17 02:10:57 +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
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
peterv%netscape.com
d96051a4a2
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
aaronl%netscape.com
5d3bd702a3
Bug 178520. input.focus() should not do input.select(). r=bryner, sr=bzbarsky, a=asa
2002-12-07 00:56:03 +00:00
dean_tessman%hotmail.com
c7307e2455
bug 30431 - Intellimouse Explorer Backwards and Forwards button support.
...
r=rods on widget, timeless on content
sr=bryner
a=asa
2002-12-06 03:41:43 +00:00
kyle.yuan%sun.com
e9e48eadbf
Bug 134823 Toolbars don't honour accesskeys
...
r=dean_tessman, sr=jaggernaut
support accesskey for toolbarbutton
2002-12-04 05:38:07 +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
caillon%returnzero.com
9b05810a7a
Bug 181600, Updating for reviewer comments (removing an if). still r=sicking,sr=peterv
2002-11-25 23:27:29 +00:00
caillon%returnzero.com
0ec297b986
Bug 181600 - Use the new pref APIs. r=sicking, sr=peterv
2002-11-25 23:26:06 +00:00
bryner%netscape.com
b8a9438942
Removing an unused variable. r=mozbot.
2002-11-20 23:37:52 +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
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
bzbarsky%mit.edu
029ecd778e
Disabled form controls should not be in the tab order. Bug 177620,
...
r=akkana,timeless, sr=bryner
2002-11-06 01:54:04 +00:00
bryner%netscape.com
296d9c24b3
Fix links stuck in :hover state after being scrolled off of using the mouse wheel (bug 78765). r=hewitt, sr=hyatt, a=roc.
2002-10-29 23:59:08 +00:00
akkana%netscape.com
da9584c86a
171003: shift-tab shouldn't land on images twice: add a comment. r=aaronl, sr=bryner, a=dbaron
2002-10-24 04:02:42 +00:00
akkana%netscape.com
57086eda12
171003: shift-tab shouldn't land on images twice. r=aaronl, sr=bryner, a=dbaron
2002-10-24 03:53:08 +00:00
aaronl%netscape.com
f7218d0d8a
Bug 28583. Select text field contents when focused, except by mouse click, on certain platforms. r=brade, sr=sfraser
2002-10-05 15:39:33 +00:00