361 Commits

Author SHA1 Message Date
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
rods%netscape.com
11932984ae Selection now works with multiple selects
Bug 64165 r=jkeiser sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119181 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:09:54 +00:00
rods%netscape.com
e1f791f3b4 Backed out the one line that causes this to happen
64165 r=jkeiser sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118981 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:39:00 +00:00
rods%netscape.com
926073cd03 Click on the checkbox to get focus to the right spot and then press <tab> to
move between the listboxes.
Bug 64165 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118690 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:53:20 +00:00
rods%netscape.com
22707ac421 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118247 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 13:27:04 +00:00
jkeiser%netscape.com
713188f737 Make listboxes not select the nearest visible option when tabbing out (bug 132431). r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@118207 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 04:34:02 +00:00
aaronl%netscape.com
0dce206ee4 Bug 112978. HTML select options need to generate Accessibility API focus events, so screen readers can track user's movements through options. r=jgaunt, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@118164 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 23:27:45 +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
rods%netscape.com
56914b135e Add SetVisibility method to Scroll Views
It now checks the visibility and adjusts the scrollbars accordingly
Bug 92333 r=kmcclusk sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117562 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:58:56 +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
feddc0624c Fix select focus crasher (bug 125906), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@116513 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 00:56:56 +00:00
mkaply%us.ibm.com
59a48483db #100186
r=jkeiser, sr=attinasi, a=asa
On OS/2 and Windows, handle F4 to roll up and down dropdowns


git-svn-id: svn://10.0.0.236/trunk@116153 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 15:49:30 +00:00
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +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
roc+%cs.cmu.edu
d392c57939 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:26 +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
roc+%cs.cmu.edu
f52124fa77 Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson
git-svn-id: svn://10.0.0.236/trunk@112991 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:56:23 +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
bryner%netscape.com
ecf9539ee3 Bug 120189 - fix selection crash with xbl select widget. Move content node updating to the XBL event handlers. r=varga, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@112605 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:22:33 +00:00
jkeiser%iname.com
a16ac6d4e6 Improved CTRL+mouse/keyboard selection (bug 40983). r=rods, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111789 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 04:23:13 +00:00
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jgaunt%netscape.com
cbd0bb9ec7 bug 102021, xul menulist accessibility support for aaronl
r=jgaunt, sr=hyatt
bug 109227, xul tabbox accessibility support
r=aaronl, sr=hewitt
bug 110800, improper event firing in selects
r=dcone, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110598 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 01:21:29 +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
jst%netscape.com
877bbb966f Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109821 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 06:57:03 +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
smontagu%netscape.com
9d803d9084 Recheckin of fix to bug 104792, which was killed by checkin on bug 104874. r=rods, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107930 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-12 22:31:32 +00:00
dbaron%fas.harvard.edu
7a3e6639d5 Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard
git-svn-id: svn://10.0.0.236/trunk@107855 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:30:13 +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
mkaply%us.ibm.com
f6af291238 #104874
r=rods, sr=watersin
Patch from simon montagu - cleanup combobox code in Bidi case


git-svn-id: svn://10.0.0.236/trunk@106828 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 14:49:15 +00:00
mkaply%us.ibm.com
e954f26d24 #104792
r=rods, sr==attinasi
patch from simon montagu - hebrew comboboxes go haywire


git-svn-id: svn://10.0.0.236/trunk@106815 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 05:17:34 +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
alecf%netscape.com
c96e504eb3 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@106366 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 17:18:35 +00:00
dbaron%fas.harvard.edu
8b3489a026 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +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
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