172 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
1909e9fd27 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
git-svn-id: svn://10.0.0.236/trunk@224621 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 09:18:37 +00:00
Olli.Pettay%helsinki.fi
c6b01eefa9 Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@222317 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 12:18:03 +00:00
jwatt%jwatt.org
263687b7b2 Fixing bug 373687. Reduce the potential for misunderstanding nsEventDispatcher::Dispatch. r=olli.pettay@gmail.com
git-svn-id: svn://10.0.0.236/trunk@221791 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 20:28:38 +00:00
Olli.Pettay%helsinki.fi
bb60e199b6 Trying to fix bustage, Bug 363067
git-svn-id: svn://10.0.0.236/trunk@220350 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:50:09 +00:00
Olli.Pettay%helsinki.fi
49e16cb1d6 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@220346 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:04:33 +00:00
Olli.Pettay%helsinki.fi
fbdd881a9d Bug 367781, adoptNode should update mMutationBits of the possible |window| object. r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@219299 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 22:54:24 +00:00
Olli.Pettay%helsinki.fi
3194bd9145 Bug 329126, Remove nsIEventListenerManager::CreateEvent, r=aaronl, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218794 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 07:32:34 +00:00
graydon%mozilla.com
3998c66e23 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg


git-svn-id: svn://10.0.0.236/trunk@217781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:31:26 +00:00
Olli.Pettay%helsinki.fi
174edaba72 Bug 360731, Back and Forward buttons on mouse no longer work, also Bug 330938, r=emaijala, sr=roc
git-svn-id: svn://10.0.0.236/trunk@216247 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 11:09:53 +00:00
vladimir%pobox.com
ece4ca3cad backing out bug 333078, xpcom cycle collector due to perf issues
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959 b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
Olli.Pettay%helsinki.fi
e84e5d51b6 Bug 344986, Simplify nsEventListenerManager, r+sr=sicking+jst (relanding)
git-svn-id: svn://10.0.0.236/trunk@213212 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-06 05:24:02 +00:00
Olli.Pettay%helsinki.fi
ff7b7d5b73 Back out Bug 344986 to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@209639 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-10 11:53:55 +00:00
Olli.Pettay%helsinki.fi
51020c2a12 Bug 344986, Simplify nsEventListenerManager, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@209574 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-09 17:28:57 +00:00
bzbarsky%mit.edu
36b317d733 Implement the :default CSS3 pseudo-class. Bug 302186, patch by Allan Beaufour
<allan@beaufour.dk> and jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@207539 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 03:20:19 +00:00
Olli.Pettay%helsinki.fi
8da0e637ea Bug 324011, initMouseEvent does not set relatedTarget property, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@201998 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 07:51:54 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
bryner%brianryner.com
de28a00f8c 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.
git-svn-id: svn://10.0.0.236/trunk@198196 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 20:37:32 +00:00
bryner%brianryner.com
fd3da04fca backing out 336696, I checked in the wrong version of the patch
git-svn-id: svn://10.0.0.236/trunk@198173 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 18:03:16 +00:00
bryner%brianryner.com
61a8c65480 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.
git-svn-id: svn://10.0.0.236/trunk@198161 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 16:18:45 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
masayuki%d-toybox.com
bb38c2225d Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@194136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 16:37:58 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +00:00
Olli.Pettay%helsinki.fi
4ea967fd3e Bug 329125, Remove nsMutationEvent::mTarget r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@192075 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:14:17 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
timeless%mozdev.org
faf573a28d Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +00:00
dbaron%dbaron.org
934879ff1e 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
git-svn-id: svn://10.0.0.236/trunk@187809 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 02:43:39 +00:00
Olli.Pettay%helsinki.fi
4daf45b9ba Bug 322985, Remove aScriptOnly parameter from the nsIEventListenerManager::RemoveAllListeners r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@187501 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 19:11:44 +00:00
cbiesinger%web.de
32c8a8358d 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


git-svn-id: svn://10.0.0.236/trunk@186703 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 14:15:33 +00:00
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
bsmedberg%covad.net
0217e2f9a9 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
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
gavin%gavinsharp.com
c2d613cffe Bug 306231: ConsumeFocusEvents can be removed, because it doesn't do anything, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183112 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 00:36:21 +00:00
doronr%us.ibm.com
5e4fa0d307 Bug 302188 - Support :read-only and :read-write pseudoclasses. patch by allan, r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@182490 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 21:16:27 +00:00
bzbarsky%mit.edu
1333cae14e Try fixing bug 288064 again. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu
29198e38f2 Backing out bug 288064 because of the Tp hit.
git-svn-id: svn://10.0.0.236/trunk@181383 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
d81aa0e274 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@181371 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:34:03 +00:00
bzbarsky%mit.edu
26af641d58 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


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
bzbarsky%mit.edu
d3e53a63c2 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


git-svn-id: svn://10.0.0.236/trunk@179340 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 20:56:46 +00:00
bzbarsky%mit.edu
1812f65d2f Implement :enabled and :disabled CSS pseudo-classes. Bug 84400, patch by Allan
Beaufour <allan@beaufour.dk>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@179280 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 03:31:47 +00:00
jwatt%jwatt.org
7240d0e8a8 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@178992 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:31:09 +00:00
aaronleventhal%moonset.net
16ef919f61 Bug 303620. Focus system goes haywire when focus changed in onblur or onchange handler. r=mats, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@178814 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 19:06:07 +00:00
roc+%cs.cmu.edu
a4e5443b20 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.
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
allan%beaufour.dk
8788b9ba70 Support :required and :optional pseudoclasses. Bug 302608, r+sr=bzbarsky, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@176956 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 08:29:03 +00:00
jst%mozilla.jstenback.com
792744ce69 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
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
aaronleventhal%moonset.net
8d772e2dc0 Bug 300779. Expose XUL tree selection via accessibility events. r=timeless, sr=roc, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@176779 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 17:18:28 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
masayuki%d-toybox.com
8aa406a962 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
git-svn-id: svn://10.0.0.236/trunk@175081 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 04:25:43 +00:00
bryner%brianryner.com
3274ca4c10 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.
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
bzbarsky%mit.edu
98338314d9 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


git-svn-id: svn://10.0.0.236/trunk@174103 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 02:02:45 +00:00
bryner%brianryner.com
189a661d09 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.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00