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

517 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com 86ec54ba62 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 bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com 03ab87e4a1 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 a672a450a0 Bug 87264: fix small leak in nsDOMEvent. r=dbaron, sr=ben 2001-06-27 07:33:55 +00:00
bryner%uiuc.edu 8cfe74d6bb 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 810785e95c 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 860266aa0e 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 816f2bd1bb 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 239089d2a4 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 688519fb0c 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 8f26f9ac00 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 80f526179f 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 13cce0899e 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 cc32a8e054 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 2bf7260d28 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
joki%netscape.com 5303d368f3 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 ade2376885 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
jst%netscape.com aabe6d5306 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 438cf14e23 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 edf3f8a6e9 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 e1e5c32a99 Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775. 2001-05-18 17:41:23 +00:00
peterv%netscape.com 7b37c1c22d Trying to fix saari's bustage. 2001-05-18 12:59:32 +00:00
saari%netscape.com c480cdcd10 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 201736a175 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 4f15f064b6 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 969db0be6e 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 0b4ddfe2f8 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 effc9c8f51 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 9412163194 Backing out my fix which caused 80462. 2001-05-12 22:48:33 +00:00
evaughan%netscape.com a8792fc3db Landing accessibility
-r aarol, jgaunt

-sr brendan
2001-05-11 21:11:38 +00:00
timeless%mac.com f0460292c9 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 da269460c0 fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst 2001-05-11 05:36:00 +00:00
mstoltz%netscape.com d0f2b845b9 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 69d7c38f3c 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 adf1d8320a 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 8d492ce0bc 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 a0c30072bf 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 23b0c38927 Fix for 76495. r=danm, sr=rpotts 2001-05-01 22:54:11 +00:00
bryner%uiuc.edu b1335aba90 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 bc91edac71 Fix for 75024. r=danm, sr=ben 2001-04-28 05:50:46 +00:00
blakeross%telocity.com 6322e9b771 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 a0844e5329 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 e19695f8a4 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 dbfa6b68ad fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa 2001-04-25 02:04:56 +00:00
saari%netscape.com 74b1c161c7 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 687332547c 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 6a5f1efd3f Fix for 76746. r=saari, sr=waterson, a=asa 2001-04-20 00:16:39 +00:00
bryner%uiuc.edu 120c716a6e 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 ee0bcc6cf5 Fix for my 0.9 focus issues. r=saari, sr=brendan 2001-04-18 01:41:20 +00:00
heikki%netscape.com aa9a3a3c06 Bug 51339, XHTML map elements did not work, r=harishd, sr=vidur. 2001-04-18 00:14:34 +00:00
joki%netscape.com fc3f904443 Fix for smoketest block 76304. r:jst 2001-04-17 09:53:37 +00:00
joki%netscape.com 9d040706bd 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 02be49d1b5 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 1881292c89 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 6573419a09 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 bf6ae07ed8 Missed a piece of the mutation patch. 2001-04-04 05:06:18 +00:00
pinkerton%netscape.com 328d60b067 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 ce173e3ab1 take out some useless code r=blake. bug# 18726. 2001-03-31 23:50:25 +00:00
pinkerton%netscape.com cedf922a43 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 96f5f6cf31 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 4edeb9c96a tinderbox senna bustage r=cls add timer to REQUIRES 2001-03-30 08:43:00 +00:00
pinkerton%netscape.com 753219a03d 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 33edb59e2d Checkin for 36665. r=pink, sr=waterson 2001-03-30 02:30:17 +00:00
disttsc%bart.nl 6e48266508 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
mkaply%us.ibm.com 18b4b37fb2 #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 80eb9cff6c 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 ee2eb43f20 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 19a7e90199 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 da603b6ca7 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 bb0b23d65c 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 8e91e6fb89 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 92656d6cbe Fix for 70877, enabling outliner. r=dr, sr=waterson 2001-03-06 22:16:42 +00:00
blakeross%telocity.com 686e5a8010 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 e87ebb1bc9 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 744785129a 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 dffa9d6f8f Fixing win32 build bustage. 2001-02-19 14:19:42 +00:00
heikki%netscape.com ae23767cdd 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 92250d3dc9 Fixing Win32 bustage on pink's checkin. r=pink 2001-02-15 22:20:44 +00:00
pinkerton%netscape.com 2a573d79c5 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
aaronl%chorus.net 4f3059151b Pref accessibility.browsewithcaret implemented, bug=49508, r=sfraser, sr=waterson 2001-02-15 05:07:46 +00:00
buster%netscape.com a7ce89d599 bug 64696 (DOM UI events should be allocated from a recycler)
r=attinasi
sr=waterson
2001-02-12 06:54:31 +00:00
joki%netscape.com 138020a3c9 Fix for bug 53669, allow combination :focus/:active state notifications so that pre-focused HTML4 buttons work. r:saari,sr:jst 2001-02-07 07:05:56 +00:00
saari%netscape.com 0f1963992e fix for crashing plugin problem 65687, r=pinkerton, sr=waterson 2001-01-28 01:36:21 +00:00
locka%iol.ie 8c837042a5 Changed docshell so it turns the mouse pointer "busy" in the associated window while it is loading a document. Removed the hack in the navigator chrome that used the throbber status to set the busy pointer. b=30375 sr=rpotts@netscape.com 2001-01-26 12:35:32 +00:00
pinkerton%netscape.com 017885f941 Fixes a leak where an object registered to listen to multiple IID's
wouldn't get released until the manager shut down. Now gets released
when the last IID listened to is removed. r=danm,a=hyatt.
2001-01-23 03:10:25 +00:00
kmcclusk%netscape.com 00f44bbe67 Defer invalidates using PL_event so they can be combined with reflow invalidates. This improves performances by reducing the number of paint messages and eliminates flicker bug 36849 sr=roc+moz@cs.cmu.edu r=rods@netscape.com 2001-01-20 04:59:39 +00:00
saari%netscape.com faa4f80505 Fix for 54406, tabbing through links with multiple frames doesn't work. r=byrner, sr=waterson 2001-01-19 01:28:27 +00:00
heikki%netscape.com 71310e036b Some raw interface pointers to nsCOMPtrs, potential null pointer access fix, fixing two wrong eventStructTypes. No bug number. r=saari, sr=waterson. 2001-01-10 20:21:09 +00:00
bryner%uiuc.edu 7d0ac898af Bug 49273 - always set the hover state on content when we get a MOUSE_ENTER event. This prevents problems with some window managers that send MOUSE_LEAVE and MOUSE_ENTER events before ButtonPress events. r=saari, sr=blizzard. 2001-01-06 05:58:47 +00:00
blakeross%telocity.com 554f310066 Fix 54963: mousewheel text sizing not bounded, and lower upper bound (to 2000%). patch by Jonas Sicking (sicking@bigfoot.com). r=bryner,blake a=ben 2001-01-05 23:06:09 +00:00
bryner%uiuc.edu fc1f9d078b Bug 62763 - null check to prevent crash when mousewheel scrolling a textarea with style overflow:hidden. r=sspitzer, sr=tor. 2001-01-04 22:24:07 +00:00
rods%netscape.com c81b2c3b26 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu 9430a92e06 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
bryner%uiuc.edu a91dbbb4fa Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt. 2000-12-09 07:28:19 +00:00
hyatt%netscape.com 56d558b610 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
bryner%uiuc.edu 0a5e763a08 Bug 58589 - groundwork for horizontal mousewheel scrolling. r=jkobal, sr=scc. 2000-11-13 18:16:43 +00:00
dbaron%fas.harvard.edu 4e75561565 Fix leak of mCurrentFocus that caused input element in URL bar to leak. r=saari@netscape.com sr=hyatt@netscape.com b=59042 2000-11-08 03:00:02 +00:00
heikki%netscape.com b6224a2c58 Bug 51428, fix UMR in nsEventStateManager::DispatchNewEvent 2000-11-08 00:33:37 +00:00
heikki%netscape.com 4fe66cb6ae Bug 48886, fix UMR and clean up some ugly code. r=jst, a=vidur. 2000-11-08 00:31:06 +00:00