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

938 Коммитов

Автор SHA1 Сообщение Дата
bryner%netscape.com 12279edad4 Use system metrics when available, and observed platform behavior otherwise, for determining the threshold to begin a drag. Bug 201342, r=blizzard, sr=sfraser, a=sspitzer. 2003-05-02 18:20:38 +00:00
sfraser%netscape.com 100bc42605 Fix bug 200745 -- we were using the wrong event coords to start a drag. Fix the ESM to use the coords of the mouse down, not the mouse move, so that dragging small objects is easier. r=jkeiser, sr=bryner. 2003-04-19 00:46:28 +00:00
danm%netscape.com 0c46957e6d new popupblocked domevent. also bring the world of ns_assertion home to DOMEvent's accessors and pseudo-subclass Init[...] methods. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:50 +00:00
danm%netscape.com c8a9092ebc new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:46 +00:00
roc+%cs.cmu.edu b9ace3df95 Bug 199024. The old way of detecting whether a scroll happened or not in DoWheelScroll doesn't work with smooth scrolling. r+sr=bzbarsky 2003-04-15 13:17:36 +00:00
sfraser%netscape.com 5a14aa5fdd Part of fix for bug 201400. r=aaronl, sr=me. 2003-04-12 03:12:59 +00:00
sfraser%netscape.com 2f449323df Fix for bug 201400: move the "accessibility.browsewithcaret" pref observer to the nsEventStateManager, to remove it from the DOMWindowController. Patch by brade/sfraser, r=aaronl, sr=sfraser. 2003-04-12 03:03:27 +00:00
roc+%cs.cmu.edu 3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
heikki%netscape.com b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
jst%netscape.com b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
shliang%netscape.com b440f41057 112789 - disabled radio elements should not get focus. patch largely by neil@parkwaycc.co.uk. r=shuehan, neil, sr=jag. 2003-03-26 02:55:19 +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
bryner%netscape.com f93f9b19d2 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-18 23:41:44 +00:00
sspitzer%netscape.com 06be46ccb3 a (knock on wood) safe fix for (at least) two bugs:
#195011, Dismissing Junk Mail Log dialog crashes Mozilla [@ nsEventListenerManager::HandleEvent]
#137191, Infinite recursion near nsEventStateManager::TabIntoDocument

really the same issue:  guard against tabbing into a sub document, popping back out, and tabbing back in recursively.

r=aaronl, sr=bryner.
2003-03-17 23:08:36 +00:00
jaggernaut%netscape.com c19fc0a9be Bug 94424: Search/filters UI text field doesn't accept click-right paste. The underlying cause was that mousedown on a menuitem in the textbox's context menu shifted focus from the textbox into the first focusable container of the textbox. We're fixing this by not letting the focusable frame search code look outside popup frames. r=bryner, sr=hyatt 2003-03-12 04:19:53 +00:00
roc+%cs.cmu.edu 210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
aaronl%netscape.com 84551c90d5 Bug 170921, bug 174163, bug 172329. Image selection occuring when image buttons, linked images or image map areas focused. r=mjudge, sr=bryner 2003-03-08 01:09:26 +00:00
aaronl%netscape.com 52677ea55f Bug 192454. Window is focused again if onclick='window.open' and href = '#foo'. r=bryner, sr=jst 2003-03-06 18:42:49 +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
bryner%netscape.com c8a63c954b Fix leak of mExplicitOriginalTarget from nsDOMEvent (bug 195602). Convert
nsDOMEvent to use nsCOMPtrs for its various targets.  r=jkeiser, sr=kin.
2003-03-04 01:51:16 +00:00
jkeiser%netscape.com 1732a11043 Make click+hold right-click menu work again on Mac (bug 193799), r=bryner/saari, sr=jst 2003-02-27 22:59:08 +00:00
jkeiser%netscape.com 88ca4030aa Fix mouseover topcrasher (bug 194493), r=saari@netscape.com, sr=bryner@netscape.com 2003-02-25 06:01:12 +00:00
bzbarsky%mit.edu 651bd3b256 make dispatchEvent work even if the eventTarget is not in the document tree.
Bug 191960, r=bryner, sr=jst
2003-02-22 19:12:21 +00:00
jkeiser%netscape.com bd4cc85eeb Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
jkeiser%netscape.com 178bbf710d Fix crasher (bug 186132), r=saari@netscape.com, sr=bryner@netscape.com, a=asa@mozilla.org 2003-02-20 07:59:14 +00:00
jkeiser%netscape.com 29f5cb3226 Make mousey events targeted properly at textnodes (bug 185889, bug 103055), fix client-side image maps (bug 110072), r=saari@netscape.com, sr=bryner@netscape.com, a=dbaron@dbaron.org 2003-02-14 21:43:06 +00:00
bryner%netscape.com fad0bef4a6 protect against the to-be-focused content going away during tabbing (bug 171210). r=jkeiser, sr=jst, a=asa. 2003-02-01 00:05:46 +00:00
jkeiser%netscape.com b7baf2214d Stop firing mouse events at textnodes, fix tooltips not going away onmouseout (bug 185889, bug 185965), r=bryner@netscape.com, sr=jst@netscape.com 2003-01-21 21:26:45 +00:00
aaronl%netscape.com 2c44c5ff43 Bug 188967. Possible fix for talkback crash. r=saari, sr=bz 2003-01-15 00:29:02 +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
aaronl%netscape.com cceca97ce0 Bug 187301. Tab nav pref accessibility.tabfocus not dynamically changeable. r=akkana,sr=bryner 2003-01-13 20:05:36 +00:00
kyle.yuan%sun.com 1fde1ceb3e Bug 150994 iframe with tabindex shortens tab cycle
r=aaronl, sr=bryner
don't get tabindex for HTML elements that don't support it
2003-01-10 10:07:30 +00:00
aaronl%netscape.com a448c227fa Backing out fix for bug 187301, to see if Txul numbers go back to normal. 2003-01-09 23:19:55 +00:00
aaronl%netscape.com ce8157cc7a Bug 187301 - tab nav prefs not dynamically changeable, no prefs observer. r=akkana, sr=bryner. 2003-01-09 20:03:41 +00:00
bryner%netscape.com 7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
dbaron%dbaron.org 48544669f3 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
sfraser%netscape.com 41453fc4cb Fix scrollwheel code so that shift-mousewheel scrolls sideways. Bug 170403. r/sr=bryner. 2003-01-07 05:35:42 +00:00
aaronl%netscape.com 237a050ac2 Bug 110718. Fix keydead problem during Transferring stage of document load, when the currently visible doc is a zombie. r=bryner, sr=jst. Bug 169767. Tabbing in XUL broken when textfield only tabbing pref is set. r=akkana, sr=bryner. Bug 187303. No keyboard access to URL bar when textfield only tabbing pref is set 2003-01-07 02:09:06 +00:00
jkeiser%netscape.com 64df219fb4 Fix onmouseover/onmouseout crash (bug 186132), r=saari@netscape.com, sr=dbaron@fas.harvard.edu 2002-12-24 20:21:40 +00:00
jkeiser%netscape.com cb84e04c70 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com 2002-12-18 23:38:09 +00:00
jkeiser%netscape.com d0d006e134 Fix crasher in mouse events (bug 185850), r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu 2002-12-18 07:13:51 +00:00
jkeiser%netscape.com 5e20e45df5 Make mouseover/mouseout/hover apply only to elements (bug 103055), r=bryner@netscape.com, sr=jst@netscape.com 2002-12-17 02:10:57 +00:00
bratell%lysator.liu.se 40bbe3138a Backout of bug 110718 to fix Tp regression and raise-on-load issues. 2002-12-15 19:52:22 +00:00
aaronl%netscape.com 569b35651c Bug 110718. During the 'transferring' when the currently visible document is a zombie, the keyboard is dead for the entire document. r=bryner, sr=hyatt+scc 2002-12-14 08:05:51 +00:00
peterv%netscape.com d06e860d5f Fix obvious error in patch for bug 183999 which caused bug 185033. 2002-12-13 08:17:44 +00:00
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
aaronl%netscape.com 5d3bd702a3 Bug 178520. input.focus() should not do input.select(). r=bryner, sr=bzbarsky, a=asa 2002-12-07 00:56:03 +00:00
dean_tessman%hotmail.com c7307e2455 bug 30431 - Intellimouse Explorer Backwards and Forwards button support.
r=rods on widget, timeless on content
sr=bryner
a=asa
2002-12-06 03:41:43 +00:00
kyle.yuan%sun.com e9e48eadbf Bug 134823 Toolbars don't honour accesskeys
r=dean_tessman, sr=jaggernaut
support accesskey for toolbarbutton
2002-12-04 05:38:07 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
caillon%returnzero.com 9b05810a7a Bug 181600, Updating for reviewer comments (removing an if). still r=sicking,sr=peterv 2002-11-25 23:27:29 +00:00
caillon%returnzero.com 0ec297b986 Bug 181600 - Use the new pref APIs. r=sicking, sr=peterv 2002-11-25 23:26:06 +00:00
bryner%netscape.com 6888fd15a4 Fixing bug 180285 (hang in mail compose), regression from bug 124990. Don't throw an exception if dispatchEvent is called on an element that's not in a document. r=saari, sr=jst. 2002-11-21 01:27:34 +00:00
bryner%netscape.com b8a9438942 Removing an unused variable. r=mozbot. 2002-11-20 23:37:52 +00:00
dbaron%fas.harvard.edu f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +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
bzbarsky%mit.edu 029ecd778e Disabled form controls should not be in the tab order. Bug 177620,
r=akkana,timeless, sr=bryner
2002-11-06 01:54:04 +00:00
bryner%netscape.com 16118b1cac Prevent allocating nsDOMMutationEvents from the nsDOMEvent-sized arena (an nsDOMMutationEvent is 4 bytes larger and was therefore clobbering the 4 bytes of memory after gPool). Bug 170001, r=dbaron, sr=jag, a=roc. 2002-10-30 00:12:42 +00:00
bryner%netscape.com 296d9c24b3 Fix links stuck in :hover state after being scrolled off of using the mouse wheel (bug 78765). r=hewitt, sr=hyatt, a=roc. 2002-10-29 23:59:08 +00:00
akkana%netscape.com da9584c86a 171003: shift-tab shouldn't land on images twice: add a comment. r=aaronl, sr=bryner, a=dbaron 2002-10-24 04:02:42 +00:00
akkana%netscape.com 57086eda12 171003: shift-tab shouldn't land on images twice. r=aaronl, sr=bryner, a=dbaron 2002-10-24 03:53:08 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
caillon%returnzero.com 0294527edd Oops, this got accidentally checked. Backing out. 2002-10-08 10:43:38 +00:00
caillon%returnzero.com 5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
aaronl%netscape.com 2494d75102 Fixing extra comma in checking 2002-10-05 16:12:44 +00:00
aaronl%netscape.com f7218d0d8a Bug 28583. Select text field contents when focused, except by mouse click, on certain platforms. r=brade, sr=sfraser 2002-10-05 15:39:33 +00:00
aaronl%netscape.com f21629a412 Bug 81723. Keyboard context menu (Shift+F10/Ctrl+space on mac) should open near focused item. r=pinkerton, sr=bryner 2002-10-03 00:47:54 +00:00
bryner%netscape.com a4474ab6d4 For mousewheel text resizing, ignore HTML form controls and XUL content, to avoid triggering resizing in cases where the user is both ctrl+clicking and scrolling (bug 65355). r=hewitt, sr=hyatt. 2002-10-01 01:28:51 +00:00
bryner%netscape.com e3d321d3b9 Don't crash if the focus controller is null during a deactivate (bug 168454). r=hewitt, sr=jst. 2002-10-01 01:25:00 +00:00
aaronl%netscape.com c6ecf0bdf6 Bug 170820 - xlinks reached with typeaheadfind not accepting Enter or mod+Enter to perform actions. r=sicking, sr=heikki 2002-09-27 22:31:05 +00:00
akkana%netscape.com e05f7989b0 169756: in text-control mode, tab to password fields too. r=glazman sr=sfraser 2002-09-20 04:10:55 +00:00
akkana%netscape.com 75743aa0f0 140612: Introduce tab usage pref accessibility.tabfocus, to allow tab to go only to form elements or only to text controls. (r,sr)=(bryner,sfraser) 2002-09-18 21:24:57 +00:00
caillon%returnzero.com 8d9edbbb4b 164453 - Fixing a crasher in nsEventStateManager::DispatchNewEvent()
Fix contributed by Peter A Jonsson <pj@ludd.luth.se>
r=bryner sr=jst
2002-09-14 10:28:14 +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
bzbarsky%mit.edu b394f6d78c views are not refcounted; do not nsCOMPtr them! Bug 166804, r=timeless,
sr=roc
2002-09-11 01:42:02 +00:00
bzbarsky%mit.edu 00fdb3ea23 Fix crash when trying to tab into display:none iframes. Bug 146255,
r=aaronl, sr=bryner, a=asa
2002-09-09 19:32:04 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com c6c9c3063a Fixing build bustage 2002-09-07 07:17:59 +00:00
bzbarsky%mit.edu 45f0616798 Fix crash bug 167038. r=caillon, sr=jst, a=roc+moz 2002-09-07 02:02:24 +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
gilbert.fang%sun.com a5b4e1d508 bug 129808 Preferences panel accelerator keys don't work when category tree or if OK/Cancel/Help buttons have focus
r=bryner,sr=bzbarsky
Factoring out the HandleAccessKey method of EventStateManager,
checking all sub docShell's accesskey and if necessary, bubbling up to the
parent docShell's EventStateManager's HandleAccessKey method.
2002-09-03 05:48:06 +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
dbaron%fas.harvard.edu 8c3542b0dd Ensure that the event state manager doesn't send content state changed notifications for content that's been removed from the document. b=157322 r=bryner sr=kin 2002-08-19 18:31:59 +00:00
bolian.yin%sun.com d663cda889 bug 136467, [Linux] F7 doesn't always toggle on caret.
patch by john.sun@sun.com, r=aaronl, r=caillon, sr=jst.
2002-08-19 02:58:15 +00:00
jst%netscape.com 5707cc67d2 Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com 2002-08-13 00:50:50 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
peterv%netscape.com 1182ac5c30 Fix for bug 138295 (XML Loading on Mac fails on .childNodes of non-root nodes). r=mstoltz, sr=jst. 2002-08-09 08:45:30 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu 60c7d14e69 <object> should be in form.elements. Bug 127847, r=jkeiser, sr=jst. 2002-08-06 08:32:19 +00:00
jst%netscape.com 0a68fc8803 Fixing regression bug 159468. Hold a strong reference to the script context in nsCxPusher to make sure it stays alive as long as we need it. r=jkeiser@netscape.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-07-26 23:10:36 +00:00
jst%netscape.com 7cd3446784 Fixing regression caused by bug 156452. Make sure the correct JS context is pushed onto the JS context stack before handling focus and blur code internally. This is needed since lots of focus and blur code rely on DOM range code that now does security checking when called to prevent from unauthorized use of a DOM range object. r=sicking@bigfoot.com, sr=bzbarsky@mit.edu, a=chofmann@netscape.com 2002-07-24 06:13:18 +00:00
joki%netscape.com 6be78dee05 Fix for bug 157845: mCurrentTarget pointer should not be set in the ESM without setting the NS_FRAME_EXTERNAL_REFERENCE bit. r:saari, sr:jst, a:chofmann 2002-07-22 21:36:36 +00:00
aaronl%netscape.com ce23320746 Bug 156301. Link focus outline ghosting during find next. r=bryner, sr=jst 2002-07-09 06:29:45 +00:00
bryner%netscape.com 0cf7d7b879 Don't send mouse enter events every time we have a key press (bug 156052). r=dbaron, sr=blake. 2002-07-06 23:25:20 +00:00
seawood%netscape.com 0597412383 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
av%netscape.com 44ec2cc7b7 Bug 150761 -- scroll button causes crash with windowless plugins, r=peterl, sr=sfraser 2002-06-28 17:43:38 +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
aaronl%netscape.com 24638c0863 Bug 142549. After find, spacebar doesn't scroll page. r=bryner, sr=kin. Bug 102679. Composer loses focus after image delete. r=kyle, sr=kin 2002-06-25 22:57:48 +00:00
joki%netscape.com b846194d1e Fix for bug 123700, send synthetic mouseenter/out messages to IFRAME elements to allow tracking when mouse is inside IFRAME. r:harishd, sr:jst 2002-06-14 04:14:55 +00:00
bryner%netscape.com e1f0385937 Fix the situation where clicking a link that has a mousedown handler which opens a window would erroneously send a blur to the newly-opened window (bug 131651). r=saari, sr=hewitt. 2002-06-12 05:00:35 +00:00
cbiesinger%web.de 15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +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
bryner%netscape.com f711b863c8 Prevent a crash that happens if you context-click while autocomplete is active in mail compose (bug 137864). r=danm, sr=jag. 2002-05-21 00:00:46 +00:00
jst%netscape.com 262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
jst%netscape.com 90ecf50e31 Fixing bug 132609. Make window.close() work even when called from an event handler that was added with addEventListener(). r=heikki@netscape.com, sr=jband@netscape.com 2002-05-20 20:55:41 +00:00
aaronl%netscape.com fa3df635f3 Bug 130969. Active accessibility: fix MSAA focus events. r=bryner, saari. sr=jst 2002-05-17 04:04:24 +00:00
mkaply%us.ibm.com 9394a1d1d7 #137782
r=pinkerton, sr=jst, a=asa
Change for OS/2 only - use right mouse button for drag
2002-05-10 03:07:06 +00:00
danm%netscape.com c64dedd749 null guard gLastFocusedContent in PreHandleEvent. bug 142918 r=jst,saari a=blizzard 2002-05-09 21:53:54 +00:00
aaronl%netscape.com a97fef7f68 Bug 136696. Active Accessibility: support get_accKeyboardShortcut(). r=jgaunt, sr=jst 2002-05-08 20:43:49 +00:00
jkeiser%netscape.com b987812e88 Fix stupid-Mac-OSX-compiler crasher. bug 134934, r=saari@netscape.com, sr=attinasi@netscape.com 2002-04-30 08:03:01 +00:00
bryner%netscape.com 15b0c5bbab Fix shift-tabbing in the case where the first focusable element in the page has a non-text child node. Bug 136495, r=aaronl, sr=jst. 2002-04-27 01:20:48 +00:00
bryner%netscape.com 8a1bce249c Backing out the patch for bug 136495 because it caused regression bug 139801. 2002-04-25 05:59:02 +00:00
bryner%netscape.com 2f8918d886 Fix for shift-tabbing out of the document into the URL bar (the tab-from-caret code was getting confused in this case). Bug 136495, r=aaronl, sr=ben. 2002-04-24 09:11:50 +00:00
dbaron%fas.harvard.edu 50fb6ea324 Fix assertion when typing over a selection. b=137556 sr=kin r=bryner 2002-04-20 12:36:45 +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
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
dougt%netscape.com f4cf458eb8 Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com 2002-04-15 22:39:43 +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
timeless%mac.com a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
aaronl%netscape.com 3026fad7a6 Bug 133304. Caret disappearing when tabbing to mail compose edit window. r=bryner, sr=hewitt, a=asa. 2002-04-02 01:56:22 +00:00
pinkerton%netscape.com 0ccc1df6f1 don't allow clickhold timer to fire context menu for folder buttons on the personal toolbar. bug# 108470. r=brade/sr=blake/a=asa. 2002-03-31 17:38:52 +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
aaronl%netscape.com 215145cd84 Bug 124946. F6 and Ctrl+tab no longer correctly cycles through frames. r=bryner, r=rjesup, sr=hewitt, a=asa 2002-03-27 04:43:52 +00:00
hewitt%netscape.com a6c6743038 133426 - can't get coordinates from popup events, r=jgaunt, sr=jst, a=asa 2002-03-27 02:59:39 +00:00
sfraser%netscape.com f1f03adb84 Fix for bug 117589: avoid popping up spurious context menus on Mac when event processing takes too long. r=pinkerton, sr=hyatt, a=asa. 2002-03-26 00:59:03 +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 ae7ef3ff0a Bug 130447 - Clicking on some named anchors goes to top of document. r=saari, sr=hewitt, a=asa. Bug 132154 - can no longer tab thru image maps areas . r=bryner, sr=hewitt, a=asa 2002-03-21 02:37:48 +00:00
aaronl%netscape.com a0842fd880 Bug 131089, bug 131238, and bug 131918. Fixes regressions caused from 'browse with caret' checkins in bug 66597. a) bug 131089 - crash in ResetBrowseWithCaret(), r=bryner, sr=alecf, a=scc. b) bug 131238 - assertions caused by SetCaretContentVisible, r=bryner, sr=alecf, a=scc. c) bug 131918 - infinite loop in MoveFocusToCaret(), r=jgaunt, sr=alecf, a=asa 2002-03-20 06:42:26 +00:00
bryner%netscape.com 9b8ae3b459 Bug 52815 - get rid of third tab stop inside <input type=file>. Patch from pete.zha@sun.com, r=bryner, sr=attinasi, a=asa. 2002-03-20 04:50:15 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
hwaara%chello.se 405b92531f #129746, don't emit a oncommand event on a <menulist/> element if it (or any attached <label/>) is triggered by an accesskey -- just focus it.
r=blake, sr=hewitt, a=asa
2002-03-13 23:55:25 +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
bnesse%netscape.com 81f57168cc Fix for bug 129151. Initialize all fields in the message object. r=beard, sr=alecf, a=asa. 2002-03-08 19:42:44 +00:00
bryner%netscape.com aef434897f Don't fire an extra blur when popup windows are opened and then immediately focused on Linux, by suppressing firing the blur during NS_GOTFOCUS handling if we are in the middle of an activate sequence. Bug 120209, r=saari, sr=hyatt/darin, a=asa. 2002-03-08 04:00:37 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
jaggernaut%netscape.com 33fb0161db Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa 2002-02-21 13:39:39 +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
jst%netscape.com 961801ed8a Fixing bug 109487. UMR in nsHTMLInputElement::HandleDOMEvent(). r=peterv@netscape.com, sr=shaver@mozilla.org 2002-02-14 04:23:48 +00:00
mstoltz%netscape.com 4756b7169c Bug 119646 - Rewrite of the security manager policy database for improved
performance. r=jst, sr=jband.
2002-02-13 04:20:46 +00:00
jst%netscape.com a26bc9da87 Backing out v1.130 of this file since it caused crasher bug 120237. rs=hewitt@netscape.com 2002-02-09 01:49:25 +00:00
alecf%netscape.com 96f52c5988 more dependency updates 2002-02-02 21:29:01 +00:00
rjesup%wgate.com 17c1fbaea0 Bug 117667: access past end of docshell child array. sr=jst, r=joki 2002-02-01 23:56:48 +00:00
mkaply%us.ibm.com e10354680d #122482
rs=jst
Make OS/2 go down a Windows path to fix some focus events
2002-02-01 15:14:35 +00:00
bryner%netscape.com 47f8390116 bug 108791 - infinite recursion crash when tabbing if there is no focusable content. r=saari, sr=sfraser. 2002-02-01 05:14:44 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
peterlubczynski%netscape.com 43f5de219d Fixing cursor flicker with plugins, bug 118877 r=kmcclusk@netscape.com sr=beard 2002-01-26 00:39:43 +00:00
bzbarsky%mit.edu ca547b257b Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
aaronl%netscape.com 64959be49e Bug 120019. Fix crashes in browse with caret feature. r=bryner, sr=jag. 2002-01-16 03:04:01 +00:00
hewitt%netscape.com 21a434f715 115632 - crash addreffing (nsIWidget *) in GetClientX, r=timeless, sr=alecf 2002-01-12 01:22:09 +00:00
hewitt%netscape.com 7f0e98bdd5 104401 - eliminate mOuter aggregate from nsXULElement, r=waterson, sr=hyatt 2002-01-12 01:20:29 +00:00
varga%utcru.sk 6673fe6131 80834 - [outliner scrollbar] if inbox has less than one page of messages, it will come up with a box where the scroll bar is
80548 - outliner scroll bar "disappears" in 3 stages

111101 - No scrollbox / slider / thumb in thread pane scrollbar

116269 - white scrollbars briefly show up in folder pane

116432 - Sometimes the twisty won't update after a click

116855 - Modify outliner builder syntax to match outliner content model
r=waterson, sspitzer, blake
sr=hyatt

99715 - convert category tree to use outliner
r=hixie
sr=blake
2002-01-03 22:58:23 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +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
mjudge%netscape.com d7c892374e wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com 2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com 4f507b8511 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
pinkerton%netscape.com 14eacaa0c8 when drag comes from external to ESM, kill clickhold timer. r=sdagley/sr=sfraser. bug#51323 2001-12-06 15:29:01 +00:00
jst%netscape.com d9e3afb71d Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
leaf%mozilla.org 8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
hewitt%netscape.com dcaac7cc4a 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt 2001-12-04 22:32:49 +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
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +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
aaronl%netscape.com 6f28df0916 Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content 2001-11-20 02:05:26 +00:00
blakeross%telocity.com 28b78a91cc 110145 - Using the mouse wheel crashes when there's no target content. Scroll the focused content when the cursor is outside the window. r=ben sr=hewitt 2001-11-16 04:52:16 +00:00
rods%netscape.com ae28653e61 Added an assert and an if to protect from crashing and help discover what is happening
during print preview (it's ok the shell is null, but why do we get a focus event?)
Bug 109567 r=dcone sr=attinasi
2001-11-15 13:15:54 +00:00
hewitt%netscape.com 76b5876544 108757 - dispatch DOM events for mouse wheel scrolling, r=?, sr=? 2001-11-14 10:06:21 +00:00
dbaron%fas.harvard.edu 0c93d110f3 Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard 2001-11-10 23:30:13 +00:00
joki%netscape.com 57040838f7 Fix for 71705, stop right click from triggering onclick handlers in base html content, though not in xml/xul/chrome. reviewed a while ago, lost in tree. r:saari,sr:hyatt 2001-11-07 06:29:29 +00:00
dbaron%fas.harvard.edu 8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
hewitt%netscape.com 3dca737b81 108759 - nsDOMEvent::InitEvent is throwing away screen/client coordinates, r=hyatt, sr=jst 2001-11-07 00:54:02 +00:00
hyatt%netscape.com eb69e86155 103097, fire custom events when link elts are added/removed. Helping out the link toolbar folks. r=jag, sr=jst 2001-11-06 09:02:55 +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
dougt%netscape.com 0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt%netscape.com d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
jaggernaut%netscape.com 0c2b3bc449 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
hyatt%netscape.com 80ff494561 Fix for 78344. r=blake, sr=ben 2001-10-07 06:32:36 +00:00
vidur%netscape.com 4966d85f91 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts 2001-09-29 17:50:15 +00:00
saari%netscape.com 12bce05c13 fix for PDT+, topembed, nsbranch+ bug 78857, an assertion caused by the event pool code. r=heikki, sr=jst 2001-09-27 22:41:40 +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
bryner%netscape.com 248367dee4 Bug 100921 - cannot tab into certain dialog fields. wrap-around of tabbing within a single document had regressed. r=saari, sr=hyatt. 2001-09-26 00:03:57 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
jst%netscape.com 05fe868ccb Fixing bug 100765. nsStringKey leak in the nsDOMEvent code. r=cls@seawood.org, sr=brendan@mozilla.org 2001-09-22 00:25:16 +00:00
bryner%netscape.com 89a864e386 Bug 64052 - don't allow chrome documents to take focus via tabbing. r=saari, sr=hyatt. 2001-09-18 23:07:44 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +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 25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +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
alecf%netscape.com 298c713fa2 add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
vidur%netscape.com 4e8f894ab2 Part of fix for bug 98597. Null checks so that accessing properties on a DOM event without an underlying PresContext doesn't crash. r=heikki, sr=jst 2001-09-08 00:16:04 +00:00
bryner%netscape.com 08fcf7314d Bug 42313 - unable to scroll over iframes with mousewheel. We now
correctly bubble up the scroll to the parent document if the iframe is
unable to scroll (either because it isn't scrollable, or because we're
already at the top/bottom of it).  r=saari, sr=hyatt.
2001-09-07 21:00:57 +00:00
vidur%netscape.com f02ab52228 Out parameters should be set to null to account for failure cases. r=jband, sr=jst@netscape.com 2001-09-06 23:05:21 +00:00
rjesup%wgate.com 9192f1e9a5 Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
bryner%netscape.com 9335e05a78 Bug 81398 -- tabbing doesn't go into out-of-flow frames. r=saari, sr=hyatt. 2001-09-05 22:52:18 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
dbaron%fas.harvard.edu be938a64b6 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu 5434e861aa Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com 9e2f57a942 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
saari%netscape.com 3318291f1b I messed up my checkin for bug93521, I screwed up nesting when applying a patch that needed merging. Bah. 2001-08-21 02:27:34 +00:00
bryner%netscape.com 422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
saari%netscape.com a2b78e8c70 Fix for bug 93521, selections are sometimes grayed out. r=bryner, sr=hyatt 2001-08-17 02:38:41 +00:00
bryner%netscape.com 721790a6b4 Bug 64176 - tabbing in proxies pref panel messed up. r=saari, sr=hyatt. 2001-08-14 00:46:32 +00:00
saari%netscape.com e75294835e fixing regression caused by 93521 fix, and another, more friendly fix for the bug. r=bryner, sr=hyatt 2001-08-14 00:44:13 +00:00
saari%netscape.com ca0eab28c7 Fix for 93521, Active selections are sometimes grey. This fixes a few cases where the selection color is grey, the blurred selection color, when it should be blue, or whatever the active selection color is. topembed fix. We were firing blurs in some inappropriate cases with clicks within the same document. r=bryner, sr=hyatt 2001-08-10 21:55:47 +00:00
hyatt%netscape.com 0c296a706a Fix for 71106. r=jag, sr=jst 2001-08-06 21:49:35 +00:00
jaggernaut%netscape.com f57611732e Bug 13004: nsDOMEventsIIDs.cpp/.h should go.
Patch by jst, r=jag, sr=brendan.
2001-08-02 05:36:44 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
jst%netscape.com 514e85c664 Adding null ptr check to nsEventStateManager::IsFrameSetDoc() since one of the callers passes in a pointer that might be null. r=brade@netscape.com, sr=me, no bug. 2001-07-23 20:12:19 +00:00
saari%netscape.com 2a7349540e fixing 77675, windows stealing focus from each other. r=bryner, sr=hyatt 2001-07-20 08:14:44 +00:00
jst%netscape.com 88d48dc0c5 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +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 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
jaggernaut%netscape.com 6d1a338eba Bug 87264: fix small leak in nsDOMEvent. r=dbaron, sr=ben 2001-06-27 07:33:55 +00:00
bryner%uiuc.edu 89a8648447 Bug 82123 -- enable embeddors to alter the focus traversal so that the document itself receives focus first instead of last. r=saari, adamlock, sr=jst, a=chofmann. 2001-06-26 01:19:11 +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
joki%netscape.com 8c1dab8fd0 Fix 77206, prevent reentrant events from overwriting listener state. sr;jst, r:pollmann, a:dbaron 2001-06-20 06:17:02 +00:00
joki%netscape.com 5bf89274a5 Fix 77206, stop reentrant events from overriding listener state flags, sr:jst, r:pollmann, a:dbaron 2001-06-20 06:12:19 +00:00
blakeross%telocity.com 4f09d72259 Widgets visually respond/depress on right click (45533). r=kerz sr=ben a=asa 2001-06-20 05:46:38 +00:00
dbaron%fas.harvard.edu 9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
jst%netscape.com ebe3b5fe07 Fixing bug 83332. Event listeners registerd with the DOM method addEventListener were being executed on the wrong context, often on the safe context (i.e. the hidden window context), this causes potential security problems and problems in cases where we use the context for figuring out the base URI when resolving relative URL's n' such... r=joki@netscape.com, sr=hyatt@netscape.com, a=drivers@mozilla.org. 2001-06-19 22:37:51 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
bryner%uiuc.edu b6c0c5ec57 Bug 58250 -- this fixes a situation where getting a NS_GOTFOCUS before the
matching NS_DEACTIVATE would fire a blur on the wrong
content/window/document, leaving it in a fairly broken focus state.
r=saari, sr=hyatt, a=tor.
2001-06-18 07:34:41 +00:00
pinkerton%netscape.com 79568e6d12 ignore applets, plugins, and embed tags in mac click-hold context menu code. r=pchen/sr=hyatt/a=asa. bug 77774. 2001-06-04 22:39:49 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
joki%netscape.com 53e2fab38c Part of fix for 55020, add a pref to determine if accesskey causes focus or focus/activation. sr:jst, r:pollmann 2001-05-23 06:35:32 +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 556608fe56 Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-05-19 07:02:50 +00:00
vidur%netscape.com ae0d3ddcd3 Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst 2001-05-19 01:21:57 +00:00
mstoltz%netscape.com 8c0cd58b30 Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst. 2001-05-19 00:33:51 +00:00
blizzard%redhat.com 678b80f10b Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775. 2001-05-18 17:41:23 +00:00
peterv%netscape.com 22b6e494e3 Trying to fix saari's bustage. 2001-05-18 12:59:32 +00:00
saari%netscape.com 32d8960835 fix for 78514, r=pink, sr=hyatt. Windows only temporary (until focus gets totally overhauled) hack to support embedding applications better. This causes our app to relinquish focus to native chrome in the embeddor's app. To do this, we check if the window that is about to get focus is a mozilla window. If not, we obey wm_killfocus like a normal app, and don't wait for the following focus to send the blur event. 2001-05-18 12:07:42 +00:00
mstoltz%netscape.com 11f7b8f900 Bug 47905 - adding security check for XMLHttpRequest.open.
Added nsIScriptSecurityManager::CheckConnect for this purpose.
Also cleaned up the security check API by removing some unnecessary
parameters. r=vidur@netscape.com, sr=jst@netscape.com

Bug 79775 - Forward button broken in main mail window. Making
WindowWatcher not call GetSubjectPrincipal if the URL to be loaded is
chrome, since the calling principal is superfluous in this case.
No one has been able to find the root cause of this problem, but
this checkin works around it, which is the best we can do for now.
r=ducarroz@netscape.com, sr=jst@netscape.com
2001-05-18 06:56:29 +00:00
pinkerton%netscape.com 0b03ce7cda add support for context menu key. use focussed element as the target, not the mouse coordinates. r=roc,dean_tessman@hotmail.com/sr=hyatt. bug#74410, 36665. 2001-05-17 18:37:50 +00:00
jst%netscape.com a31bb729c2 Removing GetNewListenerManager() from nsIDOMEventReceiver since it's not needed any more, no real code changes. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-05-17 06:04:04 +00:00
joki%netscape.com 83de3b5600 Fix for 78987, modify Init*Event signatures to meet standards. sr:hyatt, r:jst 2001-05-14 01:54:11 +00:00
joki%netscape.com 58e745e6a9 Fix for 54820, send :focus state changes to elements in multiple docs. sr:jst, r:saari 2001-05-14 01:49:07 +00:00
blakeross%telocity.com cea28c3119 Backing out my fix which caused 80462. 2001-05-12 22:48:33 +00:00
evaughan%netscape.com 94198ed5d8 Landing accessibility
-r aarol, jgaunt

-sr brendan
2001-05-11 21:11:38 +00:00
timeless%mac.com 7294491c84 Bugzilla Bug 79213 nsEventStateManager::PreHandleEvent dereference a NULL nsCOMPtr with operator->().:
bandage fix. r=saari sr=jst.
2001-05-11 06:22:11 +00:00
dr%netscape.com 96d227f332 fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst 2001-05-11 05:36:00 +00:00
mstoltz%netscape.com 59c995612e Fixes for bugs 79796, 77203, and 54060. r=jband@netscape.com,
sr=brendan@mozilla.org
2001-05-11 00:43:27 +00:00
mstoltz%netscape.com d57ecbba94 Fix for 79595 - security manager was incorrectly blocking the assignment of event listeners.
Now it correctly applies the sameOrigin check. r=jst.
2001-05-09 03:23:50 +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
joki%netscape.com 31e25c63b3 Part of fix for 77251, use correct strings for createEvent. sr:hyatt, r:jst 2001-05-04 03:06:39 +00:00
hyatt%netscape.com 9ac35d4459 Fix for 76495. r=danm, sr=rpotts 2001-05-01 22:54:11 +00:00
bryner%uiuc.edu 89eef2617e Bug 76920 - fire a mouseout event before doing a mousewheel scroll to avoid stuck tooltips. r=blake, sr=hyatt. 2001-04-30 08:11:03 +00:00
hyatt%netscape.com 4fb15f81ee Fix for 75024. r=danm, sr=ben 2001-04-28 05:50:46 +00:00
blakeross%telocity.com a54a91e8fa Reset the content state after dropping so dragged nodes don't remain :active (48857). r=saari sr=ben 2001-04-27 21:23:02 +00:00
heikki%netscape.com 4095a51dde Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2001-04-26 19:33:12 +00:00
pinkerton%netscape.com 4184e12c03 kill click-hold timer when shutting down esm. don't start click-hold timer if a <menubutton> or if content has a |popup| tag. Fixes dual-menus on bookmarks button. r=pchen/sr=hyatt. bug# 75842. 2001-04-26 19:12:31 +00:00
dr%netscape.com eec73874cf fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa 2001-04-25 02:04:56 +00:00
saari%netscape.com 46736afcfa 76450, fix for initial focus problems on pages with a text field that gets focused on load like google. r=pinkerton, sr=hyatt, a=drivers 2001-04-24 22:52:03 +00:00
joki%netscape.com 3a7e98920c Fix for bug 71283, null pointer check for event listeners passed into AddEventListener. a:choffmann 2001-04-23 05:33:07 +00:00
hyatt%netscape.com c60ed6c236 Fix for 76746. r=saari, sr=waterson, a=asa 2001-04-20 00:16:39 +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
hyatt%netscape.com 174428fb65 Fix for my 0.9 focus issues. r=saari, sr=brendan 2001-04-18 01:41:20 +00:00
heikki%netscape.com 1f6e826dca Bug 51339, XHTML map elements did not work, r=harishd, sr=vidur. 2001-04-18 00:14:34 +00:00
joki%netscape.com 81041e89f4 Fix for smoketest block 76304. r:jst 2001-04-17 09:53:37 +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
mjudge%netscape.com 72784fe41e 68396 removing unused ifdefs and includes from project for nsGfxTExtControlFrame2 sr=kin r= kin 2001-04-12 23:39:19 +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
blakeross%telocity.com c9b9689e26 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +00:00
hyatt%netscape.com 672f152fb8 Missed a piece of the mutation patch. 2001-04-04 05:06:18 +00:00
pinkerton%netscape.com 19eacb143c set the out param for GetSelection in all cases. fixes blocker. r=blake, sr=smfr. bug 74217. 2001-04-02 18:18:53 +00:00
pinkerton%netscape.com c8774a8308 take out some useless code r=blake. bug# 18726. 2001-03-31 23:50:25 +00:00
pinkerton%netscape.com 919a0f1947 prevent click-hold scrollbars from coming up on form elements. r=pchen/sr=hyatt. bug# 18726. 2001-03-31 23:32:14 +00:00
disttsc%bart.nl dacbb4faa9 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
timeless%mac.com 5db2f36f98 tinderbox senna bustage r=cls add timer to REQUIRES 2001-03-30 08:43:00 +00:00
pinkerton%netscape.com ffb57058a7 switching mac to use NS_CONTEXTMENU event, click-hold context menus, switching embedding to use NS_CONTEXTMENU event. r=saari/sr=hyatt. bug# 36665, 18726 2001-03-30 04:45:40 +00:00
hyatt%netscape.com a60ae23d7c Checkin for 36665. r=pink, sr=waterson 2001-03-30 02:30:17 +00:00
disttsc%bart.nl f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
mkaply%us.ibm.com 36c4ac0e24 #36665
r=saari, sr=hyatt
Enablement of a DOM event for displaying a context menu
2001-03-23 03:34:15 +00:00
peterlubczynski%netscape.com c01bf6830c Fix for null docShell in nsEventStateManager::UpdateCursor. Fixing AIM Express top crash. bug 69589 r=saari sr=attinasi 2001-03-19 23:01:59 +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
joki%netscape.com a80e213a13 Fix 62878, hack event.which to return values more like 4x. r:peterv, sr:jst 2001-03-13 11:34:07 +00:00
ftang%netscape.com 28e5f652ee fix bug 71274. r=nhotta sr=jst
remove bad code which may cause crash
work around the condition which will case IME crash on Mac when Mac cabonalized MSL does not comfirm to
ISO C++ standard and return null when ask for new xxx[0];
2001-03-12 22:26:58 +00:00
nisheeth%netscape.com b792bab4ff Null check for mPresContext which fixes crash in bug 57597. r=joki. sr=jst. More work needs to be done on the bug in the 7.0 timeframe to fix load event propagation across documents that do not have presentation contexts. 2001-03-12 07:26:46 +00:00
ftang%netscape.com 061c1a8efb fix 71324 . delete mList so we won't leak in IME code.
r=nhotta sr=jst
2001-03-09 13:47:17 +00:00
hyatt%netscape.com 68229a8b4b Fix for 70877, enabling outliner. r=dr, sr=waterson 2001-03-06 22:16:42 +00:00
blakeross%telocity.com 38794d139f UIEvent button property is incorrect according to the DOM2 spec. Changing values to 0, 1, 2 (left, middle, right mouse buttons respectively) from 1, 2, 3. |event.which| continues to use the old values for backwards compatibility. This affects future xbl, js, and c++ event button checks so please see the newsgroups for more info (60703). r=timeless sr=jst 2001-03-02 03:07:53 +00:00
bryner%uiuc.edu b5b661c6d2 Bug 40611:
- add ctrl+tab/ctrl+shift+tab binding to tabcontrol to switch tabs
- check view visibility before shifting focus, this prevents us from
tabbing into inactive panes in a deck.
r=saari,blake.  sr=ben.
2001-02-27 04:43:04 +00:00
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
jst%netscape.com f57a187ea6 Fixing win32 build bustage. 2001-02-19 14:19:42 +00:00
heikki%netscape.com 915749084a Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 12:55:42 +00:00
hyatt%netscape.com 19a77a20e0 Fixing Win32 bustage on pink's checkin. r=pink 2001-02-15 22:20:44 +00:00
pinkerton%netscape.com 794f5e3b1b force trees to synchronously update the area invalidated by a mousewheel scroll. r=bryner,a=hyatt, bug#63465 2001-02-15 22:07:06 +00:00