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

1391 Коммитов

Автор SHA1 Сообщение Дата
pierre%netscape.com 7432f07556 numerous changes 1999-02-22 10:21:37 +00:00
pierre%netscape.com bb317347c6 added GetUniqueMenuID() (needed for popups) 1999-02-22 10:21:20 +00:00
pierre%netscape.com 236b42ddbe added mMin/mMax (needed for popups) 1999-02-22 10:20:59 +00:00
pierre%netscape.com c7123f17aa removed outdated comments 1999-02-22 10:20:39 +00:00
rods%netscape.com 0c1a88f45d Added Set/GetEnabled and Set/GetChecked methods 1999-02-21 14:31:19 +00:00
pierre%netscape.com 1508eb2396 made gWindowlessMenuEventHandler a private member variable (#3203: RX: Mac widgets) 1999-02-21 02:48:02 +00:00
pierre%netscape.com ba9ac52664 added nsDeleteObserver (#3147: crashes on mouseMoved or closeWindow) 1999-02-21 02:10:36 +00:00
pierre%netscape.com a15727eed8 First Checked In. 1999-02-21 02:01:46 +00:00
pierre%netscape.com b377b8b625 removed outdated comments 1999-02-21 01:57:48 +00:00
pavlov%pavlov.net faef147169 nsAppShell isn't an nsWidget, so don't cast it as so. This fixes the
nsRepository::CreateInstance for nsAppShell from viewer so it doesn't return
with an error for me.
1999-02-20 19:56:01 +00:00
mjudge%netscape.com fbcb42974f changing nsIEnumerator to use NS_IMETHOD not virtual nsresult 1999-02-19 23:43:20 +00:00
saari%netscape.com e1d95977e4 enable menus on mac 1999-02-19 18:17:24 +00:00
ramiro%netscape.com 3ecfbe036f Fix the row data problem; it was breaking on aix and probably elsewhere.
Also, unhardcoded the item length.
1999-02-19 11:09:25 +00:00
ramiro%netscape.com 3639776526 Use NS_STATIC_CAST instead of static_cast. 1999-02-19 11:05:16 +00:00
mcafee%netscape.com a9492571a6 Solaris needs explicit casts here; NULL -> 0 solved some more cast problems. 1999-02-19 10:46:20 +00:00
dcone%netscape.com 3a17d6e7b2 Added the printer support files for GTK 1999-02-18 22:35:11 +00:00
cyeh%netscape.com af4818f5e3 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
rods%netscape.com 388137e5ed Removed the InsertItemAt method that takes a string, this was a conveince
method no one was implementing.
Changed The InsertMenuItemAt to nsISupports because either a nsIMenu or nsIMenuItem
can be inserted.
1999-02-18 15:17:11 +00:00
kipp%netscape.com 9cc931167f Update window-manager hints so that the window is resizable after its shown 1999-02-18 03:33:00 +00:00
saari%netscape.com a0bbebcaa3 /m/pub/mozilla/widget/src/mac/nsMenu.cpp - unleash menu separators for mac 1999-02-18 00:42:06 +00:00
saari%netscape.com 8760c1b673 /m/pub/mozilla/widget/src/mac/nsMenu.cpp - uncommented MenuSelected implementation - cleaned up MenuSelected implementation /m/pub/mozilla/widget/src/mac/nsMenuBar.cpp - Uncomment MenuSelected() implementation - Uncomment release of nsIMenuListener to avoid leak /m/pub/mozilla/widget/src/mac/nsMenuItem.cpp - #include "nsIMenuListener.h" - Implement AddMenuListener() - Implement MenuSelected() /m/pub/mozilla/widget/src/mac/nsMenuItem.h - Added nsIMenuListener * mXULCommandListener member 1999-02-17 22:45:34 +00:00
rods%netscape.com 8ad42453c2 Added methods for adding and removing nsMenuListeners
and
1999-02-17 14:34:33 +00:00
rods%netscape.com 566bfdafe4 Changed GetItemAt to return a nsISupports instead of a nsIMenuItem, this is
because a menu can hold both other menus and menu items.
Implemented several more of the menu methods and added the listenr methods to the
menu item.
1999-02-17 14:31:26 +00:00
rods%netscape.com 8b143ceb04 Added the dispatch to menu listeners 1999-02-17 14:30:47 +00:00
rods%netscape.com cac090da2e Added methods for adding and removing menu listeners 1999-02-17 14:29:51 +00:00
rods%netscape.com 6311232b8f Changed GetItemAt to return a nsISupports instead of a nsIMenuItem, this is
because a menu can hold both other menus and menu items.
1999-02-17 14:29:15 +00:00
scc%netscape.com 9f4e08c3ba changes for nsCOMPtr 1999-02-17 05:29:19 +00:00
mcafee%netscape.com 49b7e9fd37 Adding do_QueryInterface() wrapper for nsCOMPtr carpool 1999-02-17 02:23:56 +00:00
pinkerton%netscape.com 31c6a47f9f no longer exports nsIToolbarItem because this interface is obsolete. 1999-02-16 17:37:40 +00:00
pinkerton%netscape.com 4ac9b0f1e5 No longer exports nsIToolbarItem because this interface is obsolete. 1999-02-16 17:37:00 +00:00
pavlov%pavlov.net aee1386629 apply patch from Tomi Leppikangas <Tomi.Leppikangas@oulu.fi> to fix
nsTextHelper::SetText()
1999-02-15 01:54:08 +00:00
mcmullen%netscape.com cb054e6776 Init the refcount. 1999-02-13 04:01:34 +00:00
blizzard%redhat.com c0ca4a7787 Apply patch for crosshairs cursor. Fixes one crash on test9. Patch from Tomi Leppikangas <Tomi.Leppikangas@funet.fi> 1999-02-13 03:26:04 +00:00
pierre%netscape.com 8da5d28570 Made the ChildWindow destructor virtual 1999-02-12 19:15:32 +00:00
pierre%netscape.com 0ed32371e0 Fixed more problems with nsCOMPtrs 1999-02-12 19:15:03 +00:00
pierre%netscape.com fc3b6587e2 Fixed the window-doesn't-close problem (backed out the nsCOMPtr conversions) 1999-02-12 11:47:25 +00:00
peterl%netscape.com 7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
blizzard%redhat.com f6be47b6f0 make resizing go. 1999-02-12 06:07:24 +00:00
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
pinkerton%netscape.com a48d272b36 Removing tree and toolbar widgets from being created, as they are now frames. 1999-02-11 17:58:07 +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
dcone%netscape.com 58ad6f561d Took out nsXULCommand.cpp 1999-02-11 15:13:20 +00:00
sfraser%netscape.com 6f32aa72a2 Temporary key handling code, so that basic navigation keys work. 1999-02-11 04:36:39 +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
sar%netscape.com b2ad536a28 Turn of "modification date caching" so that dependencies are sure to work. 1999-02-11 00:04:46 +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
pierre%netscape.com 17b0c21d87 Fixed a small bug when resizing very fast 1999-02-10 11:42:46 +00:00
dp%netscape.com 81c281f428 Adding libreg as xpcom depends on it 1999-02-10 02:01:50 +00:00
rods%netscape.com 655296f895 Fixed problem with marshalling the window create method 1999-02-09 18:20:18 +00:00
dcone%netscape.com c04cbe9bf0 cleanup of nsIImage class. There were routines and methods no longer used or needed. 1999-02-08 16:34:56 +00:00
mcafee%netscape.com 2dd85694fe Adding widget, scribble to tests; these are building on both Linux & Solaris 1999-02-08 08:00:53 +00:00
blizzard%redhat.com 07e17b5442 back out akk's commented out menubar call. the looping has been fixed. 1999-02-08 03:41:10 +00:00
mcafee%netscape.com 473ea4fe44 Get scribble to build on Solaris 1999-02-07 13:12:08 +00:00
mcafee%netscape.com 3d718ad21e Wrapping tests with ENABLE_TESTS 1999-02-07 12:13:23 +00:00
blizzard%redhat.com c9cabd839f looping fixes. resizing still not 100% but we're getting there. 1999-02-07 03:03:07 +00:00
pavlov%pavlov.net 0045a0a3a8 file widget works for the most part 1999-02-06 19:38:30 +00:00
pavlov%pavlov.net e09ac5c221 remove the nsWidget * cast on the nsFileWidget 1999-02-06 19:22:25 +00:00
pavlov%pavlov.net 71e0f78ad9 file selector work. almost working. 1999-02-06 19:21:33 +00:00
warren%netscape.com af4892e337 Fixed unsigned problems. 1999-02-06 04:02:02 +00:00
pavlov%pavlov.net 75b1e7cf52 -Wall cleanups 1999-02-06 03:39:24 +00:00
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