Commit Graph

1180 Commits

Author SHA1 Message Date
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