Commit Graph

700 Commits

Author SHA1 Message Date
waterson@netscape.com
2c22f7c88b Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt 2000-10-09 03:08:41 +00:00
rods@netscape.com
048c60d0dc Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster
2000-10-04 13:39:07 +00:00
rods@netscape.com
99993e9de4 removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk
2000-09-09 22:15:57 +00:00
pollmann@netscape.com
8232e5a3bf Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com 2000-09-08 05:53:28 +00:00
sfraser@netscape.com
957cab8444 Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods 2000-09-07 04:39:02 +00:00
jst@netscape.com
3ba32f670e 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 2000-08-23 17:27:06 +00:00
dbaron@fas.harvard.edu
d0e6838ec2 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+) 2000-08-09 12:51:05 +00:00
sfraser@netscape.com
b78873aa1d 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. 2000-08-08 23:38:00 +00:00
dbaron@fas.harvard.edu
10b037d5e9 Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson 2000-08-06 19:24:48 +00:00
pollmann@netscape.com
238e115849 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk 2000-08-03 23:32:02 +00:00
rods@netscape.com
5d1fc181d3 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
2000-08-03 14:13:40 +00:00
rods@netscape.com
1bf42f6532 backing out changes until I get them all in 2000-08-02 22:59:45 +00:00
rods@netscape.com
458c5622ba 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
2000-08-02 22:24:14 +00:00
rods@netscape.com
0c63eea66e removed the incremental reflow targeted at the display text
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk
2000-06-15 13:02:10 +00:00
buster@netscape.com
7ea974ec3f bug 36367
r=rods
fix was to pass in the correct width during certain types of incremental reflows.
2000-06-05 03:50:46 +00:00
rods@netscape.com
ea1e056f8b 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
2000-05-26 23:34:59 +00:00
evaughan@netscape.com
39a5baf723 fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
hyatt@netscape.com
33ee6d68e0 fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
mjudge@netscape.com
691be4795f accidental checkin 2000-05-16 12:20:24 +00:00
mjudge@netscape.com
f52e5b8277 fixes for RegUnRegAccessKey 2000-05-16 12:18:36 +00:00
rods@netscape.com
a8380d7478 focus now no longer shows when it has focus.
b=35307
2000-05-15 22:23:09 +00:00
dbaron@fas.harvard.edu
9d2ae01f67 Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com 2000-05-15 13:12:27 +00:00
rods@netscape.com
cbaf5bf189 makes sure we are responding to the correct layer for GetFrameForPoint (thanks dbaron)
b 38925
2000-05-11 19:22:06 +00:00
rods@netscape.com
a067b9d8b8 added comments to ifdef for better explanation 2000-05-11 14:06:32 +00:00
jst@netscape.com
fa72f71714 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. 2000-05-10 13:13:39 +00:00
buster@netscape.com
a6ecd9c854 effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
rods@netscape.com
25aa20b685 this should bring down the leaks
should have used XPCom
2000-05-08 21:39:29 +00:00
rods@netscape.com
3f2ec0b196 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
2000-05-08 20:32:11 +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
scc@netscape.com
5b4f9a66b9 making string conversions explicit 2000-04-22 10:31:38 +00:00
rods@netscape.com
f013b2b9ae 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
2000-04-21 21:53:38 +00:00
rods@netscape.com
127ca9c1b0 uncommenting out some important clean up code and gating it with "!kGoodToGo"
should fix leaks
2000-04-20 03:42:12 +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
jim_nance@yahoo.com
112be9f648 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
2000-03-30 03:21:26 +00:00
rods@netscape.com
8d82e10cdc 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
2000-03-28 14:29:15 +00:00
dbaron@fas.harvard.edu
0db3c15533 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. 2000-03-22 02:43:08 +00:00
rods@netscape.com
3489406ea8 Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
r=dcone b=18895
2000-03-21 15:19:40 +00:00
rods@netscape.com
fafa74348a Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk
2000-03-18 14:20:03 +00:00
rods@netscape.com
cc8b02fb2d combo needed to set the maxElementSize correctly when reflowing.
b=31072 r=buster a=jar
2000-03-10 04:46:16 +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
971c25426f Bug 16999: Get default button labels from .properties file instead of html.css (GfxButtonControlFrame -> anonymous content creator). r=rods a=rickg 2000-02-21 05:55:25 +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
pavlov@netscape.com
0a2badccc0 fix for combo boxes not grabbing the mouse on linux (fixes bugs 7898 and 26273) r=waqar 2000-02-11 22:26:36 +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
eccb408be9 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
2000-01-31 23:59:55 +00:00
rods@netscape.com
fabeb5c57f 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
2000-01-28 15:24:49 +00:00