Commit Graph

220 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
877964fad0 #104792
r=rods, sr==attinasi
patch from simon montagu - hebrew comboboxes go haywire
2001-10-31 05:17:34 +00:00
karnaze%netscape.com
e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
alecf%netscape.com
6ae8a9bee0 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc 2001-10-26 17:18:35 +00:00
dbaron%fas.harvard.edu
157c017816 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
2001-10-25 01:08:40 +00:00
jaggernaut%netscape.com
ca6197295f 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 2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze%netscape.com
e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
dbaron%fas.harvard.edu
be938a64b6 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5434e861aa Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com
9e2f57a942 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
bryner%netscape.com
422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
9f2f88aa48 fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
rods%netscape.com
176cd14aba The update listener is not being ref counted correctly and then deleted instead of released ( Bug 92434)
The method SetOptionSelected didn't check to see if there was an update timer so it could do the processing there instead.
Bug 91434 & 92458 r=dcone sr=attinasi
2001-08-17 00:42:50 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
jgaunt%netscape.com
52a631c3bc bug 90182 fixing accessible support for html selects
r=aaronl@netscape.com
sr=waterson@netscape.com
2001-07-20 22:17:31 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dcone%netscape.com
ed1efd202b b=88343 r=peterl sr=karnaze Fix a crash when the user goes back to a page with a listbox. 2001-07-13 19:51:59 +00:00
jgaunt%netscape.com
4cb288e084 bug 88509 - moving of a GetFrameType and layoutAtom from ifdef bidi land.
r=dbaron sr=sfraser
2001-07-10 23:57:28 +00:00
jgaunt%netscape.com
07868cf706 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug
2001-06-30 00:25:09 +00:00
pollmann%netscape.com
1c9c3c567f Bug 84499: Only trim whitespace from an options when falling back to the text content of the option for the value. This makes us compatabile with IE and Nav 4.x. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard) 2001-06-22 04:36:02 +00:00
mkaply%us.ibm.com
946d0ece89 remove inline keyword to fix SunOS bustage - note sent to rods 2001-06-08 04:24:48 +00:00
rods%netscape.com
c20f157140 Major rework of how items are added, removed and selected (while being added and removed) with script
Now all the changes are performed, but no reflows are issued until the timer fires, which would be
after the script is done executing. The selection that take place during the script execution are
also cached and done afterward.
Bug 53165 r=pollmann sr=attinasi a=asa
2001-06-08 02:34:09 +00:00
rods%netscape.com
1b4c6f1a94 When script sets the index when multiple it needs to deselect all the items and then set the new index
Bug 77039 r=kmcclusk sr=attinasi a=dbaron
2001-06-06 10:47:33 +00:00
rods%netscape.com
9e16855ea0 The selectedindex is now getting set to -1 when there are no more items selected and it
is sending onchange events by clearing the mOldSelectedIndex.
Bug 68135 r=kmcclusk sr=attinasi a=dbaron
2001-06-06 10:41:17 +00:00
rods%netscape.com
1879e17fa4 Fixed up reload to it will correctly reflow to w/h of zero
Bug 58220 r=kmcclusk sr=attinasi a=dbaron
2001-06-05 18:09:13 +00:00
hyatt%netscape.com
b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
pollmann%netscape.com
1ac7a3715e Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org) 2001-05-30 11:26:21 +00:00
joki%netscape.com
4984fc106b Fix for 80746, fix smoketest blocker by backing out 61336 fix. r:harishd 2001-05-14 18:54:06 +00:00
joki%netscape.com
8244142e1c Fix 61336, call onchange event for changes made by scripts. sr:jst, r:pollmann 2001-05-14 01:57:33 +00:00
jst%netscape.com
ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
hyatt%netscape.com
b03223f5de Fix for 77859. r=danm, sr=waterson 2001-04-28 03:48:38 +00:00
hyatt%netscape.com
8130400b54 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
pollmann%netscape.com
4e9082cbdf Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-24 08:33:57 +00:00
rods%netscape.com
e3a5513f79 Fixed the Onchange event, so it fires at the correct time.
Bug 62753 r=pollmann sr=attinasi
2001-04-09 12:08:40 +00:00
timeless%mac.com
e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
rods%netscape.com
f14a83706d fixed move mouse over selected item in dropdown, it will no longer hilite disabled items
Bug 72226 r=waterson sr=attinasi
2001-03-20 11:48:27 +00:00
erik%netscape.com
ab236e2b14 bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now
2001-03-19 23:20:21 +00:00
rods%netscape.com
f225ff8a67 Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
rods%netscape.com
912135fd26 change PRBool to PRPackedBool
Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi
2001-03-09 03:21:51 +00:00
rods%netscape.com
84c77eb49d Skipp disabled items when pressing first letter
Bug 57580 r=kmcclusk sr=buster
2001-03-08 02:29:21 +00:00
dbaron%fas.harvard.edu
0e28b23cc1 Fix smoketest blocker bug 70683 by making some changes blake missed with his fix for bug 60703. r=mao sr=alecf a=kysmith 2001-03-02 18:39:22 +00:00
rods%netscape.com
9543ff0534 Now only doing 1 reflow for each reflow request in the ListControlFrame
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi
2001-02-23 01:45:45 +00:00
pollmann%netscape.com
c9046692ff Bug 62713: Only save form input values in SH if changed plus cleanups (error handling, NS_LITERAL_STRING), r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 01:59:59 +00:00
rods%netscape.com
d1fc884b89 makes optgroups so they you can't click on them and it fixes the focus issue.
Bug 63006 r=kmcclusk sr=buster
2001-02-01 22:45:32 +00:00
rods%netscape.com
99666eed8c 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
2001-01-27 14:09:34 +00:00
rods%netscape.com
4f312bc255 changed add ref to from NS_ADDREF to NS_IF_ADDREF
Bug 63329, r=kmcclusk sr=buster
2001-01-08 14:06:34 +00:00
rods%netscape.com
edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
rods%netscape.com
706bdfa5fd When clicking away from the dropdown, it wasn't resetting itself correctly.
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt
2000-12-20 23:25:40 +00:00
rods%netscape.com
2ab9b3a14d 53259 - min-width and max-width not supported on form control
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes

First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster
2000-12-20 15:15:28 +00:00
rods%netscape.com
6db44af9f6 Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580
2000-12-18 21:36:01 +00:00