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

402 Коммитов

Автор SHA1 Сообщение Дата
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
kmcclusk 84a4a6dfe1 Factored CreateWindow code into CreateMainWindow and CreateChildWindow code. 1998-07-10 21:26:46 +00:00
rods 6df651a653 Turned off debugging. 1998-07-10 17:29:03 +00:00
rods 455018c090 Added the proper initialization for the DeviceContext and the toolkit 1998-07-10 17:22:58 +00:00
rods 652b584943 Fixed positioning errors. 1998-07-10 17:22:05 +00:00
rods 39a02036ac Changed cast to XID (for IRIX) 1998-07-09 19:51:53 +00:00
rods 8c86d5edee Add support for initializing the Device Context and Toolkit 1998-07-09 19:10:35 +00:00
rods bfcc88665d Added methods for initializing the Device Context and the Toolkit 1998-07-09 19:10:04 +00:00
rods b4cb10bcf7 Implemented SetFont and created separate methods for initializing
the DeviceContext and the Toolkit
1998-07-09 19:09:19 +00:00
rods acc7289942 Added error callback 1998-07-09 19:03:30 +00:00
kipp 49a7633f65 fixed comments 1998-07-09 17:04:45 +00:00
kipp db1c43e536 tweak 1998-07-09 17:04:31 +00:00
rods 6e7ad8d93d Fixed argc problem 1998-07-08 17:40:16 +00:00
rods 7380820dd5 Added Focus processing 1998-07-08 17:01:37 +00:00
rods 874eefda61 Fixed the radio buttons so they work. 1998-07-08 17:00:18 +00:00
rods a225823e94 The necessary fixes to get Scribble working. 1998-07-08 16:58:51 +00:00
thom bcb4633b7a First Checked In. 1998-07-07 21:26:45 +00:00
rods e0e7d535bf Removed Windows specific code 1998-07-07 18:00:06 +00:00
rods 2f18ca194c Removed the RadioGroup and fixed the RadioButtons so they would work 1998-07-07 17:56:24 +00:00
rods 0cc888b446 fixed a few minor things and removed the GetSelectedItem test for MultiList 1998-07-06 21:38:18 +00:00
rods f45707914f activated the build of the widget test and scribble apps 1998-07-06 21:36:55 +00:00
rods 06687231b6 Removed RadioGroup and fixed the "Create" of the AppShell 1998-07-06 21:36:17 +00:00
rods 22d2f9be12 Implemented Get/Set Caret and Insert 1998-07-06 21:31:01 +00:00
rods f90666e0b8 Changed GetSelectedItem so it throws an exception when it is call by nsListBox 1998-07-06 21:30:08 +00:00
rods 26e7a0aae0 Fixed cast 1998-07-06 20:27:57 +00:00
rods 9ed241fd65 Commented out the SetBKColor in the callback 1998-07-06 19:58:36 +00:00
rods 7006a21f95 Minor fix to get it compiling on Windows 1998-07-06 19:56:08 +00:00
rods 2e4e8f8ced Added more tests 1998-07-06 19:34:50 +00:00
rods 34d246ef41 Changed the array of widget to be of type "Widget" instead of "long" 1998-07-06 19:26:06 +00:00
rods f6c4c17115 Added SetSelectedIndices method (no implementation) 1998-07-06 19:16:45 +00:00
rods 9428abd8e5 Filled in more of the methods and added additional tests 1998-07-06 18:13:38 +00:00
kipp 7c613dc78a Removed some compiler warnings 1998-07-03 23:16:43 +00:00
kipp e73dd51e0c Eliminate some compiler warnings 1998-07-03 23:14:21 +00:00
rods 15f6addd9b fixed build problem 1998-07-02 22:43:08 +00:00
rods 73324e9369 Continued to implement the remain methods 1998-07-02 21:18:04 +00:00
joki 8ddddd1c9d Remove temporary setFocus() call. Focus shift moved to nsScrollingView 1998-07-02 01:14:28 +00:00
joki 421b4dfbe5 Validity check for focus event during nsWindow destruction 1998-06-29 21:18:19 +00:00
spider ff4477a14e once again runs under unix. 1998-06-25 05:39:02 +00:00
michaelp ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
kmcclusk 324dad3671 Added code to allow more than one top-level window. 1998-06-24 21:12:39 +00:00
joki 099a11128b Focus method modification for editor. 1998-06-24 00:30:41 +00:00
joki 8b17a8489f Slight change to nsGUIEvent struct internals 1998-06-23 21:54:43 +00:00
kmcclusk aff0aba569 Added code to fix reference counting and destroy widgets when their refcount goes to 0 1998-06-23 21:48:41 +00:00
rods f4b63536f5 Initial checkin 1998-06-23 21:19:12 +00:00
rods 435573468e Last few changes to make everything work. 1998-06-23 21:18:43 +00:00
rods c1a007ca25 Added basic support for nsTextAreaWidget 1998-06-22 16:27:57 +00:00
spider 1194519a26 Support for Optimized GC and Regions in Rendering 1998-06-21 07:02:44 +00:00
rods 66877044f1 Added ListBox and fixed RadioButton to be managed 1998-06-19 21:38:32 +00:00
kmcclusk c5bcfdcaa1 Removed the explict setting of the width and height of the main window. This lets the frame window stay the fixed width and height causing the main window to grow. This fixes a bug in the Linux viewer where scrollbars are the wronng size. 1998-06-19 21:20:08 +00:00
rods 2c840e3a9c fixed the factory to check the internal mClassID instead of the incoming interface id 1998-06-19 20:09:18 +00:00
rods 8a028c6513 removed the initial 'button' string from create 1998-06-19 20:08:40 +00:00
michaelp ec3f238ac8 painting fixes... 1998-06-19 02:46:25 +00:00
rods ba0acbdfc5 Fixed up scrolling a little 1998-06-18 15:59:51 +00:00
kmcclusk b46aecdd1f Optimized compression of resize events 1998-06-18 01:45:44 +00:00
kmcclusk feb7a76223 Added generation of NS_PAINT event after a NS_SIZE event. 1998-06-18 00:58:10 +00:00
kmcclusk 4de85333e1 Changes to support the compression of resize events on multiple windows 1998-06-18 00:28:06 +00:00
spider 2301669629 Implement GetRenderingContext 1998-06-18 00:16:52 +00:00
kmcclusk ff47663aea More changes for resize under Linux 1998-06-17 23:56:23 +00:00
kmcclusk 80c5657d3a Added some code to try fixing resizing problems in Linux viewer. 1998-06-17 23:43:45 +00:00
rods b0e8c05ebd Fixed build problem, removed scrollbar errors 1998-06-17 16:27:05 +00:00
rods 4129e22dc9 Fixed the page up page down for the thumb on the scrollbar 1998-06-17 16:07:28 +00:00
rods 4c0cdd724f Fixed up scrolling a bit by discarding multiple expose events 1998-06-17 15:52:55 +00:00
rods 49c9b93418 rename AGGRRGATE to AGGREGATE
made all the aggregate inner classes friend of the enclosing class
1998-06-17 14:54:52 +00:00
rods cdecbbf5c5 trying to fix scrollbar and exposure 1998-06-16 23:51:44 +00:00
atotic 6283ad2a30 Last enum should not be followed by a ','. This generates warnings on the Mac 1998-06-16 21:45:48 +00:00
atotic 2b30eaf7bd First Checked In. 1998-06-16 21:39:13 +00:00
scullin 2da5d18705 fix build bustage 1998-06-16 18:51:22 +00:00
rods 688c7a0577 initial 1998-06-16 18:25:35 +00:00
rods 8dcb1be175 added nsListBox 1998-06-16 18:23:51 +00:00
rods a74cc01308 fixed some resizing problems 1998-06-16 18:23:25 +00:00
michaelp a0c6a8d7dc fixed client versus non-client get bounds problems. 1998-06-16 17:16:59 +00:00
kmcclusk 5a634a5cef Removed reference to method no longer in the class 1998-06-15 22:42:25 +00:00
rods 74c26bb60a removed NoNotify 1998-06-15 22:35:31 +00:00
rods 27228ea6e3 removed radiogroup functionality 1998-06-15 22:05:24 +00:00
rods 510233d59a removed RadioGroup methods 1998-06-15 22:02:13 +00:00
rods bac6d6afa8 set internal full path/file correctly, and uses it's own event loop with a kludge from nsAppShell 1998-06-15 20:25:24 +00:00
rods e391c9d627 no longer derived nsWindow, it is truely a delegated helper 1998-06-15 20:24:17 +00:00
rods d560fe75b0 changed QueryInterface to QueryObject, it now derived from nsWindow and hasa nsTextHelper 1998-06-15 20:23:40 +00:00
rods b317ab6dbe added kludge for nsFileWidget 1998-06-15 20:22:43 +00:00
rods 4876f3d0f6 more fixes for irix 1998-06-15 17:08:33 +00:00
kmcclusk 6f791dd1fa Added support for XPCOM Aggregation in the Motif Widget library 1998-06-15 16:50:53 +00:00
rods 76c19e55d0 fixing irix build 1998-06-15 16:34:18 +00:00
rods 0a294a2588 added additional FileWidget support 1998-06-15 16:29:00 +00:00
rods 2a348d6c32 added sow/hise and resize 1998-06-15 16:28:42 +00:00
rods 06bd969d3d fixed up resize events 1998-06-15 15:36:28 +00:00
rods 650753735a added File Widget 1998-06-15 15:36:09 +00:00
rods 8a80948a85 added nsFIleWidget.cpp 1998-06-15 15:35:56 +00:00
rods 08282b1957 initial working version 1998-06-15 15:35:35 +00:00
rods 5625f49079 removed nsFileWidget 1998-06-11 21:59:45 +00:00
rods dc56580123 fixed build problem 1998-06-11 21:56:42 +00:00
rods f4f1ab4161 added nsFileWidget 1998-06-11 21:35:26 +00:00
spider ccea853a2f Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available. 1998-06-11 21:26:21 +00:00
kmcclusk a0977b5b74 Added support for nsDispatchListener's under Motif. 1998-06-11 19:29:57 +00:00
spider 131f1b81ef Force the Drawing Area to have zero border width: 1998-06-11 01:54:07 +00:00
rods 6bddcaeebe add stdlib.h to pick exit() on irix 1998-06-10 23:33:15 +00:00
rods 67d326a651 changed signature of OnResize 1998-06-10 22:42:34 +00:00
rods 797790e8bd initial 1998-06-10 20:42:04 +00:00
rods 87b7153911 added text support 1998-06-09 21:12:35 +00:00
kmcclusk d3f4d0ce51 Added mBounds field 1998-06-09 21:02:19 +00:00
kmcclusk b9d2a3979f GetBounds now returns the rect given in the Create if the Widget has not
been realized yet.
1998-06-09 20:20:14 +00:00
spider 151088f63e Add Exposure mask code back into event handlers, modify Makefile so
source actually builds (it wasn't on IRIX since the first .cpp had a'#'
sign in it commenting out the rest), and add a char * passwd so nsXtEventHandler
will compile.
1998-06-09 16:58:59 +00:00
rods 849c30f536 disabled nsTextHelper.cpp build 1998-06-08 21:46:55 +00:00
rods 7d9a457bbf added more functionality 1998-06-08 21:31:33 +00:00
kmcclusk 996f4eb78a Added NS_NATIVE_WIDGET support. Returns the HWND same as NS_NATIVE_WINDOW. This change
is required to support the cross-platform viewer
1998-06-07 22:30:46 +00:00
joki 68eb071ca2 Comment change 1998-06-07 11:28:08 +00:00
kmcclusk c92c532b32 Cast nsNativeWindow to Widget to fix IRIX build. NS_NATIVE_WINDOW returns the XtWindow like it used to. 1998-06-06 01:37:59 +00:00
kmcclusk 2426fd7410 Made window support child windows under Linux:lesstif 1998-06-06 00:53:24 +00:00
spider befcd4fc78 Fix nested comments in nsTextHelper.cpp. Also check for null widget
when querying Window Bounds
1998-06-05 22:08:07 +00:00
rods 584379c9d0 added nsTextHelper 1998-06-05 21:37:19 +00:00
rods 537197a767 added CheckButton support 1998-06-05 21:27:08 +00:00
rods 9a382ec099 added CheckButton to factory 1998-06-05 21:26:44 +00:00
rods 8a872fab1e implements full Event support 1998-06-05 21:26:16 +00:00
rods ff87318bb5 implemented Move 1998-06-05 21:25:46 +00:00
spider 0859ddefdf Remove first Dispatch of Paint message. There should (I believe) be
only 1 paint message dispatched and the first one did not even have
a rendering context associated with it which would cause any app trying
to paint to crash.
1998-06-05 02:04:16 +00:00
rods 071df17384 add GetNativeData pure 1998-06-04 21:37:14 +00:00
rods 1a8b6e389d added nsnull to the end of all the XtVaSet methods 1998-06-04 21:33:08 +00:00
rods 27e617464f added GetNativeData method 1998-06-04 21:00:40 +00:00
rods 7ea9b536aa fixed param problem 1998-06-04 20:59:14 +00:00
rods 2d4914d2c2 fixed Create method 1998-06-04 19:56:12 +00:00
rods 43df8934d6 add retucn for OnScroll 1998-06-04 19:55:42 +00:00
rods 0ccf0a87e4 added GetNative method 1998-06-04 18:59:53 +00:00
rods 176be5581f fixed event dispatcher 1998-06-04 18:53:22 +00:00
rods 571abd809f fixed event dispatcher code 1998-06-04 18:53:00 +00:00
rods 7a1e5c05e8 turned on motif builds 1998-06-04 18:20:40 +00:00
rods 4a9845874c first working version window, button scrollbar 1998-06-04 18:19:50 +00:00
rods 4da9655fbf changed the Create method 1998-06-04 18:12:10 +00:00
spider 1e1e0b6b68 Add NS_NATIVE_DISPLAY support 1998-06-04 05:14:25 +00:00
spider 5a364b65e2 Add NS_NATIVE_DISPLAY so gfx on UNIX can retrieve a Display
pointer from the Widget
1998-06-04 05:13:36 +00:00
rods 008bf9e083 removed nsdefs.h include 1998-06-03 21:17:44 +00:00
rods 3d10bf2f6d removed nsObject from it 1998-06-03 21:16:10 +00:00
rods 07552bfd9f uses sharded instead of static libs 1998-06-03 21:15:13 +00:00
rods 48799ddd1f initial check in 1998-06-03 20:07:49 +00:00
rods ff16b440da uses sharded instead of static libs 1998-06-02 19:45:39 +00:00