585 Commits

Author SHA1 Message Date
pollmann%netscape.com
effb7dd14d Bug 13058: Keep the cache in sync with the widget state for native selects.
git-svn-id: svn://10.0.0.236/trunk@47366 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:39:23 +00:00
pollmann%netscape.com
50e561d4b7 Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects
git-svn-id: svn://10.0.0.236/trunk@47364 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:37:45 +00:00
pollmann%netscape.com
975786079e Bug 13058: Implement nsIStatefulFrame for file inputs, cache value until child textbox is created, and misc cleanups.
git-svn-id: svn://10.0.0.236/trunk@47361 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:28:45 +00:00
pollmann%netscape.com
77aee0dba6 Bug 13058: Implement nsIStatefulFrame for text inputs and textareas
git-svn-id: svn://10.0.0.236/trunk@47357 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:19:55 +00:00
pollmann%netscape.com
fba5d58ed1 Bug 13058: Handle SetTextControlState for native widgets even before the widget is created (cache the value).
git-svn-id: svn://10.0.0.236/trunk@47356 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:18:23 +00:00
pollmann%netscape.com
e3a67f8c26 Bug 13058: Implement nsIStatefulFrame for radio buttons
git-svn-id: svn://10.0.0.236/trunk@47355 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:16:15 +00:00
pollmann%netscape.com
0b42a0ace3 Bug 13058: Implement nsIStatefulFrame for checkboxes
git-svn-id: svn://10.0.0.236/trunk@47353 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:12:08 +00:00
pollmann%netscape.com
a44d5d7eae Nuke some warnings.
git-svn-id: svn://10.0.0.236/trunk@47246 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 01:15:33 +00:00
briano%netscape.com
46226f556f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@47244 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 01:02:20 +00:00
rods%netscape.com
6ba1c874d6 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


git-svn-id: svn://10.0.0.236/trunk@47201 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:20:50 +00:00
kmcclusk%netscape.com
935de9c7ef Removed nsGfxButtonControlFrame's MouseClick method. It uses it's base classes (nsHTMLButtonControlFrame)
MouseClick instead. Reworked nsHTMLButton::MouseClick factoring out code to get Reset and Submit button
types so MouseClick can be re-used by the nsGfxButtonControlFrame.
Fix for bug 13462. Set the nsHTMLButtonControlFrame's mForm in the initial reflow.


git-svn-id: svn://10.0.0.236/trunk@47161 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 20:40:59 +00:00
rods%netscape.com
1de283e598 temporary fix for scrolling the dropdown until gfx scrollbars get in
git-svn-id: svn://10.0.0.236/trunk@47134 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 18:29:00 +00:00
buster%netscape.com
28227a5fcb fixed an uninitialized variabled error. the result code in Reflow is
now initialized to NS_OK, because it's not used in all reflow paths.


git-svn-id: svn://10.0.0.236/trunk@47087 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 03:15:23 +00:00
cls%seawood.org
d211a400e8 Fix my bustage using -D_BSD_SOURCE
git-svn-id: svn://10.0.0.236/trunk@47066 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 16:41:14 +00:00
rods%netscape.com
5f095f2ba0 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
git-svn-id: svn://10.0.0.236/trunk@46859 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 22:56:23 +00:00
briano%netscape.com
1720a8eef4 General cleanup.
git-svn-id: svn://10.0.0.236/trunk@46663 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 00:18:42 +00:00
buster%netscape.com
c0e7040977 workaround needed as a result of hyatt's change to frame construction code and attribute notification.
git-svn-id: svn://10.0.0.236/trunk@46606 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:45:32 +00:00
rods%netscape.com
3f21931d7b Better fix for option elements with no content in them
git-svn-id: svn://10.0.0.236/trunk@46600 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:37:23 +00:00
rods%netscape.com
f95ba06c9a Temporary fix to for mail compose.
git-svn-id: svn://10.0.0.236/trunk@46560 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 13:17:35 +00:00
sfraser%netscape.com
a9e0730fdd #ifdef out a bunch of rods's printfs.
git-svn-id: svn://10.0.0.236/trunk@46459 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:23:40 +00:00
rods%netscape.com
b6cead6582 Commented out space key event processing
git-svn-id: svn://10.0.0.236/trunk@46386 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:55:08 +00:00
rods%netscape.com
3d4e0155f9 Fixed selection in lists
git-svn-id: svn://10.0.0.236/trunk@46384 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:54:30 +00:00
rods%netscape.com
26570657ff removed space and return key event processing
git-svn-id: svn://10.0.0.236/trunk@46383 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:53:30 +00:00
rods%netscape.com
aa14d30718 Added the proper event processing for disabled options
ListBoxes (as dropdowns) are now notified before the are about to be dropped down


git-svn-id: svn://10.0.0.236/trunk@46345 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 14:27:38 +00:00
hyatt%netscape.com
1433b9452c Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).


git-svn-id: svn://10.0.0.236/trunk@46290 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:51:41 +00:00
buster%netscape.com
8dc2f7da63 made a small change to the way the file control interacts with the embedded gfx text control
now, it talks to it via nsIDOMHTMLInputElement interface, rather than assuming imlementation details
about what attributes to set.


git-svn-id: svn://10.0.0.236/trunk@46239 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:20:32 +00:00
pollmann%netscape.com
1045f56e80 Bug 12849: OnChange event.target is now the select instead of the option.
git-svn-id: svn://10.0.0.236/trunk@46145 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:16:23 +00:00
rods%netscape.com
3de715c8ad Fills in background color webshell gets centered and the size is large then the minium
git-svn-id: svn://10.0.0.236/trunk@46004 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 13:34:40 +00:00
peterl%netscape.com
94339ec788 added accessors for additional style contexts
git-svn-id: svn://10.0.0.236/trunk@45966 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:36:32 +00:00
rods%netscape.com
fcf49d01c5 it now does its own reflow in Quirks mode and paint its own border in Quirks mode
(the size of the native border from look and feel)


git-svn-id: svn://10.0.0.236/trunk@45897 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:50:23 +00:00
rods%netscape.com
30529a6153 when in standard mode and calculating desired size it removes the width of the native border
because it is implicitly added during the calculation


git-svn-id: svn://10.0.0.236/trunk@45896 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:48:26 +00:00
rods%netscape.com
b6f8bc909e during reflow it now should only reflow once for GFX widgets
git-svn-id: svn://10.0.0.236/trunk@45895 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:44:53 +00:00
kipp%netscape.com
cff7c34c91 Eliminate some useless string malloc/free's
git-svn-id: svn://10.0.0.236/trunk@45818 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 03:47:06 +00:00
buster%netscape.com
d19957fe42 just a comment about a possible bug I saw going through this code
git-svn-id: svn://10.0.0.236/trunk@45726 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:47:20 +00:00
buster%netscape.com
5055763304 fixed wrapping issues. dogfood bug 8984
git-svn-id: svn://10.0.0.236/trunk@45725 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:46:53 +00:00
buster%netscape.com
398a9778e4 added PRInt32 GetWidthInCharacters() const;
git-svn-id: svn://10.0.0.236/trunk@45724 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:45:50 +00:00
buster%netscape.com
c23a7f4749 replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth()
git-svn-id: svn://10.0.0.236/trunk@45723 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:45:21 +00:00
buster%netscape.com
0cb716f347 added GetDefaultColumnWidth(), replacing a hardcoded #define
git-svn-id: svn://10.0.0.236/trunk@45722 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:44:17 +00:00
rods%netscape.com
ce8ef5632e commented out some unused variables to remove warnings
git-svn-id: svn://10.0.0.236/trunk@45683 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 13:51:12 +00:00
mscott%netscape.com
31f0fb1257 check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
and password dialogs


git-svn-id: svn://10.0.0.236/trunk@45428 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:11:17 +00:00
kipp%netscape.com
eea3ab916a Updated SizeOf methods to not waste space when doing a non-debug build
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
rods%netscape.com
58a795dc61 Removed ref counting changed the the popup is positioned
removing dom listeners on descruction


git-svn-id: svn://10.0.0.236/trunk@45341 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:50 +00:00
rods%netscape.com
0bd721ba73 removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView


git-svn-id: svn://10.0.0.236/trunk@45339 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:40 +00:00
rods%netscape.com
280b982d3a uses the new factored code for calculating size it helps for calculating suggested size
(see nsGfxButtonControlFrame.cpp)


git-svn-id: svn://10.0.0.236/trunk@45338 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:05:31 +00:00
rods%netscape.com
1c8a506178 Changed the way the button calculates it's size with respect to suggested size.
I factored out the part where border and padding is added in so it can be overridden.


git-svn-id: svn://10.0.0.236/trunk@45337 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:03:38 +00:00
rods%netscape.com
02ad25efb5 removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst
git-svn-id: svn://10.0.0.236/trunk@45336 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 12:59:09 +00:00
kmcclusk%netscape.com
64227a6ec4 Removed compiler warning in nsFormControlHelper::PaintCircularBackground
git-svn-id: svn://10.0.0.236/trunk@45208 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:29:11 +00:00
buster%netscape.com
30737aca1f clean up: better error handling and minor performance fixes
git-svn-id: svn://10.0.0.236/trunk@45199 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:14:44 +00:00
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
rods%netscape.com
63673bd8b6 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


git-svn-id: svn://10.0.0.236/trunk@44842 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:42:27 +00:00