3002 Commits

Author SHA1 Message Date
akkana%netscape.com
2a83eeebf7 16795: Make arrow keys work again.
The gtk event for arrow keys has length=0, but we still need to generate
KeyDown, KeyPress, etc. events for these keys.  r=pavlov


git-svn-id: svn://10.0.0.236/trunk@51277 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 20:04:40 +00:00
scc%netscape.com
0d129de64e eliminate warnings, r=shaver
git-svn-id: svn://10.0.0.236/trunk@51271 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 18:59:00 +00:00
Jerry.Kirk%Nexwarecorp.com
c40a73a776 Fixes to correct lots of extra drawing because of incorrectly clipped regions
Bug #16698 r=kedl


git-svn-id: svn://10.0.0.236/trunk@51167 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 20:50:17 +00:00
rods%netscape.com
7df83f9c8c Added a method in the debug build to return the Navigator size for a given
for control for a given font family and size. Used for NavQuirks testing only.
r=kmcclusk, Bugs #3040, 4072


git-svn-id: svn://10.0.0.236/trunk@51126 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 11:34:00 +00:00
Jerry.Kirk%Nexwarecorp.com
9518fbd96c moving Push/PopThreadEventQueue to nsIEventQueueService.
This is required to get anythinbg to work now...
r=danm@netscape.com


git-svn-id: svn://10.0.0.236/trunk@51099 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 02:26:53 +00:00
Jerry.Kirk%Nexwarecorp.com
3b650617aa Removed some hacks that were no longer necessary because of fixes made
on GFX side to fix nsRegion and the double buffer routines. Also
removed the DOUBLE_CLICK messages as directed by someone, I forget now who.
Bug 16698 r=Michael.Kedl@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@51085 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 00:29:33 +00:00
Jerry.Kirk%Nexwarecorp.com
614348b081 Installed our own PtMainLoop() function that can be exited to allow
the Create Profile Manager to display a dialog, then exit the GUI and display
a different dialog.
Bug# 16667 r=Michael.Kedl@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@51009 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 19:34:07 +00:00
pavlov%netscape.com
2a38ab0914 revert some key code to pre branch landing so that typing works correctly
git-svn-id: svn://10.0.0.236/trunk@50993 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 16:08:16 +00:00
danm%netscape.com
c4ec5e4d7e moving Push/PopThreadEventQueue to nsIEventQueueService. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50991 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 15:08:45 +00:00
buster%netscape.com
7653742295 fixed bug 16486, r=brade@netscape.com
windows widget code handles control-key combinations correctly.


git-svn-id: svn://10.0.0.236/trunk@50974 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 03:39:48 +00:00
pavlov%netscape.com
0d172a490d work around for not being able to type in text fields on unix without them closing your apps.
16564 and 16542 r=smfr


git-svn-id: svn://10.0.0.236/trunk@50966 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 23:27:50 +00:00
peterl%netscape.com
e8a5d2e937 Added namespace ID to the AttributeChanged notification
Part of the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50889 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:17:53 +00:00
Jerry.Kirk%Nexwarecorp.com
bee1ad520f Handles KeyEvents the new way, not completely finished...
Bug # 16539 r=Michael.Kedl@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@50847 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 21:10:36 +00:00
brade%netscape.com
6f185f7761 fixes to handle for control keys (off by 1) (bug #15693) r=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50829 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 14:56:33 +00:00
beard%netscape.com
08cd03a169 fixed 2 string memory leaks (bug #15380). r=saari
git-svn-id: svn://10.0.0.236/trunk@50777 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:57:45 +00:00
rpotts%netscape.com
fa27c68f3e bug #16328. Share a single nsToolkit instance among all widgets.
git-svn-id: svn://10.0.0.236/trunk@50749 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:49:11 +00:00
ftang%netscape.com
2a3924d2e0 fix Shift+a does not produce A in editor problem. We need to clean up isShift before we send. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@50699 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:04:57 +00:00
ftang%netscape.com
da9f453e91 fix problem with url bar trancation. Do not send extra key press for non A-Z0-9
git-svn-id: svn://10.0.0.236/trunk@50695 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 21:49:49 +00:00
ftang%netscape.com
0abb41fb24 fix the problem taht PageUp/PageDown/Up/Down/Left/Right/Home/End does not work after we land the keyevent branch. add missing isMeta code there
git-svn-id: svn://10.0.0.236/trunk@50690 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 20:03:00 +00:00
ftang%netscape.com
2d2a382150 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


git-svn-id: svn://10.0.0.236/trunk@50688 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:27:01 +00:00
brade%netscape.com
bbc03d38ad remove dbl-click message (per joki); dblclick message is causing bug #14990; r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50680 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:22:22 +00:00
Jerry.Kirk%Nexwarecorp.com
5f745cfd66 These changes fix a draw problem when a top-level window was Move'd
Bug=16325 r=Michael.Kedl@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@50628 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:33:49 +00:00
pinkerton%netscape.com
7062dc3e8b take a first stab at native system colors. obviously more work needs to be done to use appearance, but this will get us started. (r=sfraser, bug# 1021).
git-svn-id: svn://10.0.0.236/trunk@50517 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:08:17 +00:00
pinkerton%netscape.com
8c90b18f03 correctly trigger the sending of mouse_exit events when the mouse moves into the growBox. fixes a bug with gfx scrollbars in bookmarks when the window was resized. (r=sfraser, no explicit bug number).
git-svn-id: svn://10.0.0.236/trunk@50516 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:06:00 +00:00
Jerry.Kirk%Nexwarecorp.com
f62900eb59 Fixed syntax error which caused invalidation not to work when logging
was turned off.
Bug# 16169 r=Dale.Stansberry@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@50463 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 14:39:32 +00:00
mcafee%netscape.com
0ba95a928f Applying patch from buhr@stat.wisc.edu. Fixes destination widget confusion (14759). Unix-only, a=mscott
git-svn-id: svn://10.0.0.236/trunk@50441 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 07:26:47 +00:00
waterson%netscape.com
e20da712ec Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50413 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:10:08 +00:00
kmcclusk%netscape.com
90932ba7f3 Changed WIN32 windows style from WS_EX_CLIENTEDGEto WS_EX_WINDOWEDGE to
stop drawing client windows sunken. bug=15151; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50377 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:56:55 +00:00
dveditz%netscape.com
30a83caa1d Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
beard%netscape.com
79da82091a fix memory leaks (nsMacMessage sink). r=pavlov, bug=15380
git-svn-id: svn://10.0.0.236/trunk@50302 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:08:56 +00:00
dveditz%netscape.com
19c0e43ded fixing Win32 debug build bustage with NS_LOG_ADDREF. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@50291 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:09:31 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
pavlov%netscape.com
46858a98ee unif 0 synchronous drawing on linux and add some checks to make sure we are visible and don't dump paint events when we are going to ignore them r=akkana
git-svn-id: svn://10.0.0.236/trunk@50128 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:49:11 +00:00
akkana%netscape.com
ada22baf14 15712: Fix gtk double-click events. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@50039 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 22:57:00 +00:00
kmcclusk%netscape.com
7c76fd51f5 r=rods; bug=15478; Added WS_EX_TOOLWINDOW extended style for popup windows
to prevent popups from creating empty task bar buttons.
bug=6061; NS_DISPLAYCHANGE event is now generated when the display depth changes
on WIN32.


git-svn-id: svn://10.0.0.236/trunk@50035 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 21:54:49 +00:00
pavlov%netscape.com
a1c9b6dcaa get CaptureRollupEvents working properly on unix. Fix focus problem that was being caused by grabbing the focus via SetFocus(). Fix potential crash in OnRealize(). fixes 15169, 15537, 15470 r=rods (for focus parts) r=blizzard@redhat.com (for all of it)
git-svn-id: svn://10.0.0.236/trunk@49974 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 14:04:05 +00:00
ramiro%netscape.com
f3bc03de75 Im an idiot, i applied the same patch twice. Sorry. Backout my last change.
git-svn-id: svn://10.0.0.236/trunk@49947 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 03:38:49 +00:00
kipp%netscape.com
71408231d2 Tweaked refcnt munging to better support refcnt tracking
git-svn-id: svn://10.0.0.236/trunk@49904 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:58:32 +00:00
kipp%netscape.com
3a3369076f Fixed a memory leak of widgets triggered when the close box for a window is hit
git-svn-id: svn://10.0.0.236/trunk@49903 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:57:57 +00:00
ramiro%netscape.com
f037c3b791 Fix for bug 15245. Rearrange the inclusion of system headers to unbreak
some unix compilers.  Patch provided by tor@cs.brown.edu and reviewed by me.


git-svn-id: svn://10.0.0.236/trunk@49879 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:08:19 +00:00
kipp%netscape.com
a87258a834 Added in ctor/dtor counting
git-svn-id: svn://10.0.0.236/trunk@49839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:53:40 +00:00
shawnp%earthling.net
17b2b4cace To determine what gfx toolkit is being used at runtime, I added the
following functions to the nsIUnixToolkitService interface:
SetWidgetToolkitName(), SetGfxToolkitName(), IsValidWidgetToolkit(),
IsValidGfxToolkit(), GetWidgetToolkitName(), GetGfxToolkitName(). I also
added the implementation for these functions. Reviewed by
ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49782 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:35:21 +00:00
shawnp%earthling.net
0b401a86ba Improved info that is logged. Only bother to do something in OnPaint() if there
is a pixmap to copy from. Reviewed by ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49781 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:31:56 +00:00
shawnp%earthling.net
8fff423963 Implemented stub CaptureRollupEvents() and SetTitle() functions. Now handle
both Qt and Xlib gfx toolkits at runtime. Fixed a bug in SetCursor(). Can now
track cursor movement when no mouse button is pressed. Got rid of flickering
when repainting web pages. Reviewed by ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49780 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:31:18 +00:00
shawnp%earthling.net
4046113676 Now use separate PR_LOG module for scrolling. Stopped generation of double
scroll events. Reviewed by ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49779 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:30:23 +00:00
shawnp%earthling.net
f6d25e7c68 Added mouse enter/exit event. Added focus in/out event. Now use seperate PR_LOG
modules for events. Combined MousePressedEvent() and MouseReleasedEvent() into
MouseButtonEvent(). Reviewed by ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49778 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:29:07 +00:00
shawnp%earthling.net
14a4b48d16 Added constructor needed for integration with Xlib gfx toolkit. Reviewed by
ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49776 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:28:24 +00:00
shawnp%earthling.net
5475d74886 Implemented stub SetCheckboxType() and GetCheckboxType() functions.
Reviewed by ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49775 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:27:44 +00:00
shawnp%earthling.net
aa82528d79 Implemented stub GetEnabled() and IsHelpMenu() functions. Reviewed by
ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49774 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:26:39 +00:00