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
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
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
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
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
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
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
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
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
rods%netscape.com
322adbdae3
removed warnings
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@58153 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:23:52 +00:00
hyatt%netscape.com
8f6502ffb7
Fixes for bugs 17460 and 21656. r=travis
...
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
rods%netscape.com
98e4be328f
The combobox would be scrolled into view if some portion of it is visible.
...
b 23068 r=attintasi
git-svn-id: svn://10.0.0.236/trunk@57740 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:52:53 +00:00
rods%netscape.com
0d65e5eab5
Temporarily turning off optimization
...
git-svn-id: svn://10.0.0.236/trunk@57224 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 02:03:23 +00:00
rods%netscape.com
f55d48fad0
Added unconstrainted reflow optimizations
...
r=kmcclusk,dcone bug=12653
git-svn-id: svn://10.0.0.236/trunk@57223 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 01:52:17 +00:00
rods%netscape.com
a54126699a
backed out all changes from today (1/5/2000)
...
git-svn-id: svn://10.0.0.236/trunk@56850 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 16:42:47 +00:00
rods%netscape.com
bc6544da40
Added unconstrainted reflow optimizations
...
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653
git-svn-id: svn://10.0.0.236/trunk@56847 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 15:46:29 +00:00
rods%netscape.com
ee6753e288
Added experimental ifdef;ed but turned for reducing the number of resize reflows,
...
basically we ignore them and pass back our most recently reflowed size
r=karnaze bug=22063
git-svn-id: svn://10.0.0.236/trunk@56394 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:46:28 +00:00
rods%netscape.com
6cc1f48662
temprary fix for combobox dropdowns that jump all around.
...
changed the way a temp nsSize was being created.
removed all the dom listener interfaces and code (they weren't being used)
r=beard,self a=chofmann bug 19416, 20957, 19300, 20250
git-svn-id: svn://10.0.0.236/trunk@55991 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:22:00 +00:00
rods%netscape.com
c4e4448cdb
Added a "flags" variable for combobox creation
...
also fixed a a small problem with border padding being added in for fixed size comboboxes
r=self, bug 19382
git-svn-id: svn://10.0.0.236/trunk@55379 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:18 +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
sspitzer%netscape.com
117ded3835
simple bullet proofing fix for #20423
...
git-svn-id: svn://10.0.0.236/trunk@54850 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 03:08:04 +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
rods%netscape.com
28621261c8
added bool parm to is DoneAddinContent r=dcone bug 18241
...
git-svn-id: svn://10.0.0.236/trunk@54012 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 16:05:16 +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
rods%netscape.com
39c4cb7c9e
Added MakeSureSomethingIsSelected to the combobox so the ListBox can
...
call it after it is initialized.
git-svn-id: svn://10.0.0.236/trunk@53690 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 22:47:23 +00:00
rods%netscape.com
d018396336
Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
...
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
git-svn-id: svn://10.0.0.236/trunk@53258 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:13:33 +00:00
nisheeth%netscape.com
7ad60e4687
r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell.
...
git-svn-id: svn://10.0.0.236/trunk@52989 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 03:23:26 +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
pollmann%netscape.com
63b5916e8b
Bug 17995: Don't reset selection when adding an option to a combobox, as it caused reframing and a crash. r=harishd a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@52890 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 00:54:54 +00:00
pollmann%netscape.com
b98eecf039
Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@52822 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 23:16:47 +00:00
rods%netscape.com
89ba99747a
Combos now size correctly when the size is specified via style
...
r=kmcclusk, b=16317
git-svn-id: svn://10.0.0.236/trunk@52620 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:03:32 +00:00
pollmann%netscape.com
4b235a7aef
Removing null code. No bug number. r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@52479 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:50:15 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
rods%netscape.com
beb6aa3e8b
At kipp's suggestion I added a EnterReflowLock before and a ExitReflowLock
...
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
git-svn-id: svn://10.0.0.236/trunk@51916 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 23:34:46 +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
rods%netscape.com
3133a0f78a
removed the PR_MAX forcing the y offset to be zero or greater. Not sure why it was doing this.
...
r=kmcclusk Bug #16152
git-svn-id: svn://10.0.0.236/trunk@51325 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 00:06:23 +00:00
pollmann%netscape.com
419cb327c4
Bug 15841: Don't default to selecting item 0 of a listbox
...
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
git-svn-id: svn://10.0.0.236/trunk@50444 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 08:47:29 +00:00
rods%netscape.com
db039d9432
ifdef'ed out a static counter for debugging. r=kmcclusk b=15637
...
git-svn-id: svn://10.0.0.236/trunk@50217 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 12:24:11 +00:00
rods%netscape.com
3848b18fe7
Added the COMPAre macro for comparing sizes with NavQuirks
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50149 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:46:31 +00:00
pollmann%netscape.com
1c6394c2d0
Bug 15170: Implement onchange notification for list boxes
...
git-svn-id: svn://10.0.0.236/trunk@49888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:43:06 +00:00
rods%netscape.com
8da5559e0f
Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
...
this enables it to unset any temporary selections and restore the actual selection
git-svn-id: svn://10.0.0.236/trunk@49580 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 14:30:33 +00:00
rods%netscape.com
5b32db8a61
Added ConsumeEvents parameter to CaptureRollupEvents
...
git-svn-id: svn://10.0.0.236/trunk@49440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 14:36:17 +00:00
rods%netscape.com
b98dd90f9a
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
...
Removed focus listener and ForcedRedraws
git-svn-id: svn://10.0.0.236/trunk@49426 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:36:32 +00:00
peterl%netscape.com
1bd4db5d5f
use style changed reflow instead of content changed when updating button
...
git-svn-id: svn://10.0.0.236/trunk@49290 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:35:24 +00:00
dcone%netscape.com
b24a03891e
Took out some Addrefs, causing leaks
...
git-svn-id: svn://10.0.0.236/trunk@48976 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 13:48:40 +00:00