Commit Graph

274 Commits

Author SHA1 Message Date
pinkerton%netscape.com
3288a5382a Dont export or build toolbar or tree stuff. 1999-02-11 19:20:35 +00:00
pinkerton%netscape.com
836c38999e Reexport nsIToolbarItem (for throbber). 1999-02-11 18:30:04 +00:00
pinkerton%netscape.com
9c1465de27 reexport nsIToolbarItem because the throbber needs it (this needs to be removed). 1999-02-11 18:29:05 +00:00
pinkerton%netscape.com
3442f409dc Don't build or export the tree/toolbar stuff since they aren't widgets anymore 1999-02-11 18:08:25 +00:00
pinkerton%netscape.com
65b5710ba2 don't export tree or toolbar stuff. 1999-02-11 17:58:17 +00:00
rods%netscape.com
e5af8d2c81 Removed the commented out XULCommandCID 1999-02-11 15:20:42 +00:00
rods%netscape.com
a475436887 Moved XULCommand back to xpfe/appshell 1999-02-11 15:13:29 +00:00
pierre%netscape.com
30df698861 Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ") 1999-02-11 00:51:36 +00:00
rods%netscape.com
2074e5a217 Added GetNativeEvent and DispatchNativeEvent, these are neded for future modal dialog support 1999-02-10 16:20:29 +00:00
saari%netscape.com
c38fed34c0 File Removed. 1999-02-05 09:38:51 +00:00
saari%netscape.com
975a7794e2 First Checked In. 1999-02-05 08:52:55 +00:00
saari%netscape.com
67796a307b moving nsIXULCommand.h, nsXULCommand.h, and nsXULCommand.cpp to widget dll from appshell 1999-02-05 08:52:39 +00:00
saari%netscape.com
b98244c983 oops, changed wrong file 1999-02-05 03:07:42 +00:00
saari%netscape.com
22fe20f143 fixed horkage, exporting nsIXULCommand.h 1999-02-05 03:06:08 +00:00
saari%netscape.com
f19d7cd4d8 mozilla/widget/src/xpwidgets/nsBaseWidget.cpp - included "nsIMenuListener.h" - destructor releases mMenuListener - AddMenuListener Releases a previously held nsMenuListener (nsMenuBar) before AddRefing the passed in one mozilla/widget/public/nsIMenuItem.h - included "nsIXULCommand.h" - added SetXULCommand(nsIXULCommand*) which sets the XUL command for the menu item mozilla/widget/src/mac/nsMenuItem.cpp mozilla/widget/src/gtk/nsMenuItem.cpp mozilla/widget/src/motif/nsMenuItem.cpp mozilla/widget/src/windows/nsMenuItem.cpp - QueryInterface supports nsIMenuListener interface. - MenuSelected calls DoCommand on XULCommand (mac only right now) - Added SetXULCommand() to set the nsXULCommand for this menuitem mozilla/widget/src/mac/nsMenuItem.h mozilla/widget/src/gtk/nsMenuItem.h mozilla/widget/src/motif/nsMenuItem.h mozilla/widget/src/windows/nsMenuItem.h - nsMenuItem inherits from nsIMenuListener - Added SetXULCommand() method 1999-02-05 02:19:46 +00:00
saari%netscape.com
360bf0dab5 On the road to fixing build breakage. More checkins to follow 1999-02-04 02:27:58 +00:00
troy%netscape.com
eefd7b4063 Added 'clipSiblings' to nsWidgetInitData struct 1999-01-28 17:06:39 +00:00
saari%netscape.com
12a066f392 /m/pub/mozilla/widget/public/nsIMenuItem.h - Added SetLabel method /m/pub/mozilla/widget/src/mac/nsMenuItem.h /m/pub/mozilla/widget/src/gtk/nsMenuItem.h /m/pub/mozilla/widget/src/motif/nsMenuItem.h /m/pub/mozilla/widget/src/windows/nsMenuItem.h - Added SetLabel method /m/pub/mozilla/widget/src/mac/nsMenuItem.cpp /m/pub/mozilla/widget/src/gtk/nsMenuItem.cpp /m/pub/mozilla/widget/src/motif/nsMenuItem.cpp /m/pub/mozilla/widget/src/windows/nsMenuItem.cpp - Added SetLabel method 1999-01-27 16:14:48 +00:00
saari%netscape.com
c656fedda3 /m/pub/mozilla/widget/public/nsIMenuBar.h - Added Paint method /m/pub/mozilla/widget/src/mac/nsMenuBar.h - Added Paint method - Mac implementation changes /m/pub/mozilla/widget/src/gtk/nsMenuBar.h /m/pub/mozilla/widget/src/motif/nsMenuBar.h /m/pub/mozilla/widget/src/windows/nsMenuBar.h - Added Paint method /m/pub/mozilla/widget/src/mac/nsMenuBar.cpp - Added Paint method - Mac implementation changes /m/pub/mozilla/widget/src/gtk/nsMenuBar.cpp /m/pub/mozilla/widget/src/motif/nsMenuBar.cpp /m/pub/mozilla/widget/src/windows/nsMenuBar.cpp - Added Paint method 1999-01-27 16:05:57 +00:00
saari%netscape.com
1507ffe918 /m/pub/mozilla/widget/public/nsIMenu.h - Changed AddItem to AddMenuItem /m/pub/mozilla/widget/src/mac/nsMenu.h /m/pub/mozilla/widget/src/gtk/nsMenu.h /m/pub/mozilla/widget/src/motif/nsMenu.h /m/pub/mozilla/widget/src/windows/nsMenu.h - Changed AddItem to AddMenuItem /m/pub/mozilla/widget/src/mac/nsMenu.cpp /m/pub/mozilla/widget/src/gtk/nsMenu.cpp /m/pub/mozilla/widget/src/motif/nsMenu.cpp /m/pub/mozilla/widget/src/windows/nsMenu.cpp - Changed AddItem to AddMenuItem 1999-01-27 15:57:57 +00:00
saari%netscape.com
6bf6cb7939 /m/pub/mozilla/widget/public/nsIWidget.h - Added AddMenuListener method 1999-01-27 15:48:22 +00:00
saari%netscape.com
f680767b34 nsIMenu.h - Add SetLabel method nsMenu.h - Added SetLabel method nsMenu.cpp - Added SetLabel method nsIWidget.h - Added AddMenuListener method /m/pub/mozilla/webshell/tests/viewer/nsSetupRegistry.cpp - Registered factories for nsMenuBar, nsMenu, and nsMenuItem 1999-01-27 07:51:20 +00:00
michaelp%netscape.com
c8e0ba6a08 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00
mcafee%netscape.com
4698b714f0 Cleaning up whitespace 1999-01-23 00:02:41 +00:00
saari%netscape.com
e1094ae9a6 First Checked In. 1999-01-22 23:53:53 +00:00
saari%netscape.com
67c5953284 Added nsIMenuListener.h and made a member variable in nsBaseWidget for holding one of these. This is for the XPToolkit menus to hook in and get notified of menu events. 1999-01-22 23:23:00 +00:00
rods%netscape.com
596b93e6f4 Removed the GetFont method (this functionality is now a part of the nsIDeviceContext) 1999-01-21 23:59:14 +00:00
pierre%netscape.com
514e1957db Mac only: added 'isCommand' in nsInputEvent 1999-01-21 09:52:07 +00:00
rods%netscape.com
941a7a59f9 Added new Method for Querying System Fonts 1999-01-19 17:36:19 +00:00
sfraser%netscape.com
95f4527c07 Warnings fix (remove ; ) 1999-01-14 05:37:28 +00:00
brade%netscape.com
748aa65c90 reduce Macintosh compiler warnings by removing extra ; 1999-01-06 18:49:37 +00:00
pinkerton%netscape.com
0e730c41fe Get rid of obsolete interfaces. 1998-12-21 21:54:29 +00:00
rods%netscape.com
8bbcbd7687 Added several enums for form's controls 1998-12-21 16:53:49 +00:00
pinkerton%netscape.com
68d610b7dc inserted IID() method for use with nsCOMPtr. 1998-12-17 22:13:41 +00:00
pinkerton%netscape.com
fb06b55da4 Explanation of why this file is obsolete but still in the tree. 1998-12-11 16:39:29 +00:00
pinkerton%netscape.com
1f8ea0b1fc Export nsIContentConnector.h instead of nsITreeView.h 1998-12-11 16:33:40 +00:00
pinkerton%netscape.com
286d14c4dc First Checked In. 1998-12-11 16:32:39 +00:00
hyatt%netscape.com
33425774ac Modified the tree view interface so a content root can be set. 1998-12-09 19:56:55 +00:00
pierre%netscape.com
cc250de8dd Removed the last of the Mac specific hacks added last week 1998-12-09 10:16:15 +00:00
pierre%netscape.com
bc71cb7f74 removed the NS_NATIVE_OFFSET_IN_PORT hacks 1998-12-07 03:37:15 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
pinkerton%netscape.com
4ad7e18ed5 clean up a warning and some comments. 1998-12-03 01:26:10 +00:00
pinkerton%netscape.com
7a96113028 export the tree view. 1998-12-02 19:49:06 +00:00
saari%netscape.com
6691a47a01 ---------------------------------------- mozilla/widget/src/mac/nsMacWindow.cpp - Line 112: fixed bug with rect bottom not being set correctly 1998-12-02 02:43:19 +00:00
hyatt%netscape.com
d973cca63c The tree view interface. 1998-12-02 01:44:24 +00:00
hyatt%netscape.com
6ba325dd88 Deletion of outdated tree widget and toolbar interfaces and updating of
the appropriate makefiles.
1998-12-02 01:38:54 +00:00
rods%netscape.com
b05e123c34 Added paint method for printing (and possible future owner draw) 1998-11-24 14:57:09 +00:00
joki%netscape.com
16d400d1bf Add keypress event type to nsGUIEvent 1998-11-24 07:45:26 +00:00
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
hyatt%netscape.com
ec9902304f Tweaking interfaces to move some functionality out of the treedatamodel and into the base. 1998-11-16 20:53:27 +00:00
hyatt%netscape.com
23413a2894 Added SetOpenState. 1998-11-16 20:11:06 +00:00
waterson%netscape.com
0de40c76c3 Added forward decl of nsIDMItem. 1998-11-12 02:11:07 +00:00
hyatt%netscape.com
57a1394928 Added a method for counting columns in the tree. 1998-11-12 01:03:25 +00:00
hyatt%netscape.com
05d245d2d1 Added initializers to the DataModel. Changed the interface hierarchy
again (after much debate).
1998-11-12 00:02:26 +00:00
alecf%netscape.com
15a0f19d2d fix autoconf bustage 1998-11-11 23:48:24 +00:00
hyatt%netscape.com
3694db19c3 Adding the toolbar widget interface to the data model. 1998-11-11 22:10:50 +00:00
hyatt%netscape.com
21b75c4ff3 New tree widget interface. 1998-11-11 22:03:19 +00:00
hyatt%netscape.com
795f5cd07a Added nsITreeDMWidget interface. 1998-11-11 22:03:02 +00:00
waterson%netscape.com
2e6dc2c908 Added forward declaration of nsIDMItem. Made sure that we actually
define NS_IDMWIDGET_IID here.
1998-11-11 20:58:23 +00:00
hyatt%netscape.com
ac9145084b Adding new interfaces for toolbars. 1998-11-11 19:11:02 +00:00
hyatt%netscape.com
8e8b566a44 Modified a few interfaces and tweaked some of the names. 1998-11-11 19:10:18 +00:00
cls%seawood.org
5a73690128 Sync'd with Makefile 1998-11-11 18:37:33 +00:00
waterson%netscape.com
13a2ed25a3 Fixed unix bustage. 1998-11-11 06:28:46 +00:00
waterson%netscape.com
ded42de2a7 Fixed enum declaration. 1998-11-11 03:39:28 +00:00
hyatt%netscape.com
5e7e2f7f8e Made some functions (inspectors) const. 1998-11-11 03:04:20 +00:00
hyatt%netscape.com
d1f2b348ec Added forward decl of nsIDMWidget 1998-11-11 02:58:39 +00:00
hyatt%netscape.com
e28082da09 Changing the interfaces to avoid a big bad diamond inheritance pattern when we
drop in the RDF implementations.
1998-11-11 01:58:21 +00:00
hyatt%netscape.com
4c639b03c8 Added interfaces. 1998-11-11 01:52:44 +00:00
hyatt%netscape.com
09e67bf95b Added new interfaces. 1998-11-11 01:52:34 +00:00
hyatt%netscape.com
346b3cfd41 Added a parent access function. 1998-11-11 01:40:54 +00:00
hyatt%netscape.com
334d3657e6 Added iterators over node's children. 1998-11-11 01:37:51 +00:00
hyatt%netscape.com
7e9a36bc15 Tweaks to the APIs to change the int types. Also cleaned up IsExpanded. 1998-11-11 01:29:42 +00:00
hyatt%netscape.com
90efe9d4ba Tweaking sort enum. 1998-11-11 00:21:30 +00:00
hyatt%netscape.com
a65884dea9 Added sort state enum. 1998-11-11 00:20:59 +00:00
hyatt%netscape.com
e70ca286d7 Fixing a mistake in the include ifdef. 1998-11-11 00:06:20 +00:00
hyatt%netscape.com
cbc9b965c9 Tweaks to the interfaces to make them internally consistent. 1998-11-10 23:44:53 +00:00
hyatt%netscape.com
0a22893a92 Files for data model widgets (and for the tree view widget in particular). 1998-11-10 23:08:22 +00:00
hyatt%netscape.com
9562d41f69 The interface for widgets that interact with a data model. 1998-11-10 23:07:02 +00:00
spider%netscape.com
31357bacf1 Allow Image URL's to be set independently. Needed for XML parsing. 1998-11-06 02:24:50 +00:00
spider%netscape.com
e01ff1caf8 Add GetImageDimensions API 1998-11-06 02:00:25 +00:00
spider%netscape.com
0152e19aa8 Expose OnPaint and HandleEvent for cases where a native widget is not
created for the toolbars
1998-11-05 21:03:04 +00:00
spider%netscape.com
0a03c7babf Changed toolbar code to support wrapping in View system 1998-11-05 19:52:50 +00:00
rods%netscape.com
2bd5f4f19f Made GetBounds and GetClientBounds changes
Added window width and height fields nsSizeEvent
1998-11-04 21:43:47 +00:00
rods%netscape.com
b33ee2bfb8 Fixed toolbars so the border can be painted in 3 modes. All, partial or none. 1998-11-03 14:52:27 +00:00
joki%netscape.com
7a58f918de Adding submit event type 1998-11-02 23:05:46 +00:00
rods%netscape.com
5fbe813718 Added 3D child window configurablility 1998-11-02 19:13:05 +00:00
rods%netscape.com
75f9dcdeb7 Added additional border style for dialogs 1998-11-02 16:58:55 +00:00
pierre%netscape.com
f740ba45f7 Landing MacWidgets... 1998-10-29 14:06:26 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
troy%netscape.com
d03010f3a8 Added Update() member function which forces a synchronous repaint of any
dirty regions of the window
1998-10-27 00:16:59 +00:00
kipp%netscape.com
973c0f25a5 Fix InitData classes to init themselves properly to avoid latent unitialized memory bugs 1998-10-21 20:10:22 +00:00
karnaze%netscape.com
98eb658b89 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
rods%netscape.com
64c6bab0fd Added an Invalidate method for a rect in a window 1998-10-09 15:18:54 +00:00
troy%netscape.com
5ff1cfe35d Removed unused widgetSupports member of nsGUIEvent 1998-10-08 21:24:05 +00:00
rods%netscape.com
14703299e4 Fixed menus and add DispatchEvent to nsIWidget Interface. 1998-10-07 22:11:37 +00:00
rods%netscape.com
4fa50cdcb6 Added SetHorizontalLayout method 1998-10-07 19:50:42 +00:00
rods%netscape.com
aa87aa621d Updated Interfaces to support UNIX 1998-10-07 19:49:36 +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
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
3ca543d895 Changed the menu code to use HMENUs instead of casted HWNDs 1998-09-29 14:15:32 +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
1586c3d913 Added NS_NATIVE_OFFSETX and Y for getnativedata. Mac needed for the renderingcontext 1998-09-25 22:22:57 +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
kmcclusk%netscape.com
e329db0c07 Added nsWidgetSupport.h to exports 1998-09-16 21:10:02 +00:00
dcone%netscape.com
24c5f90cb6 added some coordinate conversion 1998-09-16 17:18:56 +00:00
kostello%netscape.com
0df2897066 Add nsWidgetSupport MANIFEST 1998-09-15 01:39:26 +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
kostello%netscape.com
a42e7e8bb4 Add nsILookAndFeel.h MANIFEST 1998-09-02 17:58:37 +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
kostello%netscape.com
5132a1f2da Add nsIDialog.h and nsILabel.h to MANIFEST 1998-08-31 19:00:38 +00:00
rods%netscape.com
a0311c354d Added InitData struct 1998-08-27 20:29:59 +00:00
rods%netscape.com
bfad15d218 Added nsILabel.h and nsIDialog.h 1998-08-27 20:09:16 +00:00
dcone%netscape.com
9694521091 added a region native data type 1998-08-27 17:31:59 +00:00
troy%netscape.com
37e4abec31 Added clipChildren option to nsWidgetInitData 1998-08-19 23:11:41 +00:00
joki%netscape.com
e6e3075481 A couple of macros for getting basic event types 1998-08-18 03:47:24 +00:00
spider%netscape.com
986554891a Cursor support 1998-08-07 15:35:27 +00:00
troy%netscape.com
f0d1ff684a Added GetClientData() and SetClientData() member functions 1998-08-07 05:19:40 +00:00
joki%netscape.com
888ddf94b3 More new event types 1998-07-31 22:01:42 +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
scullin%netscape.com
a808d700b9 Normalize widget api on UNIX and Win. 1998-07-29 18:57:26 +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
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
joki%netscape.com
ce61da5597 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +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
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
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
joki
8b17a8489f Slight change to nsGUIEvent struct internals 1998-06-23 21:54:43 +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
rods
74c26bb60a removed NoNotify 1998-06-15 22:35:31 +00:00
rods
510233d59a removed RadioGroup methods 1998-06-15 22:02:13 +00:00
joki
68eb071ca2 Comment change 1998-06-07 11:28:08 +00:00
rods
071df17384 add GetNativeData pure 1998-06-04 21:37:14 +00:00
rods
27e617464f added GetNativeData method 1998-06-04 21:00:40 +00:00
rods
176be5581f fixed event dispatcher 1998-06-04 18:53:22 +00:00
rods
4da9655fbf changed the Create method 1998-06-04 18:12:10 +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
troy
76258759a8 Added additional parameter to nsIWidget Resize() member functions 1998-06-01 20:26:50 +00:00
kmcclusk
f9f35f5a79 GetBounds returns the client area not the window area
Resize new returns the client area not the window area
Removed the commented out RelayEvent method in nsWindow.cpp
Add a nsDispatchListener for nsIAppShell.
1998-06-01 17:04:16 +00:00
karnaze
dc7da6fe8a gui events store nsISupports; improved forms event handling 1998-05-27 23:58:07 +00:00
spider
7055e18ab9 Adding NS_NATIVE_WIDGET to get the native widget associated with an nsIWidget.
Windows has a concept of a native window whilst unix has a native widget and
a native window.
1998-05-20 23:19:38 +00:00
kmcclusk
ea10c2074e Created an AppShell to abstract the event loop. Re-organized widget tests
into scribble and widget subdirectories and separated cross-platform code from
platform specific code
1998-05-20 22:02:14 +00:00