rods@netscape.com
d764c3d314
temporary fix for 38825, the frame gets notified that an option has been added
...
before it is actually added into the content model, so the selection cache and the
content model can be of by 1
2000-05-11 14:05:44 +00:00
rods@netscape.com
3c3d87f151
get char code instead of key code
...
bug 34630
2000-05-08 22:18:38 +00:00
rods@netscape.com
fd506bbc10
The press event always delivers the key as lowercase where key down gives you the key that was pressed
...
need to change str to lowercase instead of uppercase
b=34630
2000-05-05 21:51:56 +00:00
rods@netscape.com
e61c7353f9
bryner's fix for key repeat (thanks a lot)
...
need to make press event not bubble
b=38072, r=rods
2000-05-03 22:01:47 +00:00
dbaron@fas.harvard.edu
274624e8d2
Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com
2000-05-01 04:00:38 +00:00
rods@netscape.com
3752b076f2
add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
...
has just been disabled
2000-04-28 23:24:59 +00:00
joki@netscape.com
79133e59a9
fixes for 5995, 7304, 10573, 22832, and 9668.
...
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
rods@netscape.com
c076ee3366
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
2000-04-21 22:16:23 +00:00
rods@netscape.com
9f88850c42
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
2000-04-19 14:57:44 +00:00
rods@netscape.com
8e274dcf4e
Not enabling creator's to be asked if they want to create a special frame for anonymous content
...
bug 33515
2000-04-19 13:55:17 +00:00
scc@netscape.com
6389c25d1d
making string conversions explicit
2000-04-16 11:19:26 +00:00
rods@netscape.com
8fae271689
Few warning cleanups
...
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144
2000-03-28 15:11:16 +00:00
rods@netscape.com
dccabc7625
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
2000-03-21 15:22:53 +00:00
pollmann@netscape.com
b850f6066f
Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar
2000-03-20 23:43:07 +00:00
rods@netscape.com
92aed4bdd3
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
2000-03-18 14:17:34 +00:00
pierre@netscape.com
ee71ad262f
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.
2000-03-17 10:15:13 +00:00
rods@netscape.com
a450fb67de
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
2000-03-15 15:55:30 +00:00
dveditz@netscape.com
eb9082c0d0
fixing VC5 build (bug 31868)
2000-03-15 06:22:09 +00:00
rods@netscape.com
bf847f8b1b
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
2000-03-07 15:54:31 +00:00
rods@netscape.com
b9bdc47c8d
Backout plan, this check only fixes bug 28628
...
a=jar
2000-03-03 07:14:58 +00:00
rods@netscape.com
4f3b0027fb
modified the reflow method for better handling incremental and for optimization
...
b=28593, r=buster,kmclusk a=jar
2000-03-03 04:28:59 +00:00
pollmann@netscape.com
62518d7ffa
Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
2000-02-24 00:08:00 +00:00
rods@netscape.com
fbb10a94b5
ifdef'ing out a badly formed optimization for incremental reflow.
...
r=buster b=24798
2000-02-16 05:20:21 +00:00
rods@netscape.com
13e7dc5ec6
They now cache their state properly in the PresState
...
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
rods@netscape.com
e4698d8dd0
Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms....
2000-02-12 17:49:11 +00:00
rods@netscape.com
a1b80f47d1
same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr
2000-02-12 17:01:35 +00:00
rods@netscape.com
9c50cad1a0
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
2000-02-12 16:21:37 +00:00
rods@netscape.com
226e0b0cb2
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
2000-02-09 19:34:39 +00:00
pp@ludusdesign.com
baf799923b
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
rods@netscape.com
69ac56a816
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
2000-01-31 23:36:50 +00:00
leaf@mozilla.org
f179b594bc
backing out rods to fix options lists
2000-01-28 19:03:34 +00:00
rods@netscape.com
11f5746277
added check so it doesn't do a reset on the incremental reflow
...
r=dcone bug=none
2000-01-28 15:04:19 +00:00
pollmann@netscape.com
d2a59e0494
Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods
2000-01-25 22:19:39 +00:00
nisheeth@netscape.com
2d05ef65c2
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.
2000-01-25 16:00:44 +00:00
rods@netscape.com
1000cea994
changed signature of GetFont b=905 r=dcone
2000-01-25 15:25:46 +00:00
beard@netscape.com
1ad8a5811d
floating views. bug=21966, r=troy, rods, a=brendan
2000-01-25 01:53:34 +00:00
pierre@netscape.com
2766414471
Backing out one line from the previous checkin in order to fix #24344 ("Crash when displaying a list box").
2000-01-19 12:27:40 +00:00
rods@netscape.com
0df10dac7f
Initial shift click will now work correctly for mulitple with selected items
...
it now will scroll to the selected items on start up
b 24178,7025 r=kmcclusk
2000-01-18 23:33:22 +00:00
hyatt@netscape.com
4445e32213
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
brade@netscape.com
c22c3fb633
use proper key for disconguous selection on Mac (r=jfrancis)
2000-01-13 16:01:04 +00:00
rods@netscape.com
fc05543804
Listbox was handle clicks in the combobox incorrectly and this caused the
...
dropdown to rollup too soon.
b=23484 r=kmcclusk
2000-01-11 20:36:37 +00:00
rods@netscape.com
3e30973644
Added unconstrainted reflow optimizations
...
r=kmcclusk,dcone bug=12653
2000-01-09 01:41:11 +00:00
rods@netscape.com
1e161590c3
backed out all changes from today (1/5/2000)
2000-01-05 16:42:47 +00:00
rods@netscape.com
fccf0e4853
Added unconstrainted reflow optimizations
...
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653
2000-01-05 15:46:29 +00:00
sspitzer@netscape.com
e03f762b2f
fix warnings
1999-12-28 19:41:57 +00:00
rods@netscape.com
ca64e4ae5d
Fixed the edge case where the select may have zero options or one option
...
with no lable and no content and it sizes out to be zero high
also fixed twhere visibility wasbeing check incorrectly
r=kmcclusk
1999-12-22 19:49:36 +00:00
rods@netscape.com
f9ceb48452
stripping out all the whitespace for form data submission
...
commented changing the visible directly
bug 21276, r=pollmann a=chofmann
1999-12-14 14:16:09 +00:00
hyatt@netscape.com
b8c629cd11
Massive rewrite of the focus/blur architecture. Things should behave better
...
now. r=saari
1999-12-08 04:54:29 +00:00
rods@netscape.com
9d1bc52fbf
Always passing back that the frames are there, this still isn't right and needs to be
...
reworked again. But this will able some XUL selects to work that otherwise would be
broken and I haven't found it to cause any problems with a lot of testing. I have
regressed to this situation in the past and it worked OK.
r=kmcclusk, bug=none but hangas (or self) would have filed one by end of day.
1999-12-08 00:08:41 +00:00
rods@netscape.com
bdd3670de1
removing unused variables (bloat) and using nsLayoutAtoms::optionSelectedPseudo instead of
...
using a string and creating and deleting it each time.
r=kmcclusk
1999-12-06 22:59:43 +00:00