Robert O'Callahan
775dd33c74
Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron
2008-09-18 21:47:21 +12:00
Dave Townsend
4db79cc0f9
Bug 391728: No placeholder for disabled plugins. r=jst, r=josh, sr=bz
2008-09-09 16:43:21 +01:00
Neil Deakin
a6d6c664e4
Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc
2008-08-27 08:07:27 -04:00
Boris Zbarsky
350d6fc473
Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux
2008-08-25 11:08:28 -04:00
Neil Deakin
acd274d130
Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc
2008-08-25 21:56:29 +12:00
Dave Camp
2092b61045
Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295)
2008-08-19 17:55:30 -07:00
Neil Deakin
ca9461ce4b
Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc
2008-08-20 10:31:45 +12:00
Olli Pettay
e28eb0e459
Bug 435425 – Progress events for XHR, r=sicking, sr=jst
2008-08-14 14:07:46 +03:00
Robert O'Callahan
5f3411e8a5
Bug 378028. Add an 'axis' field to DOMMouseScroll events and use it to distinguish horizontal from vertical scrolling. r=smaug,sr=sicking, with help from Markus Stange
2008-08-13 15:08:59 +12:00
Masayuki Nakano
dbe443ee82
Bug 449012 – Remove legacy Reconversion/QueryCaretRect Events r=ere+roc, sr=roc
2008-08-09 11:46:30 +09:00
Olli Pettay
07b85b59e3
Bug 435656, Make nsCxPusher::Push to handle all kinds of nsPIDOMEventTargets, r+sr=jst
2008-07-19 18:11:37 +03:00
Chris Double
91826e2fd0
Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc
2008-07-09 20:22:20 +12:00
Benjamin Smedberg
884ca0dcae
Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst
2008-06-30 21:03:50 -04:00
Olli.Pettay@helsinki.fi
1e53a71048
Bug 428135, form submission event shouldn't bubble to parent forms, r=jst,sr=sicking,a=beltzner
2008-04-17 15:15:07 -07:00
bent.mozilla@gmail.com
c54db3bb3c
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
2008-04-11 10:29:06 -07:00
jonas@sicking.cc
f6bc46eb38
Backing out due to test failures
2008-04-08 20:20:39 -07:00
jonas@sicking.cc
aedea05d90
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
2008-04-08 19:06:27 -07:00
jwalden@mit.edu
637b116885
Bug 387706 - Implement HTML5's cross-document messaging API (postMessage), enabling secure cross-origin communication between windows. r+sr=sicking, sr=jst, a=jst
2008-01-29 17:31:29 -08:00
roc+@cs.cmu.edu
ab982faa16
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
96da482e7e
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
c816d4ca4f
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-08 14:36:46 -08:00
surkov.alexander@gmail.com
da80d00731
Bug 368835 No focus events from xul tree table when a row is deleted, r=evan.yan, Olli.Pettay, sr=jonas, a=beltzner
2007-12-11 00:18:04 -08:00
surkov.alexander@gmail.com
d769971a14
Bug 174889 - unable to get keyboard shortcut for treeitem node, r=smaug, ginn.chen, mats, sr=mats, a=sicking
2007-08-28 23:52:46 -07:00
aaronleventhal@moonset.net
92c89bc944
Fixing bustage
2007-08-10 19:06:33 -07:00
aaronleventhal@moonset.net
283dbaaf31
Bug 390692. Fix live region support to provide useful information on the node that's being shown or hidden, or has a text change event. r=ginn.chen, sr=roc, a=roc
2007-08-10 18:44:44 -07:00
Olli.Pettay@helsinki.fi
7817abfbca
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
817e004adc
Bug 369644, make mouseover/out handle native anonymous content properly, r=jst, sr=sicking
2007-05-13 06:59:00 -07:00
Olli.Pettay@helsinki.fi
40178e46a3
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
Olli.Pettay@helsinki.fi
1ae6aaa3e4
Bug 379763, Need way to determine if a given element has an event handler of a certain type r+sr=jst
2007-05-08 14:13:13 -07:00
Olli.Pettay@helsinki.fi
8f6cd808de
Bug 373998, Use inner global window as the event target in the event target chain, but outer global as DOM event target, r+sr=jst
2007-04-17 02:18:36 -07:00
Olli.Pettay@helsinki.fi
bd6edd6ac3
Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst
2007-03-24 05:18:02 -07:00
hg@mozilla.com
05e5d33a57
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00
jwatt%jwatt.org
1ab8a9f349
Fixing bug 373687. Reduce the potential for misunderstanding nsEventDispatcher::Dispatch. r=olli.pettay@gmail.com
2007-03-12 20:28:38 +00:00
Olli.Pettay%helsinki.fi
d9a094b418
Trying to fix bustage, Bug 363067
2007-02-15 23:50:09 +00:00
Olli.Pettay%helsinki.fi
805e0ff0f8
Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking
2007-02-15 23:04:33 +00:00
Olli.Pettay%helsinki.fi
774d83e41b
Bug 367781, adoptNode should update mMutationBits of the possible |window| object. r+sr=peterv
2007-01-31 22:54:24 +00:00
Olli.Pettay%helsinki.fi
1c6ed6b737
Bug 329126, Remove nsIEventListenerManager::CreateEvent, r=aaronl, r+sr=jst
2007-01-23 07:32:34 +00:00
graydon%mozilla.com
4525ab79d9
Bug 333078: XPCOM cycle collector
...
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
Olli.Pettay%helsinki.fi
5c3a11f4f4
Bug 360731, Back and Forward buttons on mouse no longer work, also Bug 330938, r=emaijala, sr=roc
2006-12-01 11:09:53 +00:00
vladimir%pobox.com
82a10357c9
backing out bug 333078, xpcom cycle collector due to perf issues
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f
b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
2006-11-22 19:23:02 +00:00
Olli.Pettay%helsinki.fi
9420558128
Bug 344986, Simplify nsEventListenerManager, r+sr=sicking+jst (relanding)
2006-10-06 05:24:02 +00:00
Olli.Pettay%helsinki.fi
302031f738
Back out Bug 344986 to fix tp regression
2006-09-10 11:53:55 +00:00
Olli.Pettay%helsinki.fi
72a64308b9
Bug 344986, Simplify nsEventListenerManager, r=sicking, sr=jst
2006-09-09 17:28:57 +00:00
bzbarsky%mit.edu
a3a40f6eb5
Implement the :default CSS3 pseudo-class. Bug 302186, patch by Allan Beaufour
...
<allan@beaufour.dk> and jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky
2006-08-16 03:20:19 +00:00
Olli.Pettay%helsinki.fi
0a6715fc94
Bug 324011, initMouseEvent does not set relatedTarget property, r+sr=jst
2006-07-13 07:51:54 +00:00
mhammond%skippinet.com.au
0f241835df
Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
2006-06-13 03:07:47 +00:00
bryner%brianryner.com
6fb8bf0b4f
Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst.
2006-05-22 20:37:32 +00:00
bryner%brianryner.com
a5e5a4579c
backing out 336696, I checked in the wrong version of the patch
2006-05-22 18:03:16 +00:00
bryner%brianryner.com
87831f25b1
Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst.
2006-05-22 16:18:45 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
masayuki%d-toybox.com
6fb048961a
Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
2006-04-11 16:37:58 +00:00
Olli.Pettay%helsinki.fi
107fe84cd5
Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
2006-04-10 17:04:54 +00:00
Olli.Pettay%helsinki.fi
0a10950131
Bug 329125, Remove nsMutationEvent::mTarget r+sr=bz
2006-03-09 18:14:17 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b
Bug 234455, Centralize event dispatch r=jst, sr=bz
2006-03-07 17:08:51 +00:00
timeless%mozdev.org
426f83aecc
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
dbaron%dbaron.org
836cdfd70a
Remove event listeners when dropping an event listener manager so that the weak references in DOMClassInfo's preserved wrapper table for event listeners are removed before the ELM's owner (the GC participant) goes away, and document why this needs to be done. Also consolidate the things that need to be done before letting go of an ELM into one method, and add some missing calls to that method. b=323807 r=mrbkap sr=jst
2006-01-19 02:43:39 +00:00
Olli.Pettay%helsinki.fi
21ca39c740
Bug 322985, Remove aScriptOnly parameter from the nsIEventListenerManager::RemoveAllListeners r+sr=jst
2006-01-12 19:11:44 +00:00
cbiesinger%web.de
1d04cb0110
Bug 309521
...
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
content state for the former)
- make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
- Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
dbaron%dbaron.org
3c95294952
Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
2005-11-14 20:09:51 +00:00
bsmedberg%covad.net
78f6d0683d
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
gavin%gavinsharp.com
80f65f6fce
Bug 306231: ConsumeFocusEvents can be removed, because it doesn't do anything, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc
2005-10-27 00:36:21 +00:00
doronr%us.ibm.com
573c3b6d32
Bug 302188 - Support :read-only and :read-write pseudoclasses. patch by allan, r/sr=bz
2005-10-18 21:16:27 +00:00
bzbarsky%mit.edu
0d1e336c9a
Try fixing bug 288064 again. r=biesi, sr=dbaron
2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu
79185165c1
Backing out bug 288064 because of the Tp hit.
2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
7a5cbee6e9
Implement a LOADING state, have a :-moz-loading selector to match on it, use it
...
for images. Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
bzbarsky%mit.edu
608088a431
Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
...
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds. Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
bzbarsky%mit.edu
ee3656b5aa
Add support for :valid, :invalid, :in-range, and :out-of-range pseudo-classes.
...
Bug 302462, patch by Allan Beaufour <allan@beaufour.dk>, r+sr=bzbarsky
2005-08-30 20:56:46 +00:00
bzbarsky%mit.edu
fd98f06afb
Implement :enabled and :disabled CSS pseudo-classes. Bug 84400, patch by Allan
...
Beaufour <allan@beaufour.dk>, r+sr=bzbarsky
2005-08-30 03:31:47 +00:00
jwatt%jwatt.org
59e42c6cd2
Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org
2005-08-25 21:31:09 +00:00
aaronleventhal%moonset.net
0e50b0115b
Bug 303620. Focus system goes haywire when focus changed in onblur or onchange handler. r=mats, sr=bryner
2005-08-24 19:06:07 +00:00
roc+%cs.cmu.edu
c3ea09b7b0
Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
2005-08-10 20:21:44 +00:00
allan%beaufour.dk
18c60543f2
Support :required and :optional pseudoclasses. Bug 302608, r+sr=bzbarsky, a=mkaply
2005-08-02 08:29:03 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8
Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
2005-07-30 20:57:07 +00:00
aaronleventhal%moonset.net
a14f4645a1
Bug 300779. Expose XUL tree selection via accessibility events. r=timeless, sr=roc, a=mkaply
2005-07-28 17:18:28 +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
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
bryner%brianryner.com
e4a343f08f
Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
2005-06-15 23:52:46 +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
bryner%brianryner.com
aed69207f0
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
2005-05-04 20:22:32 +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
jst%mozilla.jstenback.com
f222e7e4d7
Fixing bug 245809. Implement event.returnValue (IE:ism) for beforeunload events as the mechansim for passing data back to the browser from a beforeunload handler that was registerd with addEventListener(). r=bzbarsky@mit.edu, sr=peterv@propagandism.org
2005-03-18 15:33:51 +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
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
jaggernaut%netscape.com
0ba2fa56e3
Bug 83394: Tabindex attribute not working properly in mfcembed app''.
...
Fixes problems with tabbing from the document to elements with the index attribute set in both mfcembed and the regular browser app.
patch by bryner, r=jag, sr=hyatt, a=chofmann
2001-06-22 07:25:28 +00:00
rods%netscape.com
2945ee5e62
adding pane/frameset/frame/iframe navigation
...
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
jst%netscape.com
f7460d0269
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 16:46:42 +00:00
joki%netscape.com
a0d1b3112f
Fixes for
...
69328 fix removeAttribute to remove event listeners. sr:jst, r:saari
68568 add simulated click to keypress activation of links for 4x compat and access. sr:jst, r:saari
77251 fix rest of createEvent strings to use plural form. sr:hyatt, r:jst
77595 fix imagemap tabbing by setting correct tabIndex for no tabindex images. sr:jst, r:saari
2001-05-04 05:34:58 +00:00
bryner%uiuc.edu
2e185075af
Bug 31809:
...
- When a docshell first takes focus, give focus to its first focusable content
- Make the docshell come after all of its content in the tabbing order
r=saari, sr=hyatt.
2001-04-18 06:18:10 +00:00
joki%netscape.com
26b7f822c3
Fixes for Create/Init/Dispatch of new DOM events. Bugs 25889, 71544, 52129, 61022, 71823. sr:jst, hyatt
2001-04-17 05:52:11 +00:00
hyatt%netscape.com
33aeb4f73d
Adding support for advancing and rewinding the focus using the command dispatcher. r=saari, sr=jst
2001-04-11 03:11:34 +00:00
joki%netscape.com
8e53706e23
Fix 49120 (Force event handler compilation when properties accessed from JS) and 53640 (Fix event capture to work starting from text nodes) r:peterv, sr:jst
2001-03-13 11:37:16 +00:00
hyatt%netscape.com
d9f3df81f0
Patch for 55595. r=joki, a=brendan
2000-11-27 07:55:20 +00:00
hyatt%netscape.com
9d8e03414c
C++ fixes for 51263, r=joki
2000-09-07 08:18:11 +00:00
hyatt%netscape.com
927938cc43
Adding originalTarget to Event object. r=joki
2000-09-07 01:07:29 +00:00
jst%netscape.com
9abec73fbe
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
saari%netscape.com
4c09a29ac5
massive landing of joki changes.
...
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
shanjian%netscape.com
de23b7e7a9
#14022 IME98 Reconversion does not work in HTML Editor
...
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp
New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
nsIDOMCompositionListener.h
widget:
nsGUIEvent.h nsWindow.h nsWindow.cpp
2000-08-04 21:43:29 +00:00
joki%netscape.com
08d1d06617
fix for resize event support, bug 960, and additional support for DOM 2 events.
2000-05-17 05:27:22 +00:00
joki%netscape.com
a743e2b38b
Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
2000-05-16 11:35:12 +00:00
joki%netscape.com
d7557a57a5
Adding accesskey support. Bug 959.
2000-05-16 10:22:20 +00:00
joki%netscape.com
bbb0086bfe
fixes for 5995, 7304, 10573, 22832, and 9668.
...
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
hyatt%netscape.com
aa7305bcb3
Elimination of nsIFocusableContent and improvements to tabbing r=saari
2000-04-04 23:55:31 +00:00
bryner%uiuc.edu
c96f3c7c16
Clean up handling of mousewheel prefs by removing built-in caching, and
...
use a shutdown observer so we can release the prefs service if
necessary. r=sspitzer.
2000-03-15 04:03:44 +00:00
joki%netscape.com
c564b74577
Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
2000-02-16 06:59:07 +00:00
rods%netscape.com
e7e39e8162
Accesskey registration methods (empty stubs at this point)
...
b 7559, r=joki
2000-02-09 15:14:55 +00:00
saari%netscape.com
a622c90955
Fix for PDT+ bugs 21602 and 21648. r=joki
1999-12-15 22:04:43 +00:00
hyatt%netscape.com
244bfeaee8
Massive rewrite of the focus/blur architecture. Things should behave better
...
now. r=saari
1999-12-08 04:54:29 +00:00
saari%netscape.com
bcb4759449
Adding new event state manager API GetFocusedEventTarget which returns the current frame in focus
...
regardless of the ESM instance you call it from. Editor guys need this for bug 20225
1999-12-02 20:55:17 +00:00
norris%netscape.com
d89d87531c
Fix
...
20257 unable to edit existing images in editor due to JS error
19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
brendan%mozilla.org
62ebb4b490
Whitespace/comment police.
1999-11-28 10:32:13 +00:00
norris%netscape.com
51842ef45e
Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
...
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.
I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.
Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.
r=joki
There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.
r=jband
1999-11-25 05:28:18 +00:00
vidur%netscape.com
dd88339f19
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
1999-11-25 00:05:21 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
joki%netscape.com
0aa1e7650e
Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur
1999-11-05 23:37:40 +00:00
joki%netscape.com
1675be15e0
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
1999-11-03 07:11:45 +00:00
rods%netscape.com
b65978b79a
Added ConsumeFocusEvents method to consume all focus event and make sure they don't get dispatched
1999-09-30 11:40:42 +00:00
cyeh%netscape.com
34cd2ddae1
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
1999-09-01 01:13:14 +00:00
briano%netscape.com
45f9b17d23
General cleanup.
1999-09-01 00:47:39 +00:00
tague%netscape.com
97b0bd802c
Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX.
1999-08-31 01:20:32 +00:00
tague%netscape.com
dad401a40f
Fix build bustage
1999-08-06 03:10:14 +00:00
tague%netscape.com
58316bd322
Added support for replies from private DOM text events. See bug #4826
1999-08-06 02:32:13 +00:00
joki%netscape.com
e49a6d584f
Partial fixes for focus/blur events on windows/frames, fixes for incorrect event.target values
1999-07-27 20:55:03 +00:00
joki%netscape.com
f1c8421c61
Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
1999-07-26 15:02:19 +00:00
joki%netscape.com
d752334449
Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
1999-07-19 19:54:34 +00:00
waterson%netscape.com
a9e63d1095
Add GetIID().
1999-06-30 19:28:16 +00:00
joki%netscape.com
2c742db83b
Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283)
1999-06-15 03:14:28 +00:00
waterson%netscape.com
f9c59fc979
More bug 6823. Need to have a GetIID() on nsIEventListenerManager.
1999-05-21 21:22:02 +00:00
hyatt%netscape.com
602abf226d
Fix for the regression described in bug 6823.
1999-05-21 19:27:02 +00:00
joki%netscape.com
71e96012a3
Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent.
1999-05-18 23:51:04 +00:00
rods%netscape.com
59a80b40f3
Added Drag Over to act like "hover"
1999-05-04 14:44:51 +00:00
joki%netscape.com
d1f2b3ef88
Adding scrolling fixes to fix bug #3999 , A: chofmann
1999-04-30 19:38:39 +00:00
joki%netscape.com
b6f2484b5b
New api's into nsEventStateManager for content state change (hover,focus,active)
1999-04-12 21:24:07 +00:00
joki%netscape.com
1c2882e5e6
Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
1999-03-28 22:22:54 +00:00
hyatt%netscape.com
4c62785eab
Changes to fix the bookmarks menu crashing problem.
1999-03-15 05:39:04 +00:00
joki%netscape.com
0baca6512f
Adding new tab handling and focus support.
1999-03-02 19:19:24 +00:00
joki%netscape.com
c14cc1cb25
Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
1999-01-28 23:14:36 +00:00
shaver%netscape.com
30635270f8
Add --enable-debug=module1,module2 to selective turn on debugging.
...
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful. Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect. We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy. Thanks, Matt!]
1998-12-15 16:32:37 +00:00
ramiro%netscape.com
e2b921bf3c
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
joki%netscape.com
e7f70ce9ce
Add click event support for every element and initial keypress event support
1998-11-24 07:46:58 +00:00
joki%netscape.com
65520ba928
Modify event flow to avoid walking into trashed frames.
1998-11-19 00:43:36 +00:00
joki%netscape.com
77fd9c2652
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
cls%seawood.org
411ab80ce3
New autoconf files for nglayout
1998-10-28 03:53:57 +00:00
joki%netscape.com
9cb79b1687
Adding window.open method, fixing editormode in release builds, various event fixes
1998-08-07 04:45:03 +00:00
joki%netscape.com
fe390a0803
Adding support for event handlers in html tags and moving event handler IIDs to central file.
1998-07-31 18:21:37 +00:00
dcone%netscape.com
7cf65076d0
added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h
1998-07-27 16:29:24 +00:00
dcone%netscape.com
e3ef192bdb
Added manifiest file so the nsIEventListenerManager could be public
1998-07-27 15:30:14 +00:00
joki%netscape.com
f85ed9ce71
Hooking up window element to event chain and adding in support for a few more event types.
1998-07-24 05:06:44 +00:00
joki%netscape.com
ce61da5597
More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout.
1998-07-23 02:55:33 +00:00
joki%netscape.com
db560e8cac
Adding new DOM stuff to handle JS event handlers
1998-07-17 04:52:12 +00:00
joki
e820a618d7
Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent
1998-06-23 21:53:02 +00:00
joki
7b0ded07ec
Removing no longer used file from Makefiles
1998-06-08 02:03:31 +00:00
joki
410e199107
Adding parts of dom event flow into layout.
1998-06-07 07:54:32 +00:00