Commit Graph

1276 Commits

Author SHA1 Message Date
akkana%netscape.com
0da666ad5a Temporarily turn off menus until gtk code gets fixed; Approved by sar 1999-02-05 23:22:05 +00:00
pinkerton%netscape.com
a5e5905f95 Fixing bustage. 1999-02-05 19:38:09 +00:00
pavlov%pavlov.net
9d55a9a24d fix invalidate async problem that michaelp reported. 1999-02-05 18:54:43 +00:00
pinkerton%netscape.com
1ca9c4d103 Fixed DOM and Netlib dependency for saari. 1999-02-05 17:34:20 +00:00
saari%netscape.com
797610d8d7 added network and netlib 1999-02-05 15:45:51 +00:00
saari%netscape.com
f74cc3467a added DOM dependence 1999-02-05 15:01:33 +00:00
saari%netscape.com
d94f1b3b09 added netlib back I don't know which is right, network or netlib 1999-02-05 14:34:44 +00:00
saari%netscape.com
9ab1597214 added netlib back to LINCS I don't know which is right, network or netlib 1999-02-05 14:10:59 +00:00
saari%netscape.com
2e06f12f6d changed requires netlib to network 1999-02-05 13:58:45 +00:00
saari%netscape.com
ee3b7627d7 trying to fix syntax error 1999-02-05 12:32:04 +00:00
saari%netscape.com
f2c2ba23f8 trying to fix syntax error 1999-02-05 11:45:38 +00:00
saari%netscape.com
697af47b54 add netlib dependency 1999-02-05 10:54:29 +00:00
saari%netscape.com
a62fe27ea3 *** empty log message *** 1999-02-05 10:31:54 +00:00
saari%netscape.com
c38fed34c0 File Removed. 1999-02-05 09:38:51 +00:00
saari%netscape.com
d6da5bf35c First Checked In. 1999-02-05 09:38:16 +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
pavlov%pavlov.net
041bf1fbce ...menus... 1999-02-05 08:17:42 +00:00
pavlov%pavlov.net
cc8144882e more menu stuff 1999-02-05 08:15:36 +00:00
pavlov%pavlov.net
53ea64e7e2 make menus work with new menu code 1999-02-05 08:13:36 +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
8f34c6bc3d merged changes with gtk version that changed under me 1999-02-05 02:31:02 +00:00
saari%netscape.com
f874563422 Merged new changes with the gtk version that changed under me 1999-02-05 02:30:30 +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
pavlov%pavlov.net
6715f847ef Create() doesn't need to add the menu items anymore 1999-02-04 23:04:40 +00:00
saari%netscape.com
af6620a472 Updating the unix's widget factories for the menu changes 1999-02-04 11:16:40 +00:00
saari%netscape.com
3a41bf06b7 fixed Win32 widget factory 1999-02-04 10:49:00 +00:00
saari%netscape.com
ce9a00fe8f made nsISupports inheritance more explicit 1999-02-04 07:29:18 +00:00
saari%netscape.com
15a956c152 nsMenu inherits from nsIMenuListener 1999-02-04 07:25:39 +00:00
saari%netscape.com
d79f7806de kMenuBarIID should have been kIMenuBarIID 1999-02-04 06:19:45 +00:00
saari%netscape.com
169ff39a84 added the fix I made for Mac 1999-02-04 05:12:22 +00:00
saari%netscape.com
85d3749ac4 *** empty log message *** 1999-02-04 04:04:44 +00:00
saari%netscape.com
920129d70e fixing another lame error 1999-02-04 04:03:22 +00:00
saari%netscape.com
71fef1d51b fixed lame syntax error 1999-02-04 03:44:43 +00:00
saari%netscape.com
5b057eda81 fixes 1999-02-04 03:37:55 +00:00
saari%netscape.com
6a800ba571 ...minimizing damage... 1999-02-04 03:01:05 +00:00
saari%netscape.com
44707703d4 ...fixing breakage... 1999-02-04 02:54:56 +00:00
saari%netscape.com
b40c61628d fixing build 1999-02-04 02:48:43 +00:00
saari%netscape.com
b69afc329e *** empty log message *** 1999-02-04 02:46:19 +00:00
saari%netscape.com
2cdfa58f9b windows, gtk, motif corrections for nsIMenuListener.h change 1999-02-04 02:46:17 +00:00
saari%netscape.com
a161e01330 fixing build one chunk at a time 1999-02-04 02:38:13 +00:00
saari%netscape.com
58d189b401 more hurried checkins. windows, gtk, motif versions to follow 1999-02-04 02:32:01 +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
saari%netscape.com
dd4f052884 mozilla/widget/src/mac/nsMenu.cpp - define kIMenuIID - QueryInterface supports nsIMenuListener - implements MenuSelected() which does event dispatch (on mac only for this checkin) mozilla/widget/src/mac/nsMenu.h - include "nsIMenuListener.h" - nsMenu inherits from nsIMenuListener - keep an internal array of menuitems (on mac only for this checkin) 1999-02-04 02:13:25 +00:00
hyatt%netscape.com
6d9f531f24 Fixing a bug on Windows where CTRL, SHIFT, and ALT states were not being
set properly on mouse events.
1999-02-03 22:36:34 +00:00
pavlov%pavlov.net
a1f741849e clean up menu code, et al. 1999-02-03 19:18:31 +00:00
kipp%netscape.com
b934447f29 Eliminate duplicate mRefCnt since base class declares one... 1999-02-03 17:35:52 +00:00
pierre%netscape.com
8fe63ff4d7 Fixed build bustage 1999-02-03 06:08:39 +00:00
kipp%netscape.com
37925789f7 init refcnt 1999-02-03 04:25:40 +00:00
kipp%netscape.com
7aa583c57b Declare nsISupports methods instead of using NS_DECL_ISUPPORTS so that we don't have a dup mRefCnt 1999-02-03 04:25:20 +00:00
mcmullen%netscape.com
ce8d8da727 Don't pass "this" to a member class if the member class is going to Addref, and we haven't called NS_INIT_REFCNT first. 1999-02-03 03:24:54 +00:00
pierre%netscape.com
7c9133c5c1 #2600 "Live window resizing can be too slow" 1999-02-03 02:05:57 +00:00
pierre%netscape.com
bff1d0746c #2815 "Password text field shows contents in clear-text" 1999-02-03 02:05:31 +00:00
pierre%netscape.com
b1cd0d3a65 #2816 "[PP] Mac doesn't handle NS_MOUSE_LEFT_DOUBLECLICK event" and #2692 "Window focus problems" 1999-02-03 02:04:41 +00:00
pierre%netscape.com
8ab85d5e8a don't move or resize windows that belong to embedding apps 1999-02-03 02:04:15 +00:00
saari%netscape.com
121db48cc2 Check for null before calling through it... this should fix the windows crashing bug with menus. 1999-02-02 19:53:58 +00:00
kipp%netscape.com
b02236eabc Disabled a not-yet-implemented assert 1999-02-02 17:41:05 +00:00
mcafee%netscape.com
56274059f5 widget test now builds on Linux 1999-02-02 05:42:37 +00:00
mcafee%netscape.com
820854cc3c scribble now builds on Linux 1999-02-02 05:42:13 +00:00
kipp%netscape.com
6f8d5d8970 Added a missing init of the refcnt 1999-02-02 01:32:09 +00:00
pavlov%pavlov.net
8ab767c382 make comboboxen look correct 1999-01-30 00:24:34 +00:00
sfraser%netscape.com
624dc50bde Fix a typo (== -> =) 1999-01-29 02:10:17 +00:00
troy%netscape.com
eefd7b4063 Added 'clipSiblings' to nsWidgetInitData struct 1999-01-28 17:06:39 +00:00
michaelp%netscape.com
c2113b6c95 modified for DrawString() API changes. 1999-01-28 05:06:06 +00:00
pavlov%pavlov.net
c5d29ae81b more gtk1.1.14isms 1999-01-28 01:42:49 +00:00
slamm%netscape.com
64582cfdf2 Get it linking. 1999-01-28 01:06:30 +00:00
slamm%netscape.com
7432e08676 Get link a little closer to reality. 1999-01-28 01:01:32 +00:00
pavlov%pavlov.net
aaac0e1d88 make things rock with gtk 1.1.14 1999-01-28 00:22:29 +00:00
pinkerton%netscape.com
ce67d4ad16 use nsCOMPtr to refcnt the interface pointers we use. 1999-01-28 00:20:42 +00:00
pinkerton%netscape.com
1ce1e6f589 appr for checkin while tree closed by sar. addref and release when we save a ptr to which widget the mouse is over or clicked on. Since we now do widget refcounting correctly, we need to do it correctly elsewhere ;) 1999-01-27 22:17:42 +00:00
slamm%netscape.com
6a6b2674ee Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. Also general Makefile clean up. 1999-01-27 19:54:40 +00:00
slamm%netscape.com
72511b424b Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. Also general Makefile clean up. The link line still needs some work. 1999-01-27 19:53:37 +00:00
slamm%netscape.com
4dc867a8d8 Use TK_CFLAGS instead of TK_MOTIF_FLAGS. 1999-01-27 19:53:18 +00:00
slamm%netscape.com
849749fc3d Use TK_CFLAGS instead of TK_GTK_FLAGS. 1999-01-27 19:53:07 +00:00
slamm%netscape.com
b78d7ef52a Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. 1999-01-27 19:51:59 +00:00
kipp%netscape.com
ba3278f97a Fixed build bustage 1999-01-27 17:40:10 +00:00
saari%netscape.com
6a0be0d0d6 fixing secondary build break nsMenu should be nsMenuItem 1999-01-27 17:38:43 +00:00
saari%netscape.com
f1a413f258 fixing secondary build break nsMenu not defined. Should be nsMenuItem 1999-01-27 17:37:42 +00:00
saari%netscape.com
e7db976ec4 fixing build break change AddItem to AddMenuItem 1999-01-27 17:00:11 +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
1aeac01b4b Fixing missing return value breakage. 1999-01-27 10:39:52 +00:00
saari%netscape.com
53835338be /m/pub/mozilla/widget/src/mac/nsWindow.cpp /m/pub/mozilla/widget/src/motif/nsWindow.cpp /m/pub/mozilla/widget/src/windows/nsWindow.cpp - call nsMenuListener in DispatchEvent 1999-01-27 09:37:23 +00:00
saari%netscape.com
c802069025 /m/pub/mozilla/widget/src/mac/nsIMenuBar.cpp /m/pub/mozilla/widget/src/gtk/nsIMenuBar.cpp /m/pub/mozilla/widget/src/motif/nsIMenuBar.cpp /m/pub/mozilla/widget/src/windows/nsIMenuBar.cpp - Added MenuSelected routine /m/pub/mozilla/widget/src/mac/nsMenuBar.h /m/pub/mozilla/widget/src/gtk/nsMenuBar.h /m/pub/mozilla/widget/src/motif/nsMenuBar.h /m/pub/mozilla/widget/src/windows/nsMenuBar.h - nsMenuBar inherits from nsMenuListener 1999-01-27 09:02:51 +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
sfraser%netscape.com
8564accdcd Changes to avoid using window refCons for raptor data. Store a list of windows in nsMacMessageSink, pass all events to the sink, and return a boolean for handled status. In the window, add and remove raptor windows from the list. 1999-01-27 05:24:26 +00:00
saari%netscape.com
48601665e3 mozilla/widget/src/xpwidgets/nsBaseWidget.h uncommented nsIMenuListener *mMenuListener for XPToolkit menus Index: nsBaseWidget.cpp =================================================================== RCS file: /m/pub/mozilla/widget/src/xpwidgets/nsBaseWidget.cpp uncommented mMenuListener code for XPToolkit menus 1999-01-27 04:20:20 +00:00
mcmullen%netscape.com
a58105db04 Added a new InitializeMacToolbox() to NSStdLib (declared in macstdlibextras.h) and exported it. This makes all the Mac Toolbox Init calls, and also (if DEBUG) initializes SIOUX without menus. Safe to call this multiple times (it has a static boolean). Removed toolbox initialization from constructor of nsAppShell, and called InitializeMacToolbox() instead. Called InitializeMacToolbox from main in viewer app, and also from a static initializer in nsAppRunner.cpp. 1999-01-27 02:11:56 +00:00
pinkerton%netscape.com
4bddf368f9 fix a leak where the Enumerator would create itself with a refcnt of 1 and then we'd addref it again in GetChildren(). Fixed so that the Enumerator doesn't addref itself and added addref's in the appropriate places to correct that assumption. 1999-01-26 18:07:11 +00:00
waterson%netscape.com
c0e02d6247 Fixed capitalization error. 1999-01-26 04:03:59 +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
akkana%netscape.com
5bfd3498e0 Pav's changes only work if you also have his fixes to gtk.
Since those aren't available yet, I've reverted his changes to make
selection and editor typein work.
When the new gtk is available, search for HAVE_GTK_BETTER_THAN_1_1_13
to see how to turn his changes back on (they are very worthwhile, we
just can't afford a regression while we wait for the new gtk).
1999-01-25 22:10:48 +00:00
pinkerton%netscape.com
6b59f526c9 fixing a leak in GetChildren() and cleaning it up to use nsComPtr when creating a new enumerator. 1999-01-25 19:18:43 +00:00
pinkerton%netscape.com
4a542f1451 Fix bug 2535 (memory leaks) with nsCOMPtr 1999-01-25 17:45:04 +00:00
sudu%netscape.com
c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
pavlov%pavlov.net
fd6d95cb42 only redraw the stuff that needs to be redrawn, not the entire widget. 1999-01-25 02:21:20 +00:00
pavlov%pavlov.net
fe6c96f077 fix button pressing 1999-01-25 00:51:21 +00:00