857 Commits

Author SHA1 Message Date
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
tbogard%aol.net
dab65a7998 GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells.
git-svn-id: svn://10.0.0.236/trunk@62609 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:30:04 +00:00
rods%netscape.com
b096b5b0e7 combo needed to set the maxElementSize correctly when reflowing.
b=31072 r=buster a=jar


git-svn-id: svn://10.0.0.236/trunk@62524 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 04:46:16 +00:00
rods%netscape.com
f2051a9c75 nsITextContent needed to be included not forwarded.
git-svn-id: svn://10.0.0.236/trunk@62309 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 16:45:21 +00:00
rods%netscape.com
7e5fa53319 Fixed Combobox and ListBox frame to be more effecient in processing reflows
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar


git-svn-id: svn://10.0.0.236/trunk@62306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:54:31 +00:00
rods%netscape.com
7bd524384c Backout plan, this check only fixes bug 28628
a=jar


git-svn-id: svn://10.0.0.236/trunk@62128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:14:58 +00:00
rods%netscape.com
deca5369c1 added include instead of the class decl.
r=waterson


git-svn-id: svn://10.0.0.236/trunk@62118 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 05:06:03 +00:00
rods%netscape.com
0e0b56089f modified the reflow method for better handling incremental and for optimization
b=28593, r=buster,kmclusk a=jar


git-svn-id: svn://10.0.0.236/trunk@62115 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 04:28:59 +00:00
rods%netscape.com
f2b6aef7dc idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
r=kmcclusk a=jar b=28593


git-svn-id: svn://10.0.0.236/trunk@62097 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:58:00 +00:00
rods%netscape.com
31c4c361ad Button marks itself dirty when the suggested size is set.
b 28593, r=kmcclusk,buster


git-svn-id: svn://10.0.0.236/trunk@62091 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:21:10 +00:00
karnaze%netscape.com
84b1699eb4 PDT+ bug 28928 - correctly handle reflow of hidden inputs. r=rods, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61866 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 13:17:33 +00:00
pierre%netscape.com
1d2c2e416f Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
pollmann%netscape.com
a3b50445fa Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
git-svn-id: svn://10.0.0.236/trunk@61543 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:08:00 +00:00
pollmann%netscape.com
372cfcb2c6 Bug 28691: Fix leaks, check for null, in code my implementation was based on r=harishd a=rickg
git-svn-id: svn://10.0.0.236/trunk@61508 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:58:42 +00:00
pollmann%netscape.com
ea620d741f Bug 28691: Fix leaks, check for null, fix a bug in checkin for bug 16999 r=harishd a=rickg
git-svn-id: svn://10.0.0.236/trunk@61506 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:56:39 +00:00
pollmann%netscape.com
8805ae3fc9 Bug 16999: Fix solaris nsCOMPtr complaints.
git-svn-id: svn://10.0.0.236/trunk@61378 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 06:26:55 +00:00
pollmann%netscape.com
28d2487189 Bug 16999: Get default button labels from .properties file instead of html.css (GfxButtonControlFrame -> anonymous content creator). r=rods a=rickg
git-svn-id: svn://10.0.0.236/trunk@61376 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 05:55:25 +00:00
rods%netscape.com
f3c30277d4 ifdef'ing out a badly formed optimization for incremental reflow.
r=buster b=24798


git-svn-id: svn://10.0.0.236/trunk@61068 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:20:21 +00:00
rods%netscape.com
9616895e6a radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60954 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 23:02:55 +00:00
rods%netscape.com
052a391633 added method
b 21945 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60893 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:57:13 +00:00
rods%netscape.com
5609eaece7 They now cache their state properly in the PresState
b 27063 r=kmmclusk


git-svn-id: svn://10.0.0.236/trunk@60882 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:05:56 +00:00
rods%netscape.com
503225ca70 They now cache their state properly in the PresState
b 21945 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60880 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:04:38 +00:00
buster%netscape.com
c926a28d67 enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods


git-svn-id: svn://10.0.0.236/trunk@60681 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 02:03:36 +00:00
rods%netscape.com
68b0b47186 Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms....
git-svn-id: svn://10.0.0.236/trunk@60602 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 17:49:11 +00:00
rods%netscape.com
75d5380d64 same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr
git-svn-id: svn://10.0.0.236/trunk@60600 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 17:01:35 +00:00
rods%netscape.com
089f6bed81 now remembers state when selected for single select combos and listboxes,
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60597 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:21:37 +00:00
pavlov%netscape.com
b3eb5c0605 fix for combo boxes not grabbing the mouse on linux (fixes bugs 7898 and 26273) r=waqar
git-svn-id: svn://10.0.0.236/trunk@60519 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:26:36 +00:00
nhotta%netscape.com
d93c3cf8c0 Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@60365 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:08:56 +00:00
evaughan%netscape.com
a9aadf75b0 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose


git-svn-id: svn://10.0.0.236/trunk@60336 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 21:36:28 +00:00
rods%netscape.com
18b173e092 changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up


git-svn-id: svn://10.0.0.236/trunk@60260 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 23:20:56 +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
rods%netscape.com
cffeb53a49 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60248 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:34:39 +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
rods%netscape.com
c8eb9abdc2 added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059


git-svn-id: svn://10.0.0.236/trunk@59317 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:59:55 +00:00
rods%netscape.com
2190ae8e89 add extra debug; added some inremenal reflow code;
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292


git-svn-id: svn://10.0.0.236/trunk@59309 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:36:50 +00:00
leaf%mozilla.org
35f118f861 backing out rods to fix options lists
git-svn-id: svn://10.0.0.236/trunk@59088 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 19:03:34 +00:00
rods%netscape.com
f8ad740dac using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292


git-svn-id: svn://10.0.0.236/trunk@59073 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:24:49 +00:00
rods%netscape.com
668b8285ec added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none


git-svn-id: svn://10.0.0.236/trunk@59071 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:04:19 +00:00
pollmann%netscape.com
1dac48338c Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods
git-svn-id: svn://10.0.0.236/trunk@58636 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:19:39 +00:00
nisheeth%netscape.com
d23c598d3c r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
git-svn-id: svn://10.0.0.236/trunk@58611 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 16:00:44 +00:00
rods%netscape.com
e061d60a88 changed signature of GetFont b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58599 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:46 +00:00
rods%netscape.com
9e99c45422 changed to use new signature of GetFont r=dcone b=905
git-svn-id: svn://10.0.0.236/trunk@58597 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:07 +00:00