Commit Graph

120 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
949dc5fa14 Add a way for IME to query the caret position. Bug 278061, patch by
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky
2005-02-01 19:24:59 +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
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
5aed475ce3 Eliminating dead code. Patch by trev@gtchat.de. r+sr=jst@mozilla.org 2004-09-07 22:34:02 +00:00
jst%mozilla.jstenback.com
dea7a573d7 Fixing bug 257431. Make the tabbrowser code only listen to events initiated by the user. r=trev@gtchat.de, sr=bzbarsky@mit.edu 2004-09-02 15:25:39 +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
dbaron%dbaron.org
7e0341dd79 Make NS_MUTATION_EVENT and NS_ACCESSIBLE_EVENT not be the same value. b=256469 r+sr=bryner 2004-08-25 22:26:15 +00:00
timeless%mozdev.org
872e808fe6 Bug 238773 Separating nsDOMEvent into separate classes
patch by mozilla-bugzilla@future.shiny.co.il r=bryner sr=jst
2004-08-20 18:09:19 +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
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
aaronleventhal%moonset.net
6e0f646912 Missing part of checkin for bug 17602. 2004-07-05 01:46:30 +00:00
timeless%mozdev.org
e0515bb35c Removing NS_NewDOMEvent
function has been useless since <joki@netscape.com> 1999-05-18 16:50
r+sr=jst
2004-05-25 01:19:59 +00:00
jst%mozilla.jstenback.com
27f9d2448a Fixing bug 244300, patch by mozilla-bugzilla@future.shiny.co.il. Adding double inclusion protection to nsMutationEvent.h. r+sr=bzbarsky@mit.edu. 2004-05-21 21:54:32 +00:00
bryner%brianryner.com
7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +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
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
ce5ba6cc48 Make mutation events not be cancelable. Bug 117128, r+sr=bryner 2004-04-13 00:21:27 +00:00
jst%mozilla.jstenback.com
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +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
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
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
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
sfraser%netscape.com
5a14aa5fdd Part of fix for bug 201400. r=aaronl, sr=me. 2003-04-12 03:12:59 +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
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
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
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
jkeiser%netscape.com
99559fac4a Back out bug 163593 (superceded by bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-09-13 21:18:15 +00:00
bryner%netscape.com
11659c8e1c Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst. 2002-09-06 00:19:58 +00:00
jkeiser%netscape.com
d915e93f21 Fix file event.originalTarget problem (bug 163598), r=joki@netscape.com, sr=jst@netscape.com 2002-08-22 06:10:56 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
d2188e6086 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +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
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
aaronl%netscape.com
5055adaee6 Bug 131139. Rightclicking or dragging link removes text selection, also fixes bug 132099 - cannot type in link text (composer). Fix from Pete Zha. Bug 124946 - F6/Ctrl+Tab no longer working to navigate frames (fix from Kyle Yuan). r=bryner, rjesup. sr=hewitt, a=asa 2002-03-31 04:53:53 +00:00
dbaron%fas.harvard.edu
4ae680fae3 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 23:13:20 +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
joki%netscape.com
f973d3920c Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:jst 2002-02-20 07:22:55 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +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
joki%netscape.com
29476f3798 Fix for 108104, prevent key/mouse events from untrusted scripts to spoof UI into thinking it got real native events. r:saari,sr:jst 2001-11-20 08:40:54 +00:00
bryner%netscape.com
03cd3c194e Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
hewitt%netscape.com
9e6c00f9ea 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2001-09-27 21:43:00 +00:00
gerv%gerv.net
1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
jaggernaut%netscape.com
30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00