Commit Graph

585 Commits

Author SHA1 Message Date
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
rods%netscape.com
d949dd2a0c Changed to new interfaces 1998-09-16 17:01:03 +00:00
kmcclusk%netscape.com
758525aa3c More modifications to nsWindow.cpp to match nsIWidget interface. 1998-09-16 16:44:25 +00:00
dcone%netscape.com
d41e8e7875 fixed colorspace stuff 1998-09-16 16:27:36 +00:00
dcone%netscape.com
1f5b4d51c8 fixed mac version 1998-09-16 16:24:21 +00:00
kmcclusk%netscape.com
fcb0645758 Added nsObject.cpp and nsObject.h files, More mods to nsWindow to match
the nsIWidget interface
1998-09-16 00:53:19 +00:00
kmcclusk%netscape.com
dce87b2a1e Massive modifications to use the new nsIWidget interface. 1998-09-16 00:21:00 +00:00
dcone%netscape.com
1f6031d9dd Added image test support, needed netlib in the link 1998-09-15 21:58:25 +00:00
kostello%netscape.com
0d8ca4a247 *** empty log message *** 1998-09-15 21:56:35 +00:00
kostello%netscape.com
db9e0d3dad Added nsFileWidget.cpp 1998-09-15 21:56:07 +00:00
kostello%netscape.com
8923754bd0 Fix CreateInstance 1998-09-15 21:55:50 +00:00
kostello%netscape.com
5a23c62c1e Fix QueryInterface 1998-09-15 21:55:22 +00:00
michaelp%netscape.com
ffa719807f fix so that if our windows get subclassed and we never hear any
WM_DESTROY messages, we still cleanup properly.
1998-09-15 03:45:06 +00:00
kostello%netscape.com
cd57976277 Update to synch with new Widget interfaces 1998-09-15 01:40:16 +00:00
kostello%netscape.com
0df2897066 Add nsWidgetSupport MANIFEST 1998-09-15 01:39:26 +00:00
kostello%netscape.com
7e9421c9a4 Added nsWidgetSupport.cpp 1998-09-15 01:38:53 +00:00
kostello%netscape.com
144cdf5866 Synch with new Widget interfaces 1998-09-15 01:36:26 +00:00
kostello%netscape.com
7e38bb18e1 Synch with new widget interfaces 1998-09-15 01:35:27 +00:00
kipp%netscape.com
a1b73c9089 Cleaned up ConvertStatus code 1998-09-15 00:14:11 +00:00
kostello%netscape.com
90b7c84599 Helper functions for widget manipulation and creation 1998-09-14 20:49:28 +00:00
kostello%netscape.com
fec8dc255c Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface. Also, using helper functions in nsWidgetHelper
for standard Create calls.
1998-09-14 20:43:58 +00:00
kostello%netscape.com
56e43e352f Removed Aggregation and removed multiple inheritance.
Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface.
1998-09-14 20:40:49 +00:00
kostello%netscape.com
fe224e3000 Major Change: changed all Widget interfaces so that they no longer
descend from nsIWidget. This conforms better to our standard
of not having interfaces inherit from each other.

Changed many of the interfaces to be XPCOM complient i.e. all methods
return nsresult. Therefore the signature of many of the "getters"
changed.
1998-09-14 20:38:05 +00:00
dcone%netscape.com
c07b6b9bee added some image tests 1998-09-14 15:46:23 +00:00
kipp%netscape.com
0ead32a761 Use ADDREF/RELEASE macros 1998-09-12 19:29:39 +00:00
thom%netscape.com
45e27c6264 Added code to handle Menu events 1998-09-12 00:05:39 +00:00
dcone%netscape.com
2f4b7095a7 fixed some focus bugs 1998-09-11 17:49:49 +00:00
dcone%netscape.com
8bccd8d904 fixed focus bugs 1998-09-11 17:49:32 +00:00
dcone%netscape.com
0746233add focus bug fixes 1998-09-11 17:47:50 +00:00
pierre%netscape.com
640eb49bd7 fix crash on update 1998-09-11 10:19:26 +00:00
pierre%netscape.com
a98460e5c6 fix uninitialized mWindowRegion / make the window title bar visible 1998-09-11 10:17:02 +00:00
dcone%netscape.com
d15d905b2d added textfield 1998-09-10 21:33:56 +00:00
dcone%netscape.com
06819bc92b added focus managment, textfields 1998-09-10 21:26:46 +00:00
dcone%netscape.com
63e7d2cdab added focus managment 1998-09-10 21:26:01 +00:00
dcone%netscape.com
d7df9f5691 Added focus managment 1998-09-10 21:25:47 +00:00
dcone%netscape.com
07135ba1a4 added textfield widget, focus management 1998-09-10 21:25:10 +00:00
pierre%netscape.com
9913eb98e3 removed temporary NET_PollSockets() added OnPaint() call 1998-09-05 08:10:15 +00:00
pierre%netscape.com
edfac0aa55 ported AddMouseListener() and AddEventListener() from Windows 1998-09-05 08:05:30 +00:00
dcone%netscape.com
2c2316889f added checkbutton 1998-09-04 21:12:12 +00:00
dcone%netscape.com
e5eab56850 fixed text 1998-09-04 21:10:30 +00:00
dcone%netscape.com
4451ce1a25 new mac version 1998-09-04 21:10:13 +00:00
dcone%netscape.com
3939c7b8c1 updated kipps changes 1998-09-04 18:01:46 +00:00
dcone%netscape.com
50584afce5 fixed to XP again 1998-09-04 18:01:00 +00:00
dcone%netscape.com
592f65095c updated to kipps changes 1998-09-04 18:00:21 +00:00
thom%netscape.com
07fff5b61e Quick hack to get timers working (added call to tickle LPeriodical class) 1998-09-04 00:28:35 +00:00
mcafee%netscape.com
31e97eb164 nsToolkitErrorhandler() needs to return a value, this breaks Solaris. 1998-09-03 10:32:55 +00:00
pierre%netscape.com
89fdd67fd0 temporarily call NET_PollSockets() before WNE, waiting for the timers to be implemented 1998-09-03 06:20:32 +00:00
thom%netscape.com
72329b649a Copy and paste error (SomethingClassWin needed to change to somethingClassMac) 1998-09-03 02:54:11 +00:00
karnaze%netscape.com
90951aa3b9 frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR 1998-09-03 01:16:27 +00:00
buster%netscape.com
ed3cdaf460 put "quickdraw" in an #ifdef NS_MAC 1998-09-02 23:01:35 +00:00
dcone%netscape.com
17baed6234 mac fixes 1998-09-02 22:01:18 +00:00
dcone%netscape.com
bcf3e4fe8f add the macradiobutton 1998-09-02 21:54:14 +00:00
dcone%netscape.com
fcdbd9cc23 made it a mac version 1998-09-02 21:53:49 +00:00
dcone%netscape.com
934bf0c4ce enabled the nsRadiobutton factory 1998-09-02 21:48:05 +00:00
dcone%netscape.com
3d8ccceae8 Mac implementation, first pass 1998-09-02 21:47:47 +00:00
dcone%netscape.com
b425706007 used my own mousemoved tracking for better speed 1998-09-02 21:47:25 +00:00
dcone%netscape.com
97616613d0 added better tracking 1998-09-02 21:46:53 +00:00
spider%netscape.com
dd54dd6174 Fix for modifier key state on keyboard messages 1998-09-02 21:14:45 +00:00
rods%netscape.com
15aefa3d60 Removed nsDeviceCOntextUnix header file and replaced it with nsIDeviceContext 1998-09-02 20:01:41 +00:00
rods%netscape.com
cb6aa13f10 Implemented ConvertPixel 1998-09-02 19:33:01 +00:00
kostello%netscape.com
a42e7e8bb4 Add nsILookAndFeel.h MANIFEST 1998-09-02 17:58:37 +00:00
rods%netscape.com
46f986dbba Fixed SetLabel and Get Label in nsDialog 1998-09-01 23:13:43 +00:00
rods%netscape.com
5e104c9bd9 SetForegroundColor and SetBackground work properly
Enabled implemented
1998-09-01 22:42:13 +00:00
rods%netscape.com
938f1c402d SetForegroundColor and SetBackground work properly 1998-09-01 22:41:39 +00:00
rods%netscape.com
3e251e8751 Fixed small compiler error 1998-09-01 20:57:16 +00:00
rods%netscape.com
6b753e5849 Renamed the enums to be more compiliant with naming conventions,
Changed API to be XP_COM correct
Added eMetric_TextHeight enum
1998-09-01 20:54:39 +00:00
kmcclusk%netscape.com
54f8700ba1 Removed mouse debug printf. 1998-09-01 20:32:56 +00:00
dcone%netscape.com
acd663d376 Fixed mouseup messaging 1998-09-01 20:24:54 +00:00
rods%netscape.com
495e8f15b7 Added nsDialog 1998-09-01 15:29:47 +00:00
rods%netscape.com
a42132171b Added the managed widget to make it work. 1998-09-01 15:28:40 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
dcone%netscape.com
c7fb0150ff fixed the mouse enter and exit routines 1998-08-31 22:42:44 +00:00
dcone%netscape.com
36596bfb3f fixed update action 1998-08-31 22:42:06 +00:00
dcone%netscape.com
d33b347700 tracking updates 1998-08-31 21:50:59 +00:00
dcone%netscape.com
20c5c21fcd fixed some update and drawing routines 1998-08-31 21:50:36 +00:00
dcone%netscape.com
1b3afefba7 Re-wrote the drawing routines for this widget 1998-08-31 21:49:49 +00:00
kostello%netscape.com
5132a1f2da Add nsIDialog.h and nsILabel.h to MANIFEST 1998-08-31 19:00:38 +00:00
dcone%netscape.com
b30a36f87c update fix 1998-08-31 15:10:01 +00:00
dcone%netscape.com
06d339e063 fixed updating 1998-08-31 15:08:46 +00:00
rpotts%netscape.com
23f7dd1f8d Changes to allow building when STRICT is defined. 1998-08-29 06:21:50 +00:00
troy%netscape.com
e524804caa Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
rods%netscape.com
cd14cc929d Fixed nsLabel and nsDialog to compile and link correctly 1998-08-28 23:00:03 +00:00
rods%netscape.com
c49e6ad540 initial checkin for nsLabel and nsDialog 1998-08-28 22:49:12 +00:00
rods%netscape.com
cfd714770c Added nsLabel and nsDialog 1998-08-28 22:48:50 +00:00
rods%netscape.com
97805f9c0b Fixed OnPaint to draw Dialog and children correctly. 1998-08-28 22:11:04 +00:00
spider%netscape.com
83b7f46dde Initialize the device context to null. This was causing a crash if the
device context for a widget were queried prior the window getting
created.
1998-08-28 20:29:04 +00:00
troy%netscape.com
b242b51732 Changed nsIFontCache to conform to XPCOM standards 1998-08-28 05:16:41 +00:00
troy%netscape.com
31c7923449 Fixed call to GetFontCache 1998-08-28 02:56:22 +00:00
kostello%netscape.com
80f6680364 Added support for hit testing and mac support methods for translating between mac coordinate system and nsRects 1998-08-27 23:04:30 +00:00
troy%netscape.com
4fa7078af4 fixed my bustage. 1998-08-27 23:02:03 +00:00
kostello%netscape.com
53e87955b6 Added methods to update window bounds rect during resize and drag 1998-08-27 23:01:56 +00:00
kostello%netscape.com
0bc3b5701c Added Mac to nsRect support. Added HitTest logic 1998-08-27 23:01:17 +00:00
troy%netscape.com
a300739e8e Change to GetRenderingContext 1998-08-27 21:09:25 +00:00
rods%netscape.com
a0311c354d Added InitData struct 1998-08-27 20:29:59 +00:00
rods%netscape.com
1b959d1e1a Added nsLabel and nsDialog to build 1998-08-27 20:26:30 +00:00
rods%netscape.com
42ec04f91c Initial working checkin 1998-08-27 20:16:20 +00:00
rods%netscape.com
bfad15d218 Added nsILabel.h and nsIDialog.h 1998-08-27 20:09:16 +00:00
troy%netscape.com
6d2245e203 Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
dcone%netscape.com
2b2b8a5c89 Fixed some small bugs. 1998-08-27 18:03:15 +00:00
dcone%netscape.com
7e3cb758a5 updated some routines 1998-08-27 17:46:58 +00:00
dcone%netscape.com
65e34136c2 updated some routines 1998-08-27 17:35:49 +00:00
dcone%netscape.com
7fe2aa699a Updated the clipping region, and some coordinate fixes 1998-08-27 17:33:51 +00:00
dcone%netscape.com
b7865254d3 Fixed the messaging and local/global point location 1998-08-27 17:32:57 +00:00