2964 Commits

Author SHA1 Message Date
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
shawnp%earthling.net
fc4c559faa Updated to better match values used by the gtk widget toolkit (assuming
those are more correct values). Reviewed by ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49771 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:24:46 +00:00
shawnp%earthling.net
af2c5a6328 Added a static function to determine at runtime what gfx toolkit is being
used. Reviewed by ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49770 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:23:47 +00:00
shawnp%earthling.net
66f0536716 Now link in libxlibgrb.so when building libwidgetqt.so so that Qt can work
with the Xlib gfx toolkit. Reviewed by ramiro@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@49769 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:22:48 +00:00
kipp%netscape.com
f0a6db6e3e r=ramiro; fix uninitialized refcnt bug that triggers an assertion when you're lucky
git-svn-id: svn://10.0.0.236/trunk@49763 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:31:55 +00:00
duncan%be.com
d0d0e41c47 Hack into compileable shape.
git-svn-id: svn://10.0.0.236/trunk@49715 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 08:52:17 +00:00
ramiro%netscape.com
b6cc6b0ab0 Fix for xlib build bustage.
git-svn-id: svn://10.0.0.236/trunk@49713 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 04:49:45 +00:00
beard%netscape.com
0c2f0d51f9 calling __NSInitialize/__NSTerminate to enable GC leak detector. r=smfr
git-svn-id: svn://10.0.0.236/trunk@49692 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 20:53:11 +00:00
beard%netscape.com
75c8c9cd12 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr
git-svn-id: svn://10.0.0.236/trunk@49691 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 20:47:12 +00:00
kmcclusk%netscape.com
e1b393609a 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


git-svn-id: svn://10.0.0.236/trunk@49625 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:13:23 +00:00
Jerry.Kirk%Nexwarecorp.com
26bb29ed10 Photon Only...
Added ConsumeEvents parameter to CaptureRollupEvents
r=Michael.Kedl@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@49606 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 21:54:47 +00:00
pierre%netscape.com
bf6316462c 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


git-svn-id: svn://10.0.0.236/trunk@49603 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 21:40:22 +00:00
pierre%netscape.com
a8c2a315be Fixed #14775 "Crash removing delete observer when closing windows": reshuffled nsToolkit and added nsMacFocusHandler to nsMacEventHandler. r=dcone/sfraser
git-svn-id: svn://10.0.0.236/trunk@49602 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 21:40:04 +00:00
Jerry.Kirk%Nexwarecorp.com
24cefa52e6 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


git-svn-id: svn://10.0.0.236/trunk@49599 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 21:06:43 +00:00
pavlov%netscape.com
4d36473556 remove files since we have idl files for both of these r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@49591 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 20:16:36 +00:00
ramiro%netscape.com
6ee88bb33f fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@49567 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 12:21:33 +00:00
pavlov%netscape.com
b3c9beb29a clean up interface (not built)
git-svn-id: svn://10.0.0.236/trunk@49565 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 11:17:27 +00:00
pavlov%netscape.com
f7e049c2a1 removing nsui.h
git-svn-id: svn://10.0.0.236/trunk@49564 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 11:06:07 +00:00
pavlov%netscape.com
ea9ab1e7e7 remove unused file
git-svn-id: svn://10.0.0.236/trunk@49563 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 11:04:57 +00:00
pavlov%netscape.com
8198d1b4d5 rename declaration of [ptr] native nsIWidget so it doesn't conflict when nsIWidget.idl is built (no real change) r=syd
git-svn-id: svn://10.0.0.236/trunk@49562 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 09:55:20 +00:00
pavlov%netscape.com
ca5d4caa2e use correct return type
git-svn-id: svn://10.0.0.236/trunk@49561 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 09:24:34 +00:00
pavlov%netscape.com
58efa4f2ba fix build bustage - use correct return type
git-svn-id: svn://10.0.0.236/trunk@49560 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 09:23:50 +00:00
pavlov%netscape.com
cfe1981f1b remove headers that are now in MANIFEST_IDL r=shaver
git-svn-id: svn://10.0.0.236/trunk@49559 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 08:38:16 +00:00
pavlov%netscape.com
603b936870 removed bogus calls to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin)
git-svn-id: svn://10.0.0.236/trunk@49558 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 08:36:23 +00:00
pavlov%netscape.com
ce8dc3a83b remove bogus call to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin)
git-svn-id: svn://10.0.0.236/trunk@49556 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 08:34:33 +00:00
pavlov%netscape.com
7f3fe63a8b remove GetNativeData since it isn't used r=shaver (for the entire checkin)
git-svn-id: svn://10.0.0.236/trunk@49555 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 08:33:41 +00:00
pavlov%netscape.com
168a17ea8b use idl files for these things
git-svn-id: svn://10.0.0.236/trunk@49554 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 08:32:30 +00:00
pavlov%netscape.com
1ee8423dd5 added files: mozilla/widget/public/nsIAppShell.idl, mozilla/widget/public/nsIToolkit.idl, mozilla/widget/public/nsIRollupListener.idl
git-svn-id: svn://10.0.0.236/trunk@49553 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 08:29:38 +00:00
pavlov%netscape.com
13076793f5 adding new files (not built yet) and updated nsIWidget.idl (not built either)
git-svn-id: svn://10.0.0.236/trunk@49552 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 08:19:08 +00:00
beard%netscape.com
21f52bf6b7 remove htmlparser from static linkage. r=vidur
git-svn-id: svn://10.0.0.236/trunk@49518 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 00:43:54 +00:00
vidur%netscape.com
b807408d65 Removed parser static linkage.
git-svn-id: svn://10.0.0.236/trunk@49507 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:23:21 +00:00
vidur%netscape.com
821ff07d1c Converted parser into a module. Removed static linkage of parser.
git-svn-id: svn://10.0.0.236/trunk@49503 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:08:24 +00:00
rods%netscape.com
5b32db8a61 Added ConsumeEvents parameter to CaptureRollupEvents
git-svn-id: svn://10.0.0.236/trunk@49440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 14:36:17 +00:00
Jerry.Kirk%Nexwarecorp.com
3bec55869f Added debug and some error checking for Photon
git-svn-id: svn://10.0.0.236/trunk@49437 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 12:29:30 +00:00
rods%netscape.com
86fbfcc398 Changed the metric used to calculate the Horizontal Inside Padding
git-svn-id: svn://10.0.0.236/trunk@49431 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:48:52 +00:00
ramiro%netscape.com
8ee2c8d259 Fix for bug 15245. Patch by tor. r=me
git-svn-id: svn://10.0.0.236/trunk@49408 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 06:09:21 +00:00
saari%netscape.com
d0550e7198 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.
git-svn-id: svn://10.0.0.236/trunk@49385 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 01:44:42 +00:00
ramiro%netscape.com
4afd160b2b Make paint flashing happen only if caps lock is down to make it easier
to target specific rendering problems.  r=pavlov.  bug 15234.


git-svn-id: svn://10.0.0.236/trunk@49379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 01:17:34 +00:00
briano%netscape.com
8adf8ba53a QNX-specific fix, map usleep to sleep since QNX doesn't have usleep.
git-svn-id: svn://10.0.0.236/trunk@49282 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:19:00 +00:00