99 Commits

Author SHA1 Message Date
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
rods%netscape.com
f5e6a46f6c 53259 - min-width and max-width not supported on form control
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83899 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:55 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
rods%netscape.com
e4d9892690 GfxBtn now implements method CreateFrameFor so it can create the text node
with the proper style context parentage.
b=49740 =kmcclusk,attinasi


git-svn-id: svn://10.0.0.236/trunk@76959 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:38:42 +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
607439019b More bustage fixing with style struct return types.
git-svn-id: svn://10.0.0.236/trunk@75838 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:52:02 +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
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
pollmann%netscape.com
85ceb4d8bc Bug 41037: Fix my regression that was causing forms to submit twice! r=nisheeth (thanks pinkerton, nisheeth, and leger for the quick turnaround!)
git-svn-id: svn://10.0.0.236/trunk@71133 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:24:48 +00:00
rods%netscape.com
e0fe88ca49 Moved the localization methods to the helper class
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@70981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 02:27:47 +00:00
mjudge%netscape.com
b923a0809c left in bad reference
git-svn-id: svn://10.0.0.236/trunk@70039 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:02:36 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
rods%netscape.com
a54cc52332 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:51:35 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +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
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +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
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
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
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
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
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
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
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
evaughan%netscape.com
03c87d94d3 Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod
git-svn-id: svn://10.0.0.236/trunk@58111 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:29:22 +00:00
rods%netscape.com
1fb25c0353 Added unconstrainted reflow optimizations
r=kmcclusk bug=12653


git-svn-id: svn://10.0.0.236/trunk@57227 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 02:07:00 +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
ce79793545 compile sunder windows and not Linux, wierd
git-svn-id: svn://10.0.0.236/trunk@56849 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 15:58:07 +00:00
rods%netscape.com
462e26d6a5 Added unconstrainted reflow optimizations
r=kmcclusk bug=12653


git-svn-id: svn://10.0.0.236/trunk@56844 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 15:21:02 +00:00
rods%netscape.com
a7d3631f72 now trims white space and makes sure the text is two spaces if empty
r=kmcclusk b=none


git-svn-id: svn://10.0.0.236/trunk@55384 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:48:37 +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
rods%netscape.com
a904db796a added back in the code that hook it up to the form for submission
r=kmcclusk bug 19546


git-svn-id: svn://10.0.0.236/trunk@54435 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:37:34 +00:00
rods%netscape.com
17d3e898d7 when there is no value it gets the text for the butto from the egernated content
in all cases (not just when it is a submit or reset) r=kmcclusk bug 19607


git-svn-id: svn://10.0.0.236/trunk@54426 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 20:59:49 +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
94accb2fc7 fixed two warning r=me
git-svn-id: svn://10.0.0.236/trunk@54280 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 14:16:59 +00:00
rods%netscape.com
14ecc50063 Added NavQuirks sizing for input button
git-svn-id: svn://10.0.0.236/trunk@54176 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 22:04:53 +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
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
e6f28ca7ba Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50142 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:07:38 +00:00
kmcclusk%netscape.com
935de9c7ef Removed nsGfxButtonControlFrame's MouseClick method. It uses it's base classes (nsHTMLButtonControlFrame)
MouseClick instead. Reworked nsHTMLButton::MouseClick factoring out code to get Reset and Submit button
types so MouseClick can be re-used by the nsGfxButtonControlFrame.
Fix for bug 13462. Set the nsHTMLButtonControlFrame's mForm in the initial reflow.


git-svn-id: svn://10.0.0.236/trunk@47161 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 20:40:59 +00:00
rods%netscape.com
1c8a506178 Changed the way the button calculates it's size with respect to suggested size.
I factored out the part where border and padding is added in so it can be overridden.


git-svn-id: svn://10.0.0.236/trunk@45337 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:03:38 +00:00
rods%netscape.com
8aa3f445f1 The button was being sized wrong, so the computed border padding needed to be removed beforehand and then is added back in later by layout
git-svn-id: svn://10.0.0.236/trunk@43593 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:00:09 +00:00
kmcclusk%netscape.com
be14e9d88a Fix for bug #11717. Check in Ok'ed by cyeh@netscape.com
Don't do the super class'es IsSuccessful because it always returns PR_FALSE
because the (this) pointer is not equal to the submitter.


git-svn-id: svn://10.0.0.236/trunk@43258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:06:09 +00:00
kmcclusk%netscape.com
9e4c341c69 Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.


git-svn-id: svn://10.0.0.236/trunk@42998 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:57 +00:00
pierre%netscape.com
36f4cf1552 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@42405 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:13:07 +00:00