rods%netscape.com
5c976bd892
removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
...
b=51886 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
rods%netscape.com
e1b15f00aa
wasn't setting status to NS_FRAME_COMPLETE
...
b=49010 r=buster
git-svn-id: svn://10.0.0.236/trunk@78640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:13:12 +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
sfraser%netscape.com
fc51db9344
Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@78335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:39:02 +00:00
pollmann%netscape.com
c265ced149
Bug 3326: IsIndex implementation (not part of build)
...
git-svn-id: svn://10.0.0.236/trunk@78254 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:37:49 +00:00
vidur%netscape.com
b10d4adc57
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
...
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
pollmann%netscape.com
5c96dc1267
Bug 50143: All radio buttons should be unchecked before checking new one when restoring frame state r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77697 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:59:31 +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
545c8c6a7e
Only let left btn clicks through for popping up the dialog
...
b=49904 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@77202 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 13:25:50 +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
jdunn%netscape.com
6eeb15a270
fixing hpux bustage
...
r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76987 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:57:00 +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
e4d9892690
GfxBtn now implements method CreateFrameFor so it can create the text node
...
with the proper style context parentage.
b=49740 =kmcclusk,attinasi
git-svn-id: svn://10.0.0.236/trunk@76959 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:38:42 +00:00
rods%netscape.com
b702660fb2
patch from web converting it over to use the FilePicker
...
it also now uses the default directory
b=40976,47552 r=rods,kmcclusk
git-svn-id: svn://10.0.0.236/trunk@76639 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:16:12 +00:00
rods%netscape.com
a62d36cc93
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
git-svn-id: svn://10.0.0.236/trunk@76588 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 22:39:13 +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
dbaron%fas.harvard.edu
3b9c9e465a
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+)
...
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +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
dbaron%fas.harvard.edu
f5c556e039
Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75690 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:24:48 +00:00
pollmann%netscape.com
88223f90eb
Bug 3326: ISINDEX frame; r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@75563 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:45:50 +00:00
pollmann%netscape.com
3e47a7f9ad
Bug 40533: browser crashes when submit nothing with event on file upload; r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@75559 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:39:33 +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
pollmann%netscape.com
f0c8471679
Bug 26945: Image input onclick fires but doesn't allow cancel via return false; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@75524 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:17:14 +00:00
pollmann%netscape.com
7f1111f79f
Bug 40412: image inputs should send x and y not .x and .y if no name; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@75513 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:05:44 +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
b077844144
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
git-svn-id: svn://10.0.0.236/trunk@75493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:40 +00:00
rods%netscape.com
c936b8f011
backing out changes until I get them all in
...
git-svn-id: svn://10.0.0.236/trunk@75436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:59:45 +00:00
rods%netscape.com
0598d4e64a
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
git-svn-id: svn://10.0.0.236/trunk@75432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:24:14 +00:00
rods%netscape.com
256f1f523e
The frames need to be appended and the default method just asserts
...
b=41528 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75431 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:16:12 +00:00
rods%netscape.com
389ee6e6a0
moved the RegUnRegAccessKey to the Destroy method
...
b=47302 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75430 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:12:11 +00:00
rods%netscape.com
e0ca215d75
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@75426 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:07:46 +00:00
rods%netscape.com
5e504902cc
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
git-svn-id: svn://10.0.0.236/trunk@75423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:06:33 +00:00
mjudge%netscape.com
1e328a1b18
removing unnecessary ifdef
...
git-svn-id: svn://10.0.0.236/trunk@74202 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:19:21 +00:00
akkana%netscape.com
84c9d71b9a
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.
git-svn-id: svn://10.0.0.236/trunk@73925 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:46:59 +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
1921a95c8a
A "margin" variable isn't being set up in the correct spot.
...
b=41472 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@73759 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:22:12 +00:00
pollmann%netscape.com
ba1a3e50a6
Bug 41013: Prevent event passing from frames to content during document destruction r=joki
...
git-svn-id: svn://10.0.0.236/trunk@73495 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 02:02:43 +00:00
pollmann%netscape.com
31acca5c90
Bug 25300: Enable activation of buttons by the keyboard (space or enter) r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@72703 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:40:11 +00:00
rods%netscape.com
f58dc37a07
removed the incremental reflow targeted at the display text
...
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@72307 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:02:10 +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
pollmann%netscape.com
d5ebd0e9c7
Bug 32770: Save scroll position in session history r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@72258 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:35:46 +00:00
mjudge%netscape.com
a7ee8e11dd
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
...
git-svn-id: svn://10.0.0.236/trunk@71683 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:21:20 +00:00
buster%netscape.com
f3ce46c7b0
bug 36367
...
r=rods
fix was to pass in the correct width during certain types of incremental reflows.
git-svn-id: svn://10.0.0.236/trunk@71502 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 03:50:46 +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
pollmann%netscape.com
85ceb4d8bc
Bug 41037: Fix my regression that was causing forms to submit twice! r=nisheeth (thanks pinkerton, nisheeth, and leger for the quick turnaround!)
...
git-svn-id: svn://10.0.0.236/trunk@71133 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:24:48 +00:00
rods%netscape.com
9f7a491400
missed one of the strings for localization
...
b=32666, original reviewer was pollmann, self is reviewer for this small additional change
git-svn-id: svn://10.0.0.236/trunk@71003 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 13:03:18 +00:00
rods%netscape.com
e0fe88ca49
Moved the localization methods to the helper class
...
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@70981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 02:27:47 +00:00