435 Commits

Author SHA1 Message Date
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
rods%netscape.com
690d980baf was not unregistering the listers correctly. Not they unreg with the
listener object.
b=48915 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76300 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:05:28 +00:00
rods%netscape.com
1562d3aab9 added weak reference and ref counted event listener to listbox intead of
having the the non-recounted frame add itself. It is now the same as GfxList
b=21629, r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76280 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 14:42:12 +00:00
sfraser%netscape.com
607439019b More bustage fixing with style struct return types.
git-svn-id: svn://10.0.0.236/trunk@75838 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:52:02 +00:00
sfraser%netscape.com
7726da891c Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
git-svn-id: svn://10.0.0.236/trunk@75830 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:38:00 +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
46e78ab3ba 40000 - right-click events don't go through listboxes (onmoused
44454 - Can't drag-scroll/-select in single-select HTML listbox
42301 - select generates onchange when it shouldn't
33421 - <optgroup> in <select> breaks scrolling drop down lists
14771 - GFX list/combo box doesn't respond to keyboard input
b=40000, 44454, 42301, 33421, 14771 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75494 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:58 +00:00
rods%netscape.com
aa114453e4 If the click is not on on item in the dropdown and not in the comboxbox display area then
the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@73804 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 01:35:23 +00:00
rods%netscape.com
1a499e2d1a ifdef'ing out the where we get the value of the label
currently we aren't supporting "label" for options because they get
concatentated with the content
b=4050 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72306 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:00:23 +00:00
rods%netscape.com
0a4ad0ede1 no longer subtracting off scrollbar width when mComputedSize is set
b=36548, r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@71385 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:59:57 +00:00
rods%netscape.com
6a0b888642 set the clickCoubt appropriately on MouseUp so onclicks are sent or disabled correctly
b=40382 , r=joki


git-svn-id: svn://10.0.0.236/trunk@70966 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:31:25 +00:00
rods%netscape.com
f9ea52ae06 Preventing event from bubbling, capture and default causes a mismatch in mousecapture
and this causes the lock. After a lot of testing it appears that the original reason
this was needed is no longer there.
Bug 38422 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@70611 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:35:00 +00:00
joki%netscape.com
22b991b909 fix for bug 15189 along with an annoying assert that just started. r: rods
git-svn-id: svn://10.0.0.236/trunk@70105 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:58:37 +00:00
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
rods%netscape.com
d00b5c06e3 temporary fix for 38825, the frame gets notified that an option has been added
before it is actually added into the content model, so the selection cache and the
content model can be of by 1


git-svn-id: svn://10.0.0.236/trunk@69210 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:05:44 +00:00
rods%netscape.com
76a13d70a5 get char code instead of key code
bug 34630


git-svn-id: svn://10.0.0.236/trunk@68727 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:18:38 +00:00
rods%netscape.com
19a9f37fef The press event always delivers the key as lowercase where key down gives you the key that was pressed
need to change str to lowercase instead of uppercase
b=34630


git-svn-id: svn://10.0.0.236/trunk@68434 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:51:56 +00:00
rods%netscape.com
65b1861334 bryner's fix for key repeat (thanks a lot)
need to make press event not bubble
b=38072, r=rods


git-svn-id: svn://10.0.0.236/trunk@68150 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:01:47 +00:00
dbaron%fas.harvard.edu
8c144a4475 Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67703 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 04:00:38 +00:00
rods%netscape.com
a59a1ace9c add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
has just been disabled


git-svn-id: svn://10.0.0.236/trunk@67580 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:24:59 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
rods%netscape.com
eca0eab156 Add ifdef'ed Performance Reflow Counting code
also added asserts for improper sizes being passed back in reflow
send onChange events on all navigation bug 29440


git-svn-id: svn://10.0.0.236/trunk@66772 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:16:23 +00:00
rods%netscape.com
f6659ace4f change char detection to use unichar and upper case so now pressing 't' or 'T'
gets you the first item that begin with 't' ot 'T'
Bug 34630


git-svn-id: svn://10.0.0.236/trunk@66450 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 14:57:44 +00:00
rods%netscape.com
bbcb0f397d Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515


git-svn-id: svn://10.0.0.236/trunk@66446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 13:55:17 +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
rods%netscape.com
9a12fbc335 Few warning cleanups
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144


git-svn-id: svn://10.0.0.236/trunk@64375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 15:11:16 +00:00