60 Commits

Author SHA1 Message Date
rods%netscape.com
ada4c1334d Fix frame going away during submit
Bug 70572 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89498 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 13:33:59 +00:00
rods%netscape.com
77b173f072 factoring of code for Submit/Reset in control frames
Bug 65747 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87745 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:01:08 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
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
44f7461592 removing unneeded/unused code/methods
r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83144 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:39:28 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jdunn%netscape.com
6eeb15a270 fixing hpux bustage
r=vidur@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76987 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:57:00 +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
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
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
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
akkana%netscape.com
2bffc574a8 28598: map \r and \r\n to \n in form textarea submissions
git-svn-id: svn://10.0.0.236/trunk@64633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:49:59 +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
ddbfa3ac95 made sure "average" was initialized to zero
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254


git-svn-id: svn://10.0.0.236/trunk@63399 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:15:25 +00:00
pierre%netscape.com
1d2c2e416f Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
buster%netscape.com
c926a28d67 enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods


git-svn-id: svn://10.0.0.236/trunk@60681 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 02:03:36 +00:00
evaughan%netscape.com
a9aadf75b0 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose


git-svn-id: svn://10.0.0.236/trunk@60336 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 21:36:28 +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
rods%netscape.com
429b131377 changed signature of GetFont,GetFrameFontFM b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58596 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:04 +00:00
rods%netscape.com
6a13d9018d not using scaled pixels to twips
b=21293 r=dcone


git-svn-id: svn://10.0.0.236/trunk@55877 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 23:59:27 +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
a6d7ccf209 removed return variable that wasn't used and its warning r=self
git-svn-id: svn://10.0.0.236/trunk@54282 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 14:21:03 +00:00
rods%netscape.com
3593d7e84c Added NavQuirks sizing for buttons and hidden
git-svn-id: svn://10.0.0.236/trunk@54175 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 22:03:35 +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
dcone%netscape.com
73c37400ce Added a clip for the borders and fixed how they are rendered. r=karnaze
bugs:10311,8737,14566


git-svn-id: svn://10.0.0.236/trunk@51847 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:34:17 +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
f690c63c37 Changed the parameter of the CalcNavQuirksSize to take the input spec instead of the length
not it properly calculates the number of cols and rows when in NavQuiks mode
r=kmcclusk, part of bug 7461


git-svn-id: svn://10.0.0.236/trunk@51498 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 03:14:03 +00:00
rods%netscape.com
959963c9b8 fixed several warning and fixed setting the wrap property enum to off r=kmcclusk, bug 16770
git-svn-id: svn://10.0.0.236/trunk@51163 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 19:58:07 +00:00
rods%netscape.com
94117fe06b Added methods for getting a frame's current font and
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285


git-svn-id: svn://10.0.0.236/trunk@51128 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 11:58:50 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
rods%netscape.com
1d03e9205f Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
It also measures W & w for the the chars width in NavQuirks mode to get more accurate measurement of the width and height


git-svn-id: svn://10.0.0.236/trunk@49425 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:34:32 +00:00
buster%netscape.com
d19957fe42 just a comment about a possible bug I saw going through this code
git-svn-id: svn://10.0.0.236/trunk@45726 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:47:20 +00:00
mscott%netscape.com
31f0fb1257 check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
and password dialogs


git-svn-id: svn://10.0.0.236/trunk@45428 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:11:17 +00:00
rods%netscape.com
02ad25efb5 removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst
git-svn-id: svn://10.0.0.236/trunk@45336 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 12:59:09 +00:00
kmcclusk%netscape.com
64227a6ec4 Removed compiler warning in nsFormControlHelper::PaintCircularBackground
git-svn-id: svn://10.0.0.236/trunk@45208 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:29:11 +00:00
rods%netscape.com
be8a1131e1 Changed parameters from width and height to a nsRect
git-svn-id: svn://10.0.0.236/trunk@44836 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:31:54 +00:00
kmcclusk%netscape.com
d08711ed3a nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.


git-svn-id: svn://10.0.0.236/trunk@40339 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:32:41 +00:00
buster%netscape.com
cf0489fb83 added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame


git-svn-id: svn://10.0.0.236/trunk@35041 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:29:54 +00:00
evaughan%netscape.com
e56eb59472 Fixed xul boxes to implement nsIBox interface.
git-svn-id: svn://10.0.0.236/trunk@30900 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 21:46:24 +00:00
karnaze%netscape.com
a3062ab79f fixed potential divide by 0
git-svn-id: svn://10.0.0.236/trunk@29876 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:50:42 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
evaughan%netscape.com
0615e95ff7 1) Implemented regular button and html4 button with a button renderer.
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.


git-svn-id: svn://10.0.0.236/trunk@23070 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 19:43:13 +00:00
kipp%netscape.com
e24dd0c2bf Removed dead include
git-svn-id: svn://10.0.0.236/trunk@22900 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:23:09 +00:00
kipp%netscape.com
b4d19704fd use new nsHTMLReflowState ctors
git-svn-id: svn://10.0.0.236/trunk@22833 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:19:09 +00:00
karnaze%netscape.com
3955f8e7f3 better sizing of form controls, especially percentage based sizes and max element sizes
git-svn-id: svn://10.0.0.236/trunk@21570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:48:01 +00:00
kmcclusk%netscape.com
e999bd483b Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.


git-svn-id: svn://10.0.0.236/trunk@21055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:13:39 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00