Commit Graph

496 Commits

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