548 Commits

Author SHA1 Message Date
rods%netscape.com
65b1861334 bryner's fix for key repeat (thanks a lot)
need to make press event not bubble
b=38072, r=rods


git-svn-id: svn://10.0.0.236/trunk@68150 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:01:47 +00:00
mjudge%netscape.com
8d2654f33a preparation for ender-lite landing.
git-svn-id: svn://10.0.0.236/trunk@68054 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:16:32 +00:00
mjudge%netscape.com
5449c8ea3a setting up for gfxtextcontrolchange
git-svn-id: svn://10.0.0.236/trunk@67842 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:40:44 +00:00
dbaron%fas.harvard.edu
8c144a4475 Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67703 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 04:00:38 +00:00
rods%netscape.com
600b95d39b now sets maxelement width/height
b=25541


git-svn-id: svn://10.0.0.236/trunk@67662 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 13:27:49 +00:00
rods%netscape.com
a59a1ace9c add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
has just been disabled


git-svn-id: svn://10.0.0.236/trunk@67580 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:24:59 +00:00
evaughan%netscape.com
ff486e57f1 1) StyleChange coelescing
2) Warning fixes
3) Table fixes


git-svn-id: svn://10.0.0.236/trunk@67099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:48 +00:00
troy%netscape.com
2831676fb5 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem


git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
97e6e61f3c Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@66999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:15:55 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
troy%netscape.com
e90db6dfb9 Changes to bring clipping inline with upcoming CSS2 errata
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
scc%netscape.com
fe0f1e89f2 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66852 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 10:31:38 +00:00
rods%netscape.com
eca0eab156 Add ifdef'ed Performance Reflow Counting code
also added asserts for improper sizes being passed back in reflow
send onChange events on all navigation bug 29440


git-svn-id: svn://10.0.0.236/trunk@66772 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:16:23 +00:00
rods%netscape.com
26338973b9 text content longer gets set to "" which it ignores, it
gets set to " " when thedisplay should be ""
bug 36459
Add ifdef'ed Performance Reflow Counting code


git-svn-id: svn://10.0.0.236/trunk@66763 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:53:38 +00:00
rods%netscape.com
a54cc52332 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:51:35 +00:00
rods%netscape.com
335366306f uncommenting out some important clean up code and gating it with "!kGoodToGo"
should fix leaks


git-svn-id: svn://10.0.0.236/trunk@66513 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:42:12 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00
rods%netscape.com
f6659ace4f change char detection to use unichar and upper case so now pressing 't' or 'T'
gets you the first item that begin with 't' ot 'T'
Bug 34630


git-svn-id: svn://10.0.0.236/trunk@66450 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 14:57:44 +00:00
rods%netscape.com
bbcb0f397d Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515


git-svn-id: svn://10.0.0.236/trunk@66446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 13:55:17 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
sfraser%netscape.com
11edab2993 Adding methods to allow control of the selection in text widgets.
git-svn-id: svn://10.0.0.236/trunk@65774 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:15:59 +00:00
rods%netscape.com
a3d39e96df Dirty reflows are treated like Incremental for optimization
The GetAbsoluteFramePosition didn't take into account if the comboxbox was had a prent view with no parent
b=35291


git-svn-id: svn://10.0.0.236/trunk@65720 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:51:10 +00:00
hyatt%netscape.com
c1aeb69e54 Elimination of nsIFocusableContent and improvements to tabbing r=saari
git-svn-id: svn://10.0.0.236/trunk@65217 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:55:31 +00:00
akkana%netscape.com
2bffc574a8 28598: map \r and \r\n to \n in form textarea submissions
git-svn-id: svn://10.0.0.236/trunk@64633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:49:59 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
rods%netscape.com
9a12fbc335 Few warning cleanups
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144


git-svn-id: svn://10.0.0.236/trunk@64375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 15:11:16 +00:00
rods%netscape.com
597564d30d When focus doesn't work correctly, and the Combobox gets deleted while the
dropdown is down it can crash. This makes sure the dropdown is rolled up and
unregistered with the rollup listener
b=33149


git-svn-id: svn://10.0.0.236/trunk@64372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 14:29:15 +00:00
rods%netscape.com
df81ce875a Added reflow of text frame for when the size is being set via style
b=33402


git-svn-id: svn://10.0.0.236/trunk@64255 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:20:06 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
rods%netscape.com
c586bf3853 Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@64041 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:02:02 +00:00
rods%netscape.com
a8f3a40dd5 fixed up some ifdefs to shutoff debug output
git-svn-id: svn://10.0.0.236/trunk@64040 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:59:02 +00:00
rods%netscape.com
a2cd208220 Adding nsICheckboxControlFrame to build
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@64038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:47:58 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
rods%netscape.com
5348db8337 now handling the incremental reflow better for options
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383


git-svn-id: svn://10.0.0.236/trunk@63590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:22:53 +00:00
rods%netscape.com
30fec46b94 Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:19:40 +00:00
rods%netscape.com
5ef540aa99 Added static method for getting the absolute rect in twips and pixels
moved from nsComboboxControlFrame.cpp
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:18:07 +00:00
pollmann%netscape.com
d5fd8b4694 Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar
git-svn-id: svn://10.0.0.236/trunk@63494 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:43:07 +00:00
dbaron%fas.harvard.edu
000e97ba98 Fix leak. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63414 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:29:16 +00:00
rods%netscape.com
ddbfa3ac95 made sure "average" was initialized to zero
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254


git-svn-id: svn://10.0.0.236/trunk@63399 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:15:25 +00:00
rods%netscape.com
1310a72d4b Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:20:03 +00:00
rods%netscape.com
425572a3d4 Added adaptive sizing for dropdown with small screen sizes
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63394 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:34 +00:00
rods%netscape.com
76578e3157 Added method to get the container frame for adding/removing option frames
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63392 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:30 +00:00
rods%netscape.com
7dc235b13a Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
some rework, and I can if def it in and out
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 13:45:30 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
rods%netscape.com
f4df672a66 I had the GetDefaultChecked and GetChecked methods reversed.
b=31009 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@63176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:57:08 +00:00
rods%netscape.com
1b47027ebe factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463


git-svn-id: svn://10.0.0.236/trunk@63054 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:55:30 +00:00
rods%netscape.com
3747feefc2 turning off debug #defines
git-svn-id: svn://10.0.0.236/trunk@63053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:47:11 +00:00
dveditz%netscape.com
51ca5d7259 fixing VC5 build (bug 31868)
git-svn-id: svn://10.0.0.236/trunk@63015 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:22:09 +00:00
rods%netscape.com
3c4ce75563 now passing back maxElementSize correctly
b=30015


git-svn-id: svn://10.0.0.236/trunk@62933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:25:05 +00:00