Commit Graph

587 Commits

Author SHA1 Message Date
dcone%netscape.com
eaf1d9324c fixed some offset bugs 1998-10-06 13:28:53 +00:00
pierre%netscape.com
87764930d1 fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions 1998-10-06 03:00:28 +00:00
michaelp%netscape.com
0308904e76 fixed bug where scrolling with the thumb would cause the thumb
to jump down too far on long documents.
1998-10-05 21:20:54 +00:00
michaelp%netscape.com
9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
rpotts%netscape.com
aba40ac4a7 Pass in a null nsIURLGroup to the image group... 1998-10-01 21:53:52 +00:00
rods%netscape.com
aa5b839ebb Initial checkin 1998-10-01 21:06:09 +00:00
dcone%netscape.com
f0d73bb49e Fixed the location problem 1998-10-01 19:48:52 +00:00
dcone%netscape.com
234bfa674a Fixed the thumbsize problem 1998-10-01 19:48:31 +00:00
michaelp%netscape.com
e09efbe55a font cache is no longer public. 1998-09-30 18:59:31 +00:00
michaelp%netscape.com
451b9b2a18 we no longer have a public font cache. removed circular refs between font cache
and device context.
1998-09-30 18:58:24 +00:00
rods%netscape.com
05439c943f Added HWND cast for STRICT compiler problem. 1998-09-29 22:22:30 +00:00
rods%netscape.com
e054d0c8fa Run method now does an AddRef so it stays alive until the last message can
come through the pump.
1998-09-29 22:16:23 +00:00
kmcclusk%netscape.com
d88895772b Initialize mFont to nsnull in constructor. 1998-09-29 22:01:50 +00:00
kmcclusk%netscape.com
d2d9ccc02b Moved common Create(nsIWidget... and Create(nsNativeWidget to a StandardWindowCreate
utility method then call it from each of the Creates.
1998-09-29 21:34:58 +00:00
rods%netscape.com
d9854f6f95 Reworked all the menu code and removed nsWindow from several classes 1998-09-29 21:30:31 +00:00
rods%netscape.com
a42dea7cc8 Changed casting of HMENU native data 1998-09-29 18:32:37 +00:00
rods%netscape.com
7d25d265b9 This should fix a casting error for VC++ 5.0 with STRICT 1998-09-29 17:50:50 +00:00
pinkerton%netscape.com
1fff0d4271 Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon. 1998-09-29 17:11:00 +00:00
rods%netscape.com
4e068d8491 Additional signature changes for XPCOM 1998-09-29 16:32:04 +00:00
rods%netscape.com
96196905a5 Changed all the signatures to NS_IMETHOD and NS_METHOD 1998-09-29 16:12:15 +00:00
rods%netscape.com
85b4e3488a Added new interfaces 1998-09-29 15:32:04 +00:00
pierre%netscape.com
0e19b67806 fixed previous checkin 1998-09-29 15:26:03 +00:00
dcone%netscape.com
beb60b7096 added new files from the xpviewer. 1998-09-29 15:16:57 +00:00
pierre%netscape.com
ac41be0e25 added nsIToolbarItem.h 1998-09-29 15:04:19 +00:00
rods%netscape.com
42fd6b4e14 Fixed the menubars are added to an nsWindow
Fixed last item layout for toolbars
1998-09-29 15:01:07 +00:00
rods%netscape.com
3ca543d895 Changed the menu code to use HMENUs instead of casted HWNDs 1998-09-29 14:15:32 +00:00
rods%netscape.com
939f18e55d Added more casts to HMENU 1998-09-29 02:01:31 +00:00
rods%netscape.com
054eae75e1 fixed menu casting problem. 1998-09-29 01:23:40 +00:00
kostello%netscape.com
a2f12bee8c Synch with Rod's changes to nsIWidget 1998-09-29 00:58:32 +00:00
kostello%netscape.com
037dabb88d Synch with Rod's new nsIWidget changes 1998-09-29 00:55:17 +00:00
pierre%netscape.com
3ba082e001 fixed crash due to missing {} after if() statement 1998-09-28 23:30:17 +00:00
rods%netscape.com
60b5422758 Added interfaces 1998-09-28 22:37:16 +00:00
rods%netscape.com
b3e3812400 XPCOM'ed most methods and added a couple of methods to BaseWidget
and added a lot of files
1998-09-28 22:32:48 +00:00
dcone%netscape.com
a135352bd3 Fixed the growing part of the window, setorigin was messing us up. 1998-09-28 21:08:09 +00:00
dcone%netscape.com
d6ae43a7eb fixed a validrect problem needed for doublebuffer. Cant call validrect in grow when doublebuffering. Dont know why yet 1998-09-28 17:03:49 +00:00
pierre%netscape.com
f208605e3c enabled debugger for some new files (nsScrollbar etc...) 1998-09-25 23:54:30 +00:00
rpotts%netscape.com
93e66f2ea2 Initialized the returned rect in GetBounds() even if the HWND is null. This fixed a reference to uninitialized memory... 1998-09-25 22:26:28 +00:00
dcone%netscape.com
77d70b7a61 fixed offset problems and parent heiarchy problems 1998-09-25 22:23:58 +00:00
dcone%netscape.com
1586c3d913 Added NS_NATIVE_OFFSETX and Y for getnativedata. Mac needed for the renderingcontext 1998-09-25 22:22:57 +00:00
dcone%netscape.com
2596ac4f28 updated resize 1998-09-25 15:13:29 +00:00
dcone%netscape.com
eb97021f8d fixed some resizing issues 1998-09-25 15:12:55 +00:00
dcone%netscape.com
e387e2f5dd fixed resizing issues 1998-09-25 15:12:22 +00:00
dcone%netscape.com
741d23d723 fixed some sizing issues 1998-09-25 15:12:05 +00:00
eyork%netscape.com
e38a931d36 Fix Solaris Build problems 1998-09-25 00:57:28 +00:00
eyork%netscape.com
ae67d12163 Fix Solaris Build Problem 1998-09-25 00:54:04 +00:00
eyork%netscape.com
0e460a7be5 Fix Solaris build problem 1998-09-25 00:52:46 +00:00
kmcclusk%netscape.com
b1d7363698 Added INITREFCNT to constructor 1998-09-24 17:44:33 +00:00
kmcclusk%netscape.com
63716e7350 Removed NS_DECL_ISUPPORTS in classes which would cause multiple mRefCnt member
variables to be delcared
1998-09-24 17:28:07 +00:00
dcone%netscape.com
af77c10d6e fixed resizing issues 1998-09-23 22:10:40 +00:00
dcone%netscape.com
20a29c53b2 fixed resizing problems 1998-09-23 22:09:52 +00:00
dcone%netscape.com
bb6e438879 fixed some sizing issues 1998-09-23 22:09:23 +00:00
dcone%netscape.com
f63fe299a7 Put in code to offset drawing, hittest, etc 1998-09-23 22:08:53 +00:00
kmcclusk%netscape.com
1add701f7f Fixed filewidget query interface failure. The viewer was crashing when trying to open
a file.
1998-09-23 20:39:16 +00:00
kmcclusk%netscape.com
e6e3087aae Factored cross-platform code within nsWindow in nsBaseWidget. Converted headers and footers
to use nsISupports.h macros. Implemented nsToolkits query interface and made it creatable
through the factory.
1998-09-23 19:19:23 +00:00
pierre%netscape.com
1702ec7fa1 handle menu events when there is no window + other fixes 1998-09-23 09:24:33 +00:00
pierre%netscape.com
f8474ee65e handle menu events when there is no window 1998-09-23 09:23:07 +00:00
pierre%netscape.com
fed9338564 fixed a GlobalToLocal problem in FindWidgetHit 1998-09-23 09:18:46 +00:00
pierre%netscape.com
7bab6b10ff First Checked In. 1998-09-23 09:11:08 +00:00
pierre%netscape.com
60f6592b4b handle Quit cmd (added mMacPump in order to call StopRunnning) 1998-09-22 04:22:57 +00:00
pierre%netscape.com
254d8d510d implemented menu events 1998-09-22 04:21:31 +00:00
pierre%netscape.com
a5908b59da added DoMenu and StopRunning 1998-09-22 04:20:05 +00:00
pierre%netscape.com
2c1e2821f6 destructor closes window 1998-09-22 04:18:40 +00:00
dcone%netscape.com
66e150acbc scroll bar is drawing, nothing else 1998-09-21 21:56:55 +00:00
mcafee%netscape.com
52713a13e5 Adding support for Rhapsody 1998-09-19 07:21:28 +00:00
mcafee%netscape.com
c4747da39f Initial version for Rhapsody 1998-09-19 07:21:02 +00:00
pierre%netscape.com
c42c161be9 added DoResizeWidgets() 1998-09-19 01:40:26 +00:00
pierre%netscape.com
a935e3d2bb added DoResizeWidgets() + fixed Create to handle resize events + imported minor fixes from Windows 1998-09-19 01:40:13 +00:00
pierre%netscape.com
849d768b88 implemented resize events and redraw on resize 1998-09-19 01:38:26 +00:00
pierre%netscape.com
4727c7a851 added nsScrollbar to fix a build breakage 1998-09-18 23:51:30 +00:00
pierre%netscape.com
7918fae2d5 Replaced a faulty line with NS_ERROR in order to fix a build breakage. Don will do the right thing later. 1998-09-18 23:50:04 +00:00
troy%netscape.com
fed21931ee Added NS_INIT_REFCNT() to constructor 1998-09-18 02:05:46 +00:00
troy%netscape.com
94de21e214 Replaced some AddRef() and Release() calls with the XP-COM macros 1998-09-17 20:02:04 +00:00
kmcclusk%netscape.com
16f920d2f5 Added back missing nsTextField and nsTextArea widgets to the factory. 1998-09-17 17:55:24 +00:00
kmcclusk%netscape.com
0cb13476cf Fix for Irix build. 1998-09-17 16:18:29 +00:00
kmcclusk%netscape.com
28b895b957 Added fix in nsCheckButton for IRIX build. Made OnPaint and OnResize virtual
in nsWindow.h, this fixes a bug when bringing up Sample5.
1998-09-17 15:31:18 +00:00
dcone%netscape.com
0bf1a9ddcf First scrollbar pass 1998-09-17 13:44:46 +00:00
pierre%netscape.com
3b172e673a added GetMacFontNumber and CheckFontExistence 1998-09-17 07:51:12 +00:00
kmcclusk%netscape.com
59e4f0edbb Fix for IRIX in nsRadioButton.cpp added const to nsRadioButton::SetState.
Removed scrollbar debug printf in nsXtEventHandler.cpp.
1998-09-17 00:57:59 +00:00
kmcclusk%netscape.com
233c9cb96e Fixed scrollbar scrolling event dispatch.
Wasn't scrolling because OnScroll was not declared virtual in nsWindow.h.
1998-09-17 00:49:03 +00:00
kmcclusk%netscape.com
dd5d333ce3 Removed so releaseref's from nsWindow::OnDestroy 1998-09-17 00:30:08 +00:00
pierre%netscape.com
aa3a024973 fix build breakage 1998-09-16 22:55:05 +00:00
pierre%netscape.com
8f75c70b82 re-enable OnPaint() (it crashed because of missing refcounts in nsWindow) 1998-09-16 22:48:25 +00:00
pierre%netscape.com
f372760887 add refcount in GetDeviceContext and GetAppShell 1998-09-16 22:45:24 +00:00
kmcclusk%netscape.com
05f68e12c9 Added nsWidgetSupport to Makefile. Removed NS_RELASE in widget factory which
would get called after each widget was instantiated.
1998-09-16 21:10:51 +00:00
kmcclusk%netscape.com
e329db0c07 Added nsWidgetSupport.h to exports 1998-09-16 21:10:02 +00:00
kmcclusk%netscape.com
eed4cc2824 Added ConvertToDeviceCoordinates method to nsWindow.h 1998-09-16 20:34:32 +00:00
kmcclusk%netscape.com
b6a0dea6be Remove PreCreate method from nsComboBox.h added QueryInterface method to
nsTextWidget.cpp
1998-09-16 20:27:23 +00:00
kmcclusk%netscape.com
f4f9b91498 Added missing addref and releaseref's 1998-09-16 20:19:39 +00:00
rods%netscape.com
cd4dfe4a70 Fixes for linking 1998-09-16 20:17:17 +00:00
rods%netscape.com
2aa2522962 Changed to new interfaces 1998-09-16 19:54:06 +00:00
kmcclusk%netscape.com
dfb853cfb5 Changed TextField and TextArea to use new inteface definition. 1998-09-16 19:48:02 +00:00
rods%netscape.com
e997d425f5 Changed to new interfaces 1998-09-16 17:59:11 +00:00
rods%netscape.com
64f4a66bd6 Changed to new interfaces 1998-09-16 17:45:04 +00:00
rods%netscape.com
92166df694 Changed to new interfaces 1998-09-16 17:31:02 +00:00
rods%netscape.com
ebde4b917b Changed to new interface 1998-09-16 17:21:19 +00:00
kmcclusk%netscape.com
8ce2d1bb2c Recheckin in over the last checkin from donc which was bad. 1998-09-16 17:18:57 +00:00
dcone%netscape.com
24c5f90cb6 added some coordinate conversion 1998-09-16 17:18:56 +00:00
rods%netscape.com
23dca980a8 Fixes for compiling 1998-09-16 17:13:10 +00:00
kmcclusk%netscape.com
510fa57207 Converted to use new nsIComboBox interface. 1998-09-16 17:12:32 +00:00
rods%netscape.com
8d2d889481 Changed to new interface 1998-09-16 17:01:24 +00:00