joki%netscape.com
2902db6f2c
Fix bug 9140. Prevent window level mouse exit events from accidentally propagating to content. r:rods a:jar
...
git-svn-id: svn://10.0.0.236/trunk@62167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:07:31 +00:00
saari%netscape.com
fd4c76d4e8
Fix for PDT+ 29833, r=hyatt, a=jevering
...
git-svn-id: svn://10.0.0.236/trunk@62082 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 23:15:01 +00:00
saari%netscape.com
0feb5f5a05
fix for PDT+ 29004. r=hyatt, a=jevering
...
git-svn-id: svn://10.0.0.236/trunk@61830 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 03:54:49 +00:00
saari%netscape.com
35cfc92cb4
28467 fix, a=jar, r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@61713 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:02:31 +00:00
pinkerton%netscape.com
3d55061c24
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.
...
git-svn-id: svn://10.0.0.236/trunk@61568 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 03:41:14 +00:00
bryner%uiuc.edu
024181717c
Set the event status to prevent us from receiving multiple mousewheel
...
events on Win32. Fixes bug 24083. r=saari,pinkerton. a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@61244 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:52:45 +00:00
joki%netscape.com
dcc35666e8
Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
...
git-svn-id: svn://10.0.0.236/trunk@61096 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:59:07 +00:00
alecf%netscape.com
345e9c57a6
add debug_hyatt around this printf so I don't get it constantly
...
git-svn-id: svn://10.0.0.236/trunk@61090 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:26:41 +00:00
joki%netscape.com
49b90e87fb
Fix for bug 9140, prevent recursion of mouseover/out events. r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@61044 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 03:52:45 +00:00
vidur%netscape.com
c1719e8d11
Cutting down on debug printf noise.
...
git-svn-id: svn://10.0.0.236/trunk@60808 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 05:06:45 +00:00
saari%netscape.com
620f8e6169
Fix for crashes in EventStateManager that may people are seeing. Bug 27727. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@60753 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 00:28:43 +00:00
saari%netscape.com
0c9ed11708
fix for 25434, PDT+ crasher. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@60592 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 08:33:12 +00:00
hyatt%netscape.com
74646aeb15
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
git-svn-id: svn://10.0.0.236/trunk@60534 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 23:41:13 +00:00
joki%netscape.com
15bfe999f1
Fix for bug 24947, prevent recursive blur/focus calls. r:saari
...
git-svn-id: svn://10.0.0.236/trunk@60441 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 05:20:44 +00:00
akkana%netscape.com
20d400ff7c
Fixing nsCOMPtr taining build bustage. a=gramps
...
git-svn-id: svn://10.0.0.236/trunk@60414 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 02:38:20 +00:00
tbogard%aol.net
11c3af9ebc
Changed the FocusAvailable to call on the new docshell path rather than the old webshell/ container path. r=saari
...
git-svn-id: svn://10.0.0.236/trunk@60410 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:56:01 +00:00
vidur%netscape.com
f1a9c3f401
Fix for bug 9140. Area elements now have event fired for them. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00
rods%netscape.com
29215e2548
Accesskey registration methods (empty stubs at this point)
...
b 7559, r=joki
git-svn-id: svn://10.0.0.236/trunk@60239 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:14:55 +00:00
joki%netscape.com
bcf5da502c
Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
...
git-svn-id: svn://10.0.0.236/trunk@60037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:05:57 +00:00
bryner%uiuc.edu
e932a61bf1
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.
git-svn-id: svn://10.0.0.236/trunk@59815 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 00:58:29 +00:00
warren%netscape.com
b14ca3b6c7
Added an assertion for case when return code gets ignored.
...
git-svn-id: svn://10.0.0.236/trunk@59723 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:06:16 +00:00
norris%netscape.com
6fc5a6608b
Fix bug #25864 watch() vulnerability
...
r=vidur,rogerl
git-svn-id: svn://10.0.0.236/trunk@59445 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:22:58 +00:00
vidur%netscape.com
825e97e024
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
...
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
saari%netscape.com
67ec2fc3c1
Something I forgot with yesterday's checkin.
...
git-svn-id: svn://10.0.0.236/trunk@59015 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:04:26 +00:00
kmcclusk%netscape.com
5f7ac3effb
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
git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
norris%netscape.com
0dd1063455
Fix 23227 Document object vulnerability
...
r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
hyatt%netscape.com
d58696d355
Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
...
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
norris%netscape.com
e4653042f2
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
git-svn-id: svn://10.0.0.236/trunk@58429 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:23:14 +00:00
waterson%netscape.com
e7fe781360
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
...
git-svn-id: svn://10.0.0.236/trunk@58414 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 22:00:35 +00:00
saari%netscape.com
597d62eba7
Fix for 24124, focus crasher. Review and a whole lot of help from danm.
...
git-svn-id: svn://10.0.0.236/trunk@58211 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:03:09 +00:00
bryner%uiuc.edu
ccf75f8758
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.
git-svn-id: svn://10.0.0.236/trunk@57964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 05:30:49 +00:00
brade%netscape.com
4ff4f74a42
remove function DispatchKeyPressEvent (not used); initialize the modifier keys in the event structure; r=joki
...
git-svn-id: svn://10.0.0.236/trunk@57944 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 17:21:20 +00:00
brade%netscape.com
f3a29e1a4a
remove function DispatchKeyPressEvent (not used) r=joki
...
git-svn-id: svn://10.0.0.236/trunk@57943 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 17:21:10 +00:00
brade%netscape.com
2b900a9e8f
initialize to nsnull; r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@57676 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 14:53:51 +00:00
hyatt%netscape.com
49d579d9fe
Cleaning up makefile
...
git-svn-id: svn://10.0.0.236/trunk@57675 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 11:50:18 +00:00
hyatt%netscape.com
16e11e6e8f
Fix for 18444
...
git-svn-id: svn://10.0.0.236/trunk@57674 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 11:49:18 +00:00
hyatt%netscape.com
d5cdba236a
Fix for 18444
...
git-svn-id: svn://10.0.0.236/trunk@57673 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 11:43:54 +00:00
sspitzer%netscape.com
474de77d86
fixing my old enemy "the classic .get() with nsCOMPtr on solaris (and linux, if you have --enable-pedantic) turned on" bustage.
...
git-svn-id: svn://10.0.0.236/trunk@57518 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 07:39:00 +00:00
beard%netscape.com
ceea114c6b
fixes nsIAtom leaks, bug=15906, r=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@57514 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 06:54:58 +00:00
bryner%uiuc.edu
ceb3e53c0f
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.
git-svn-id: svn://10.0.0.236/trunk@57447 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:30:22 +00:00
cls%seawood.org
c94cbe27ba
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.
git-svn-id: svn://10.0.0.236/trunk@57356 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:13:01 +00:00
brendan%mozilla.org
bc0baef1a1
(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!)
git-svn-id: svn://10.0.0.236/trunk@57127 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:24:24 +00:00
bryner%uiuc.edu
be9872a5ea
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.
git-svn-id: svn://10.0.0.236/trunk@56940 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 06:22:00 +00:00
sspitzer%netscape.com
dba8f2b061
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.
git-svn-id: svn://10.0.0.236/trunk@56581 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 23:02:38 +00:00
sspitzer%netscape.com
3f096cd0c6
fix warnings
...
git-svn-id: svn://10.0.0.236/trunk@56571 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:41:57 +00:00
mcafee%netscape.com
52595fb145
Fixing null pointer reference, patch submitted by jst@citec.fr. r=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@56565 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 08:29:11 +00:00
vidur%netscape.com
d562441874
Removing warnings. a=don r=waqar
...
git-svn-id: svn://10.0.0.236/trunk@56444 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:47:15 +00:00
hyatt%netscape.com
e91083d770
Patch that gets tabbing back into text fields. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@56291 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:35:13 +00:00
pinkerton%netscape.com
df130bfa90
remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
...
git-svn-id: svn://10.0.0.236/trunk@56289 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:28:15 +00:00
saari%netscape.com
3c1b9ef055
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
...
git-svn-id: svn://10.0.0.236/trunk@56259 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 01:12:40 +00:00