Commit Graph

1059 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
f0a7836d0e Further followup to bug 303713 make removing event listeners work when specifying unnecessary flags that were required when they were added b=319732 r+sr=jst 2005-12-14 23:58:23 +00:00
timeless%mozdev.org
4aeb9e3607 Bug 319402 Simplify nsJSContext::CompileEventHandler call in nsEventListenerManager::AddScriptEventListener
r=jst sr=jst
2005-12-11 02:42:04 +00:00
dbaron%dbaron.org
f2a37733b9 Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst 2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
61c4a775a7 Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu 2005-11-29 21:51:53 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
masayuki%d-toybox.com
08a44cbfe0 Bug 316805 Should not use NS_ENSURE_TRUE in nsEventStateManager::GetKBStateControl #5557 r+sr=roc 2005-11-18 05:19:41 +00:00
ginn.chen%sun.com
7823b407f2 Bug 300125 Carets from other tabs appear on the same tab when re-enabling caret browsing mode
r=aaronleventhal sr=jst
2005-11-18 03:44:50 +00:00
bzbarsky%mit.edu
81bdd1fa13 Use GetWindow() in more places where we want a window instead of going through
GetScriptGlobalObject.  Bug 311830, r=bryner, sr=jst
2005-11-17 18:31:22 +00:00
brettw%gmail.com
84f2f331b0 bug 271498: context menus should appear at cursor when using the keyboard
r=bryner
sr=roc
2005-11-15 02:00:32 +00:00
masayuki%d-toybox.com
7e718780b3 Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc 2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
3767450b23 backing out previous patch b=55751 2005-11-14 22:33:39 +00:00
masayuki%d-toybox.com
94e3cfbe0c Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc 2005-11-14 21:32:16 +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
jst%mozilla.jstenback.com
aceb3fb570 Fixing bug 305110. Make sure to set the internal flag bits correctly if an event is re-initialized. r+sr=bzbarsky@mit.edu 2005-11-07 22:22:49 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
masayuki%d-toybox.com
8168be5010 Bug 314077 Plug-ins do not receive keybord input when they are focused without mouse patch by <VYV03354@nifty.ne.jp> r=cbiesinger, sr=roc 2005-11-01 04:18:11 +00:00
gavin%gavinsharp.com
39b57ecdaa Bug 314427: nsIDOMPopupBlockedEvent should expose the blocked window's target name, r+sr=jst 2005-11-01 01:41:00 +00:00
masayuki%d-toybox.com
909be539a0 Bug 314077 Plug-ins do not receive keybord input when they are focused without mouse patch by <VYV03354@nifty.ne.jp> r+sr=roc 2005-10-29 12:50:22 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +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
jst%mozilla.jstenback.com
0960595bf8 bug 309027: Make sure we unsuppress the old focus controller to avoid making focus go out of whack. Patch by aaronlev and mrbkap. r/sr=mats/jst 2005-10-24 07:38:55 +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
peterv%propagandism.org
513c1fd56d Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
aaronleventhal%moonset.net
b3c1a7bb46 Bug 310241. Selection forgotten when you click on a button. r=mats, sr=jst 2005-10-11 03:33:48 +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
peterv%propagandism.org
a91a09cd13 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
mozilla.mano%sent.com
370f4cb779 Bug 309227 - Support for mousewheel.withmetakey.*/mousewheel.horizontal.withmetakey.*. r=mento, sr=neil. 2005-09-26 03:38:29 +00:00
peterv%propagandism.org
3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
aaronleventhal%moonset.net
42cd906430 Bug 305985. After clicking in blank content area, focus stays in some widgets when it should have left. r=mats, sr=bryner 2005-09-22 22:07:31 +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
masayuki%d-toybox.com
9510a1b16c Bug 105894 Clicking a partially off-screen link shouldn't scroll the page r+sr=roc 2005-09-18 11:32:52 +00:00
mark%moxienet.com
b0d475ff4b Bug 299419, crash [@ nsEventStateManager::FireContextClick]. Check for null pres shell. r+sr=roc 2005-09-16 00:05:39 +00:00
mats.palmgren%bredband.net
201de18c1d Crash if JavaScript close() is executed from onchange handler. b=308025 r+sr=bzbarsky 2005-09-14 05:03:20 +00:00
peterv%propagandism.org
1fd27aa751 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
aaronleventhal%moonset.net
4e2b2e9ee4 Bug 305032. Fix various situation where focus is confused and commands get disabled/grayed out. r+sr=bryner 2005-09-06 22:27:41 +00:00
aaronleventhal%moonset.net
e03346aeb1 Bug 307153. Follow up to last checkin with the correct null checks added. r+sr=bryner 2005-09-06 19:54:55 +00:00
aaronleventhal%moonset.net
9c760049a1 Bug 307153. Focus lost after dialogs closed. r+sr=bryner, a=schrep 2005-09-06 19:41:31 +00:00
roc+%cs.cmu.edu
60903ce73c Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +00:00
aaronleventhal%moonset.net
912a94a7dc Bug 305833. Context menu on bookmark right click is dead. r=mats, sr=bryner 2005-09-01 18:18:08 +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
mats.palmgren%bredband.net
fe5bc366c4 Fix the IsFocusable() check for XUL frames. b=305840 r=aaronleventhal sr=bryner 2005-08-30 20:22:55 +00:00
bzbarsky%mit.edu
0f56e73dd0 Make sure kepress handlers are not affected by Caps Lock state. Bug 295228,
patch by Dainis Jonitis <Dainis_Jonitis@swh-t.lv>, r=neil, sr=bzbarsky
2005-08-30 18:13:48 +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
dbaron%dbaron.org
9bc4f35244 Back out most of the rest of bug 304462. 2005-08-28 16:45:39 +00:00
dbaron%dbaron.org
9a6e5c1f52 Back out part of bug 304462 until I can figure out bug 306210. 2005-08-28 05:18:55 +00:00
dbaron%dbaron.org
f7622a3b1c Give popup blocked events a message constant. b=304462 r+sr=bryner 2005-08-26 21:38:38 +00:00
aaronleventhal%moonset.net
bad4dee397 Bug 305840. Focus problems with XUL textbox, causing problems in findbar, help and address bar because of exception thrown. Patch by Mats Palmgren. r=aaronleventhal, sr=bryner 2005-08-26 18:45:23 +00:00
mozilla.mano%sent.com
ac284e6d88 backing out patch i didn't mean to checkin in v1.592 of this file 2005-08-26 10:15:31 +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
6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
adc0ddf8eb In the XUL autocomplete widget, make user-initiated autocomplete dispatch an oninput event, just as if the user had typed the text. Also fixing a bug where it was not possible to create an oninput event from script. Bug 287996, r=mconnor sr=jst. 2005-08-22 18:34:21 +00:00
aaronleventhal%moonset.net
b3fef4bca2 Bug 258285. Find As You Type coming up when it shouldn't (textareas/textfields). r=mats, sr=bryner 2005-08-16 17:54:29 +00:00
joshmoz%gmail.com
7fcdb1e95d get rid of XP_MAC macros from mozilla/content. no bug. r+sr=dbaron 2005-08-13 00:20:46 +00:00
jst%mozilla.jstenback.com
e23ea875f3 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +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
dbaron%dbaron.org
5e2f34ea7b Fix some confusion related to popup and popupblocked events and a little other confusion. b=291725 r=jst sr=bzbarsky a=bsmedberg 2005-08-02 20:18:05 +00:00
aaronleventhal%moonset.net
9653d785dc Bug 302193. Tabbing gets stuck for print preview when webpage focuses an element in onload, or if user clicks in textfield with mouse. r=mats, sr=neil, a=bsmedberg 2005-08-02 13:44:55 +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
b396c88c41 Fixing bug 302889, and more tinderbox orange (balsa). Make window.close() actually close the window. Events that were incorrectly targetted at an inner window caused one of our DOMWindowClose handlers to prevent the close. See the bug for more details. r+sr=dbaron@mozilla.org, a=chase@mozilla.org 2005-08-02 01:23:40 +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
bryner%brianryner.com
83216585ac Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg. 2005-07-25 22:09:39 +00:00
mozilla.mano%sent.com
dd136ee95d Partial fix to bug 102330 - Back/Forward menu gets stuck on click-and-hold. r=jhpedemonte, sr=roc, a=bsmedberg. 2005-07-25 21:41:56 +00:00
mats.palmgren%bredband.net
9e90d126c5 Prevent having kbd focus inside the content document in Print Preview. b=244128 r=bryner sr=bzbarsky a=asa 2005-07-21 00:15:27 +00:00
bzbarsky%mit.edu
30298a402a More event coordinate hackery. Bug 296004, patch by John Sullivan
<jsfbbz@kanargh.force9.co.uk>, r+sr=roc, a=bsmedberg
2005-07-19 21:07:47 +00:00
timeless%mozdev.org
0363b55fbf Bug 299940 Class nsEvent forward-declared as struct
patch by b.jacques@planet.nl r=dbaron sr=dbaron a=bsmedberg
2005-07-19 21:03:06 +00:00
roc+%cs.cmu.edu
67a0394d02 Bug 297080. Mouse exit events from top-level windows should always be treated as exit events even if the cursor is still within window bounds (it must have moved into an on-top window). r+sr=bzbarsky,a=bsmedberg 2005-07-17 21:50:56 +00:00
smfr%smfr.org
ea6060bbb9 Fix bug 299419: crash on Mac on double-click-hold in a text widget. We crashed in the context-click timer callback dereferencing a null mCurrentTarget, which gets nulled out when SetMouseDownState() dispatches a selection changed event. Fixed by moving the mouse event higher up, while mCurrentTarget is still good. r/sr=roc 2005-07-15 00:44:28 +00:00
timeless%mozdev.org
108d205184 Bug 298129 Event.timeStamp always returns 0 for mouse click events
patch by martijn.martijn@gmail.com r=dbaron sr=bz a=asa
2005-07-13 18:52:09 +00:00
masayuki%d-toybox.com
4678ab27a3 Bug 300105 The found link doesn't have pseudo-focus in FAYT on frame page r+sr=bzbarsky, a=asa 2005-07-13 16:03:57 +00:00
masayuki%d-toybox.com
8f458edf50 Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa 2005-07-07 15:53:07 +00:00
smontagu%smontagu.org
cd922206ba Process non-ASCII access keys correctly. Bug 255696, r+sr=roc, a=asa 2005-07-03 12:19:26 +00:00
mats.palmgren%bredband.net
32773fe4f6 Fix crash opening/minimizing window that has onfocus/onblur=window.close(). b=296300 r+sr=bzbarsky a=asa 2005-07-02 22:58:22 +00:00
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
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
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
75a4727606 Fix memory leak. Bug 296014, r+sr=roc, a=shaver 2005-06-01 15:26:34 +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
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
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
Olli.Pettay%helsinki.fi
ed4e61c491 Bug 292464 - event listeners added using addEventListener() listen only trusted events. r=jst, sr=peterv, a=chofmann 2005-05-02 17:54:41 +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