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

1080 Коммитов

Автор SHA1 Сообщение Дата
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
aaronl%chorus.net ab4d0dcaee Pref accessibility.browsewithcaret implemented, bug=49508, r=sfraser, sr=waterson 2001-02-15 05:07:46 +00:00
buster%netscape.com 469981a979 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 ce97afea1d 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 9263159608 fix for crashing plugin problem 65687, r=pinkerton, sr=waterson 2001-01-28 01:36:21 +00:00
locka%iol.ie 3131997624 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 1e64805e30 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 5ae11d815b 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 415d201213 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 b119e95db4 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 7b1af9e0fe 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 f7bc22e0b4 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 d1f174bb11 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 edb0c6270c 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 caa9658024 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 e3a92267ce Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt. 2000-12-09 07:28:19 +00:00
hyatt%netscape.com d9f3df81f0 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
cls%seawood.org 66a18fcbbf 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 973bbbd400 Bug 58589 - groundwork for horizontal mousewheel scrolling. r=jkobal, sr=scc. 2000-11-13 18:16:43 +00:00
dbaron%fas.harvard.edu 4de499215d 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 70cc953e30 Bug 51428, fix UMR in nsEventStateManager::DispatchNewEvent 2000-11-08 00:33:37 +00:00
heikki%netscape.com de2d514804 Bug 48886, fix UMR and clean up some ugly code. r=jst, a=vidur. 2000-11-08 00:31:06 +00:00
hyatt%netscape.com fae32fdbd7 Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
bryner%uiuc.edu 8e29d3ba05 Bug 50597 - mousewheel nonfunctional if set to full-page scroll. r=mjudge,jkobal,ben. a=ben. 2000-11-02 05:15:34 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
heikki%netscape.com 36e74cc7a5 Bug 53763, crash when event dialog dismissed and content changed. Make sure we release presshell before viewmanager so things can proceed smoothly. r=joki,scc; a=vidur. 2000-10-18 17:41:14 +00:00
hyatt%netscape.com 379b66f6ec Fix for 56167. r=joki, a=waterson 2000-10-16 21:52:22 +00:00
hyatt%netscape.com 032e7132f4 Fix for 5693. r=saari,a=waterson 2000-10-10 20:48:03 +00:00
nisheeth%netscape.com 3b22ae5c40 Fix for nsbeta3++ bug 53219. Checking in for joki because he is away for a DOM face to face meeting today and tomorrow. 2000-09-27 14:34:50 +00:00
hyatt%netscape.com ac2865c3c4 48758. r=ben,saari, a=waterson 2000-09-22 05:02:20 +00:00
heikki%netscape.com c3c301798c Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
hyatt%netscape.com 61ded06b16 Addendum to 53091. sr=ben 2000-09-19 07:25:45 +00:00
hyatt%netscape.com 293b4eff1f fix for 53091, r=saari, sr=waterson 2000-09-19 01:24:44 +00:00
joki%netscape.com bfa3219209 fixing bustage. r:hyatt 2000-09-15 07:46:15 +00:00
hyatt%netscape.com 911aab8e52 Taking a stab. r=joki 2000-09-15 07:34:44 +00:00
saari%netscape.com 11038e23a2 missed a bit from the last checkin as joki beat me to the repository 2000-09-15 07:02:58 +00:00
hyatt%netscape.com 13315c2869 Fix Linux bustage. r-joki 2000-09-15 06:58:32 +00:00
joki%netscape.com 55402f7f8f Fix for bug 5693 "problems with :hover". :hover should now work hierarchically, not just on the targetted Node. A pref was added to allow turning this off in low performance situations. r:jst 2000-09-15 06:17:54 +00:00
joki%netscape.com d274f9edc9 Fix bug 40071 "accesskey doesn't block menus" by propagating the cancelled event state from PreHandleEvent into HandleDOMEvent. r:jst 2000-09-15 06:11:15 +00:00
pinkerton%netscape.com b83cf2e3cd use control key for access key on mac (that's what IE5 does). r=saari/joki. bug# 40071. 2000-09-14 22:58:47 +00:00
mjudge%netscape.com e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
pinkerton%netscape.com 450bbd5307 when we see that the mouseDown event was cancelled, stop tracking drags. This allows mousedown/move/up events to be processed by webpages w/out us interfering. r=joki, bug 43258. 2000-09-13 01:45:23 +00:00
bryner%uiuc.edu f7a6f320c1 Fixing bug 51096 - crash after changing mousewheel prefs twice. Also remove some assertions and fix a longstanding inconsistency/bug with mousewheel text zoom and history navigation. r=ben. 2000-09-10 05:35:36 +00:00
hyatt%netscape.com 3986d0da89 Weird!? 2000-09-07 09:20:56 +00:00
hyatt%netscape.com 9d8e03414c C++ fixes for 51263, r=joki 2000-09-07 08:18:11 +00:00
hyatt%netscape.com 927938cc43 Adding originalTarget to Event object. r=joki 2000-09-07 01:07:29 +00:00
saari%netscape.com 3b51c1dc7e Undoing what appears to be a complete brain fart of mine from a while ago. I was releasing focus information before its time. 2000-09-02 07:49:39 +00:00
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
bryner%uiuc.edu 65b967b771 Bulletproofing to try and fix 50006. r=dbaron. 2000-08-24 05:06:21 +00:00
anthonyd%netscape.com 112b262913 fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
saari%netscape.com d854d084a2 Fixing focus regression I caused by over eargly releasing documents from nsEventStateManager 2000-08-16 23:38:54 +00:00
saari%netscape.com 64bfc7e335 fix for nsbeta3+ leak 35553; leak document on shutdown. r=pinkerton 2000-08-16 06:37:51 +00:00
pinkerton%netscape.com bed75e117f full backout of code i commented out, the fixes go elsewhere. 2000-08-16 01:45:23 +00:00
pinkerton%netscape.com 522bd04a6d backing out my last change, it breaks scrollbars. 2000-08-14 23:03:25 +00:00
pinkerton%netscape.com e2aeb68cee for 48250, turn off mouse capture when a drag gesture begins. r=mjudge. 2000-08-14 22:29:03 +00:00
saari%netscape.com 0d2ab064c2 undoing hackery and fixing a leak. r=dbaron 2000-08-12 22:19:55 +00:00
saari%netscape.com 6ea350941c hack part deux for testing for leak increase 2000-08-09 02:59:44 +00:00
saari%netscape.com 77de93bb14 temp hack to test theory for sudden increase in leaks 2000-08-09 02:25:51 +00:00
sfraser%netscape.com 72205420ff Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:48:42 +00:00
saari%netscape.com 4c09a29ac5 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
heikki%netscape.com 3ec78740ae Bug 29473 ondblclick event not being fired. 2000-08-08 20:32:09 +00:00
bryner%uiuc.edu ca2893dfc2 Fixing bug 42294 - make mousewheel font size change always affect the
document (not the chrome).  r=saari.
2000-08-06 04:15:02 +00:00
shanjian%netscape.com de23b7e7a9 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp
2000-08-04 21:43:29 +00:00
pinkerton%netscape.com 3b86c7cc6c fix for 38359, link drags not firing if mouse was close to an edge. we need to fake out the ESM by setting |mCurrentTarget| to where the mouse went down so event.target is correct in JS. r=saari. 2000-08-01 00:35:23 +00:00
heikki%netscape.com 4df9edb205 Bugs 38399, 40889, 44211. Also fix two compiler warnings (mismatched signed/unsigned). r=jst (bug 44211 r=harishd). 2000-07-28 21:48:08 +00:00
saari%netscape.com c6087db637 fixing crashing popups on Windows. Smoketest blocker. Simple null check, nsPIDOMWindow QI result wasn't checked. Not sure why this fails suddenly, I would think everyone shoudl be implementing nsPIDOMWindow.... r=pinkerton 2000-07-07 22:17:00 +00:00
bryner%uiuc.edu fce9a08c4f Fix for crasher bug 44444. r=jst. 2000-07-06 02:44:48 +00:00
cls%seawood.org bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
bryner%uiuc.edu f78eb5519f Fixing smoketest blocker 44235. r=smfr. 2000-06-29 20:53:08 +00:00
mjudge%netscape.com 66a897a57b r=saari 42074 pd+dogfood ect. i think we finally nailed this one. focused objects now being passed focus events even when previous document couldnt take focus and is simply returning it. aka hitting return in url bar trying to focus document that will be destroyed to fetch new page. 2000-06-29 05:27:05 +00:00
bryner%uiuc.edu 39fb59a668 Fixing bug 43710 - removing old mousewheel cruft and updating to work with
new tree.  r=hyatt,saari.
2000-06-28 20:35:32 +00:00
evaughan%netscape.com 4db3654be5 Clean up for autoscrolling menu landing. ScrollBox events need their own type and should not be
on top of menu events.

-r hyatt
2000-06-28 00:00:18 +00:00
joki%netscape.com 91a3526183 Part of fix for 42418, patch up event target from PresShell after re-entrant events to avoid null targets. r:nisheeth 2000-06-24 03:58:13 +00:00
bryner%uiuc.edu c332e90651 Fixing bug 43628. r=hyatt,pavlov. 2000-06-23 22:59:18 +00:00
saari%netscape.com 2d4bb8c980 adding null check to prevent a few crashers on windows and linux that I introduced (exposed new code path). r=bryner 2000-06-23 22:18:54 +00:00
saari%netscape.com c07ae16830 Fix for nsbeta2+ bug 38673. r=hyatt 2000-06-23 05:37:08 +00:00
evaughan%netscape.com 969d067559 Autoscrolling menus feature landing #32730
-r hyatt, saari
2000-06-23 05:15:04 +00:00
bryner%uiuc.edu 215930dd1d Bulletproofing fix for bug 41116. r=saari. 2000-06-23 01:54:20 +00:00
saari%netscape.com 40e6755254 base work for bug 42553, r=danm 2000-06-20 00:45:47 +00:00
mjudge%netscape.com 018960cc94 fixing blocker bug for focus not typing in url bar after progromatic change to focus on other document. r=saari. (from regression of 34986) pdt+ 2000-06-14 02:59:54 +00:00
mjudge%netscape.com 4d8ea6168b cleaning up 34896 ender-lite with saari's review. 2000-06-09 21:13:03 +00:00
inaky.gonzalez%intel.com 98157fd5a1 Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren
2000-06-06 22:06:56 +00:00
dcone%netscape.com 615ed58fcb Fixed bug 7559. R= rods 2000-06-05 13:48:06 +00:00
rods%netscape.com eab83335f9 ifdef for mac event processing of access keys
bug=7559 r=dcone
2000-06-02 14:20:50 +00:00
kin%netscape.com 1739a10bbd Part2 of fix for bug #39821: Drag and Drop interferes with selection
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.

    layout/base/public/nsIFrame.h
    layout/events/src/nsEventStateManager.cpp
    layout/html/base/src/nsFrame.h
    layout/html/base/src/nsFrame.cpp

r=buster@netscape.com,brade@netscape.com,cmanske@netscape.com   a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
kin%netscape.com 108b7677fd Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com
2000-05-25 20:04:02 +00:00
joki%netscape.com c22fd60f54 More support for onresize and onscroll, bug 960 2000-05-17 06:53:58 +00:00
joki%netscape.com 08d1d06617 fix for resize event support, bug 960, and additional support for DOM 2 events. 2000-05-17 05:27:22 +00:00
joki%netscape.com 0eb60a8925 Part of fix for DOMEvent::GetCurrentTarget. 2000-05-17 00:40:22 +00:00
joki%netscape.com 9a82121abd Part of fix for 4163, enable 4.x dragdrop event 2000-05-17 00:31:36 +00:00
joki%netscape.com 0d79eb280f Fix for bug 39422, fix use of event.target from JS. a:leaf, r:vidur 2000-05-16 18:46:38 +00:00
joki%netscape.com 413e75a4d4 Commenting out until we can figure out what mac wants here. 2000-05-16 13:27:10 +00:00
joki%netscape.com 494a7daf96 Fix bustage 2000-05-16 12:49:04 +00:00
joki%netscape.com d53ca62337 Fix for bustage 2000-05-16 11:36:34 +00:00
joki%netscape.com a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
joki%netscape.com d7557a57a5 Adding accesskey support. Bug 959. 2000-05-16 10:22:20 +00:00
bryner%uiuc.edu 5884370784 Hook up text enlarge/reduce with ctrl+mousewheel. bug
25427.  r=erik@netscape.com.
2000-05-15 02:10:11 +00:00
saari%netscape.com eebb4fa07e First checkin for bug 29800, preventing scrolling to content when focus
memory is resetting focus after deactivating and reactivating a window.
2000-05-11 22:40:51 +00:00
mjudge%netscape.com 55912eddb8 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
pollmann%netscape.com ecdfe3c5ca Bug 17605: Don't tab to anchor without an href. r=harishd 2000-05-11 01:43:04 +00:00
sfraser%netscape.com 1cf8d8855b Make nsEventStateManger support nsIWeakReference, so that they are not held onto as XPCOM observers. r=saari 2000-05-09 19:04:13 +00:00
michael.lowe%bigfoot.com 468689c637 Implement CSS3 cursors on Windows 2000-05-07 05:14:43 +00:00
joki%netscape.com 8af04cddba Fix for 10574, fix pageX, pageY coords to match 4.x behavior 2000-05-05 14:47:37 +00:00
joki%netscape.com 575d19fecb Adding assertion and null check for mCurrentTarget in PostHandleEvent 2000-05-05 14:43:20 +00:00
saari%netscape.com 2dffef1faa Fix for space bar scrolling page when in text fields. r=hyatt 2000-05-03 00:49:37 +00:00
nisheeth%netscape.com 7e37fb4356 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
michael.lowe%bigfoot.com e406b651c3 Implement CSS2 resize cursors on Windows (bug 1916) 2000-04-30 15:29:32 +00:00
bryner%uiuc.edu c81e1dbc7c Reorganizing the mousewheel code, and in the process fixing bug 36886 and
working around bug 32344.  Also removing some old #ifdef code that is not
going to be used.
2000-04-25 06:25:43 +00:00
joki%netscape.com bbb0086bfe fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
tbogard%aol.net faefc106ed Changed over from using the webshell APIs and nsISessionHistory to using the webNavigation interface on the docshell to go back and forward. Don't have to get the root, docshell does that for you. 2000-04-16 06:14:38 +00:00
scc%netscape.com 0012d27605 making string conversions explicit 2000-04-15 20:15:37 +00:00
mstoltz%netscape.com 6a76f09450 Made prefapi.h private and removed all #includes of it outside of libpref. r=norris 2000-04-15 03:43:09 +00:00
saari%netscape.com 4272fa7e4b Fix for 27936, double carets in message compose window. reviewed by hyatt many moons ago, tested by many. 2000-04-14 21:49:34 +00:00
hyatt%netscape.com 0e08743221 Cuddling mailnews and giving it some of my sweet sweet love. r=saari 2000-04-12 00:24:07 +00:00
saari%netscape.com 4d187b4818 Fix for M15 bug, crashing on tab. Effectively a null check in event state manager. r=hyatt, a=leaf 2000-04-10 20:52:52 +00:00
danm%netscape.com 54f9e8d411 abort on null PresShell during focus blur and deactivate. bug 34148 r=saari 2000-04-05 02:10:25 +00:00
hyatt%netscape.com aa7305bcb3 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
scc%netscape.com c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
bryner%uiuc.edu 4e5f616edc This fixes bug 31204 (mousewheel scrolling with pointer over a textfield),
by hooking up the parent document for the editor.  r=jst@netscape.com.
2000-04-01 20:09:54 +00:00
scc%netscape.com 0f4a2b3d8c small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
hyatt%netscape.com 0b141a6b2d Making all focusable content properly tabbable. 2000-03-23 09:56:58 +00:00
saari%netscape.com 7badcbb935 Null checking for saftey in some of the focus code. r=hyatt 2000-03-21 00:47:19 +00:00
jst%netscape.com 872a669579 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
bryner%uiuc.edu 52e5ffae3c Fixing a stupid leak from mousewheel scrolling. r=pinkerton. 2000-03-17 06:27:45 +00:00
bryner%uiuc.edu d64a914509 Change mousewheel debugging messages to use PR_LOG instead of being turned
on by an #ifdef.  This will enable nightly build users to generate useful
debugging output.
2000-03-16 03:34:52 +00:00
bryner%uiuc.edu c03645c830 Changing nsresult -> NS_IMETHODIMP. 2000-03-15 05:02:23 +00:00
bryner%uiuc.edu 8c855923d1 Fixing build bustage. Sorry about that. 2000-03-15 04:29:00 +00:00
bryner%uiuc.edu c96f3c7c16 Clean up handling of mousewheel prefs by removing built-in caching, and
use a shutdown observer so we can release the prefs service if
necessary.  r=sspitzer.
2000-03-15 04:03:44 +00:00
bryner%uiuc.edu c923e727b2 Removing some old dead code. r=sspitzer. 2000-03-12 06:21:32 +00:00
bryner%uiuc.edu e62a270deb Fix bug 31507, mousewheel history navigation causes segfault. r=saari. 2000-03-12 01:19:39 +00:00
bryner%uiuc.edu b35bd6ca05 Fix bug 30174, mouse wheel does not scroll FTP directories. r=troy. 2000-03-11 08:45:38 +00:00
joki%netscape.com 0fa4add35d Fix for bug 31186, backout of part of fix for 28988. r:saari a:leaf and the rest of the irc crowd to fix tree blocker 2000-03-09 20:22:55 +00:00
joki%netscape.com 614b588d2f Fix bug 28988, add null check and consume event when script object/window is destroyed while processing an event. a:rickg, r:saari 2000-03-09 15:33:35 +00:00
joki%netscape.com 4c33e407f9 Fix bug 9140. Prevent window level mouse exit events from accidentally propagating to content. r:rods a:jar 2000-03-03 23:07:31 +00:00
saari%netscape.com b811298c4b Fix for PDT+ 29833, r=hyatt, a=jevering 2000-03-02 23:15:01 +00:00
saari%netscape.com a839266bd8 fix for PDT+ 29004. r=hyatt, a=jevering 2000-02-29 03:54:49 +00:00
saari%netscape.com 515c3ce686 28467 fix, a=jar, r=hyatt 2000-02-26 01:02:31 +00:00
pinkerton%netscape.com 2fa2e1e62e fix for case where when a frame is deleted as a result of a drag (say, moving a bookmark or mail message) we don't try to access the frame after it has been deleted but use |mCurrentTarget| which we know will be up to date and safe. Also check for null in UpdateCursor()...we should have been doing this anyway. r=saari, a=jevering. 2000-02-24 03:41:14 +00:00
bryner%uiuc.edu a0bd56bc00 Set the event status to prevent us from receiving multiple mousewheel
events on Win32.  Fixes bug 24083.  r=saari,pinkerton.  a=chofmann.
2000-02-17 23:52:45 +00:00
joki%netscape.com c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
alecf%netscape.com 0526e07dee add debug_hyatt around this printf so I don't get it constantly 2000-02-16 06:26:41 +00:00
joki%netscape.com 2919db4ef3 Fix for bug 9140, prevent recursion of mouseover/out events. r:vidur 2000-02-16 03:52:45 +00:00
vidur%netscape.com 59afb30e1b Cutting down on debug printf noise. 2000-02-15 05:06:45 +00:00
saari%netscape.com 84fd5fa25f Fix for crashes in EventStateManager that may people are seeing. Bug 27727. r=hyatt 2000-02-15 00:28:43 +00:00
saari%netscape.com 53f9de18ca fix for 25434, PDT+ crasher. r=hyatt 2000-02-12 08:33:12 +00:00
hyatt%netscape.com 34cd127797 Landing focus memory. If you pull before saari completes this checkin (we
still have to land nsWebShellWindow and nsGlobalWindow),
you will not like the result.  r=saari
2000-02-11 23:41:13 +00:00
joki%netscape.com 45b81df728 Fix for bug 24947, prevent recursive blur/focus calls. r:saari 2000-02-11 05:20:44 +00:00
akkana%netscape.com a873ff2c2d Fixing nsCOMPtr taining build bustage. a=gramps 2000-02-11 02:38:20 +00:00
tbogard%aol.net a83acd9498 Changed the FocusAvailable to call on the new docshell path rather than the old webshell/ container path. r=saari 2000-02-11 01:56:01 +00:00
vidur%netscape.com d4b67b3219 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
rods%netscape.com e7e39e8162 Accesskey registration methods (empty stubs at this point)
b 7559, r=joki
2000-02-09 15:14:55 +00:00
joki%netscape.com 3480787577 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
bryner%uiuc.edu c28caccf54 Adding some new mousewheel code that isn't used yet. Also removing an
unneeded comparison in the existing code, and changing several occurrences
of NS_DEFINE_IID to NS_GET_IID.  r=saari.
2000-02-05 00:58:29 +00:00
warren%netscape.com 5080d81af2 Added an assertion for case when return code gets ignored. 2000-02-04 03:06:16 +00:00
norris%netscape.com c04c4d51f9 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
vidur%netscape.com e8157b30cb Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
saari%netscape.com 729048aef7 Something I forgot with yesterday's checkin. 2000-01-28 04:04:26 +00:00
kmcclusk%netscape.com eeeb109f4c Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
norris%netscape.com 7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
hyatt%netscape.com 0dfb94bf0a Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00
norris%netscape.com 8507a58ec3 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
waterson%netscape.com d100985675 Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan 2000-01-22 22:00:35 +00:00
saari%netscape.com f5b4ea7489 Fix for 24124, focus crasher. Review and a whole lot of help from danm. 2000-01-19 03:03:09 +00:00
bryner%uiuc.edu 6012d905b7 Make trees capable of scrolling by full pages with the mouse wheel.
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll).  r=hyatt.
2000-01-16 05:30:49 +00:00
brade%netscape.com 1a4bae4013 remove function DispatchKeyPressEvent (not used); initialize the modifier keys in the event structure; r=joki 2000-01-15 17:21:20 +00:00
brade%netscape.com 5fc79019be remove function DispatchKeyPressEvent (not used) r=joki 2000-01-15 17:21:10 +00:00
brade%netscape.com 6142b95f61 initialize to nsnull; r=vidur 2000-01-13 14:53:51 +00:00
hyatt%netscape.com 7665038584 Cleaning up makefile 2000-01-13 11:50:18 +00:00
hyatt%netscape.com 797cc38b9a Fix for 18444 2000-01-13 11:49:18 +00:00
hyatt%netscape.com 8b0ed8707d Fix for 18444 2000-01-13 11:43:54 +00:00
sspitzer%netscape.com f291328810 fixing my old enemy "the classic .get() with nsCOMPtr on solaris (and linux, if you have --enable-pedantic) turned on" bustage. 2000-01-12 07:39:00 +00:00
beard%netscape.com 844a51fde3 fixes nsIAtom leaks, bug=15906, r=sspitzer 2000-01-12 06:54:58 +00:00
bryner%uiuc.edu a19a21f754 This fixes mousewheel scrolling inside trees. I also cleaned up the code
in nsEventStateManager, moving the view/frame locating code to its own
function - this will be helpful for implementing page up/down scrolling
for trees.  r=alecf.
2000-01-11 22:30:22 +00:00
cls%seawood.org 4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
brendan%mozilla.org cfe8cb3e89 (bug 22795, r=vidur@netscape.com)
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
  (a) avoid entraining garbage
      (i.e., a shared compile-time-only parent object); and
  (b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
      (to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)
2000-01-08 00:24:24 +00:00
bryner%uiuc.edu d83a9c65ee Implementing the mousewheel preferences. A new option has been added, "Use system default", which follows the OS
default (on Windows at least) for the number of lines to scroll.  I also changes the default actions for the modifier
keys slightly.
2000-01-06 06:22:00 +00:00
sspitzer%netscape.com 100117019f whoops. when I checked in that warnings fix I accidentally checked in some
changes from bryner for the mouse wheel prefs.  backing my last check in out,
but still fixing the warning.
1999-12-28 23:02:38 +00:00
sspitzer%netscape.com f37e107774 fix warnings 1999-12-28 19:41:57 +00:00
mcafee%netscape.com 24da9eddd8 Fixing null pointer reference, patch submitted by jst@citec.fr. r=mcafee 1999-12-28 08:29:11 +00:00
vidur%netscape.com 33e0ceef3c Removing warnings. a=don r=waqar 1999-12-22 22:47:15 +00:00
hyatt%netscape.com 221920403a Patch that gets tabbing back into text fields. r=waterson 1999-12-21 19:35:13 +00:00
pinkerton%netscape.com 2275305f2f remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley. 1999-12-21 19:28:15 +00:00
saari%netscape.com 3586adc047 Simple check for null fix for a crasher that some people are seeing quite a lot today. It is reflected in bug 22024. R= waterson, a= chofmann 1999-12-21 01:12:40 +00:00
hyatt%netscape.com d3e0848c19 Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
saari%netscape.com a622c90955 Fix for PDT+ bugs 21602 and 21648. r=joki 1999-12-15 22:04:43 +00:00
danm%netscape.com 4447892c87 deathgrip the event listener manager in HandleEvent. partial fix for bug 21397. r:hyatt a:chofmann 1999-12-14 02:29:34 +00:00
hyatt%netscape.com 8c979cd0bb Fix for the crash in SendFocusBlur. 1999-12-11 05:42:18 +00:00
mjudge%netscape.com b51f84b3de massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
saari%netscape.com b887310bfb Helping to fix 19114 by making a strong ref weak. Potential fix for 19268 by making scrollbars not steal focus. r=hyatt a=chofmann 1999-12-10 00:51:50 +00:00
joki%netscape.com adc741f32c fix 21337, set modifier keys for generated events. r:brendan a:brendan 1999-12-09 21:02:09 +00:00
hyatt%netscape.com 9f336df5c0 Fix for caret problems in Ender text fields. r=saari 1999-12-08 20:55:45 +00:00
hyatt%netscape.com 5b5d567b93 Fix for the two crashers: 21180 and 21163, r=saari 1999-12-08 20:18:16 +00:00
hyatt%netscape.com e2f2336d35 Fix for 21139, r=waterson 1999-12-08 09:01:06 +00:00
hyatt%netscape.com 244bfeaee8 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
brendan%mozilla.org 5135a6dbb2 - Rename "FunctionObject" or shorthands to "EventHandler" to make nsIScriptContext more scripting-language-neutral.
- Allow nsIScriptContext::BindEventHandler to take a null void* handler argument, to remove the binding by nullifying it (for hyatt's XML-driven-key-mapping work). 
- Try to GetCompiledEventHandler (and if we don't, and compile it, Put too) for the load event and other non-deferred (XUL window-level) event listeners. 
- Improve doc comments and whitespace.
1999-12-07 22:14:17 +00:00
ftang%netscape.com 5d9824b4bd add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550 1999-12-07 01:29:00 +00:00
kin%netscape.com 893ebc079b Fix for bug #20524: [DOGFOOD] No Caret in Win32 Composer window
Made some modifications to nsEventStateManager::PreHandleEvent().
We now prevent setting of gLastFocusedContent when handling
NS_ACTIVATE. We now allow DOM focus notifications even when
we can't send a blur notification in NS_GOTFOCUS.
r=saari@netscape.com
1999-12-06 21:48:36 +00:00
joki%netscape.com 93019aacdb Fix for bug 20663, mem leak in event listeners. r:beard 1999-12-04 23:40:05 +00:00
joki%netscape.com 1e9397058e Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com 1999-12-04 02:22:21 +00:00
tbogard%aol.net eb96099e6d 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
brendan%mozilla.org d44c35ee1b - Doc-comments for nsIScriptContext methods I added or modified.
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.  
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
 
(bug 13218, r=waterson@netscape.com,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
saari%netscape.com bcb4759449 Adding new event state manager API GetFocusedEventTarget which returns the current frame in focus
regardless of the ESM instance you call it from. Editor guys need this for bug 20225
1999-12-02 20:55:17 +00:00
danm%netscape.com d25d8e587a adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com 1999-12-01 22:35:33 +00:00
norris%netscape.com d89d87531c Fix
20257 unable to edit existing images in editor due to JS error
	19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
saari%netscape.com 2fdbb01c37 Fix for bug 18983, multiple carets showing up. R: shaver, a long time ago. I've since verified personally on linux and other platforms. 1999-12-01 09:09:46 +00:00
bryner%uiuc.edu bfeded07d0 Making a minor optimization for mousewheel scrolling on trees. r=shaver. 1999-11-30 22:00:28 +00:00
waterson%netscape.com 79556e2008 Fix incorrect use of dont_QueryInterface() in PreHandleEvent() that was leaking. 1999-11-29 22:47:39 +00:00
brendan%mozilla.org f456ebcd59 Use nsAutoString for local strings (r=vidur@netscape.com). 1999-11-29 21:15:42 +00:00
brendan%mozilla.org 62ebb4b490 Whitespace/comment police. 1999-11-28 10:32:13 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
norris%netscape.com 51842ef45e Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband
1999-11-25 05:28:18 +00:00
vidur%netscape.com dd88339f19 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki 1999-11-25 00:05:21 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
warren%netscape.com 6d07de8143 Minor cleanup. 1999-11-23 07:05:53 +00:00
joki%netscape.com e51265f992 Fix for 17683, add key events for alt+numpad character generation. r:vidur 1999-11-22 19:45:13 +00:00
bryner%uiuc.edu 8c66e61d94 These changes will enable scrolling with the mouse wheel (currently only
for unix).  r=saari.
1999-11-21 01:46:41 +00:00
saari%netscape.com 233ce14385 Bring back, bring back, bring back the caret to me, to me...
The return of the text caret. Simple change, start dispatching content
focus events to the window (what I checked in) *and* the document (the
way it worked before, what editor relied upon). Discussed with joki, but not
technically reviewed.
1999-11-16 00:04:55 +00:00
don%netscape.com 1a4cd9e0a6 Checked in saari fix for bug #18876 to help re-open tree. r:saari 1999-11-15 20:09:37 +00:00
saari%netscape.com 1cfbe7d9a6 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
pinkerton%netscape.com e4bbb475eb don't generate drag exit events until _after_ drop event has been processed. move from PreHandleEvent to PostHandleEvent. r=saari. 1999-11-12 01:02:14 +00:00
waterson%netscape.com 819d8c8c97 Bug 18066. Only addref the listener if it isn't already in our set of listeners. r=joki, a=chofmann 1999-11-09 23:37:08 +00:00
pinkerton%netscape.com 4095510e3a fix for #17664 (crash in drag code when css destroys the frame when clicking on link). small fix for when target is null on mouseMove events (say when mouse is in menu bar on MacOS). (r=saari). 1999-11-09 07:10:46 +00:00
joki%netscape.com ddb9aacbff Fix for bug 17618, null out current event target frame after processing event. a:chofmann, r:vidur 1999-11-08 21:30:22 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
joki%netscape.com 0aa1e7650e Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur 1999-11-05 23:37:40 +00:00
joki%netscape.com 1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
pinkerton%netscape.com fa65c1d6e2 fix for #16463 (crash when frames involved in a drag went away) and nsCOMPtrizing a lot of things (r=saari). 1999-11-02 03:55:14 +00:00
pinkerton%netscape.com 1dc332f58b allow mouse event coordinates to be accessed with d&d events in addition to mouse events, since d&d events have the same structure as mouse events. (r=joki). 1999-11-02 01:38:01 +00:00
brendan%mozilla.org f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
troy%netscape.com 87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com a915909a72 The code that checked to see whether it should explicitly set focus on the gfx's containing widget
now uget the new focused content's frame instead of using the mCurrentTarget. The mCurrentTarget
is correct for a mouse down but incorrect for a "tab". This is because the mCurrentTarget points at
the currently focused content for a tab event, instead of the new content.
r=joki, bug 11162
1999-10-19 21:57:43 +00:00
buster%netscape.com a13fc42067 no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
kipp%netscape.com bb62374419 Removed two more warnings 1999-10-15 00:29:28 +00:00
ftang%netscape.com 850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
vidur%netscape.com a636b7dacd Fix for bug 15772. Check that a content node is part of the document tree before dispatching a blur event to it. R=joki 1999-10-13 04:19:26 +00:00
mjudge%netscape.com 3a065e373b bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h 1999-10-13 01:16:09 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
rods%netscape.com b65978b79a Added ConsumeFocusEvents method to consume all focus event and make sure they don't get dispatched 1999-09-30 11:40:42 +00:00
mscott%netscape.com d755e21e91 Bug #14816 --> we were leaking a nsIPrincipal object in AddScriptEventListener which could be remedied using a nsCOMPtr.
Also clean up for insufficient rv useage, un-commoned JSPRINCIPALS_DROP and improving the control flow for readability.

These changes are actually Brendan's...i'm checking this in on his behalf.
r=mscott. a=brendan
1999-09-24 06:49:33 +00:00
joki%netscape.com b114e2a582 Various fixes to prevent casting events to the wrong struct subtypes when queried 1999-09-22 06:30:01 +00:00
joki%netscape.com b2f254f766 Fix scrolling via home/end keys to scroll to beginning and end of doc 1999-09-22 06:28:57 +00:00
joki%netscape.com 4016178c5d Adding support for event.clickCount, obsoleting old dblclick event. 1999-09-22 02:29:33 +00:00
saari%netscape.com cb935f51c7 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +00:00
joki%netscape.com 95bc014f1b Fix bug 6258, release of null content pointer due to reentrant event 1999-09-21 19:00:55 +00:00
joki%netscape.com 7304187269 Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_* 1999-09-21 14:18:52 +00:00
rods%netscape.com df31376942 nailed again by nsCOMPtr 1999-09-20 22:56:32 +00:00
rods%netscape.com e528a0d539 Added code to make sure that focus gets set on the window for mouse down 1999-09-20 22:18:57 +00:00
kipp%netscape.com fa963373a6 Squish a warning 1999-09-17 20:15:09 +00:00
kipp%netscape.com e333e98277 Fixed a memory leak triggered by clicking on content 1999-09-16 14:54:59 +00:00
briano%netscape.com 97faab6716 General cleanup. 1999-09-14 01:02:20 +00:00
evaughan%netscape.com 412cc6b9e8 1) Fixed bugs in deck
2) Added visual debugging to boxes
1999-09-10 00:57:01 +00:00
pinkerton%netscape.com 7031693531 clean up some d&d stuff. 1999-09-09 00:28:23 +00:00
pinkerton%netscape.com a35b56b2b3 fix a bug where capturers would not be called when the event was sent directly to a dom node. clean up of a little d&d stuff. 1999-09-09 00:28:11 +00:00
bruce%cybersight.com 17430c7c3c Replace delete[] for char* data with nsCRT::free(). 1999-09-03 07:20:03 +00:00
kipp%netscape.com 3072eef9ea Eliminate a uselss string copy 1999-09-03 03:45:44 +00:00
sspitzer%netscape.com 56873de822 bulletproofing to prevent the crash I reported in bug #13007. assert is better than a crash any day. 1999-09-02 07:22:47 +00:00
pinkerton%netscape.com e58a5c3434 exposing drag and drop events to JS. 1999-09-02 03:51:03 +00:00
cyeh%netscape.com 34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
kipp%netscape.com d8a5ed19de Removed GetRC code 1999-09-01 01:00:59 +00:00
briano%netscape.com 45f9b17d23 General cleanup. 1999-09-01 00:47:39 +00:00
tague%netscape.com 97b0bd802c Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
norris%netscape.com d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
brade%netscape.com b016565625 change error messages to flag inappropriate uses of GetCharCode 1999-08-27 14:16:44 +00:00
ramiro%netscape.com d3031d8625 lower the volume on printf noise. 1999-08-27 09:38:44 +00:00
hyatt%netscape.com c1ab40064d Fix for typing bustage in editor. 1999-08-24 09:37:28 +00:00
hyatt%netscape.com b08d08ff27 Making focus changes on mouse downs crawl up a parent chain to find the nearest
enclosing focusable content.  Allows composite widgets to still receive the focus.
1999-08-24 00:42:38 +00:00
hyatt%netscape.com e0dcec9718 Renaming onaction to oncommand. Also adding getIID to nsIFocusableContent, since
I'll need to be using that later on.
1999-08-20 22:56:15 +00:00
arielb%netscape.com 1b252b2e3b includes updates to codbase matching security checks currently turned off
but in place.  redefined the script security manager in caps and it is
now generating codebase principals.
1999-08-20 09:51:02 +00:00
pinkerton%netscape.com 277d3d704c add drag_gesture event. 1999-08-19 19:48:45 +00:00
joki%netscape.com 11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
tague%netscape.com dad401a40f Fix build bustage 1999-08-06 03:10:14 +00:00
tague%netscape.com 58316bd322 Added support for replies from private DOM text events. See bug #4826 1999-08-06 02:32:13 +00:00
joki%netscape.com e49a6d584f Partial fixes for focus/blur events on windows/frames, fixes for incorrect event.target values 1999-07-27 20:55:03 +00:00
joki%netscape.com 556e5e31e7 Fixing key value for ctrl+keys. 1999-07-27 14:38:07 +00:00
joki%netscape.com f1c8421c61 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
hyatt%netscape.com 17680a4e98 Adding a menu listener to the DOM for XUL menus. 1999-07-26 09:18:31 +00:00
joki%netscape.com c47e24dc79 Checking in fix for tab navigation submitted by alex@cendio.se 1999-07-19 21:23:57 +00:00
joki%netscape.com d752334449 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
mjudge%netscape.com c0b1525970 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
tague%netscape.com 9032ab797e Fixed bug #8227 deref errors in tempDOMTextRange 1999-07-14 21:10:55 +00:00
pinkerton%netscape.com aebf313276 rewite GetScreen* to use nsIWidget::WidgetToScreen(), which actually will work under linux and mac. (rev pavlov, appr cyeh). Bug #9114. 1999-07-07 22:40:22 +00:00
norris%netscape.com 06317a54b3 Tom Pixley's code for the beginnings of DOM security, with a fix for the previous Mac link failure. 1999-07-07 07:50:03 +00:00
joki%netscape.com 6385394fee Partial fix for bug 8123, handle spacebar scrolling on keypress, not keydown 1999-07-06 22:55:46 +00:00
joki%netscape.com 37a6739ec1 Backing out js security changes. 1999-07-01 13:03:35 +00:00
joki%netscape.com ccd5375141 New JavaScript/DOM security stuff. 1999-07-01 10:38:26 +00:00
pinkerton%netscape.com baabf666ba filled in widget, clickCount, and mouse location for mouse enter/exit/over and drag enter/exit/over events. This info was just not getting set as it was for mouse clicks. 1999-07-01 04:12:42 +00:00
pinkerton%netscape.com 8c96d9200e don't crash if parent is null when asking for mouse coordinates. 1999-07-01 03:26:43 +00:00
waterson%netscape.com a9e63d1095 Add GetIID(). 1999-06-30 19:28:16 +00:00
tague%netscape.com 353d857fed Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
warren%netscape.com fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
rods%netscape.com 63f061e2e4 Fixed clearing of state for setting style for mouse hover and dragOver Bug #3175
Added support for DROP to force a style change.
1999-06-22 14:20:14 +00:00
saari%netscape.com e35eca0fca Fixing Bug #8328, keybinding fix 1999-06-17 01:48:22 +00:00
joki%netscape.com 3e8742b912 Fix for bug 8270. A:chofmann Reenable key events to control tabbing/scrolling 1999-06-16 22:52:16 +00:00
joki%netscape.com 87bdaea2dd Fixing event clientx/y coords to have the right value even in subviews 1999-06-16 04:39:51 +00:00
joki%netscape.com 2c742db83b Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283) 1999-06-15 03:14:28 +00:00
tague%netscape.com 2ee25ba819 Fixed conditional problem when i turned on my keyobard patch. 1999-06-14 04:39:03 +00:00
tague%netscape.com 8688949472 Turned on bug fix for #6896: Windows editorinterprets the period key as a forward delete. 1999-06-13 21:13:12 +00:00
mjudge%netscape.com 225111bf33 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
hyatt%netscape.com 39f9584c09 Fixing build bustage. 1999-06-09 07:51:52 +00:00
joki%netscape.com 25aab9fee5 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names. 1999-06-09 07:38:26 +00:00
tague%netscape.com d0540fc75b Conditional fix for #7629. Only builds with a conditional set in my environment 1999-06-09 03:17:56 +00:00
hyatt%netscape.com ecb23ec197 Changed events names to "create" and "destroy". 1999-06-09 01:11:22 +00:00
joki%netscape.com a5de3b4554 Fixing coords for click event since by not setting them at all before they were unlikely to be correct. 1999-06-08 19:28:52 +00:00
joki%netscape.com 71fae75ff6 Fix hover state crash at document change. Bug 6580 1999-06-08 19:01:56 +00:00
hyatt%netscape.com 1605014d5e Added construct and destruct events to the DOM. 1999-06-08 05:10:13 +00:00
joki%netscape.com 7e2352ba3a Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
beard%netscape.com 582c184279 bug #7354: arrow key scrolling, force the update to deal with different event priorities. 1999-05-31 01:45:23 +00:00
waterson%netscape.com f9c59fc979 More bug 6823. Need to have a GetIID() on nsIEventListenerManager. 1999-05-21 21:22:02 +00:00
hyatt%netscape.com 602abf226d Fix for the regression described in bug 6823. 1999-05-21 19:27:02 +00:00
joki%netscape.com 6d01924c3c Partial fix for 3289, reduce number of repaints/reflow when mousing over toolbar buttons. A:chofmann 1999-05-19 23:28:18 +00:00
joki%netscape.com 71e96012a3 Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
mjudge%netscape.com 884bb4bb82 massive checkin for selection modifications and removing static state variables for selection in nsFrame.h. 1999-05-07 21:12:59 +00:00
jdunn%netscape.com 9eeee1931a Add newline to end of file. HP chokes without it. 1999-05-07 19:37:48 +00:00
cyeh%netscape.com 8a1db8783c backout mjudge checkin against closed tree. it also breaks mac as well, so
mjudge will try again when tree reopens
1999-05-05 23:05:41 +00:00
mjudge%netscape.com 57516cf432 updating new state controler for mouse status. aka dragging has stopped 1999-05-05 22:28:51 +00:00
rods%netscape.com 59a80b40f3 Added Drag Over to act like "hover" 1999-05-04 14:44:51 +00:00
tague%netscape.com 83e78f89e5 Fixed bug #5527 (Editor is not able to accumulate successive Japanese input) 1999-05-03 22:57:48 +00:00
joki%netscape.com d1f2b3ef88 Adding scrolling fixes to fix bug #3999, A: chofmann 1999-04-30 19:38:39 +00:00
pinkerton%netscape.com 1680448437 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come). 1999-04-30 09:04:36 +00:00
kipp%netscape.com 39c56cdb27 Removed compiler warnings 1999-04-27 22:14:17 +00:00
peterl%netscape.com fdf686d2b8 modified state change notifications to use new wider api and reduce calls 1999-04-20 00:03:30 +00:00
bruce%cybersight.com 5b0e694071 Adding blank lines for native compilers. 1999-04-13 06:35:42 +00:00
joki%netscape.com e594bb9b7c Send Click events to frames as well as content. 1999-04-13 00:27:58 +00:00
joki%netscape.com b6f2484b5b New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
joki%netscape.com 81cd430b97 Event name change to remove unnecessary prefix. 1999-04-12 21:17:07 +00:00
rods%netscape.com 2ddc8beb47 Added support to handle Drag & Drop events 1999-04-06 20:24:05 +00:00
joki%netscape.com 1c2882e5e6 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
briano%netscape.com 2f105ae044 Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:10:22 +00:00
pierre%netscape.com ed955aafcf #3974 "mac crashes when hitting return to submit form" 1999-03-21 04:35:01 +00:00
tague%netscape.com 6e19645586 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
joki%netscape.com 9e6f6e3820 Fix for bug 3553, links on Linux 1999-03-15 23:44:15 +00:00
hyatt%netscape.com 4c62785eab Changes to fix the bookmarks menu crashing problem. 1999-03-15 05:39:04 +00:00
buster%netscape.com e758191f6c added a debug-only printf warning if the char code returned is 0 1999-03-14 04:10:55 +00:00
troy%netscape.com 158ed075a4 Patch from Bruce Mitchener (bruce@cybersight.com) that fixes unitialized
memort error
1999-03-11 05:56:11 +00:00
joki%netscape.com 2874bb3300 Adding DOM access to new character information 1999-03-11 00:07:59 +00:00
alecf%netscape.com db95dfaee9 purify fixes from bruce@cybersight.com - use delete[] rather than delete 1999-03-10 00:35:16 +00:00
joki%netscape.com 0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
peterl%netscape.com 3f8df31e5d switched state change notifications to use ContentStateChanged 1999-02-27 07:12:38 +00:00
troy%netscape.com 0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com 9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com e9bbeeaa9b Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
joki%netscape.com c14cc1cb25 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
joki%netscape.com d798c3e079 Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp 1999-01-08 21:13:59 +00:00
shaver%netscape.com 30635270f8 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
ramiro%netscape.com e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
joki%netscape.com 946548a531 Fix cursor bug which caused cursor to be set once per child view on each mousemove 1998-12-03 03:07:16 +00:00
joki%netscape.com 96b9e437c5 Fix mouseover/mouseout firing crash when hitting bad frame. 1998-12-02 02:14:58 +00:00
joki%netscape.com e0c8813886 ifdef out some broken code in SetActiveLink until I have time to fix it. 1998-11-24 08:13:55 +00:00
joki%netscape.com e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
kipp%netscape.com 24571c1d42 Fix build bustage (hopefully) 1998-11-19 05:37:59 +00:00
joki%netscape.com 5700dacf30 Adding more backwards compat DOM support (event.which, pageX, and pageY) 1998-11-19 03:20:21 +00:00
joki%netscape.com 65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com 77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
joki%netscape.com 7a58f918de Adding submit event type 1998-11-02 23:05:46 +00:00
joki%netscape.com 8c8f1f249e Remove extra comma from end of nsDOMEvent enum 1998-11-02 21:21:19 +00:00
cls%seawood.org 411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
kipp%netscape.com 068caa63c9 Lame support for nsIDOMRenderingContext API 1998-10-09 22:57:36 +00:00
kipp%netscape.com e3978b70e8 Support onPaint 1998-10-06 21:01:59 +00:00
joki%netscape.com 12e499e3ce Adding event.cancelBubble 1998-09-03 01:20:29 +00:00
kipp%netscape.com c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
joki%netscape.com a185078042 Adding more window properties and slightly refCnt declaration. 1998-08-13 23:37:54 +00:00
joki%netscape.com edb8b34146 Adding partial load event support, removing script context Run_GC method adding partial script error support 1998-08-12 04:56:40 +00:00
joki%netscape.com 9cb79b1687 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
vidur%netscape.com 856891ed81 Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection. 1998-08-04 00:05:22 +00:00
peterl%netscape.com 714146a525 rounding support 1998-07-31 23:34:45 +00:00
joki%netscape.com fa57426559 Filling out document event handlers, adding form events 1998-07-31 22:09:51 +00:00
joki%netscape.com fe390a0803 Adding support for event handlers in html tags and moving event handler IIDs to central file. 1998-07-31 18:21:37 +00:00
kipp%netscape.com 7ff5d0e7ce Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
pierre%netscape.com 7da9dd2cd7 updated to Windows make file 1998-07-28 04:07:50 +00:00
dcone%netscape.com 3079fb0445 Added nsEventListenerManager.h 1998-07-27 16:29:58 +00:00
dcone%netscape.com 7cf65076d0 added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h 1998-07-27 16:29:24 +00:00
dcone%netscape.com e3ef192bdb Added manifiest file so the nsIEventListenerManager could be public 1998-07-27 15:30:14 +00:00
dcone%netscape.com b660c245b3 Added this file so nsEventListenerManager.h is public 1998-07-27 14:41:36 +00:00
joki%netscape.com f85ed9ce71 Hooking up window element to event chain and adding in support for a few more event types. 1998-07-24 05:06:44 +00:00
joki%netscape.com ce61da5597 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
joki%netscape.com db560e8cac Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00
atotic 7535197e5b Fixed the Mac build 1998-06-26 23:55:11 +00:00
kipp b00f7215a5 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
kipp 73ee06bfb8 Init refcnt so that it behaves properly 1998-06-25 14:51:48 +00:00
joki e820a618d7 Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
joki 7b0ded07ec Removing no longer used file from Makefiles 1998-06-08 02:03:31 +00:00
joki 696b13b907 Adding parts of dom event flow to layout. 1998-06-07 07:55:55 +00:00
joki 410e199107 Adding parts of dom event flow into layout. 1998-06-07 07:54:32 +00:00