Граф коммитов

1070 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 8fc3ac9a30 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 5c2cbd6802 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 b76f90dde8 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 3115852b5a Fix memory leak. Bug 296014, r+sr=roc, a=shaver 2005-06-01 15:26:34 +00:00
bzbarsky%mit.edu 0f4f2468fe 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 592dbdc176 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 083870d241 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 c985ef60fd 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 c4b8dd4f16 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 174cecbc39 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 c5fbc00351 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
dbaron%dbaron.org fd94b01f7c Restore broken .detail property on overflow and underflow events. b=291198 Patch from Nate Nielsen <nielsen@memberwebs.com>. +sr+a=dbaron 2005-04-22 02:01:34 +00:00
roc+%cs.cmu.edu 9fd534c57f 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 249c80f870 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 3601f2dd9e 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
bzbarsky%mit.edu 5403d4e3c2 Use the owner document when compiling event handlers. Bug 289456, r+sr=jst,
a=dbaron
2005-04-09 17:32:25 +00:00
roc+%cs.cmu.edu 0060ad51ab 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 697dae9898 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 7265e749d5 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 8eb0a2c4cc Bug 260399 disabled textarea/input should use DEFAULT pointer
r+sr=bzbarsky
2005-04-04 10:35:50 +00:00
roc+%cs.cmu.edu cf694cecf6 Fixing Mac bustage 2005-03-30 03:05:17 +00:00
roc+%cs.cmu.edu 72764c328d 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 de6d715263 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
darin%meer.net 926afe654d fixes bug 286506 "warning: locally defined symbol ... imported in function ..." r=bsmedberg 2005-03-19 20:35:35 +00:00
jst%mozilla.jstenback.com 54a15dcc3a 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
bryner%brianryner.com e78b95252a Make sure that nsJSEventListeners hold a reference to the same identity interface that XPCWrappedNative does. Bug 285546, r=jst, sr=bzbarsky. 2005-03-11 10:48:26 +00:00
bryner%brianryner.com ea9edcb5be 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
jshin%mailaps.org 8669b7866a bug IME candidate list is hidden by autocomplete window (r=dbaron,bryner,smontagu,jst,sr=dbaron,bryner,neil) : patch by Masayuki Nakano 2005-03-05 08:19:05 +00:00
jst%mozilla.jstenback.com cef561a155 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 4b68fa447a 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
doronr%us.ibm.com 5be9bbeae4 Bug 283637 - Dispatching UIEvents using DOM interface doesn't work. Patch by smaug, r=bz/sr=jst 2005-02-25 19:31:09 +00:00
roc+%cs.cmu.edu 55480a9b6f 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
neil%parkwaycc.co.uk 24092c56ed Removing an event handler should not disturb firing of other event handlers b=174320 based on a patch by Silver r+sr=jst 2005-02-18 09:36:29 +00:00
dveditz%cruzio.com 3c09601e58 bug 280889 prevent use of uninitialized 'cursor', r/sr=bzbarsky 2005-02-04 00:14:06 +00:00
bryner%brianryner.com f5257db823 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
jshin%mailaps.org 69b3b9a195 follow-up to bug 278061 : rid of trivial (but potentially critical) typos ,patch by masayuki : r=me, sr=bz 2005-02-02 17:07:51 +00:00
bzbarsky%mit.edu 95acd8f9c5 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
mozilla.mano%sent.com 81ed4ff966 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 d222ecb623 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 79e5aa3eac 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 60ece961d7 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 b87373b71f 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 db6f8d937a 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 e42c2d976d 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
bryner%brianryner.com 184cc47ec5 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
darin%meer.net acf95bcaa1 fixing --disable-xul bustage 2004-12-07 01:53:37 +00:00
bzbarsky%mit.edu f7f1f88343 Put the tree stuff in MOZ_XUL ifdefs. Bug 175568 followup to fix minimo, etc,
bustage.
2004-12-07 00:24:52 +00:00
aaronleventhal%moonset.net cbf2ae3323 Bug 175568. Make shift+f10 menus show up in the right place, for scrolled documents and tree views. r=jan varga, sr=bz 2004-12-06 15:12:53 +00:00
gerv%gerv.net b92568bebe Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
aaronleventhal%moonset.net 826a89aea6 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
bzbarsky%mit.edu ee3a61b53f deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
aaronleventhal%moonset.net 8368ba8462 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
jshin%mailaps.org ca730bd81d bug 263132 IME reconverting does not work with IME of Japanese, patch by masayuki@d-toybox.com r=Ilya Konstantinov, sr=bryner 2004-11-13 12:00:56 +00:00
aaronleventhal%moonset.net a699892779 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 42a3d0db85 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 af6ef41111 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 642604a088 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 ac3268fad6 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 3147de7753 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
peterv%propagandism.org f3ad153070 Fix for bug 264309 (Consolidate CloneNode implementation macros). r/sr=jst 2004-10-15 14:42:14 +00:00
aaronleventhal%moonset.net 24eabf40af 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
bzbarsky%mit.edu 65033a43f8 Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.
2004-10-11 16:29:42 +00:00
dbaron%dbaron.org def3b4425e Also prevent 'overflow:hidden' elements from being scrollable by wheel mouse. b=259615 r+sr=roc 2004-10-09 05:15:08 +00:00
jst%mozilla.jstenback.com ac47282c45 Fixing build bustage on Tru64 UNIX. Part of bug 252326. 2004-09-29 22:10:30 +00:00
kyle.yuan%sun.com 45fb2f7b4b 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 7a7429fade 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 61025edecc 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 4958d2471b 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 1c346b8beb 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 09260d852e Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron 2004-09-19 19:49:29 +00:00
bugzilla%arlen.demon.co.uk a14eb588e3 Bug 258193 nsIDOMMouseEvent::GetButton() broken with contextmenu event
p=trev@gtchat.de r=jst sr=bzbarsky
2004-09-17 10:48:59 +00:00
mats.palmgren%bredband.net 57ce935001 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
jst%mozilla.jstenback.com d99604bef1 Fixing problem found by trev@gtchat.de where creating key event objects would actually create mouse event objects (bug 238773). r+sr=jst@mozilla.org 2004-09-12 19:27:54 +00:00
mats.palmgren%bredband.net 1d868ad59c 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
bzbarsky%mit.edu 925815e9a0 createEvent/initEvent screw up creating right-click or middle-click events. Bug
254795, r+sr=jst
2004-09-10 03:29:09 +00:00
jst%mozilla.jstenback.com e237ef56e9 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 da54d83f54 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
jst%mozilla.jstenback.com 63c881aeb2 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
jst%mozilla.jstenback.com 00e4d5d5e3 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
jst%mozilla.jstenback.com f1d17b9743 Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
aaronleventhal%moonset.net ee255c951a Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
kyle.yuan%sun.com 0c6e0f065f 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 a8153addf4 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
neil%parkwaycc.co.uk f66025cf5c Bug 256618 Some context menus not appearing because UIEvents were being created instead of MouseEvents r=bryner sr=jst 2004-08-25 23:29:47 +00:00
dbaron%dbaron.org d0c0785232 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
dbaron%dbaron.org 403c8bede5 Fix regressions of composition events and thus fix IME. b=256464 r=mozilla-bugzilla@future.shiny.co.il sr=bryner 2004-08-25 21:43:19 +00:00
bryner%brianryner.com 014fbde518 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com 87894dfad3 Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com 0509dcce92 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com fd39847c12 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
dbaron%dbaron.org 2230f9a8d3 Remove unneeded forwarding of nsIDOMNSUIEvent methods to reduce codesize gain and perhaps help Tp/Tdhtml regression. b=238773 r=bryner 2004-08-21 00:10:57 +00:00
bryner%brianryner.com efcc221ee4 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bryner%brianryner.com 95ad9c57b2 fixing debug build bustage 2004-08-20 19:32:23 +00:00
timeless%mozdev.org d5d6935f8c undoing the known incorrect signature and moving the include from the cpp file to the h for the nsCOMPtr
second attempt at fixing build bustage for bug 238773
2004-08-20 19:28:25 +00:00
timeless%mozdev.org 0da537bf4b first attempt at fixing build bustage for bug 238773
-- editors note -- this is not the right fix and is in direct conflict with bryner's fix which is correct.
2004-08-20 19:27:36 +00:00
timeless%mozdev.org dd125c71e9 second attempt at fixing build bustage for bug 238773 2004-08-20 19:20:40 +00:00
bryner%brianryner.com 96878669c5 Fixing windows bustage 2004-08-20 18:53:12 +00:00
timeless%mozdev.org 758a700395 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 5b30ab7631 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 aa6a873a94 Fixing build bustage 2004-08-06 17:51:20 +00:00
mats.palmgren%bredband.net 7ec3e86276 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 701e8357ed 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 6591b6f4a6 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 18fa617572 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net 0319b80e0e 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 08ed4eb955 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
tor%cs.brown.edu 86240fbc28 Bug 242234 - svg event attributes.
Original patch by sicking, r=bryner, sr=jst
2004-07-22 16:38:05 +00:00
timeless%mozdev.org 962cc4ac29 Bug 52116 javascript strict warning/error doesn't always contain Source File filename
handle onfoo inline event listeners
r=bz sr=bz
2004-07-17 00:28:35 +00:00
tor%cs.brown.edu 9aba64c0b6 Bug 245569 - event.eventPhase always AT_TARGET even during
capture/bubble.  Patch by aaronr@us.ibm.com, r+sr=bryner.
2004-07-16 15:10:02 +00:00
dbaron%dbaron.org a2d532dbdc Trim unneeded includes to speed up compilation. b=64023 r+sr=jst 2004-07-16 06:32:16 +00:00
dbaron%dbaron.org 8ab3e7fc4b Fix leak by adding dont_AddRef. b=242833 r+sr=roc 2004-07-15 19:58:11 +00:00
bzbarsky%mit.edu 67f658ce24 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
jst%mozilla.jstenback.com 0d5d5f081f Checking in fix for 164482 (Patch by smaug@welho.com). Adding support for XML Events. r=bryner@brianryner.com, sr=jst@mozilla.org 2004-07-15 05:24:40 +00:00
dbaron%dbaron.org 45baf132fe Make :active hierarchical. b=65917 r+sr=bzbarsky 2004-07-14 22:27:24 +00:00
aaronleventhal%moonset.net 9aeb55ff97 Bug 171366. Support tabindex for all elements. r=bryner, sr=jst 2004-07-07 00:58:57 +00:00
robin.lu%sun.com 0bb575e31b 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 2ce73bcfc2 Missing part of checkin for bug 17602. 2004-07-05 01:46:30 +00:00
aaronleventhal%moonset.net a00d3f0d9c 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
peterv%propagandism.org c6758de122 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
dbaron%dbaron.org 0ec49fbb44 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
bryner%brianryner.com 55d74e870b oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com 8cfeadc0a0 bringing branch changes forward 2004-06-21 23:35:56 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
timeless%mozdev.org a2075ea47e Bug 52116 javascript strict warning/error doesn't always contain Source File filename
This handles event handlers.
Not all cases are handled well. if you get a fixme url, you're invited to
come up with code to handle that case. fixing it will probably include
bloating objects with references to their origins.

Handled cases include the ones listed in
http://bugzilla.mozilla.org/show_bug.cgi?id=52116#c59

r=jst sr=jst
2004-06-16 13:18:47 +00:00
bzbarsky%mit.edu 27b140b534 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 6ae037caa8 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
timeless%mozdev.org c081b1e8b9 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
roc+%cs.cmu.edu b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com 29795a5bfc 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
aaronleventhal%moonset.net c63c5dd0d1 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 cb6a85593a 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 c9179b6a17 addref focus controller in deactivate event handler. bug 243112 code=crispin r=bryner,danm-moz 2004-05-17 23:36:34 +00:00
roc+%cs.cmu.edu 1f65501541 Bug 242833. Make nsDOMEvent::GetClientX/Y handle cases where a subdocument's widget is not an ancestor of the event's widget. Also forward all mouse grabbing to the root view manager of a view manager hierarchy so that subdocuments can grab the mouse when an event occurs in an outer document. 2004-05-13 15:39:12 +00:00
bryner%brianryner.com f9f55ca33e deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
bryner%brianryner.com 7927c18306 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst. 2004-04-30 23:55:16 +00:00
roc+%cs.cmu.edu b7ad4d88d0 Fixing bustage. 2004-04-30 15:14:41 +00:00
aaronleventhal%moonset.net f19fae9846 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 ca74706604 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 8dd729d5d3 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 f15e12c3c4 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 edf943927e Fix shift+tab in mail compose (bug 240504). r=neil, sr=jst 2004-04-19 17:48:34 +00:00
timeless%mozdev.org d73b004d73 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 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bryner%brianryner.com 10b4b82e6a 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 10:27:50 +00:00
bryner%brianryner.com 76b5d475eb 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 d50a4d54b3 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 492beea450 Bug 239372 ESM caches profile preferences and constantly gets others
r=bryner sr=bz
2004-04-13 06:41:35 +00:00
jst%mozilla.jstenback.com 37999b600a Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org. 2004-04-13 03:21:50 +00:00
bzbarsky%mit.edu 7b4e01edd8 Make mutation events not be cancelable. Bug 117128, r+sr=bryner 2004-04-13 00:21:27 +00:00
jst%mozilla.jstenback.com ea21d2ad3b Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org 2004-04-10 00:25:01 +00:00
neil%parkwaycc.co.uk 9f9e1e57f2 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 82e01f4cf4 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 1775c22dcc Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst
2004-03-06 00:22:03 +00:00
bryner%brianryner.com 397549f842 fixing windows bustage 2004-02-27 17:43:15 +00:00
bryner%brianryner.com d6b0d386ee deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
jst%mozilla.jstenback.com f218d03481 Fixing bug 233142. Correct event default action prevention logic to match what we used to do before bug 226462 was fixed. r=bzbarsky@mit.edu, sr=bryner@brianryner.com. 2004-02-20 20:46:22 +00:00
bzbarsky%mit.edu db964821d9 Give events created with createEvent a time-of-creation timestamp. Bug 116088,
r+sr=jst
2004-02-19 22:10:23 +00:00
cbiesinger%web.de bb8f20a832 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
bryner%brianryner.com 41643eed69 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 d78e8a45b5 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
bzbarsky%mit.edu 4d40400018 Fix hang bug 232368. Patch by Mats Palmgren <mats.palmgren@bredband.net>,
r=bzbarsky, sr=bryner
2004-02-11 07:47:06 +00:00
jst%mozilla.jstenback.com 6ca4c1a78e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bryner%brianryner.com b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
mvl%exedo.nl f008ef89d7 Add a way to manually show a single blocked pop-up window. Pass the features of the window.open() call in DOMPopupBlockedEvent.
Bug 198846, r=danm, sr=jag
2004-02-10 18:22:23 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner%brianryner.com d4f13c3ba7 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 b506c7e4d8 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 e5582e74d7 that doesn't seem to be the problem. restoring over last revision. 2004-02-03 20:07:39 +00:00
danm-moz%comcast.net db0c085744 disabling last checkin in an attempt to pin down the Tp regression 2004-02-03 17:16:05 +00:00
danm-moz%comcast.net a98a5490c3 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 05a0e4f624 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 f67839e02e 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 1804c4910c 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 34cd8e8bdf 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 290494e26b 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 4ff3150fb4 Fix titlebar updating when using tabs (bug 230829). r+sr=dbaron. 2004-01-14 01:33:47 +00:00
bzbarsky%mit.edu d42f0893fe Use weak presshell ptr, since we can. More on bug 230380 2004-01-13 23:24:41 +00:00
bzbarsky%mit.edu c4f4038c7d Fix crash bug 230380. Patch by isaachh@mailc.net (Isaac Hwak Han), r=bryner, sr=jst 2004-01-13 20:50:57 +00:00
bryner%brianryner.com a135ce4d60 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 9c81944cb6 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
peter%propagandism.org 79b0f21971 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 15:41:10 +00:00
bryner%brianryner.com 7264501b7b 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 9fb3702121 Fixing mac bustage. 2003-11-19 02:23:25 +00:00
jst%mozilla.jstenback.com c26b5779ba Fixing mac bustage. 2003-11-19 02:02:56 +00:00
jst%mozilla.jstenback.com 6380d7fd12 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
jst%mozilla.jstenback.com a743394ec7 Re-landing fix related to regression bug 147811. Make declaring on* functions trigger the event listener registration code so that event handlers get registerd by simply declaring a global (or whatever the scope) function with the name of a event handler. r=caillon@aillon.org, sr=brendan@mozilla.org. 2003-11-18 01:59:51 +00:00
bzbarsky%mit.edu c3cc6e8767 Fix bug 225565 by looking at the actual control type. r+sr=peterv 2003-11-13 18:38:41 +00:00
bzbarsky%mit.edu fb0a974be6 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 50c8451a33 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 c4d3dbdd6c 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 a0e219b348 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
caillon%returnzero.com de3d3fbf61 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu 3e7e15b053 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 8801e97e8f 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 8aa7b563d2 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
bryner%brianryner.com 577de49b39 Use typeof() to implement NS_STDCALL_FUNCPROTO so that pointer-to-member types using stdcall work on mingw gcc. Bug 203137, r=cls, sr=dbaron. 2003-09-15 04:20:20 +00:00
bryner%brianryner.com 5a2b401762 Instead of repeating the same code for each event and listener interface, have nsEventListenerManager::HandleEvent use a table containing the event, interface and method, and array bits. This cuts out a _lot_ of redundant code. The checkin also adds the NS_IMETHOD_CALLBACK #define, which can be used to declare pointer-to-member types using stdcall. Bug 217124, r=jst, sr=dbaron. 2003-09-11 06:31:58 +00:00
pinkerton%netscape.com 7bad112096 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 7f4af2e0f9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00