150 Commits

Author SHA1 Message Date
mscott%netscape.com
036b0fe6dd 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


git-svn-id: svn://10.0.0.236/trunk@48969 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 06:49:33 +00:00
joki%netscape.com
ffaa4fa00a Various fixes to prevent casting events to the wrong struct subtypes when queried
git-svn-id: svn://10.0.0.236/trunk@48824 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:30:01 +00:00
joki%netscape.com
f92190c9cf Fix scrolling via home/end keys to scroll to beginning and end of doc
git-svn-id: svn://10.0.0.236/trunk@48823 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:28:57 +00:00
joki%netscape.com
1042dd0a3f Adding support for event.clickCount, obsoleting old dblclick event.
git-svn-id: svn://10.0.0.236/trunk@48743 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 02:29:33 +00:00
saari%netscape.com
ca9d9659f4 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.
git-svn-id: svn://10.0.0.236/trunk@48667 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 23:02:35 +00:00
joki%netscape.com
932041c901 Fix bug 6258, release of null content pointer due to reentrant event
git-svn-id: svn://10.0.0.236/trunk@48588 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 19:00:55 +00:00
joki%netscape.com
62ad116aae Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
git-svn-id: svn://10.0.0.236/trunk@48572 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:18:52 +00:00
rods%netscape.com
b78119cf08 nailed again by nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@48422 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 22:56:32 +00:00
rods%netscape.com
aafb520645 Added code to make sure that focus gets set on the window for mouse down
git-svn-id: svn://10.0.0.236/trunk@48416 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 22:18:57 +00:00
kipp%netscape.com
229a0d5515 Squish a warning
git-svn-id: svn://10.0.0.236/trunk@47999 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:15:09 +00:00
kipp%netscape.com
abd5dca692 Fixed a memory leak triggered by clicking on content
git-svn-id: svn://10.0.0.236/trunk@47790 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 14:54:59 +00:00
briano%netscape.com
46226f556f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@47244 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 01:02:20 +00:00
evaughan%netscape.com
68b7100443 1) Fixed bugs in deck
2) Added visual debugging to boxes


git-svn-id: svn://10.0.0.236/trunk@46677 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 00:57:01 +00:00
pinkerton%netscape.com
aeee504877 clean up some d&d stuff.
git-svn-id: svn://10.0.0.236/trunk@46462 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:28:23 +00:00
pinkerton%netscape.com
f59358556b 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.
git-svn-id: svn://10.0.0.236/trunk@46461 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:28:11 +00:00
bruce%cybersight.com
f0fd9bd29f Replace delete[] for char* data with nsCRT::free().
git-svn-id: svn://10.0.0.236/trunk@45847 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 07:20:03 +00:00
kipp%netscape.com
e2818b7558 Eliminate a uselss string copy
git-svn-id: svn://10.0.0.236/trunk@45817 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 03:45:44 +00:00
sspitzer%netscape.com
8f374079e0 bulletproofing to prevent the crash I reported in bug #13007. assert is better than a crash any day.
git-svn-id: svn://10.0.0.236/trunk@45678 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 07:22:47 +00:00
pinkerton%netscape.com
e7b56509aa exposing drag and drop events to JS.
git-svn-id: svn://10.0.0.236/trunk@45637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 03:51:03 +00:00
cyeh%netscape.com
cfce14ff56 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:13:14 +00:00
kipp%netscape.com
80ddd6ef6a Removed GetRC code
git-svn-id: svn://10.0.0.236/trunk@45395 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:00:59 +00:00
briano%netscape.com
33f0e42086 General cleanup.
git-svn-id: svn://10.0.0.236/trunk@45370 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:47:39 +00:00
tague%netscape.com
6bbc6c0935 Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX.
git-svn-id: svn://10.0.0.236/trunk@45252 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 01:20:32 +00:00
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
brade%netscape.com
d7e1f74167 change error messages to flag inappropriate uses of GetCharCode
git-svn-id: svn://10.0.0.236/trunk@44834 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:16:44 +00:00
ramiro%netscape.com
dc0d55bf2d lower the volume on printf noise.
git-svn-id: svn://10.0.0.236/trunk@44795 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 09:38:44 +00:00
hyatt%netscape.com
34ef63e304 Fix for typing bustage in editor.
git-svn-id: svn://10.0.0.236/trunk@44278 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 09:37:28 +00:00
hyatt%netscape.com
3758e82e94 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.


git-svn-id: svn://10.0.0.236/trunk@44194 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:42:38 +00:00
hyatt%netscape.com
dd5bde5e90 Renaming onaction to oncommand. Also adding getIID to nsIFocusableContent, since
I'll need to be using that later on.


git-svn-id: svn://10.0.0.236/trunk@43880 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:56:15 +00:00
arielb%netscape.com
ad40dbfcd5 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.


git-svn-id: svn://10.0.0.236/trunk@43798 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 09:51:02 +00:00
pinkerton%netscape.com
6003923042 add drag_gesture event.
git-svn-id: svn://10.0.0.236/trunk@43636 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:48:45 +00:00
joki%netscape.com
25eb777ec4 Adding new onselect event. Also slight modification to ender text widget focus behavior
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +00:00
tague%netscape.com
3d05ffd145 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@42394 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 03:10:14 +00:00
tague%netscape.com
5f2b704a17 Added support for replies from private DOM text events. See bug #4826
git-svn-id: svn://10.0.0.236/trunk@42391 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 02:32:13 +00:00
joki%netscape.com
539a7178d4 Partial fixes for focus/blur events on windows/frames, fixes for incorrect event.target values
git-svn-id: svn://10.0.0.236/trunk@41315 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 20:55:03 +00:00
joki%netscape.com
7bbae8347e Fixing key value for ctrl+keys.
git-svn-id: svn://10.0.0.236/trunk@41289 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:38:07 +00:00
joki%netscape.com
73627c01e7 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
hyatt%netscape.com
de800e6548 Adding a menu listener to the DOM for XUL menus.
git-svn-id: svn://10.0.0.236/trunk@41124 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 09:18:31 +00:00
joki%netscape.com
1dbeb41d39 Checking in fix for tab navigation submitted by alex@cendio.se
git-svn-id: svn://10.0.0.236/trunk@40155 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 21:23:57 +00:00
joki%netscape.com
065c158182 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
git-svn-id: svn://10.0.0.236/trunk@40134 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:54:34 +00:00
mjudge%netscape.com
329d39ba11 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.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
tague%netscape.com
a299b8b6da Fixed bug #8227 deref errors in tempDOMTextRange
git-svn-id: svn://10.0.0.236/trunk@39375 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 21:10:55 +00:00
pinkerton%netscape.com
42c0233d81 rewite GetScreen* to use nsIWidget::WidgetToScreen(), which actually will work under linux and mac. (rev pavlov, appr cyeh). Bug #9114.
git-svn-id: svn://10.0.0.236/trunk@38737 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 22:40:22 +00:00
norris%netscape.com
205ddb1970 Tom Pixley's code for the beginnings of DOM security, with a fix for the previous Mac link failure.
git-svn-id: svn://10.0.0.236/trunk@38654 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:50:03 +00:00
joki%netscape.com
b7b0878393 Partial fix for bug 8123, handle spacebar scrolling on keypress, not keydown
git-svn-id: svn://10.0.0.236/trunk@38446 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 22:55:46 +00:00
joki%netscape.com
2bf72dbb03 Backing out js security changes.
git-svn-id: svn://10.0.0.236/trunk@37696 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 13:03:35 +00:00
joki%netscape.com
c327ee36e4 New JavaScript/DOM security stuff.
git-svn-id: svn://10.0.0.236/trunk@37688 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 10:38:26 +00:00
pinkerton%netscape.com
ae5660d9b2 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.
git-svn-id: svn://10.0.0.236/trunk@37642 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 04:12:42 +00:00
pinkerton%netscape.com
fed08cf519 don't crash if parent is null when asking for mouse coordinates.
git-svn-id: svn://10.0.0.236/trunk@37637 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 03:26:43 +00:00
tague%netscape.com
9c4625fa70 Fix UNIX build warnings
git-svn-id: svn://10.0.0.236/trunk@37616 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 00:44:05 +00:00