384 Commits

Author SHA1 Message Date
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
bzbarsky%mit.edu
281d89498a clean up some form control stuff (use common helpers and superclasses
for shared functionality where possible).  r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@126548 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:50:08 +00:00
jkeiser%netscape.com
b5ecb6dda7 Make select clear when last option is removed from it (bug 154410), r=bzbarsky@mit.edu, sr=dbaron@fas.harvard.edu, a=asa
git-svn-id: svn://10.0.0.236/trunk@125421 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 00:58:31 +00:00
jkeiser%netscape.com
cf0eaecfb1 Make enter fire onChange for non-dropped-down select. bug 150759, r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123308 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 06:50:22 +00:00
jkeiser%netscape.com
0c2a8f4e96 Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122617 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:44:04 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
rods%netscape.com
42e0661834 temporary patch to the forms controls to ignore mouse events when in
printpreview until Bug 124990 gets fixed (radio and checkbox doesn't need the fix)
this code will be removed via bug 146399
Bug 129002 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@122071 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 11:25:58 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
waterson%netscape.com
5bae3657e6 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
jkeiser%netscape.com
7ec2a482fd Make dropdowns paint over the background beneath them (bug 95826). r=jkeiser@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@118206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 04:29:05 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
jkeiser%netscape.com
f217d9c22f Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117791 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
317b99e5a5 Backing out 108308 due to pageload spike
git-svn-id: svn://10.0.0.236/trunk@117722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
55481f5be5 Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@117716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 05:35:47 +00:00
dbaron%fas.harvard.edu
4d91361814 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
jkeiser%netscape.com
7becb2bb13 Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115061 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:59:46 +00:00
aaronl%netscape.com
1a47678bfb Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114634 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:35:09 +00:00
rods%netscape.com
745a4ea21f Override if the computed size is zero
Bug 121461 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114284 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:24:37 +00:00
rods%netscape.com
5a09a37f4c Clip was being incorrectly set set as Replace instead of Intersect
Bug 84138 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114277 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 13:35:59 +00:00
jkeiser%netscape.com
b15f0f5201 bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114043 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 18:35:48 +00:00
jkeiser%netscape.com
aaa7dec32b Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin
git-svn-id: svn://10.0.0.236/trunk@112903 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 23:35:44 +00:00
jkeiser%netscape.com
07cd518c43 Backing out bug 112241 changes, tree is closed, sorry
git-svn-id: svn://10.0.0.236/trunk@112873 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 19:54:55 +00:00
jkeiser%netscape.com
4b4b5ee0ba Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin
git-svn-id: svn://10.0.0.236/trunk@112867 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 19:08:03 +00:00
dbaron%fas.harvard.edu
307538c3e3 Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111960 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:10:46 +00:00
bzbarsky%mit.edu
380edd4af3 Change more instances of NS_ConvertASCIItoUCS2 to NS_LITERAL_STRING.
Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@111953 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:39:51 +00:00
dbaron%fas.harvard.edu
8897c8f5b7 Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd
git-svn-id: svn://10.0.0.236/trunk@111718 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:17:46 +00:00
brade%netscape.com
65dbc8c4a4 remove unused const kMozDropdownActive saving 25 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111695 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:40:44 +00:00
bernd.mielke%snafu.de
779d00d083 add form frames to debug reflow bug 115096 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111500 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 19:55:56 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
karnaze%netscape.com
d8577654db bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
karnaze%netscape.com
65fe290a5b bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
jkeiser%iname.com
ecfc39a688 Null-safety checks (bug 108808). r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107825 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 07:45:15 +00:00
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
dbaron%fas.harvard.edu
9b135c4afe Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
aaronl%netscape.com
a02d72b41b Bug 57192. Alt+Down for combo boxes in HTML. r=rods, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105547 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:00:12 +00:00
rods%netscape.com
8ad4f8da8a When a resize happens and one of the dimensions are constrained and it already has been reflowed we need to remove the padding & borders
or they keep getting added in.
Bug 101936 r=kmmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105446 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:32:14 +00:00
dbaron%fas.harvard.edu
f19aafd138 Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104391 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:10:56 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
waterson%netscape.com
43c613727c Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
dbaron%fas.harvard.edu
9a632e0396 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
git-svn-id: svn://10.0.0.236/trunk@102072 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5f0d92745b Backing out unapproved checkin for bug 97227. a=brendan,blizzard
git-svn-id: svn://10.0.0.236/trunk@102064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
3d787fbce9 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
git-svn-id: svn://10.0.0.236/trunk@102039 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 21:47:45 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00