Commit Graph

2970 Commits

Author SHA1 Message Date
kipp%netscape.com
e985fb06bf Tweaked refcnt munging to better support refcnt tracking 1999-10-05 23:58:32 +00:00
kipp%netscape.com
85c7cde646 Fixed a memory leak of widgets triggered when the close box for a window is hit 1999-10-05 23:57:57 +00:00
ramiro%netscape.com
811f5ab835 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.
1999-10-05 23:08:19 +00:00
kipp%netscape.com
de44833a85 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
shawnp%earthling.net
6dd37b6e8a 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.
1999-10-05 01:35:21 +00:00
shawnp%earthling.net
8eb45b3a89 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.
1999-10-05 01:31:56 +00:00
shawnp%earthling.net
45893d6167 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.
1999-10-05 01:31:18 +00:00
shawnp%earthling.net
0070ba00dc Now use separate PR_LOG module for scrolling. Stopped generation of double
scroll events. Reviewed by ramiro@netscape.com.
1999-10-05 01:30:23 +00:00
shawnp%earthling.net
e216e42942 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.
1999-10-05 01:29:07 +00:00
shawnp%earthling.net
b8b7888624 Added constructor needed for integration with Xlib gfx toolkit. Reviewed by
ramiro@netscape.com.
1999-10-05 01:28:24 +00:00
shawnp%earthling.net
a2846627fe Implemented stub SetCheckboxType() and GetCheckboxType() functions.
Reviewed by ramiro@netscape.com.
1999-10-05 01:27:44 +00:00
shawnp%earthling.net
6e54805ae8 Implemented stub GetEnabled() and IsHelpMenu() functions. Reviewed by
ramiro@netscape.com.
1999-10-05 01:26:39 +00:00
shawnp%earthling.net
f3229171a3 Updated to better match values used by the gtk widget toolkit (assuming
those are more correct values). Reviewed by ramiro@netscape.com.
1999-10-05 01:24:46 +00:00
shawnp%earthling.net
153c96aa91 Added a static function to determine at runtime what gfx toolkit is being
used. Reviewed by ramiro@netscape.com.
1999-10-05 01:23:47 +00:00
shawnp%earthling.net
d8db4adee0 Now link in libxlibgrb.so when building libwidgetqt.so so that Qt can work
with the Xlib gfx toolkit. Reviewed by ramiro@netscape.com.
1999-10-05 01:22:48 +00:00
kipp%netscape.com
be1c67e0e0 r=ramiro; fix uninitialized refcnt bug that triggers an assertion when you're lucky 1999-10-05 00:31:55 +00:00
duncan%be.com
62996c9b41 Hack into compileable shape. 1999-10-04 08:52:17 +00:00
ramiro%netscape.com
91c4f34276 Fix for xlib build bustage. 1999-10-04 04:49:45 +00:00
beard%netscape.com
b83f70fb4d calling __NSInitialize/__NSTerminate to enable GC leak detector. r=smfr 1999-10-03 20:53:11 +00:00
beard%netscape.com
208d328010 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:47:12 +00:00
kmcclusk%netscape.com
12272aee6f r=rods; bug=15312 nsIWidget::GetParent now stops at the top of the widget hierarchy on WIN32
r=rods; bug=13644 Dropdown on WIN32 no longer causes parent window to change z-order or activation
1999-10-02 00:13:23 +00:00
Jerry.Kirk%Nexwarecorp.com
69a5b7023a Photon Only...
Added ConsumeEvents parameter to CaptureRollupEvents
r=Michael.Kedl@Nexwarecorp.com
1999-10-01 21:54:47 +00:00
pierre%netscape.com
675acb9003 Fixed #14416 "GFX combo boxes cause zombie windows": there was a memory leak in WidgetToScreen and ScreenToWidget. r=dcone/sfraser Fixed #14775 "Crash removing delete observer when closing windows": reshuffled nsToolkit and added nsMacFocusHandler to nsMacEventHandler. r=dcone/sfraser 1999-10-01 21:40:22 +00:00
pierre%netscape.com
8c4468746e Fixed #14775 "Crash removing delete observer when closing windows": reshuffled nsToolkit and added nsMacFocusHandler to nsMacEventHandler. r=dcone/sfraser 1999-10-01 21:40:04 +00:00
Jerry.Kirk%Nexwarecorp.com
745f8fadb0 Photon Only changes...
remove bogus call to nsIAppShell->GetNativeData since it isn't used
Added code for menu RollUp
Change Invalidate Code  not to when widget is not Realized
Changed mUpdateArea from nsRect to nsIRegion
Moved the HandleEvent code from nsWindow to nsWidget
r=Michael.Kedl@Nexwarecorp.com
1999-10-01 21:06:43 +00:00
pavlov%netscape.com
7e2a55ff0e remove files since we have idl files for both of these r=pinkerton 1999-10-01 20:16:36 +00:00
ramiro%netscape.com
c5e75f9503 fix build bustage. 1999-10-01 12:21:33 +00:00
pavlov%netscape.com
d0cc316a46 clean up interface (not built) 1999-10-01 11:17:27 +00:00
pavlov%netscape.com
0865e4a894 removing nsui.h 1999-10-01 11:06:07 +00:00
pavlov%netscape.com
a102877734 remove unused file 1999-10-01 11:04:57 +00:00
pavlov%netscape.com
5b1befe314 rename declaration of [ptr] native nsIWidget so it doesn't conflict when nsIWidget.idl is built (no real change) r=syd 1999-10-01 09:55:20 +00:00
pavlov%netscape.com
7b14c1107a use correct return type 1999-10-01 09:24:34 +00:00
pavlov%netscape.com
4e0b7b3813 fix build bustage - use correct return type 1999-10-01 09:23:50 +00:00
pavlov%netscape.com
2cede8bc92 remove headers that are now in MANIFEST_IDL r=shaver 1999-10-01 08:38:16 +00:00
pavlov%netscape.com
ebe72a2a81 removed bogus calls to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin) 1999-10-01 08:36:23 +00:00
pavlov%netscape.com
b3d403e8eb remove bogus call to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin) 1999-10-01 08:34:33 +00:00
pavlov%netscape.com
d85fdda346 remove GetNativeData since it isn't used r=shaver (for the entire checkin) 1999-10-01 08:33:41 +00:00
pavlov%netscape.com
4c9e093757 use idl files for these things 1999-10-01 08:32:30 +00:00
pavlov%netscape.com
823582adf4 added files: mozilla/widget/public/nsIAppShell.idl, mozilla/widget/public/nsIToolkit.idl, mozilla/widget/public/nsIRollupListener.idl 1999-10-01 08:29:38 +00:00
pavlov%netscape.com
4ceb743715 adding new files (not built yet) and updated nsIWidget.idl (not built either) 1999-10-01 08:19:08 +00:00
beard%netscape.com
680752dbde remove htmlparser from static linkage. r=vidur 1999-10-01 00:43:54 +00:00
vidur%netscape.com
6c78aabdfe Removed parser static linkage. 1999-09-30 22:23:21 +00:00
vidur%netscape.com
709afba09a Converted parser into a module. Removed static linkage of parser. 1999-09-30 22:08:24 +00:00
rods%netscape.com
dffe42e2b3 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
Jerry.Kirk%Nexwarecorp.com
ab368fb45b Added debug and some error checking for Photon 1999-09-30 12:29:30 +00:00
rods%netscape.com
91e5a08688 Changed the metric used to calculate the Horizontal Inside Padding 1999-09-30 11:48:52 +00:00
ramiro%netscape.com
6c10f4393c Fix for bug 15245. Patch by tor. r=me 1999-09-30 06:09:21 +00:00
saari%netscape.com
fb2a2d0f0b Making the Mac key event generation code follow the new spec for autokeys generate keypress events. Brade has run this change on her machine for about a week, I tested it on my machine without any problems. Reviewed by Brade and Dagley. 1999-09-30 01:44:42 +00:00
ramiro%netscape.com
7c52f573e8 Make paint flashing happen only if caps lock is down to make it easier
to target specific rendering problems.  r=pavlov.  bug 15234.
1999-09-30 01:17:34 +00:00
briano%netscape.com
49007a1d94 QNX-specific fix, map usleep to sleep since QNX doesn't have usleep. 1999-09-29 03:19:00 +00:00