Commit Graph

299 Commits

Author SHA1 Message Date
pinkerton%netscape.com
edefa8be72 stupid typo.
git-svn-id: svn://10.0.0.236/branches/Netscape_20000922_BRANCH@84750 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:36:33 +00:00
pinkerton%netscape.com
e98c629dda changes from the trunk to bring the branch more up to date and make mac build. these changes have been in the trunk since November. r=bryner.
git-svn-id: svn://10.0.0.236/branches/Netscape_20000922_BRANCH@84563 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 08:17:00 +00:00
pinkerton%netscape.com
a371f85229 If we're being minimized, don't tell Gecko. This allows us to remember the
scroll position when we're un-minimized. bug#56156, r=rods/a=hyatt.


git-svn-id: svn://10.0.0.236/branches/Netscape_20000922_BRANCH@82056 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:06:12 +00:00
rods%netscape.com
e883ea51d2 Both fixes are checks for null pointers 57044 checks for a null toolkit pointer
50208 checks for a null window in the processing of events
Bug 50208, 57044
r=saari,kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/branches/Netscape_20000922_BRANCH@81454 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 14:31:03 +00:00
yokoyama%netscape.com
6a5ed7bb3d Fix Bug#: 53528 : ALT+HANKAKU/ZENKAKU key often activates menu bar
r=shanjian, sr=ftang


git-svn-id: svn://10.0.0.236/branches/Netscape_20000922_BRANCH@80947 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 21:47:49 +00:00
ftang%netscape.com
15aa3407c3 fix bug 53210. check in for yokoyama from ftang
a=ftang r=ftang remove static link of IMM32.DLL


git-svn-id: svn://10.0.0.236/trunk@79799 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 01:06:51 +00:00
scc%mozilla.org
dde18be624 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 00:46:03 +00:00
scc%mozilla.org
2ec048c2a8 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78047 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 00:31:01 +00:00
danm%netscape.com
11b37438fb add 'activate' parameter to nsIWidget::PlaceBehind. bug 22658 r=rods,kmcclusk
git-svn-id: svn://10.0.0.236/trunk@77643 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:21:39 +00:00
saari%netscape.com
5efb96a3b8 46938, fire event so we can track when plugins are clicked on. r=rods
git-svn-id: svn://10.0.0.236/trunk@77059 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:53:31 +00:00
rods%netscape.com
53db64fbd9 changed window class to "MozillaWindowClass"
b=29487 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76797 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 21:32:09 +00:00
shanjian%netscape.com
309c493895 #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


git-svn-id: svn://10.0.0.236/trunk@75606 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:43:29 +00:00
danm%netscape.com
2c3b51f21e implement new method ConstrainPosition. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75586 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:48:33 +00:00
rods%netscape.com
794167383a an extra keypress was being generated for semicolon, equals, comma, period, slash
it now checks to makes it isn't one of these keys
alos, the subtract key is it's very own special key and is handled separately
b=44189, r=brade


git-svn-id: svn://10.0.0.236/trunk@73758 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:16:22 +00:00
bryner%uiuc.edu
bdd43b4411 Fixing bug 29027 - now we restore an iconified window when we send focus to it. r=law.
git-svn-id: svn://10.0.0.236/trunk@72081 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 01:16:31 +00:00
rods%netscape.com
ba8e18920d really fixed it this time.
the mapping to the vk is done outside the KeyDispatch and this now works
b 5716  r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@69461 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:54:25 +00:00
rods%netscape.com
375710d6d3 part of fix for Bug 33733
added ShouldRollupOnMouseWheelEvent methos to ask if the rollup want to rollup on MouseWheel events


git-svn-id: svn://10.0.0.236/trunk@69441 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:23:04 +00:00
kmcclusk%netscape.com
c7f71bf973 rods@netscape.com fix for navigation keys not working b=38939 r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69437 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:03:46 +00:00
rods%netscape.com
b4ea3f3b57 assertion for OleInitialization
should have continued to used FAILED instead of checking against S_OK


git-svn-id: svn://10.0.0.236/trunk@69415 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:01:17 +00:00
kmcclusk%netscape.com
a9d3122699 Cache the last size of the nsWindow on WIN32 to determine how much to invalidate when widget is resized. Also added checks to see if width or height actually changed before invalidating b=33799 r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69284 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:59:20 +00:00
rods%netscape.com
355f8921f5 make sure the charCode also gets mapped
bug 5716 r=brade (sort of)


git-svn-id: svn://10.0.0.236/trunk@69238 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:24:54 +00:00
rods%netscape.com
c7dc1fa98b added native event debug, will print out event names when turned (NS_DEBUG ifdef'ed)
add an OleRegister Manager for properly initializing and uninitializing Ole b=38776
fixed up the key handling to properly set the char code when it is <ctrl>- <ctrl>= etc. b=5716


git-svn-id: svn://10.0.0.236/trunk@69208 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 13:39:17 +00:00
michael.lowe%bigfoot.com
89eff2adf7 Implement CSS3 cursors on Windows
git-svn-id: svn://10.0.0.236/trunk@68568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 05:14:43 +00:00
rods%netscape.com
a13f7b80d6 now mapping minus '-' key virtual code to correct DOM key virtual code
now correctly creating ket press events for <ctrl>= <ctrl>-  <ctrl>;
bug 5716


git-svn-id: svn://10.0.0.236/trunk@68127 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:34:09 +00:00
michael.lowe%bigfoot.com
8807cc67e0 Implement CSS2 resize cursors on Windows (bug 1916)
git-svn-id: svn://10.0.0.236/trunk@67665 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 15:29:32 +00:00
rods%netscape.com
d9c4ca2cf5 now calculates 1, 2 & 3 click counts correctly.
b=15095


git-svn-id: svn://10.0.0.236/trunk@67549 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:27:18 +00:00
mjudge%netscape.com
fca75e564b fix to get vc5.0 building again
git-svn-id: svn://10.0.0.236/trunk@67392 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 10:50:29 +00:00
danm%netscape.com
5c72c7fd00 use a dialog windproc for dialog windows. code by roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@67339 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:23:18 +00:00
pinkerton%netscape.com
c5745a98a6 New clipboard interface for unix selection clipboard.
git-svn-id: svn://10.0.0.236/trunk@65932 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:52:58 +00:00
nhotta%netscape.com
cb59c76a30 IME change for Win2000, bug 29606, check in for m_kato@ga2.so-net.ne.jp, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@65884 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:23:04 +00:00
pinkerton%netscape.com
694a1d5347 Adding support for nsIMenuRollup and xpmenus not rolling up when a click is inside a parent.
git-svn-id: svn://10.0.0.236/trunk@65856 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:15:40 +00:00
bryner%uiuc.edu
ca8b146fdd Make sure we correctly obtain the system setting for the number of
lines to mousewheel scroll on Win95 (it's different than 98/NT).  This
was causing ProcessMessage to bail out early and never dispatch the
event.  r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@65642 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 01:43:39 +00:00
danm%netscape.com
b141a515b9 constrain attempts to change z-level
git-svn-id: svn://10.0.0.236/trunk@64902 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:16:43 +00:00
bryner%uiuc.edu
ad5a4b8c26 Need to make sure of two things before handling the mousewheel message:
- There must be a window under the pointer
- It must be one of our windows

This fixes bug 33181.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@64136 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 01:02:31 +00:00
kmcclusk%netscape.com
18c580bc5b Added support for crosshair, move, and help cursors b=1916 r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63626 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:06:29 +00:00
danm%netscape.com
a7a75e6247 clean up window style code. code by roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@63534 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:42:00 +00:00
bryner%uiuc.edu
92fe339798 Handle Win95 MSH_MOUSEWHEEL messages in addition to WM_MOUSEWHEEL
messages.  r=law@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@63352 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:57:23 +00:00
kmcclusk%netscape.com
0702710b84 b=29311 r=rods@netscape.com Added code in nsWindow::Move
Check to see if window needs to be removed first
to avoid a costly call to SetWindowPos.


git-svn-id: svn://10.0.0.236/trunk@62956 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:17:29 +00:00
rods%netscape.com
8eca658a1f This fixes a problem introduced bu checkin 3.258 and Bug 26834,
and is the branch checkin for bug 31713.
The problem is the code cheked into 3.258 does it for all windows, when you really
only want to do it for top level windows.
r=kmcclusk b=31713


git-svn-id: svn://10.0.0.236/trunk@62925 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:44:04 +00:00
dcone%netscape.com
c683196c5a Changed the SelectPallete attribute for the forground from true to false, it will
now select a palette that is not a background palette.  r=rods b=25979


git-svn-id: svn://10.0.0.236/trunk@62753 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 03:38:52 +00:00
danm%netscape.com
00e7f0e656 propagate zoom event to xp window. bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62436 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:58:04 +00:00
saari%netscape.com
d6681f6c63 windows fix for 26834, windows need sanity checks to keep them on screen. r=hyatt, a=jar
git-svn-id: svn://10.0.0.236/trunk@62379 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:41:12 +00:00
mjudge%netscape.com
09ded896f1 a=jar r=ftang 28852
git-svn-id: svn://10.0.0.236/trunk@62182 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:27:16 +00:00
law%netscape.com
a762938ddc Fix to get program icon loading properly (goes with updates to splash.rc file in mozilla/xpfe/bootstrap); r=jband@netscape.com, a=jevering@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61638 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 02:25:00 +00:00
bryner%uiuc.edu
d1ab55ee5c Making mousewheel events go to the correct nsWindow on Win32. Fixes bug
28426.  r=dougt, a=waterson.


git-svn-id: svn://10.0.0.236/trunk@61634 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 01:52:08 +00:00
hyatt%netscape.com
5de7211510 Popup fixes. r=saari
git-svn-id: svn://10.0.0.236/trunk@61295 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 09:38:59 +00:00
beard%netscape.com
3a56959eaa bug 27180, make nsIWidget::Resize() consistently invalidate on Mac, Windows and Linux. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@60930 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 21:40:31 +00:00
danm%netscape.com
6042ac9e7f modal event filter largely relies on OS now. bug 19221. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60805 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 05:05:19 +00:00
ftang%netscape.com
7e4f0907ea fix bug 23665. make OnKeyUp same behavior as OnKeyDown. Clean up old old unused code. r=rods
git-svn-id: svn://10.0.0.236/trunk@60540 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:10:22 +00:00
hyatt%netscape.com
c4901d5a4c Landing focus memory. r=saari
git-svn-id: svn://10.0.0.236/trunk@60533 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 23:35:14 +00:00