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
jgaunt%netscape.com
92c01c45b6
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
rods%netscape.com
552bad8ac0
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
git-svn-id: svn://10.0.0.236/trunk@101247 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 00:43:22 +00:00
cls%seawood.org
3b8b92a2e8
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
git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
jgaunt%netscape.com
19bef9fbc4
bug 90182 fixing accessible support for html selects
...
r=aaronl@netscape.com
sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99670 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 22:17:31 +00:00
dbaron%fas.harvard.edu
9359000a40
Header include dependency cleanup. b=64023 r=jag rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
dcone%netscape.com
9be70be0c4
b=88343 r=peterl sr=karnaze Fix a crash when the user goes back to a page with a listbox.
...
git-svn-id: svn://10.0.0.236/trunk@99204 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 19:51:59 +00:00
jgaunt%netscape.com
ec95db79a7
bug 88509 - moving of a GetFrameType and layoutAtom from ifdef bidi land.
...
r=dbaron sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@99018 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 23:57:28 +00:00
jgaunt%netscape.com
99f7be2721
bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
...
r= lots, see bug
git-svn-id: svn://10.0.0.236/trunk@98337 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 00:25:09 +00:00
pollmann%netscape.com
6adcc90ce6
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)
...
git-svn-id: svn://10.0.0.236/trunk@97752 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 04:36:02 +00:00
mkaply%us.ibm.com
9cbe7a2bb0
remove inline keyword to fix SunOS bustage - note sent to rods
...
git-svn-id: svn://10.0.0.236/trunk@96684 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 04:24:48 +00:00
rods%netscape.com
36b13cb2ba
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
git-svn-id: svn://10.0.0.236/trunk@96675 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:34:09 +00:00
rods%netscape.com
a9647e7a37
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
git-svn-id: svn://10.0.0.236/trunk@96524 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 10:47:33 +00:00
rods%netscape.com
4c97242f51
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
git-svn-id: svn://10.0.0.236/trunk@96523 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 10:41:17 +00:00
rods%netscape.com
0424b9387c
Fixed up reload to it will correctly reflow to w/h of zero
...
Bug 58220 r=kmcclusk sr=attinasi a=dbaron
git-svn-id: svn://10.0.0.236/trunk@96435 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 18:09:13 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
pollmann%netscape.com
161f586d22
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)
...
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
joki%netscape.com
45a55be926
Fix for 80746, fix smoketest blocker by backing out 61336 fix. r:harishd
...
git-svn-id: svn://10.0.0.236/trunk@94892 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 18:54:06 +00:00
joki%netscape.com
3a374455ca
Fix 61336, call onchange event for changes made by scripts. sr:jst, r:pollmann
...
git-svn-id: svn://10.0.0.236/trunk@94841 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 01:57:33 +00:00
jst%netscape.com
43eee52859
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.
...
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
hyatt%netscape.com
c8d276a8e2
Fix for 77859. r=danm, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@93372 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 03:48:38 +00:00
hyatt%netscape.com
c51a96b825
Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
...
git-svn-id: svn://10.0.0.236/trunk@93083 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 19:52:49 +00:00
pollmann%netscape.com
25950ae574
Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, r=nisheeth@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@92992 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 08:33:57 +00:00
rods%netscape.com
2328a96abb
Fixed the Onchange event, so it fires at the correct time.
...
Bug 62753 r=pollmann sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91745 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 12:08:40 +00:00
timeless%mac.com
534247895d
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
rods%netscape.com
4390601f54
fixed move mouse over selected item in dropdown, it will no longer hilite disabled items
...
Bug 72226 r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89900 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 11:48:27 +00:00
erik%netscape.com
44e2c24154
bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
...
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now
git-svn-id: svn://10.0.0.236/trunk@89836 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:20:21 +00:00
rods%netscape.com
793e57b78c
Display frame reflow counts (turned via config file define)
...
Bug 71514 r=kmclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89416 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:47:22 +00:00
rods%netscape.com
80fcf7044d
change PRBool to PRPackedBool
...
Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89067 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:21:51 +00:00
rods%netscape.com
218fd5f9d0
Skipp disabled items when pressing first letter
...
Bug 57580 r=kmcclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@88890 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:29:21 +00:00
dbaron%fas.harvard.edu
53583a3df9
Fix smoketest blocker bug 70683 by making some changes blake missed with his fix for bug 60703. r=mao sr=alecf a=kysmith
...
git-svn-id: svn://10.0.0.236/trunk@88406 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 18:39:22 +00:00
rods%netscape.com
ba2e2347f8
Now only doing 1 reflow for each reflow request in the ListControlFrame
...
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87751 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:45:45 +00:00
pollmann%netscape.com
07a6277aa1
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
...
git-svn-id: svn://10.0.0.236/trunk@86279 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:59:59 +00:00
rods%netscape.com
5301e853f6
makes optgroups so they you can't click on them and it fixes the focus issue.
...
Bug 63006 r=kmcclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@86003 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 22:45:32 +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
f559e7aea6
changed add ref to from NS_ADDREF to NS_IF_ADDREF
...
Bug 63329, r=kmcclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@84566 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 14:06: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
rods%netscape.com
2d35ca6701
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
git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:25:40 +00:00
rods%netscape.com
857e0d4343
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
git-svn-id: svn://10.0.0.236/trunk@83901 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:15:28 +00:00
rods%netscape.com
7e2f11196a
Removed unneded setting of index to kNothingSelected when an disabled option is selected
...
r=blake, sr=buster Bug 57580
git-svn-id: svn://10.0.0.236/trunk@83798 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:36:01 +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
waqar%netscape.com
0dc40a6753
#=53502
...
r=rods@netscape.com
a=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.
git-svn-id: svn://10.0.0.236/trunk@81018 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:20:02 +00:00
heikki%netscape.com
82a70c8b59
Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
...
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
pollmann%netscape.com
f972f867ca
Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78494 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:53:28 +00:00
rods%netscape.com
5a82f60381
KeyPress events now let <ctrl<,<slt>,<meta> continue on through, which stopped commonads keys from working
...
Fixed a couple of off by one errors
Fixed multiple selection with shift key
Fixed focus stealing problem (ifdef'ed out code that was put in to specifically fix this problem)
Fixed div by zero
b=50024,50442,48903
git-svn-id: svn://10.0.0.236/trunk@77475 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 13:24:38 +00:00
rods%netscape.com
034398419f
Added a lot of asserts to help debug any potential problems, check for nullcontent
...
moved up to GetPrimaryFrameFor doesn't get called with a null content
b=49993 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@77201 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 13:12:59 +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
rods%netscape.com
652bee7703
listbox - selecting with keyboard no longer allows you to stop on a disabled option, it skips them
...
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@76583 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:38:15 +00:00