Commit Graph

296 Commits

Author SHA1 Message Date
pinkerton%netscape.com
10f0dc2a0d Fix for bug 26452, context menus flashing in upper right corner of window. Wait until the very last moment before we set the menuactive attribute which causes the view to display. Also some minor cleanup. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@60274 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:20:30 +00:00
evaughan%netscape.com
a268db39c4 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod


git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
hyatt%netscape.com
81daec9012 Giving menus some seriously tough love.
git-svn-id: svn://10.0.0.236/trunk@60221 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 09:34:35 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
pinkerton%netscape.com
c645f7bbdc Use NS_INTERFACE_MAP_END_INHERITING macro instead of hack. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@58825 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:35:53 +00:00
hyatt%netscape.com
2a665a2517 Fix more bustage. Another annoying merge conflict.
git-svn-id: svn://10.0.0.236/trunk@58572 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 07:26:02 +00:00
hyatt%netscape.com
d58696d355 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
tor%cs.brown.edu
88a2a05091 build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls
git-svn-id: svn://10.0.0.236/trunk@57971 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 17:06:08 +00:00
brade%netscape.com
434b1e63e3 initialize all fields in event structure for menu events; r=joki
git-svn-id: svn://10.0.0.236/trunk@57946 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 17:25:14 +00:00
pinkerton%netscape.com
23a7bfa8d3 forgot to call the inherited base class QI when i rewrote the qi impls. xpmenus work again. a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56338 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:57:29 +00:00
pinkerton%netscape.com
df130bfa90 remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56289 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:28:15 +00:00
hyatt%netscape.com
e58378dccf Implementing support for popupanchor and popupalign.
git-svn-id: svn://10.0.0.236/trunk@55755 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 11:30:47 +00:00
hyatt%netscape.com
44972576e3 Making menu titles work again. Making menu accelerators work again. r=saari
git-svn-id: svn://10.0.0.236/trunk@55714 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:52:42 +00:00
hyatt%netscape.com
189360dda0 Making menu titles really crop.
git-svn-id: svn://10.0.0.236/trunk@55377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:17:10 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
troy%netscape.com
b5a2f9d664 Removed dead code
git-svn-id: svn://10.0.0.236/trunk@54864 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:18:20 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
troy%netscape.com
3f61543a91 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works


git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00
evaughan%netscape.com
d5e1a5239e 1) Changed box to use a linked list instead of a fixed array. -r Hyatt
2) Cleaned up some of the preference panels. -r Matt


git-svn-id: svn://10.0.0.236/trunk@53907 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 21:05:43 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
evaughan%netscape.com
0fa061c765 Made tabs us visibility instead of shrinking their children to 0,0.
Made it possible to change the look for the selected tab.


git-svn-id: svn://10.0.0.236/trunk@52270 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 22:13:57 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
shaver%netscape.com
f2a09249da Added support for type="radio" (pick-one) XP menus.
Cleaned up nsFrame class declaration a bit.
Added some API entries to nsIMenuFrame in support of type="radio"'s
pick-one behaviour.
Renamed UpdateMenuChecked to UpdateMenuSpecialState.
Removed stale string-splitting code in CreateAnonymousContent.
(r=hyatt,mcafee)


git-svn-id: svn://10.0.0.236/trunk@50957 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 21:37:37 +00:00
peterl%netscape.com
bba68903df Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +00:00
shaver%netscape.com
130160f659 Add support for type="checkbox" in <menuitem>.
Converted small pile of PRBool to PRPackedBool for space savings.
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50849 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 21:13:24 +00:00
hyatt%netscape.com
6c5c58d1e8 Fix for 16479. r=waterson
git-svn-id: svn://10.0.0.236/trunk@50819 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 07:54:43 +00:00
shaver%netscape.com
62dca335b0 Fix for 15480 (menu reflow from content change).
Use <titledbutton>, not <div>, for accelerator text to fix alignment
and improve performance _ever_ so slightly.
Initial support for checked menus (needs more magic).
(r=hyatt)


git-svn-id: svn://10.0.0.236/trunk@50737 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:59:18 +00:00
pavlov%netscape.com
88babc4d7b final step to make menus dismiss on unix r=hyatt
git-svn-id: svn://10.0.0.236/trunk@50040 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 23:00:53 +00:00
law%netscape.com
54b67b04b1 Context menu updates
git-svn-id: svn://10.0.0.236/trunk@49548 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 04:43:45 +00:00
hyatt%netscape.com
cb170827ee fixes for 14637 and for menu visibility issues r=pavlov typed_by=pavlov
git-svn-id: svn://10.0.0.236/trunk@49259 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 23:25:48 +00:00
hyatt%netscape.com
217ea22816 Fix for bug 11266 on Windows and mac. making xp menus go away.
git-svn-id: svn://10.0.0.236/trunk@49028 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 03:39:35 +00:00
waterson%netscape.com
a6bb4901f0 Bug 11661. Make nsPopupMenuFrame override DidReflow() because we want to do our own special view management. Fix nsMenuFrame::Dirty() to compute the correct 'incrementalChild'.
git-svn-id: svn://10.0.0.236/trunk@48962 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 05:22:55 +00:00
danm%netscape.com
5f2bffd186 Comment out body of UpdateDismissalListener. Prevents crash dismissing menu in toolbar. (Code in progress, anyway.) a:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@48638 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 21:41:31 +00:00
waterson%netscape.com
c9ea36fc9d Comment out line causing crash when click on menus.
git-svn-id: svn://10.0.0.236/trunk@48493 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 04:59:45 +00:00
hyatt%netscape.com
61e7c00bb7 Chrome event stuff. Menu changes.
git-svn-id: svn://10.0.0.236/trunk@48458 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:03:00 +00:00
shaver%netscape.com
1bb0ffc619 fix for Mac bustage
git-svn-id: svn://10.0.0.236/trunk@48036 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 21:29:50 +00:00
shaver%netscape.com
0ac8ea16f5 overhaul menus to use spiffy new titledbutton features
git-svn-id: svn://10.0.0.236/trunk@47989 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:12:02 +00:00
hyatt%netscape.com
589d12948d Working on XP menus.
git-svn-id: svn://10.0.0.236/trunk@46741 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 08:47:12 +00:00
hyatt%netscape.com
1433b9452c Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).


git-svn-id: svn://10.0.0.236/trunk@46290 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:51:41 +00:00
kipp%netscape.com
cff7c34c91 Eliminate some useless string malloc/free's
git-svn-id: svn://10.0.0.236/trunk@45818 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 03:47:06 +00:00
pavlov%netscape.com
95c66f107b fix a crash in the color picker and add a grayscale palette.
fix xpmenus to work as popups without a menubar


git-svn-id: svn://10.0.0.236/trunk@45364 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:39:12 +00:00
troy%netscape.com
8a85938908 Changed to table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
hyatt%netscape.com
8b7e2f5874 Fix for bugs 11858 and 10774.
git-svn-id: svn://10.0.0.236/trunk@43326 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 23:49:53 +00:00
hyatt%netscape.com
a0f5caf3e8 A minor addendum to the bug fix I checked in a few minutes ago.
git-svn-id: svn://10.0.0.236/trunk@43254 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 21:20:04 +00:00
hyatt%netscape.com
060d781c2c Fix for bug #11418 and #11506 (which are actually the
same bug).  Approved by chofmann.


git-svn-id: svn://10.0.0.236/trunk@43251 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 20:45:47 +00:00
cls%seawood.org
6a502d3b0e Various fixes to let the tree compile with gcc 2.95:
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.

Still requires a tweak to remove -mno-486 from NSPR's *.mk files.


git-svn-id: svn://10.0.0.236/trunk@42646 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 06:01:31 +00:00
hyatt%netscape.com
4be0522555 Working on converting XUL popups to use the XP menu code.
git-svn-id: svn://10.0.0.236/trunk@42497 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 19:12:23 +00:00
hyatt%netscape.com
de305c5946 Fixing three problems that prevented XP menus from working with RDF templates.
The Bookmarks menu and mail menus should work now.


git-svn-id: svn://10.0.0.236/trunk@42213 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:36:30 +00:00