jst%netscape.com
d9e3afb71d
Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com
2001-12-06 06:57:03 +00:00
roc+%cs.cmu.edu
c88233916b
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
c26c9711f3
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
karnaze%netscape.com
436e1ac49e
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
smontagu%netscape.com
0f589ca7c4
Recheckin of fix to bug 104792, which was killed by checkin on bug 104874. r=rods, sr=attinasi
2001-11-12 22:31:32 +00:00
dbaron%fas.harvard.edu
0c93d110f3
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
2001-11-10 23:30:13 +00:00
jkeiser%iname.com
46b6f9ea78
Null-safety checks (bug 108808). r=rods@netscape.com, sr=kin@netscape.com
2001-11-10 07:45:15 +00:00
jst%netscape.com
6d64ded4f2
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
2001-11-02 07:40:01 +00:00
mkaply%us.ibm.com
9c301478f8
#104874
...
r=rods, sr=watersin
Patch from simon montagu - cleanup combobox code in Bidi case
2001-10-31 14:49:15 +00:00
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
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
waqar%netscape.com
290cc55645
#=53502
...
r=rods@netscape.com
a=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.
2000-10-12 14:20:02 +00:00
heikki%netscape.com
c3c301798c
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.
2000-09-19 21:47:04 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
pollmann%netscape.com
27c144a3b2
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
2000-09-08 05:53:28 +00:00
rods%netscape.com
104a4c2a53
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
2000-08-29 13:24:38 +00:00
rods%netscape.com
18d89a1b76
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
2000-08-25 13:12:59 +00:00
jst%netscape.com
9abec73fbe
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
2000-08-23 17:27:06 +00:00
rods%netscape.com
ae00b95484
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
2000-08-17 21:38:15 +00:00
rods%netscape.com
a54f17cc75
was not unregistering the listers correctly. Not they unreg with the
...
listener object.
b=48915 r=kmcclusk
2000-08-14 22:05:28 +00:00
rods%netscape.com
ad07c40567
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
2000-08-14 14:42:12 +00:00
sfraser%netscape.com
725b321659
More bustage fixing with style struct return types.
2000-08-09 00:52:02 +00:00
sfraser%netscape.com
9aa82a567b
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.
2000-08-08 23:38:00 +00:00
pollmann%netscape.com
5ede1ee556
Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
2000-08-03 23:32:02 +00:00
rods%netscape.com
2ca4014e41
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
2000-08-03 14:13:58 +00:00
rods%netscape.com
1a04a12da1
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
2000-07-07 01:35:23 +00:00
rods%netscape.com
e76b426f27
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
2000-06-15 13:00:23 +00:00
rods%netscape.com
788c936bf0
no longer subtracting off scrollbar width when mComputedSize is set
...
b=36548, r=kmcclusk
2000-06-02 20:59:57 +00:00
rods%netscape.com
0189750b5f
set the clickCoubt appropriately on MouseUp so onclicks are sent or disabled correctly
...
b=40382 , r=joki
2000-05-26 23:31:25 +00:00
rods%netscape.com
ed680830a6
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
2000-05-22 21:35:00 +00:00
joki%netscape.com
c95cc22f27
fix for bug 15189 along with an annoying assert that just started. r: rods
2000-05-16 21:58:37 +00:00
joki%netscape.com
a743e2b38b
Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
2000-05-16 11:35:12 +00:00
rods%netscape.com
cec32fb86b
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
2000-05-11 14:05:44 +00:00
rods%netscape.com
c7f451afae
get char code instead of key code
...
bug 34630
2000-05-08 22:18:38 +00:00
rods%netscape.com
9d82e3076d
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
2000-05-05 21:51:56 +00:00
rods%netscape.com
91f520a217
bryner's fix for key repeat (thanks a lot)
...
need to make press event not bubble
b=38072, r=rods
2000-05-03 22:01:47 +00:00
dbaron%fas.harvard.edu
7e557b01bd
Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com
2000-05-01 04:00:38 +00:00
rods%netscape.com
e61ef4520c
add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
...
has just been disabled
2000-04-28 23:24:59 +00:00
joki%netscape.com
bbb0086bfe
fixes for 5995, 7304, 10573, 22832, and 9668.
...
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
rods%netscape.com
85c02c71ec
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
2000-04-21 22:16:23 +00:00
rods%netscape.com
1e83686bb3
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
2000-04-19 14:57:44 +00:00
rods%netscape.com
47329d0362
Not enabling creator's to be asked if they want to create a special frame for anonymous content
...
bug 33515
2000-04-19 13:55:17 +00:00
scc%netscape.com
b4caf7e667
making string conversions explicit
2000-04-16 11:19:26 +00:00
rods%netscape.com
6b8160b567
Few warning cleanups
...
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144
2000-03-28 15:11:16 +00:00
rods%netscape.com
52e409233a
now handling the incremental reflow better for options
...
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383
2000-03-21 15:22:53 +00:00
pollmann%netscape.com
9a2b70ea89
Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar
2000-03-20 23:43:07 +00:00
rods%netscape.com
6ec1624507
Added adaptive sizing for dropdown with small screen sizes
...
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk
2000-03-18 14:17:34 +00:00
pierre%netscape.com
4d43de09aa
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
2000-03-17 10:15:13 +00:00
rods%netscape.com
5abbfb9f48
factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
...
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463
2000-03-15 15:55:30 +00:00
dveditz%netscape.com
83793623b9
fixing VC5 build (bug 31868)
2000-03-15 06:22:09 +00:00
rods%netscape.com
92ca580100
Fixed Combobox and ListBox frame to be more effecient in processing reflows
...
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar
2000-03-07 15:54:31 +00:00
rods%netscape.com
566edd34e3
Backout plan, this check only fixes bug 28628
...
a=jar
2000-03-03 07:14:58 +00:00
rods%netscape.com
3aecf61eed
modified the reflow method for better handling incremental and for optimization
...
b=28593, r=buster,kmclusk a=jar
2000-03-03 04:28:59 +00:00
pollmann%netscape.com
2ed06994e0
Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
2000-02-24 00:08:00 +00:00
rods%netscape.com
0d70f918f6
ifdef'ing out a badly formed optimization for incremental reflow.
...
r=buster b=24798
2000-02-16 05:20:21 +00:00
rods%netscape.com
1acec82129
They now cache their state properly in the PresState
...
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
rods%netscape.com
bde09e7c9b
Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms....
2000-02-12 17:49:11 +00:00
rods%netscape.com
72ea52428d
same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr
2000-02-12 17:01:35 +00:00
rods%netscape.com
0835a549dd
now remembers state when selected for single select combos and listboxes,
...
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann
2000-02-12 16:21:37 +00:00
rods%netscape.com
1539b1b9c3
removing unneeded native frames and unneeded frame classes that these derived from
...
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
pp%ludusdesign.com
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
rods%netscape.com
6485e37aef
add extra debug; added some inremenal reflow code;
...
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292
2000-01-31 23:36:50 +00:00
leaf%mozilla.org
d1f2514b8d
backing out rods to fix options lists
2000-01-28 19:03:34 +00:00
rods%netscape.com
8dd52cec3d
added check so it doesn't do a reset on the incremental reflow
...
r=dcone bug=none
2000-01-28 15:04:19 +00:00
pollmann%netscape.com
47d773f8d9
Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods
2000-01-25 22:19:39 +00:00
nisheeth%netscape.com
9c6617b147
r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
2000-01-25 16:00:44 +00:00
rods%netscape.com
364d22bb8c
changed signature of GetFont b=905 r=dcone
2000-01-25 15:25:46 +00:00
beard%netscape.com
7226bc7257
floating views. bug=21966, r=troy, rods, a=brendan
2000-01-25 01:53:34 +00:00
pierre%netscape.com
bf96114107
Backing out one line from the previous checkin in order to fix #24344 ("Crash when displaying a list box").
2000-01-19 12:27:40 +00:00
rods%netscape.com
13cafca25a
Initial shift click will now work correctly for mulitple with selected items
...
it now will scroll to the selected items on start up
b 24178,7025 r=kmcclusk
2000-01-18 23:33:22 +00:00
hyatt%netscape.com
e740cdb714
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
brade%netscape.com
04d15b9381
use proper key for disconguous selection on Mac (r=jfrancis)
2000-01-13 16:01:04 +00:00
rods%netscape.com
fbaf63ee29
Listbox was handle clicks in the combobox incorrectly and this caused the
...
dropdown to rollup too soon.
b=23484 r=kmcclusk
2000-01-11 20:36:37 +00:00
rods%netscape.com
2618ed4aaf
Added unconstrainted reflow optimizations
...
r=kmcclusk,dcone bug=12653
2000-01-09 01:41:11 +00:00
rods%netscape.com
de428bbd80
backed out all changes from today (1/5/2000)
2000-01-05 16:42:47 +00:00
rods%netscape.com
05e6af0c80
Added unconstrainted reflow optimizations
...
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653
2000-01-05 15:46:29 +00:00
sspitzer%netscape.com
f37e107774
fix warnings
1999-12-28 19:41:57 +00:00
rods%netscape.com
eeebdaf748
Fixed the edge case where the select may have zero options or one option
...
with no lable and no content and it sizes out to be zero high
also fixed twhere visibility wasbeing check incorrectly
r=kmcclusk
1999-12-22 19:49:36 +00:00
rods%netscape.com
d9a272f088
stripping out all the whitespace for form data submission
...
commented changing the visible directly
bug 21276, r=pollmann a=chofmann
1999-12-14 14:16:09 +00:00
hyatt%netscape.com
244bfeaee8
Massive rewrite of the focus/blur architecture. Things should behave better
...
now. r=saari
1999-12-08 04:54:29 +00:00
rods%netscape.com
525477239f
Always passing back that the frames are there, this still isn't right and needs to be
...
reworked again. But this will able some XUL selects to work that otherwise would be
broken and I haven't found it to cause any problems with a lot of testing. I have
regressed to this situation in the past and it worked OK.
r=kmcclusk, bug=none but hangas (or self) would have filed one by end of day.
1999-12-08 00:08:41 +00:00
rods%netscape.com
1788de88fc
removing unused variables (bloat) and using nsLayoutAtoms::optionSelectedPseudo instead of
...
using a string and creating and deleting it each time.
r=kmcclusk
1999-12-06 22:59:43 +00:00
rods%netscape.com
1fb0151a66
removed the substraction of the border and padding for fixed width
...
r=kmcclusk b 18448
1999-12-05 20:45:58 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
rods%netscape.com
6af28faed3
CheckIfAllFramesHere not actually check to see if all the frames are there
...
r=kmcclusk Bug 19949
1999-11-24 21:12:03 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
sfraser%netscape.com
0e4bf774a9
#ifdef out all the stupid printfs. r=pinkerton, no bug.
1999-11-23 03:26:56 +00:00
rods%netscape.com
7d764bab17
added bool parm to is DoneAddinContent r=dcone bug 18241
1999-11-19 15:46:20 +00:00
rods%netscape.com
854e72dc25
Added MakeSureSomethingIsSelected to the combobox so the ListBox can
...
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com
1bb3e4524f
Disabled key events when it is disabled
...
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com
1d9e5aa730
Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
...
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
rods%netscape.com
dfebb59b9d
Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
...
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
rods%netscape.com
f14dbd84fb
Fixes MLK 18207 - missing addref, r=beard
...
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk
1999-11-09 13:41:27 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
pollmann%netscape.com
210784fe9b
Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
1999-11-04 23:16:47 +00:00
rods%netscape.com
94cb5b1e6b
Commented out the reset of the list when an option gets added
...
Fixes crashers 17836, 17852, 17965 r=kmcclusk
1999-11-04 22:45:10 +00:00
joki%netscape.com
1675be15e0
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
1999-11-03 07:11:45 +00:00
rods%netscape.com
3f9ff89e9b
Add CountAllChild to count all the option and optgroup elements so lists
...
get sized correctly when no rows are specified
r=kmcclusk, bug=4050
1999-11-03 00:07:01 +00:00
pollmann%netscape.com
fa50777353
Removing null code. No bug number. r=nisheeth
1999-11-02 01:50:15 +00:00
rods%netscape.com
1d9434ba93
Check to see if the option being added has the "selected" property, if it
...
does then the list needs to be reinitialized.
r=dcone, bug #17519
1999-11-01 15:41:17 +00:00
rods%netscape.com
c36411b6ff
Listboxes now obey CSS specifed sizes
...
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com
23ceab24e7
changed the padding so it is adding in the correct left right instead of top bottom
...
r=kmcclusk, Bug #16936
1999-10-21 22:22:32 +00:00
rods%netscape.com
a00139db0c
added code to the destructor to make sure the list get rolled up.
...
r=kmcclusk bug 15912
1999-10-20 21:59:04 +00:00
rods%netscape.com
a1f10b043a
Removed old commented out code and unused comments. r=kmcclusk, (no bug)
1999-10-19 11:35:17 +00:00
kmcclusk%netscape.com
a62e21a089
Return the value of the option element value attribute if it is present otherwise return
...
the content of the option. bug #16158 . r=rods@netscape.com
1999-10-14 23:41:40 +00:00
pollmann%netscape.com
f7222cc9f3
Bug 15841: Don't default to selecting item 0 of a listbox
...
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:29 +00:00
rods%netscape.com
a7f80d034e
Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
...
r=kmcclusk
1999-10-07 21:39:50 +00:00
pavlov%netscape.com
f65d72dc11
ifdef out the call to CaptureMouse since it is no longer needed r=rods
1999-10-06 13:36:39 +00:00
pollmann%netscape.com
9fff77bf97
Bug 15170: Implement onchange notification for list boxes
1999-10-05 23:43:06 +00:00
rods%netscape.com
e6b0939762
Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
...
this enables it to unset any temporary selections and restore the actual selection
1999-10-01 14:30:33 +00:00
rods%netscape.com
2bbff7b9c2
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
...
added some key support made it so it sets the focus back to the main webshell window when the drop down is closed
1999-09-30 11:37:58 +00:00
peterl%netscape.com
7911885f43
manage view visibility better
1999-09-29 03:36:16 +00:00
dcone%netscape.com
0d650e898c
Added a Release.. to fix a leak
1999-09-24 13:49:12 +00:00
pollmann%netscape.com
1d75057a7c
Bug 11488: Crash when deleting options from GFX selects
1999-09-21 13:25:32 +00:00
pollmann%netscape.com
703289e64a
Bug 13960: Combo box must not be dropped down before mouse moves update the selected option.
1999-09-19 09:48:04 +00:00
pollmann%netscape.com
317b6c0e1b
Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1
1999-09-17 07:22:23 +00:00
pollmann%netscape.com
67b2692c32
Bug 13960: Update GFX combos when selection is set.
1999-09-16 22:36:29 +00:00
pollmann%netscape.com
b4451b8526
Bug 13058: (Fixed Solaris bustage by removing Inherited typedef)
1999-09-15 05:31:31 +00:00
dcone%netscape.com
1364fc8597
Added a Mac case for creating the popup widget..
The #ifdef will come out when all platforms support the PopUp_CID
1999-09-14 21:29:58 +00:00
pollmann%netscape.com
c6ea67797b
Backing things out until I can get Solaris bustage figured out.
1999-09-14 20:42:26 +00:00
pollmann%netscape.com
8dd16c6263
Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects
1999-09-14 19:37:45 +00:00
rods%netscape.com
fea9cdf36b
cleaned up some code
...
add method to get the absolute rect of the combobox frame for hit detectio
now drop downs drop down under the select
1999-09-13 23:20:50 +00:00
rods%netscape.com
dd5d7e6637
temporary fix for scrolling the dropdown until gfx scrollbars get in
1999-09-13 18:29:00 +00:00
rods%netscape.com
9e8a1b6378
When asked for the selected item string it return first the value, then the label then the content in that order if any are empty
1999-09-10 22:56:23 +00:00
rods%netscape.com
af296e18b3
Better fix for option elements with no content in them
1999-09-09 19:37:23 +00:00
sfraser%netscape.com
69e203f45c
#ifdef out a bunch of rods's printfs.
1999-09-09 00:23:40 +00:00
rods%netscape.com
bf45e4b044
Fixed selection in lists
1999-09-08 19:54:30 +00:00
rods%netscape.com
bd89429f51
Added the proper event processing for disabled options
...
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
1999-09-08 14:27:38 +00:00
rods%netscape.com
c4464e6ebc
Removed ref counting changed the the popup is positioned
...
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods%netscape.com
8b6ba3a48f
change all index parameters to PRInt32 from PRUint32
...
added key listener support for keyboard navagation inside the list
fixed extended selection
fixed a minor problem with selecting an item
1999-08-27 14:42:27 +00:00
pollmann%netscape.com
22fef24c59
Cleanup, and bugfixes for bug 12475 and 12350
1999-08-27 03:58:13 +00:00
rods%netscape.com
6cf112a833
Completely reworked the select GFX object - List and Combobox, it now does all event processing
...
via DOM listeners instead of through the frames
1999-08-26 14:54:07 +00:00
pollmann%netscape.com
5b4a7ad743
Bug 3256: Add ScrollIntoView() method to form frame objects.
1999-08-21 00:09:24 +00:00
rods%netscape.com
0362529f13
Renamed some methods and changed the selected item to be able to pass the currently selected index instead of just being able to get the currently selected item
1999-08-19 14:11:28 +00:00
rods%netscape.com
c91922076b
Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame
1999-08-10 19:22:51 +00:00
rods%netscape.com
9778ff0812
Started to add code to better handle resizing when there are no elements.
1999-08-06 14:14:38 +00:00
rods%netscape.com
8d5807e765
Made many changes to fix several bugs
1999-07-28 21:38:08 +00:00
troy%netscape.com
2ba05e9bf2
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +00:00
pavlov%netscape.com
96b4208fe4
window creation changes
1999-07-27 04:27:17 +00:00
kmcclusk%netscape.com
af9e15b5e3
nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
...
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
troy%netscape.com
155ed6816a
Added 'm' prefix to some of the nsHTMLReflowState data members
1999-07-20 03:41:03 +00:00
kmcclusk%netscape.com
d42e178f95
fixed bugs #6303 , #6753 , #6756 , #6759
...
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
sspitzer%netscape.com
ca20b32c35
fix warning
1999-07-06 22:40:54 +00:00
kmcclusk%netscape.com
a8794918c8
Modified gfx-rendered widget styles to more closely match styles
...
in http://www.mozilla.org/xpfe/nsGFXWidgets.html .
Added check for null mHitFrame in nsListControlFrame::MultipleSelection and
nsListControlFrame::SingleSelection.
1999-06-23 21:50:56 +00:00
kmcclusk%netscape.com
b99c5d6f59
Removed commented out code to perform system mouse capture.
1999-06-21 20:46:47 +00:00
kmcclusk%netscape.com
881c29d70e
Numerous changes to support gfx-rendered form elements.
1999-06-21 20:41:56 +00:00
nisheeth%netscape.com
c670e17ce2
Patch from alecf to do a null pointer check on argument to GetSelectedIndex().
1999-06-05 00:18:58 +00:00
kmcclusk%netscape.com
c0802d7f21
fix for bug #6971 . Added support for clicking and dragging over items in single
...
and multiselect listboxes. Also supports holding down the shift and ctrl keys
while dragging.
1999-05-28 21:12:09 +00:00
kmcclusk%netscape.com
b1ab2535df
fixes for bugs #5809 , #5852 , #6828 , #6973 .
...
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.
1999-05-27 21:17:10 +00:00
kmcclusk%netscape.com
d86150286d
bug #994 Major rework of nsListboxControlFrame to support option groups. Modified ua.css
...
optgroup > option rule to use padding to offset the option group's options.
1999-05-17 22:36:08 +00:00
kmcclusk%netscape.com
664a8f2a93
bug #5993 . Removed references to nsIWidget in form HTML content elements. the form elements
...
now go through the nsFormControlFrame interface instead. This removes the dependency between
form element content and nsIWidget.
1999-05-13 23:45:40 +00:00
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
kmcclusk%netscape.com
e18026d96e
bug #3547- Modified nsFileControlFrame.cpp to call nsFormFrame::AddFormControlFrame.
...
bug #5589 . Selection area is now calculated using the inherited Reflow rather
than using the calculations used for the native listbox control.
Fixed varous other rendering bugs related to frame-based listboxes.
bug #2797 . GetSize is no longer needed in nsListControlFrame and it has been removed.
Fixed frame-based combobox nsComboboxFrame so that will set it's label to the
first option in the drop-down list if a default value has not been specified.
Added optgroup style rules to ua.css. Opt groups now render, but there are remaining
problems with selection.
Modified nsButtonControlFrame::Reflow to call nsFormFrame::AddFormControlFrame.
This fixes a bug where Gfx-rendered submit button's were not working.
Refactored code in nsListControlFrame in preparation for supporting option groups.
Refactored selection code into SingleSelect and MultiSelect paths.
Removed unused code in nsListControlFrame.
Removed mSelectedFrame member variable. It is no longer needed.
Fixed nsListControlFrame::SetProperty so that it will toggle the selection in a
single select listbox.
1999-05-07 20:30:16 +00:00
karnaze%netscape.com
3c422499b4
bug 4143; bug 2467; removed frame caching in nsFormFrame.
1999-04-27 00:06:03 +00:00
kmcclusk%netscape.com
848b49f05b
fix for bug #3162 , Removed #ifndef MAC in the nsSelectControlFrame::GetProperty.
...
The Mac now supports native combo box widgets so it no longer will crash in GetProperty
with a null mWidget field.
Modified nsComboboxControlFrame::HandleEvents. MouseExit from the combox rect now
initiates mouse capture on the drop-down list.
Modified nsCSSFrameConstructor::ConstructSelectFrame to initialize the drop-down list
for frame-based comboboxes as hidden.
Added a nsIListControlFrame::CaptureMouseEvents method.
Implemented nsListControlFrame::CaptureMouseEvents.
1999-04-16 19:28:12 +00:00
kipp%netscape.com
a0b4329e22
Nuked useless includes
1999-04-13 21:52:03 +00:00
kmcclusk%netscape.com
a2ffe366a4
Enabled frame-based comboboxes when widget rendering mode is gfx.
...
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
joki%netscape.com
1c2882e5e6
Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
1999-03-28 22:22:54 +00:00
kmcclusk%netscape.com
ffdb06e4b0
Various modifications/fixes/cleanup for frame-based listboxes.
...
Set display type to block for option elements in ua.css.
Enable frame-based listboxes when widget render mode is gfx.
1999-03-22 21:32:12 +00:00
kipp%netscape.com
7ef069cf5a
Removed unused header file include
1999-03-18 21:01:24 +00:00
evaughan%netscape.com
204a6670eb
1) Implemented regular button and html4 button with a button renderer.
...
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
messed up the active, hover, and disabled states.
1999-03-06 19:43:13 +00:00
kipp%netscape.com
fb7aed5151
Removed ref to dead nsFrameReflowState
1999-03-05 15:22:03 +00:00
kipp%netscape.com
9ddafbd9f8
use new nsHTMLReflowState ctors
1999-03-05 04:19:09 +00:00
kmcclusk%netscape.com
82dac76411
gfx vs native widget rendering can now be specified in the viewer at run-time.
...
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
karnaze%netscape.com
1c27eb5749
correctly set max element size on checkbox, radio. Other cleanup.
1999-02-27 03:59:19 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
karnaze%netscape.com
009c914f35
better sizing of form controls, especially percentage based sizes and max element sizes
1999-02-23 03:48:01 +00:00
troy%netscape.com
0debd6f0d1
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
034aa56b83
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
e9bbeeaa9b
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
2ac7b86865
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
b974e26cea
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com
10fcba177a
Renamed GetSize(PRInt32* aSize) to GetSizeFromContent to remove conflict with
...
nsFrame GetSize(nsSize& aSize).
Added check for null mWidget in nsFormControlFrame::HandleEvent
1999-02-03 22:56:50 +00:00
kmcclusk%netscape.com
4f72556760
Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
...
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
rods%netscape.com
5d1dc74549
Ifdef'ed out the Pluggable event code
1999-01-22 15:56:21 +00:00
rods%netscape.com
64f5a23191
Factored out code for helper functions for determining size and for rendering
1999-01-22 15:32:57 +00:00
rods%netscape.com
99b3af960d
Initial checkin
1999-01-18 15:14:00 +00:00