Commit Graph

474 Commits

Author SHA1 Message Date
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