Commit Graph

553 Commits

Author SHA1 Message Date
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
rods%netscape.com
dfba4adce8 Changed the view's widget create so it doesn't register D&D 1999-08-27 14:40:14 +00:00
rods%netscape.com
d8af33a213 Changed Reflow to check for whether it is native mode or not. InGFX mode it now call the base class' (nsLeafFrame)
Reflow so it does a better job of laying out.
1999-08-27 14:38:54 +00:00
rods%netscape.com
22813275bf Added the other GetDesiredSize call overriding the base class call, and making it
the existing GetDesiredSize with the last param dummyed out. This makes all the sizing work
correctly with the change I put in in nsFormControlFrame
1999-08-27 14:34:54 +00:00
rods%netscape.com
833b8c0152 Changed to respect border and padding and now draw check mark "centered" in the available space
the check mark also sizes to content area
1999-08-27 14:31:59 +00:00
rods%netscape.com
c2d0583645 Changed parameters from width and height to a nsRect 1999-08-27 14:31:54 +00:00
pollmann%netscape.com
a522c7ae8f Opps! 1999-08-27 05:13:40 +00:00
pollmann%netscape.com
3f220b35c5 Opps! 1999-08-27 05:05:33 +00:00
pollmann%netscape.com
30a0e34e7e Bug 12350 1999-08-27 03:58:47 +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
rods%netscape.com
a70b8597f5 Cleanup the file and gave it a unique GUID. 1999-08-26 14:45:53 +00:00
pollmann%netscape.com
309bfebeba Split out AddOption/RemoveOption(), plus bug 11676 type cleanups. 1999-08-24 22:01:25 +00:00
pollmann%netscape.com
990680364c Rewrite of AddOption/RemoveOption(), adding nsISelectControlFrame interface. 1999-08-24 21:55:56 +00:00
akkana%netscape.com
ff7a19a5bd 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.
1999-08-24 18:30:19 +00:00
buster%netscape.com
08f6af770e better use of the editor wrapping APIs
better initial placement of the caret in text controls
1999-08-24 13:52:45 +00:00
rods%netscape.com
fb5366bfb6 Added GetDropDown method to return the nsListControlframe 1999-08-23 14:05:37 +00:00
buster%netscape.com
e1a4be89c8 preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.
1999-08-23 06:46:08 +00:00
pollmann%netscape.com
a70f77633d Bug 3256: Add ScrollIntoView() method to form control frame interface. 1999-08-21 00:10:13 +00:00
pollmann%netscape.com
5b4a7ad743 Bug 3256: Add ScrollIntoView() method to form frame objects. 1999-08-21 00:09:24 +00:00
jdunn%netscape.com
8241fe5f4d AIX does not allow calling the baseclass via the typedef. I talked this
over with Kevin McClusky and he agreed to allow the change.
1999-08-20 23:37:15 +00:00
kmcclusk%netscape.com
add4d59df7 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.
1999-08-20 22:52:35 +00:00
kmcclusk%netscape.com
c5cf135f7d 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.
1999-08-20 22:51:45 +00:00
rods%netscape.com
fb2fb1e297 Removing extra nsGfxRadioControlFrame.obj, this was part of yesterday's bad checkin 1999-08-20 14:41:17 +00:00
arielb%netscape.com
1b252b2e3b 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.
1999-08-20 09:51:02 +00:00
evaughan%netscape.com
2c576b6299 Fixed link error 1999-08-20 00:04:59 +00:00
rods%netscape.com
3b54903181 Adding AppendFrames so it won't crash when adding items. 1999-08-19 22:15:04 +00:00
ducarroz%netscape.com
81ec943f78 add nsGfxAutoTextControlFrame.cpp (auto completion widget) 1999-08-19 22:10:54 +00:00
ducarroz%netscape.com
52894c0756 Fix some typo error 1999-08-19 19:54:38 +00:00
rods%netscape.com
ee537ba0ad Added method GetSelectedIndex 1999-08-19 14:26:38 +00:00
rods%netscape.com
0764b680ff Now uses the button for the display area and uses the new selected index methods from the ListControlFrame 1999-08-19 14:11:59 +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
5a242d756d Now takes into account suggested size in the size calculation 1999-08-19 14:07:05 +00:00
rods%netscape.com
7c354c9540 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 1999-08-19 14:05:36 +00:00
rods%netscape.com
1e1d514c05 It now loks at the "disabled" property when initialized and looks for an attribute changed notification to disable itself 1999-08-19 14:03:53 +00:00
rods%netscape.com
654caf2688 It now takes into account the suggested size in the calculation 1999-08-19 14:02:20 +00:00
rods%netscape.com
3dc1aa04e6 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 1999-08-19 14:00:09 +00:00
buster%netscape.com
f0f929a02a added the ability to set content in a readonly or disabled control via DOM.
fixed some error checking
1999-08-19 13:43:33 +00:00
ducarroz%netscape.com
533a11182e First Checked In. 1999-08-19 05:49:48 +00:00
kmcclusk%netscape.com
e38d06108e 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.
1999-08-12 22:06:09 +00:00
pinkerton%netscape.com
5589138ab3 cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute. 1999-08-11 04:45:49 +00:00
pollmann%netscape.com
6c21361d9f Bug 10939: Make image input element transparent 1999-08-11 03:30:25 +00:00
rods%netscape.com
ba4a0485e1 Added check to see if it was disabled so it would ignore events 1999-08-10 19:26:10 +00:00
rods%netscape.com
0701d68531 Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code. 1999-08-10 19:25:22 +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
kmcclusk%netscape.com
61e361b49e Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
buster%netscape.com
e98b412b9a 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.
1999-08-10 02:58:07 +00:00
buster%netscape.com
7a04009a6b enabled onSelect notifications 1999-08-09 20:10:59 +00:00
rods%netscape.com
b24ae7ff24 Fixed GetFrameForPoint so it passes back the corrct frame for event for form controls (Bug #11467) 1999-08-09 19:59:48 +00:00
buster%netscape.com
a9693b1b69 trivial fix to make sure we're storing an nsIHTMLEditor result in an
nsCOMPtr<nsIHTMLEditor> variable.
1999-08-09 19:37:18 +00:00