542 Commits

Author SHA1 Message Date
rods%netscape.com
495de201aa Completely reworked the select GFX object - List and Combobox, it now does all event processing
via DOM listeners instead of through the frames


git-svn-id: svn://10.0.0.236/trunk@44679 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:54:07 +00:00
rods%netscape.com
e0b31dc463 Cleanup the file and gave it a unique GUID.
git-svn-id: svn://10.0.0.236/trunk@44674 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:45:53 +00:00
pollmann%netscape.com
4a4383a122 Split out AddOption/RemoveOption(), plus bug 11676 type cleanups.
git-svn-id: svn://10.0.0.236/trunk@44369 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:01:25 +00:00
pollmann%netscape.com
7c57974948 Rewrite of AddOption/RemoveOption(), adding nsISelectControlFrame interface.
git-svn-id: svn://10.0.0.236/trunk@44367 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:55:56 +00:00
akkana%netscape.com
131d318ad4 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
buster%netscape.com
bc5e5ff015 better use of the editor wrapping APIs
better initial placement of the caret in text controls


git-svn-id: svn://10.0.0.236/trunk@44287 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 13:52:45 +00:00
rods%netscape.com
30e2ad4948 Added GetDropDown method to return the nsListControlframe
git-svn-id: svn://10.0.0.236/trunk@44143 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 14:05:37 +00:00
buster%netscape.com
d73d1687de preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.


git-svn-id: svn://10.0.0.236/trunk@44122 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 06:46:08 +00:00
pollmann%netscape.com
8a60159afc Bug 3256: Add ScrollIntoView() method to form control frame interface.
git-svn-id: svn://10.0.0.236/trunk@43913 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 00:10:13 +00:00
pollmann%netscape.com
60e2a67f05 Bug 3256: Add ScrollIntoView() method to form frame objects.
git-svn-id: svn://10.0.0.236/trunk@43912 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 00:09:24 +00:00
jdunn%netscape.com
128a27ec75 AIX does not allow calling the baseclass via the typedef. I talked this
over with Kevin McClusky and he agreed to allow the change.


git-svn-id: svn://10.0.0.236/trunk@43903 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 23:37:15 +00:00
kmcclusk%netscape.com
6fd517e94a Correctly set the current state for the radio button in SetProperty. Previously the radio buttons state was not properly set
when JavaScript was used to set it.


git-svn-id: svn://10.0.0.236/trunk@43878 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:52:35 +00:00
kmcclusk%netscape.com
1d9d68cf85 Changed if an action is not specified and we are in a 4.x browser than cause the URL to be reloaded.
This is compatible with Netscape 4.x browsers + I.E. If an action is not specified and inside an XML or XUL document than do nothing.


git-svn-id: svn://10.0.0.236/trunk@43877 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:51:45 +00:00
rods%netscape.com
9fab4d944a Removing extra nsGfxRadioControlFrame.obj, this was part of yesterday's bad checkin
git-svn-id: svn://10.0.0.236/trunk@43822 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 14:41:17 +00:00
arielb%netscape.com
ad40dbfcd5 includes updates to codbase matching security checks currently turned off
but in place.  redefined the script security manager in caps and it is
now generating codebase principals.


git-svn-id: svn://10.0.0.236/trunk@43798 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 09:51:02 +00:00
evaughan%netscape.com
c120b49c87 Fixed link error
git-svn-id: svn://10.0.0.236/trunk@43748 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 00:04:59 +00:00
rods%netscape.com
fb8cb55b71 Adding AppendFrames so it won't crash when adding items.
git-svn-id: svn://10.0.0.236/trunk@43716 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:15:04 +00:00
ducarroz%netscape.com
7d66ec6711 add nsGfxAutoTextControlFrame.cpp (auto completion widget)
git-svn-id: svn://10.0.0.236/trunk@43707 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:10:54 +00:00
ducarroz%netscape.com
6dc9107ae2 Fix some typo error
git-svn-id: svn://10.0.0.236/trunk@43646 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:54:38 +00:00
rods%netscape.com
b5eb053eec Added method GetSelectedIndex
git-svn-id: svn://10.0.0.236/trunk@43611 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:26:38 +00:00
rods%netscape.com
b3cd7d09f5 Now uses the button for the display area and uses the new selected index methods from the ListControlFrame
git-svn-id: svn://10.0.0.236/trunk@43601 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:11:59 +00:00
rods%netscape.com
64ca5fd641 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
git-svn-id: svn://10.0.0.236/trunk@43600 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:11:28 +00:00
rods%netscape.com
2bb86ad135 Now takes into account suggested size in the size calculation
git-svn-id: svn://10.0.0.236/trunk@43597 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:07:05 +00:00
rods%netscape.com
92543253ec Now, check to see if it is disabled or whether the control it cantains is disabled and then does the right thinik with the events
git-svn-id: svn://10.0.0.236/trunk@43596 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:05:36 +00:00
rods%netscape.com
affac488d7 It now loks at the "disabled" property when initialized and looks for an attribute changed notification to disable itself
git-svn-id: svn://10.0.0.236/trunk@43595 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:03:53 +00:00
rods%netscape.com
9ab642bbe5 It now takes into account the suggested size in the calculation
git-svn-id: svn://10.0.0.236/trunk@43594 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:02:20 +00:00
rods%netscape.com
8aa3f445f1 The button was being sized wrong, so the computed border padding needed to be removed beforehand and then is added back in later by layout
git-svn-id: svn://10.0.0.236/trunk@43593 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:00:09 +00:00
buster%netscape.com
4b7d68686a added the ability to set content in a readonly or disabled control via DOM.
fixed some error checking


git-svn-id: svn://10.0.0.236/trunk@43592 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:43:33 +00:00
ducarroz%netscape.com
95bf1356a9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@43558 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 05:49:48 +00:00
kmcclusk%netscape.com
be14e9d88a Fix for bug #11717. Check in Ok'ed by cyeh@netscape.com
Don't do the super class'es IsSuccessful because it always returns PR_FALSE
because the (this) pointer is not equal to the submitter.


git-svn-id: svn://10.0.0.236/trunk@43258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:06:09 +00:00
pinkerton%netscape.com
d334cb1ecb cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute.
git-svn-id: svn://10.0.0.236/trunk@43158 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 04:45:49 +00:00
pollmann%netscape.com
08d99078d0 Bug 10939: Make image input element transparent
git-svn-id: svn://10.0.0.236/trunk@43138 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 03:30:25 +00:00
rods%netscape.com
cb7533e8f4 Added check to see if it was disabled so it would ignore events
git-svn-id: svn://10.0.0.236/trunk@43006 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:26:10 +00:00
rods%netscape.com
9cea7df2aa Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code.
git-svn-id: svn://10.0.0.236/trunk@43004 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:25:22 +00:00
rods%netscape.com
ab28d9a6f9 Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame
git-svn-id: svn://10.0.0.236/trunk@43002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:22:51 +00:00
kmcclusk%netscape.com
9e4c341c69 Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.


git-svn-id: svn://10.0.0.236/trunk@42998 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:57 +00:00
buster%netscape.com
d74b7462e5 added KeyPress event propogation. This makes the editor image dialog work much better.
as part of this, I moved when I install event propogation listeners in the gfx text control frame.  nobody will notice
the difference, except keyPress notifications will work correctly.


git-svn-id: svn://10.0.0.236/trunk@42899 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 02:58:07 +00:00
buster%netscape.com
4a03d700c6 enabled onSelect notifications
git-svn-id: svn://10.0.0.236/trunk@42795 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 20:10:59 +00:00
rods%netscape.com
7a25e14e0a Fixed GetFrameForPoint so it passes back the corrct frame for event for form controls (Bug #11467)
git-svn-id: svn://10.0.0.236/trunk@42791 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:59:48 +00:00
buster%netscape.com
89f5e5cec1 trivial fix to make sure we're storing an nsIHTMLEditor result in an
nsCOMPtr<nsIHTMLEditor> variable.


git-svn-id: svn://10.0.0.236/trunk@42785 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:37:18 +00:00
buster%netscape.com
38375a8918 brought init code up to date with recent editor API changes.
git-svn-id: svn://10.0.0.236/trunk@42761 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 17:41:55 +00:00
sfraser%netscape.com
22f74dda79 Synch up with editor API changes.
git-svn-id: svn://10.0.0.236/trunk@42727 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:43:00 +00:00
joki%netscape.com
25eb777ec4 Adding new onselect event. Also slight modification to ender text widget focus behavior
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +00:00
buster%netscape.com
76b2185c50 style now gets propogated from text control frame to embedded webshell more correctly
git-svn-id: svn://10.0.0.236/trunk@42645 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:42:13 +00:00
rods%netscape.com
59bd3253ba ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment
git-svn-id: svn://10.0.0.236/trunk@42455 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:42:00 +00:00
rods%netscape.com
33ecbde954 Started to add code to better handle resizing when there are no elements.
git-svn-id: svn://10.0.0.236/trunk@42450 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:14:38 +00:00
rods%netscape.com
56159e3427 Made the Combobox a nsIDOMFocusListener, so it can set the focus on the "display"
content when focus goes to the button or the combobox itself


git-svn-id: svn://10.0.0.236/trunk@42449 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:13:20 +00:00
ramiro%netscape.com
070499ff84 Backout my last changes to fix the mac and window builds.
git-svn-id: svn://10.0.0.236/trunk@42426 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 08:21:41 +00:00
ramiro%netscape.com
5e908b8af2 Get the Inherited superclasses right. Suggested and reviewed by pierre.
git-svn-id: svn://10.0.0.236/trunk@42415 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:40:26 +00:00
ramiro%netscape.com
6537159c2b Fix gcc 2.7 bustage. It smells a lot like a bug in gcc. It was having
trouble dealing with the Inherited typedef in the class declaration.
I replaced |Inherited| with the real thing Inherited was aliasing and all is
ok.  Pierre code reviewed.


git-svn-id: svn://10.0.0.236/trunk@42413 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:14:43 +00:00