rods%netscape.com
ecfca9724d
wasn't setting status to NS_FRAME_COMPLETE
...
b=49010 r=buster
2000-09-09 22:13:12 +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
sfraser%netscape.com
f23b291227
Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods
2000-09-07 04:39:02 +00:00
pollmann%netscape.com
2e21d4e7a4
Bug 3326: IsIndex implementation (not part of build)
2000-09-06 07:37:49 +00:00
vidur%netscape.com
e153192875
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
2000-09-01 01:54:35 +00:00
pollmann%netscape.com
80059f709d
Bug 50143: All radio buttons should be unchecked before checking new one when restoring frame state r=jst@netscape.com
2000-08-31 00:59:31 +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
412b9b55f7
Only let left btn clicks through for popping up the dialog
...
b=49904 r=kmcclusk
2000-08-25 13:25:50 +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
jdunn%netscape.com
7eb04ed28d
fixing hpux bustage
...
r=vidur@netscape.com
2000-08-23 23:57:00 +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
ff8b581e7e
GfxBtn now implements method CreateFrameFor so it can create the text node
...
with the proper style context parentage.
b=49740 =kmcclusk,attinasi
2000-08-23 10:38:42 +00:00
rods%netscape.com
d34d67bd9d
patch from web converting it over to use the FilePicker
...
it also now uses the default directory
b=40976,47552 r=rods,kmcclusk
2000-08-18 18:16:12 +00:00
rods%netscape.com
fea2898d59
removing "return NS_OK" because it keeps it from doing the call to
...
nsFrame which calls HandleRelease. Without HandleRelease the EventStateManager
mMouseGrabber never gets cleared and it keeps thinking events need to go to the view.
b=48792 r=pollmann
2000-08-17 22:39:13 +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
dbaron%fas.harvard.edu
edbb56773e
Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
2000-08-09 12:51:05 +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
dbaron%fas.harvard.edu
8be051707c
Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson
2000-08-06 19:24:48 +00:00
pollmann%netscape.com
a49ef987bb
Bug 3326: ISINDEX frame; r=kmcclusk
2000-08-03 23:45:50 +00:00
pollmann%netscape.com
54daa78bb8
Bug 40533: browser crashes when submit nothing with event on file upload; r=kmcclusk
2000-08-03 23:39:33 +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
pollmann%netscape.com
c0143af2df
Bug 26945: Image input onclick fires but doesn't allow cancel via return false; r=harishd
2000-08-03 22:17:14 +00:00
pollmann%netscape.com
40819e4ba8
Bug 40412: image inputs should send x and y not .x and .y if no name; r=harishd
2000-08-03 22:05:44 +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
7a2abfdc4e
47302 - moved the RegUnRegAccessKey to the Destroy Method
...
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk
2000-08-03 14:13:40 +00:00
rods%netscape.com
4d4f67aa29
backing out changes until I get them all in
2000-08-02 22:59:45 +00:00
rods%netscape.com
425d7a8ef8
47302 - moved the RegUnRegAccessKey to the Destroy Method
...
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk
2000-08-02 22:24:14 +00:00
rods%netscape.com
541017cd29
The frames need to be appended and the default method just asserts
...
b=41528 r=kmcclusk
2000-08-02 22:16:12 +00:00
rods%netscape.com
23c1105112
moved the RegUnRegAccessKey to the Destroy method
...
b=47302 r=kmcclusk
2000-08-02 22:12:11 +00:00
rods%netscape.com
24c1a2552e
*** empty log message ***
2000-08-02 22:07:46 +00:00
rods%netscape.com
ba38e3d7d4
The script notification happens before the radiobox gets a chance to change its value
...
so they must return the opposite value for themselves. They don't want to actually set their
values because the script could cancel. So the idea here is to let them know before the script
call that they should return their "future" value (the opposite of their current value)
plus I made a minor change that allows the radio button to use the PaintBackground code to draw the "dot"
but it creates a tmp color struct so the color is correct.
b=42972,37517 r=kmcclusk
2000-08-02 22:06:33 +00:00
mjudge%netscape.com
95d2399475
removing unnecessary ifdef
2000-07-13 23:19:21 +00:00
akkana%netscape.com
481b7a5c02
38232 (nsbeta2+): Make line break character configurable in the
...
output system, and use \n (the DOM linebreak character) when getting
output from text controls. Also fix some warnings. r=kin.
2000-07-10 19:46:59 +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
bec2653485
A "margin" variable isn't being set up in the correct spot.
...
b=41472 r=kmcclusk
2000-07-06 13:22:12 +00:00
pollmann%netscape.com
ba5188b9fb
Bug 41013: Prevent event passing from frames to content during document destruction r=joki
2000-06-29 02:02:43 +00:00
pollmann%netscape.com
a97d394820
Bug 25300: Enable activation of buttons by the keyboard (space or enter) r=nisheeth
2000-06-21 00:40:11 +00:00
rods%netscape.com
0eb33fd920
removed the incremental reflow targeted at the display text
...
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk
2000-06-15 13:02:10 +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
pollmann%netscape.com
3f1d49a015
Bug 32770: Save scroll position in session history r=nisheeth
2000-06-15 00:35:46 +00:00
mjudge%netscape.com
eefb2d0950
bug=34896 fixing reflow reason from nsFileControlFrame to send resize when resizing its input field. fixing mouseclick to not be so hardcoded so that the ender-lite text field still works for the "browse" button. a=beppe r=hyatt
2000-06-07 01:21:20 +00:00
buster%netscape.com
7f1b174ffc
bug 36367
...
r=rods
fix was to pass in the correct width during certain types of incremental reflows.
2000-06-05 03:50:46 +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
pollmann%netscape.com
d9bdd0843a
Bug 41037: Fix my regression that was causing forms to submit twice! r=nisheeth (thanks pinkerton, nisheeth, and leger for the quick turnaround!)
2000-05-31 02:24:48 +00:00
rods%netscape.com
5b4987c7ea
missed one of the strings for localization
...
b=32666, original reviewer was pollmann, self is reviewer for this small additional change
2000-05-27 13:03:18 +00:00
rods%netscape.com
3876087ab0
Moved the localization methods to the helper class
...
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann
2000-05-27 02:27:47 +00:00
rods%netscape.com
816fca45ce
removed some uneeded code
...
made view so it was resized in SyncFrame
fixed the returning of the -1 for width
make sure combinedarea was set correctly for tables
b 39755,36321 r=buster,evaughan
2000-05-26 23:34:59 +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
evaughan%netscape.com
55816643f1
fix for [beta2] bugs:
...
37835
39085
32920
-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
joki%netscape.com
38497c25ca
Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge
2000-05-26 00:26:54 +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
hyatt%netscape.com
21e5ef59a2
fix for making skins script-safe. r=scc
2000-05-19 04:48:43 +00:00
mjudge%netscape.com
783975810b
adding new ender_lite flag to build
2000-05-16 23:29:35 +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
mjudge%netscape.com
1e39e20ca4
left in bad reference
2000-05-16 13:02:36 +00:00
mjudge%netscape.com
c00a125072
fixing regunreg for form controls
2000-05-16 12:44:32 +00:00
mjudge%netscape.com
c3336ccfe3
accidental checkin
2000-05-16 12:20:24 +00:00
mjudge%netscape.com
8a09f194f7
fixes for RegUnRegAccessKey
2000-05-16 12:18:36 +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
joki%netscape.com
d7557a57a5
Adding accesskey support. Bug 959.
2000-05-16 10:22:20 +00:00
buster%netscape.com
f9f6684fb2
bug 35964, partial fix
...
r=rods
2000-05-15 22:51:42 +00:00
rods%netscape.com
72702a50fa
focus now no longer shows when it has focus.
...
b=35307
2000-05-15 22:23:09 +00:00
dbaron%fas.harvard.edu
3de09ce54f
Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com
2000-05-15 13:12:27 +00:00
evaughan%netscape.com
2316308130
1) Scrolling menus
...
2) many bug fixes
3) box debuging flags
2000-05-15 04:12:31 +00:00
sfraser%netscape.com
7b44ffcf68
Add a null check.
2000-05-12 23:11:04 +00:00
rods%netscape.com
f2f98584c5
part of fix for Bug 33733
...
added ShouldRollupOnMouseWheelEvent methos to ask if the rollup want to rollup on MouseWheel events
2000-05-12 20:23:04 +00:00
rods%netscape.com
4128134ca4
makes sure we are responding to the correct layer for GetFrameForPoint (thanks dbaron)
...
b 38925
2000-05-11 19:22:06 +00:00
rods%netscape.com
4473e28b5f
added comments to ifdef for better explanation
2000-05-11 14:06:32 +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
mjudge%netscape.com
55912eddb8
changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
2000-05-11 04:25:43 +00:00
jst%netscape.com
ee4b181034
Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
2000-05-10 13:13:39 +00:00
buster%netscape.com
c1c9bfa09b
effectively removed area frame
...
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +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
39619de583
this should bring down the leaks
...
should have used XPCom
2000-05-08 21:39:29 +00:00
rods%netscape.com
8bcf439f6e
The fix will turn itself on when in HTMLdocument and turn off in XUL documents
...
I will remove the old code when all the selects are removed from the UI
bug 36558
2000-05-08 20:32:11 +00:00
mjudge%netscape.com
afc8d92753
ifdef changes wont touch build
2000-05-08 03:58:48 +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
mjudge%netscape.com
8ba877cea2
preparation for ender-lite landing.
2000-05-03 06:16:32 +00:00
mjudge%netscape.com
8416b0f7cc
setting up for gfxtextcontrolchange
2000-05-02 03:40:44 +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
5351e8cf96
now sets maxelement width/height
...
b=25541
2000-04-30 13:27:49 +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
evaughan%netscape.com
3e33f5b852
1) StyleChange coelescing
...
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
troy%netscape.com
6b04c3b5fa
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
42e26161e8
Backing out troy's changes to fix various UI blocker bugs.
2000-04-24 22:15:55 +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
troy%netscape.com
9b393faa48
Changes to bring clipping inline with upcoming CSS2 errata
2000-04-23 00:56:16 +00:00
scc%netscape.com
9978338519
making string conversions explicit
2000-04-22 10:31:38 +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
8617a1b004
text content longer gets set to "" which it ignores, it
...
gets set to " " when thedisplay should be ""
bug 36459
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:53:38 +00:00
rods%netscape.com
465d191a2e
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:51:35 +00:00
rods%netscape.com
2b90f199a6
uncommenting out some important clean up code and gating it with "!kGoodToGo"
...
should fix leaks
2000-04-20 03:42:12 +00:00
danm%netscape.com
d0d8c4d5c3
dist...chrome restructuring
2000-04-19 21:42:30 +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
scc%netscape.com
52bdf65d60
making string conversions explicit
2000-04-15 21:18:29 +00:00
sfraser%netscape.com
e18fe941f0
Adding methods to allow control of the selection in text widgets.
2000-04-13 05:15:59 +00:00
rods%netscape.com
908dde773f
Dirty reflows are treated like Incremental for optimization
...
The GetAbsoluteFramePosition didn't take into account if the comboxbox was had a prent view with no parent
b=35291
2000-04-12 14:51:10 +00:00
hyatt%netscape.com
aa7305bcb3
Elimination of nsIFocusableContent and improvements to tabbing r=saari
2000-04-04 23:55:31 +00:00
akkana%netscape.com
792421510b
28598: map \r and \r\n to \n in form textarea submissions
2000-03-30 22:49:59 +00:00
jim_nance%yahoo.com
dc0e139673
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
2000-03-30 03:21: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
af2f54f63f
When focus doesn't work correctly, and the Combobox gets deleted while the
...
dropdown is down it can crash. This makes sure the dropdown is rolled up and
unregistered with the rollup listener
b=33149
2000-03-28 14:29:15 +00:00
rods%netscape.com
d0b388f6c1
Added reflow of text frame for when the size is being set via style
...
b=33402
2000-03-27 22:20:06 +00:00
scc%netscape.com
0f4a2b3d8c
small changes to clients of string converting APIs
2000-03-26 10:06:21 +00:00
rods%netscape.com
decb8aabb8
Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
...
r=kmcclusk
2000-03-24 15:02:02 +00:00
rods%netscape.com
2229b04792
fixed up some ifdefs to shutoff debug output
2000-03-24 14:59:02 +00:00
rods%netscape.com
8dc5163b60
Adding nsICheckboxControlFrame to build
...
r=kmcclusk
2000-03-24 14:47:58 +00:00
dbaron%fas.harvard.edu
87e19c9cef
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +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
rods%netscape.com
8248eec343
Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
...
r=dcone b=18895
2000-03-21 15:19:40 +00:00
rods%netscape.com
6948ab66ea
Added static method for getting the absolute rect in twips and pixels
...
moved from nsComboboxControlFrame.cpp
r=dcone b=18895
2000-03-21 15:18:07 +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
dbaron%fas.harvard.edu
914a800f54
Fix leak. r=pollmann@netscape.com
2000-03-18 21:29:16 +00:00
rods%netscape.com
3b43798982
made sure "average" was initialized to zero
...
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254
2000-03-18 15:15:25 +00:00
rods%netscape.com
6f7b0bfbe0
Removed GetScreenHeight and using the one in nsFormControlFrame
...
b=25774 r=kmcclusk
2000-03-18 14:20:03 +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
rods%netscape.com
06767c5358
Added method to get the container frame for adding/removing option frames
...
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk
2000-03-18 14:17:30 +00:00
rods%netscape.com
9499e0c6a9
Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
...
some rework, and I can if def it in and out
b=18895 r=kmcclusk
2000-03-18 13:45:30 +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
9568c184ff
I had the GetDefaultChecked and GetChecked methods reversed.
...
b=31009 r=kmclusk
2000-03-16 22:57:08 +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
rods%netscape.com
240e260ffe
turning off debug #defines
2000-03-15 15:47:11 +00:00
dveditz%netscape.com
83793623b9
fixing VC5 build (bug 31868)
2000-03-15 06:22:09 +00:00
rods%netscape.com
58ca9dd361
now passing back maxElementSize correctly
...
b=30015
2000-03-14 14:25:05 +00:00
tbogard%aol.net
9398e6b4f3
GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells.
2000-03-11 01:30:04 +00:00
rods%netscape.com
13e98e285d
combo needed to set the maxElementSize correctly when reflowing.
...
b=31072 r=buster a=jar
2000-03-10 04:46:16 +00:00
rods%netscape.com
ef269b8196
nsITextContent needed to be included not forwarded.
2000-03-07 16:45:21 +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
f5033e5feb
added include instead of the class decl.
...
r=waterson
2000-03-03 05:06:03 +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
rods%netscape.com
4325e0f2df
idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
...
r=kmcclusk a=jar b=28593
2000-03-03 00:58:00 +00:00
rods%netscape.com
575fc9a670
Button marks itself dirty when the suggested size is set.
...
b 28593, r=kmcclusk,buster
2000-03-03 00:21:10 +00:00
karnaze%netscape.com
5ce5b346e3
PDT+ bug 28928 - correctly handle reflow of hidden inputs. r=rods, a=rickg
2000-02-29 13:17:33 +00:00
pierre%netscape.com
6875bf641b
Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
2000-02-24 12:51:28 +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
pollmann%netscape.com
92452b751f
Bug 28691: Fix leaks, check for null, in code my implementation was based on r=harishd a=rickg
2000-02-23 20:58:42 +00:00
pollmann%netscape.com
7c2cefefe9
Bug 28691: Fix leaks, check for null, fix a bug in checkin for bug 16999 r=harishd a=rickg
2000-02-23 20:56:39 +00:00
pollmann%netscape.com
4b87697a5e
Bug 16999: Fix solaris nsCOMPtr complaints.
2000-02-21 06:26:55 +00:00
pollmann%netscape.com
1a014f1120
Bug 16999: Get default button labels from .properties file instead of html.css (GfxButtonControlFrame -> anonymous content creator). r=rods a=rickg
2000-02-21 05:55:25 +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
e0e813fecd
radio button now remembers state, and in standard mode it will always select
...
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk
2000-02-15 23:02:55 +00:00
rods%netscape.com
e1b0cf791c
added method
...
b 21945 r=pollmann
2000-02-15 15:57:13 +00:00
rods%netscape.com
0eee3592f9
They now cache their state properly in the PresState
...
b 27063 r=kmmclusk
2000-02-15 15:05:56 +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
buster%netscape.com
86108be131
enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
...
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods
2000-02-14 02:03:36 +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
pavlov%netscape.com
f067a78d67
fix for combo boxes not grabbing the mouse on linux (fixes bugs 7898 and 26273) r=waqar
2000-02-11 22:26:36 +00:00
nhotta%netscape.com
ff36f4f489
Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang.
2000-02-11 01:08:56 +00:00
evaughan%netscape.com
c1c4f7681f
1) Fixed freeze because of sync drawing in forms
...
2) Fixed fieldset blocker
-r rods, granrose
2000-02-10 21:36:28 +00:00
rods%netscape.com
fab88c6406
changing nsCOMPtr to weak references for PresContext
...
a=leaf, r=self, bug=bloat&leak went up
2000-02-09 23:20:56 +00:00
evaughan%netscape.com
b361107ebe
1) implememted box reflow coelescing.
...
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543
-r hyatt, troy, rod
2000-02-09 22:02:40 +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
29f4dad61e
added the caching of the restore state until the list frame gets reset
...
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059
2000-01-31 23:59:55 +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
42afe24660
using correct usesage pattern for getting and seeting the FrameState
...
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292
2000-01-28 15:24:49 +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
rods%netscape.com
cb8300c754
changed to use new signature of GetFont r=dcone b=905
2000-01-25 15:25:07 +00:00
rods%netscape.com
daeb2e4655
changed signature of GetFont,GetFrameFontFM b=905 r=dcone
2000-01-25 15:25:04 +00:00
rods%netscape.com
0403a43678
changed signature of GetFont,changed to scroll it into view only if it isn't visible b=905,18649 r=dcone,troy
2000-01-25 15:24:48 +00:00
rods%netscape.com
a1afa3cfde
changed signature of GetFont b=905 r=dcone
2000-01-25 15:18:46 +00:00
beard%netscape.com
7226bc7257
floating views. bug=21966, r=troy, rods, a=brendan
2000-01-25 01:53:34 +00:00
troy%netscape.com
8a78d916a5
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com
7a2c32349c
a=chofmann. r=rods, attinasi. The frame's state bits were getting reset by the NS_NewFieldSetFrame() method. This was causing asserts in layout because the frame did not have its dirty bit set. Fixed.
2000-01-20 17:14: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
rods%netscape.com
dd6bd3d6ca
removed warnings
...
r=kmcclusk
2000-01-18 23:23:52 +00:00
evaughan%netscape.com
fbffedcde5
Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod
2000-01-18 20:29:22 +00:00
attinasi%netscape.com
8c62444298
Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be specified for abs. Positioned fieldsets. Fixes bug 23611. r=rods,pierre
2000-01-18 15:42:45 +00:00
hyatt%netscape.com
e740cdb714
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
rods%netscape.com
b01cef4a9a
The combobox would be scrolled into view if some portion of it is visible.
...
b 23068 r=attintasi
2000-01-13 23:52:53 +00:00
rods%netscape.com
117c3ec89c
Fixed two bugs, it puts the entire native file path into the text control instead of just the file name
...
and now it obeys the "size" attribute
b=19010 r=attintasi
2000-01-13 23:34:01 +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
9a18c0578e
reworked some more of the fieldset's reflow (not in build yet)
2000-01-11 20:40:06 +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
7660b3c8ea
click events for checkbox and radiobuttons now handled via content (DOM0
...
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
rods%netscape.com
6147b70ee7
Added unconstrainted reflow optimizations
...
r=kmcclusk bug=12653
2000-01-09 02:07:00 +00:00
rods%netscape.com
a0c686605d
Reworked frame creation and creation of it's children for bug 23156,
...
not turned on yet.
2000-01-09 02:05:25 +00:00
rods%netscape.com
0f8bcdb83c
Temporarily turning off optimization
2000-01-09 02:03:23 +00:00
rods%netscape.com
a5b48b3896
Added unconstrainted reflow optimizations
...
r=kmcclusk,dcone bug=12653
2000-01-09 01:52:17 +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
d163e95f4c
Added unconstrainted reflow optimization methods
...
r=kmcclusk bug=12653
2000-01-08 15:53:48 +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
92e5a18aad
compile sunder windows and not Linux, wierd
2000-01-05 15:58:07 +00:00
rods%netscape.com
93d013bd9a
turning off reflow optimization until further XUL testing can be done.
...
r=self
2000-01-05 15:47:16 +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
rods%netscape.com
f5a6e0ef07
Added unconstrainted reflow optimizations
...
Also, commented out the adding of border-padding to the maxelementsize
r=kmcclusk bug=12653
2000-01-05 15:22:38 +00:00