sfraser%netscape.com
fc51db9344
Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@78335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:39:02 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
dbaron%fas.harvard.edu
3b9c9e465a
Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
...
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00
sfraser%netscape.com
7726da891c
Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
...
git-svn-id: svn://10.0.0.236/trunk@75830 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:38:00 +00:00
dbaron%fas.harvard.edu
f5c556e039
Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75690 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:24:48 +00:00
pollmann%netscape.com
7db58c7c36
Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@75557 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:32:02 +00:00
rods%netscape.com
b077844144
47302 - moved the RegUnRegAccessKey to the Destroy Method
...
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk
git-svn-id: svn://10.0.0.236/trunk@75493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:40 +00:00
rods%netscape.com
c936b8f011
backing out changes until I get them all in
...
git-svn-id: svn://10.0.0.236/trunk@75436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:59:45 +00:00
rods%netscape.com
0598d4e64a
47302 - moved the RegUnRegAccessKey to the Destroy Method
...
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk
git-svn-id: svn://10.0.0.236/trunk@75432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:24:14 +00:00
rods%netscape.com
f58dc37a07
removed the incremental reflow targeted at the display text
...
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@72307 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:02:10 +00:00
buster%netscape.com
f3ce46c7b0
bug 36367
...
r=rods
fix was to pass in the correct width during certain types of incremental reflows.
git-svn-id: svn://10.0.0.236/trunk@71502 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 03:50:46 +00:00
rods%netscape.com
614a71b731
removed some uneeded code
...
made view so it was resized in SyncFrame
fixed the returning of the -1 for width
make sure combinedarea was set correctly for tables
b 39755,36321 r=buster,evaughan
git-svn-id: svn://10.0.0.236/trunk@70967 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:34:59 +00:00
evaughan%netscape.com
e32f5aa5dd
fix for [beta2] bugs:
...
37835
39085
32920
-r pinkerton, rods, hyatt
git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
hyatt%netscape.com
e469c92e38
fix for making skins script-safe. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
mjudge%netscape.com
bf7db3cfce
accidental checkin
...
git-svn-id: svn://10.0.0.236/trunk@70035 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:20:24 +00:00
mjudge%netscape.com
d852583364
fixes for RegUnRegAccessKey
...
git-svn-id: svn://10.0.0.236/trunk@70033 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:18:36 +00:00
rods%netscape.com
b1eb9c1882
focus now no longer shows when it has focus.
...
b=35307
git-svn-id: svn://10.0.0.236/trunk@69890 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:23:09 +00:00
dbaron%fas.harvard.edu
65a4685f64
Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@69785 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 13:12:27 +00:00
rods%netscape.com
71b1eecc63
makes sure we are responding to the correct layer for GetFrameForPoint (thanks dbaron)
...
b 38925
git-svn-id: svn://10.0.0.236/trunk@69236 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:22:06 +00:00
rods%netscape.com
dc414889ec
added comments to ifdef for better explanation
...
git-svn-id: svn://10.0.0.236/trunk@69211 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:06:32 +00:00
jst%netscape.com
0f0b4d6367
Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
buster%netscape.com
4fb9226391
effectively removed area frame
...
work troy was holding in his tree
r=buster
git-svn-id: svn://10.0.0.236/trunk@68808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:11:12 +00:00
rods%netscape.com
132a6cb39a
this should bring down the leaks
...
should have used XPCom
git-svn-id: svn://10.0.0.236/trunk@68718 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:39:29 +00:00
rods%netscape.com
7741a4bea3
The fix will turn itself on when in HTMLdocument and turn off in XUL documents
...
I will remove the old code when all the selects are removed from the UI
bug 36558
git-svn-id: svn://10.0.0.236/trunk@68698 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:32:11 +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
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
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
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
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
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
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
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
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
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
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
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