Граф коммитов

834 Коммитов

Автор SHA1 Сообщение Дата
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
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
dcone%netscape.com 9694521091 added a region native data type 1998-08-27 17:31:59 +00:00
troy%netscape.com a85eb3e06f Changes to nsIDeviceContext API 1998-08-27 05:14:35 +00:00
dcone%netscape.com a56ae43131 Major redo based on a new GFX library 1998-08-26 14:16:51 +00:00
dcone%netscape.com e4ab8f6c3b First Checked In. 1998-08-26 14:15:58 +00:00
dcone%netscape.com 52c1a06568 Mac work for Raptor 1998-08-26 14:15:34 +00:00
dcone%netscape.com fcc89812bf doing Mac work, temporary file 1998-08-26 14:14:50 +00:00
dcone%netscape.com c65a4a8cbb Finished the first pass at implementation 1998-08-24 20:10:57 +00:00
joki%netscape.com 823109ddef Fix nsIWidget's GetParent call to return parent, not self. 1998-08-21 21:41:36 +00:00
dcone%netscape.com ec387282d7 *** empty log message *** 1998-08-21 17:14:30 +00:00
dcone%netscape.com c7e00c269e Added GFX factory creation, this allows the nsDeviceContext to be created. 1998-08-21 17:13:52 +00:00
dcone%netscape.com 0e97892979 Major redo based on a new GFX library 1998-08-21 17:13:14 +00:00
dcone%netscape.com c1b84d0eff Added the creation of the device context. 1998-08-21 17:12:32 +00:00
dcone%netscape.com 9d46b18e40 Updated to the correct way the DeviceContext should work, added the twips calculation 1998-08-21 17:11:15 +00:00
troy%netscape.com 37e4abec31 Added clipChildren option to nsWidgetInitData 1998-08-19 23:11:41 +00:00
michaelp%netscape.com 72d75a478f fixed bug in loading one of the icons where the handle to load from was never
specified.
1998-08-19 21:05:50 +00:00
dcone%netscape.com 90c3a5e5de *** empty log message *** 1998-08-19 17:24:14 +00:00
dcone%netscape.com 1d8c927f2a Re wrote these files to reflect the correct way of building Devicecontexts 1998-08-19 17:24:13 +00:00
dcone%netscape.com 6bcd487c91 Re-syn 1998-08-19 17:21:06 +00:00
dcone%netscape.com e65b430c6e Major redo based on a new GFX library 1998-08-19 17:20:31 +00:00
troy%netscape.com 1594dd0208 Added some comments 1998-08-19 05:06:59 +00:00
troy%netscape.com 5010d6fb70 Changed WM_QUERYNEWPALETTE code to return TRUE to indicate that
a palette was realized
1998-08-19 02:31:08 +00:00
troy%netscape.com 228d2f5af6 Changed palette code to get the palette from the device context 1998-08-19 00:57:02 +00:00
kostello%netscape.com d18d10db26 Added nsButton to libraries 1998-08-18 22:49:21 +00:00
kostello%netscape.com 08e8651d72 Fixed FindWidgetHit. Added conditional checks for enumerator code. 1998-08-18 22:48:35 +00:00
kostello%netscape.com ca6923cd9c Comment back in nsIButton code 1998-08-18 22:46:07 +00:00
kostello%netscape.com c6d4031b61 Add support for nsButton 1998-08-18 22:45:21 +00:00
kostello%netscape.com 31d214b475 Check for null 1998-08-18 22:44:43 +00:00
kostello%netscape.com e062177c4b Added mControl -- temporarily, code from nsButton will probably be moved to a superclass 1998-08-18 22:44:02 +00:00
kostello%netscape.com 6fea3fd882 First step in converting motif code to mac code. 1998-08-18 22:43:08 +00:00
kostello%netscape.com 9dc4762cc4 Changed comment from motif to mac 1998-08-18 22:42:23 +00:00
michaelp%netscape.com ff460ed76a when killing a window, we now set the GWL_USERDATA to NULL. this will basically
kill the "parent" pointer.
1998-08-18 22:03:34 +00:00
pinkerton%netscape.com f8b7d0758d Now generating xSYM info for nsMacMessagePump.cpp in debug target. 1998-08-18 17:54:17 +00:00
kostello%netscape.com df288797b0 Fix mac build 1998-08-18 17:24:55 +00:00
kostello%netscape.com 22a4cf6e87 These were checked in by mistake 1998-08-18 16:45:33 +00:00
dcone%netscape.com bfb540120e Added paint and mousemove events, messagepump 1998-08-18 16:27:05 +00:00
dcone%netscape.com 801f620f2d Added paint and mousemove events 1998-08-18 16:23:13 +00:00
joki%netscape.com e6e3075481 A couple of macros for getting basic event types 1998-08-18 03:47:24 +00:00
kostello%netscape.com cbbbba619b Fix mac build 1998-08-18 00:09:48 +00:00
troy%netscape.com 3590c4caed Changed CreateILColorSpace() to GetILColorSpace() (device context now
owns the color space), and cleaned up image renderer code
1998-08-17 23:20:42 +00:00
kmcclusk%netscape.com 1220309b5c Implemented SetFocus. 1998-08-17 17:58:37 +00:00
dcone%netscape.com d283c88961 fixed up messaging 1998-08-17 15:18:28 +00:00
kmcclusk%netscape.com 6686da4b00 Now detects Alt key during keypress and mouse events. 1998-08-14 22:58:07 +00:00
kmcclusk%netscape.com 5fb49c9439 Now sets shift and control fields in the mouse and keyboard events properly. 1998-08-14 22:47:38 +00:00
kmcclusk%netscape.com 739a4842f2 Fixed keycode translation. Now Page_Up Page_Down Arrow and control keys can
be detected.
1998-08-14 22:07:52 +00:00
kmcclusk%netscape.com 83b9b44800 Changed DispatchMouseEvent to take a & (ref). 1998-08-14 21:09:36 +00:00
troy%netscape.com 3bbed54ed2 Changed enumerator class to use a nsVoidArray object to manage the
list of child widgets
1998-08-13 23:01:01 +00:00
dcone%netscape.com 4212615856 fixed project a memory size 1998-08-13 21:09:26 +00:00
dcone%netscape.com 65bf1cc182 new creation technique 1998-08-13 21:09:01 +00:00
dcone%netscape.com 96c9991b7f reworked the window creation 1998-08-13 21:08:11 +00:00
dcone%netscape.com 08de8587d9 reworked message pump and window creation 1998-08-13 21:07:35 +00:00
dcone%netscape.com d5b0849667 First Checked In. 1998-08-13 21:06:30 +00:00
spider%netscape.com 2a3c365acc Create a GC for toplevel window to. Some app's need to modify that
DC also.
1998-08-13 02:36:40 +00:00
rods%netscape.com 4ead1bd614 Changed the WindowStyle so the scrollbar appears when the list is larger
than the given bounding rectangle.
1998-08-12 20:10:41 +00:00
kostello%netscape.com 86ebeb589d Added widgetDebug.o as a target 1998-08-12 18:05:30 +00:00
dcone%netscape.com 0df73a5f9d added client routine 1998-08-12 15:23:23 +00:00
dcone%netscape.com 3555725df5 added client routine 1998-08-12 15:23:04 +00:00
dcone%netscape.com 0d59c6c9db took out method causing link errors 1998-08-12 13:46:34 +00:00
dcone%netscape.com 938e603a58 took out some functions causing link problem 1998-08-12 13:46:08 +00:00
dcone%netscape.com c3d35c58f9 put quit when a key is hit - temporary 1998-08-12 13:45:13 +00:00
michaelp%netscape.com 6b6ac440ac changes to support use of DirectDraw. 1998-08-12 00:59:00 +00:00
dcone%netscape.com fc9395e64d mac initialzation is now working 1998-08-11 20:26:01 +00:00
dcone%netscape.com 38c6e8d799 implemented some messaging 1998-08-11 20:25:31 +00:00
dcone%netscape.com 35c2ee0cff started messaging 1998-08-11 20:25:18 +00:00
dcone%netscape.com 91b3551004 updated message pump 1998-08-11 20:17:06 +00:00
dcone%netscape.com 19a57e8289 update to use a mac Widgettest.cpp 1998-08-11 20:16:08 +00:00
dcone%netscape.com 5f93da21af First Checked In. 1998-08-11 20:15:33 +00:00
kmcclusk%netscape.com 433efd9101 Removed debug printf's #if 0 code + moved resize code
from nsXtEventHandler.cpp nsWindow.cpp.
1998-08-10 22:37:46 +00:00
kmcclusk%netscape.com c35e955938 Removed commented out code and debug printf's. 1998-08-10 22:18:28 +00:00
kmcclusk%netscape.com bcab2bd218 Added a XtManageWidget implementation lifted from the XFE code. This fixes problems where the drawing area would
spontaneously resize itself to fit its contents.
1998-08-10 21:21:34 +00:00
troy%netscape.com 88de215dbd Cleaned up widget reference counting. In particular parent widgets
release their references to child widgets
1998-08-09 01:37:30 +00:00
troy%netscape.com acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
kmcclusk%netscape.com f7e70e1ac3 Correctly set shift and control flags on mouse and keyboard events. 1998-08-07 19:38:28 +00:00
kostello%netscape.com 415f4acd12 Fix mac build 1998-08-07 18:34:13 +00:00
kmcclusk%netscape.com 4e6594fac4 Changed NSIMETHOD to NS_METHOD in nsWindow.h
Changed eCursor_arrow_east and east_plus to west and west_plus for
duplicate switch statement
1998-08-07 17:13:04 +00:00
spider%netscape.com 986554891a Cursor support 1998-08-07 15:35:27 +00:00
spider%netscape.com 31d7a10536 Adding several new cursor types 1998-08-07 14:45:46 +00:00
troy%netscape.com f0d1ff684a Added GetClientData() and SetClientData() member functions 1998-08-07 05:19:40 +00:00
joki%netscape.com 9cb79b1687 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
peterl%netscape.com 4c0e289be4 changed nsFont to contain face lists in name 1998-08-07 02:12:34 +00:00
dcone%netscape.com ede8279905 updated projects to use static libs 1998-08-06 21:53:08 +00:00
dcone%netscape.com ee4f3c82ee implemented newcwindow 1998-08-06 21:51:14 +00:00
dcone%netscape.com a24f6285ca fixed bugs, implemented new window 1998-08-06 21:50:56 +00:00
dcone%netscape.com 7028868332 fixed some bugs 1998-08-06 21:50:30 +00:00
dcone%netscape.com ee553d16f4 backed out my changes for mac 1998-08-06 18:01:26 +00:00
dcone%netscape.com 2fd3f58095 update to new static factory methods. 1998-08-06 17:47:55 +00:00
dcone%netscape.com 27b06f5d24 update to static library factory methods 1998-08-06 17:47:21 +00:00
dcone%netscape.com 49b53ac7ca update to new static way 1998-08-06 17:47:02 +00:00
dcone%netscape.com 13d4010bdd updated to new factory methods using static libraries 1998-08-06 17:45:47 +00:00
dcone%netscape.com b41acfb98d *** empty log message *** 1998-08-06 17:44:43 +00:00
rods%netscape.com 7c9dc08302 Commented out the FOCUS event cases, it cleared up several crashes
It's unclear whether we need to notified of these events.
1998-08-06 17:23:49 +00:00
troy%netscape.com c1c4e2fbf9 Some improvements to the ref counting 1998-08-06 05:06:24 +00:00
troy%netscape.com c876b84e2e Added code to Ondestroy() to do an AddRef() before calling DispatchStandardEvent()
and then a Release() afterwards. This ensures the object doesn't get destroyed until
after we've dispatched the event
1998-08-06 02:11:43 +00:00
kostello%netscape.com 82de4abf45 Added GetDepth 1998-08-05 18:14:16 +00:00
kostello%netscape.com 2377dcb73e Added GetDepth method 1998-08-05 18:12:41 +00:00
kmcclusk%netscape.com 5bc8fb4ae0 Really fix IRIX build. 1998-08-05 17:56:56 +00:00
kmcclusk%netscape.com c0d0ef39ee Fix for Linux build. 1998-08-05 17:32:14 +00:00
dcone%netscape.com 6789c4d741 First Checked In. 1998-08-05 17:24:06 +00:00
dcone%netscape.com da98f83b33 First Checked In. 1998-08-05 17:01:56 +00:00
kmcclusk%netscape.com b1b6f8f340 Changed XtSetValues to XtMoveWidget for Scrolling. 1998-08-05 16:51:54 +00:00
dcone%netscape.com 6a705d8fa5 First Checked In. 1998-08-05 15:44:36 +00:00
pierre%netscape.com b667a297e2 added declaration of pure virtual functions to fix build on Mac 1998-08-05 08:11:01 +00:00
rods%netscape.com 6a960efaa5 Fixed the fix 1998-08-04 21:06:35 +00:00
rods%netscape.com 718a820c39 Added a check for a null hWnd on call to ScreenToClient, DESTROY event
can cause wHnd to be null
1998-08-04 21:04:02 +00:00
rods%netscape.com 086bb72002 Add method void nsTextWidget::SubclassWindow(BOOL bState)
and LRESULT CALLBACK nsTextWidget::TextWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 to filter out the "ding" when the return key is pressed.
1998-08-03 22:31:07 +00:00
rods%netscape.com ffa3eb84e6 Implemented SetUpForPaint, but it doesn't do the SetBkMode 1998-08-03 22:28:49 +00:00
rods%netscape.com cea9db392f Added the method SetUpForPaint for setting up the proper foreground
and background colors for the WM_CTLCOLORXXXX messages
1998-08-03 22:28:00 +00:00
kostello%netscape.com 6142e2bcdf First Checked In. 1998-08-03 18:37:30 +00:00
peterl%netscape.com 714146a525 rounding support 1998-07-31 23:34:45 +00:00
kmcclusk%netscape.com 9a8bc6d711 Removed call to XtMoveWidget since this breaks the IRIX build. 1998-07-31 22:36:54 +00:00
joki%netscape.com 888ddf94b3 More new event types 1998-07-31 22:01:42 +00:00
kmcclusk%netscape.com 64d01b411d Removed debug output. 1998-07-31 21:37:51 +00:00
kmcclusk%netscape.com 3a8549509c Fixed SetCursor 1998-07-31 21:13:31 +00:00
kmcclusk%netscape.com a10c1ea9ad Fixed up scrolling some more. 1998-07-31 20:48:30 +00:00
kmcclusk%netscape.com 2df7d1c7be Fix for Linux. 1998-07-31 20:06:41 +00:00
kmcclusk%netscape.com b28ed01cc8 Added extern reference for XtMoveWidget to fix Irix build. 1998-07-31 17:40:43 +00:00
kmcclusk%netscape.com 0bd32964a7 Removed XmP.h include 1998-07-31 16:57:02 +00:00
kmcclusk%netscape.com f26f8b9506 Fix for Irix. Pass Positions to XtMoveWidget 1998-07-31 16:39:43 +00:00
kmcclusk%netscape.com 26a2dac597 Fix for IRIX build. 1998-07-31 15:52:20 +00:00
kmcclusk%netscape.com 5d01dfa7f3 Fixes for scrolling. Each widget does an AddChild to insert it in it's parent's
list of children.
1998-07-30 23:06:32 +00:00
karnaze%netscape.com 8e54395b27 turn off frameborders ala nav4; mouse sensitive to frame borders, but can't yet resize 1998-07-30 21:25:35 +00:00
kmcclusk%netscape.com 54af0f86f2 Changed Enumerator constructor to initialize mRefCnt to 1 instead of 0. 1998-07-30 17:40:22 +00:00
kmcclusk%netscape.com 609f2c04a5 Changed back to initialize refcount to 1 instead of 0 for now. 1998-07-30 17:37:26 +00:00
kmcclusk%netscape.com 2d42fbbc50 Fix for loading second document in the viewer 1998-07-30 17:29:22 +00:00
kmcclusk%netscape.com 5d1b18389a Implemented SetCursor 1998-07-29 22:33:03 +00:00
scullin%netscape.com edf6d75b76 Added motif LAF stubs. 1998-07-29 22:16:24 +00:00
scullin%netscape.com cc261b9fbc Ref count fixes, fix widget test app. 1998-07-29 22:15:18 +00:00
scullin%netscape.com 9607ce5a66 More refcount fixes. 1998-07-29 21:04:44 +00:00
scullin%netscape.com 5d487a5fdc Fix ref count oddities. 1998-07-29 20:49:28 +00:00
kmcclusk%netscape.com 751487f5ac Added check in CreateInstance to see if QueryObject returns NS_OK. If it doesn't then release the interface. 1998-07-29 20:04:05 +00:00
scullin%netscape.com a808d700b9 Normalize widget api on UNIX and Win. 1998-07-29 18:57:26 +00:00
scullin%netscape.com 630ca727d1 Added LAF implementation. 1998-07-29 18:55:25 +00:00
scullin%netscape.com fec762a1f3 Added LAF interface. 1998-07-29 18:54:36 +00:00
scullin%netscape.com 25e43ba242 Normalize widget api on UNIX and win, add LAF interface, make sample
apps function again.
1998-07-29 18:51:45 +00:00
kmcclusk%netscape.com 76ac8992ec Added implementation for nsScrollbar::Create passing a nsNativeWidget.
Also check for nsnull cliprect in ScrollTo
1998-07-27 22:25:43 +00:00
troy%netscape.com 7da0401c3c Combined raptorgfx.dll and raptorgfxwin.dll into one DLL 1998-07-26 23:52:36 +00:00
michaelp%netscape.com 404c0a78e4 form elements, etc. (i.e. sub widgets) now scroll smoothly. 1998-07-26 04:24:42 +00:00
kostello%netscape.com ea8e3908dc Added SetDefaultString for the Save dialog 1998-07-24 21:12:19 +00:00
joki%netscape.com 89af3de0e4 Adding a few more events types. 1998-07-24 05:07:07 +00:00
kmcclusk%netscape.com 8ed5aca91e Added KeyRelease event generation 1998-07-23 20:34:46 +00:00
kmcclusk%netscape.com 4fcf7056d8 Initialize event structure for mouse events 1998-07-23 18:07:42 +00:00
kmcclusk%netscape.com 41265902cf Added key event support. 1998-07-23 17:47:28 +00:00
joki%netscape.com ce61da5597 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
kmcclusk%netscape.com cf3031342e Fixed bug where child window is not being displayed in Viewer. Show() now
manages and unmanages the widget directly without testing visibility.
1998-07-21 21:26:17 +00:00
rods%netscape.com 75b3a38244 fixed the bug for setting background color on controls 1998-07-21 18:04:18 +00:00
rpotts%netscape.com 1f93bda803 Added XXX comment to a particularly nasty piece of code... 1998-07-17 06:27:37 +00:00
spider%netscape.com be8b0eba11 Fix for throbber and offset painting 1998-07-16 23:50:29 +00:00
kmcclusk%netscape.com d83456d74f Removed setting the boundary size in the resize callback directly. This fixes a bug
where the web widget window does not display initially.
1998-07-16 23:46:54 +00:00
spider%netscape.com 329f22d194 Optimization: Don't create a writeable GC for non-html drawing area 1998-07-16 22:01:47 +00:00
kmcclusk%netscape.com 15d22d92ca Removed commented out CreateWindow code 1998-07-16 21:43:15 +00:00
kmcclusk%netscape.com 1ba3030044 Added code to set the XmNx and XmNy attributes in the resize method 1998-07-16 21:28:51 +00:00
kipp eebd76c43c Removed WS_VISIBLE from everywhere so that windows when created are hidden until positioned and shown 1998-07-14 15:17:29 +00:00