dcone%netscape.com
610d17b6f7
Added a clip for the borders and fixed how they are rendered. r=karnaze
...
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com
e9d10db2dd
Changed the parameter of the CalcNavQuirksSize to take the input spec instead of the length
...
not it properly calculates the number of cols and rows when in NavQuiks mode
r=kmcclusk, part of bug 7461
1999-10-22 03:14:03 +00:00
rods%netscape.com
6bd1234f0f
changed the padding so it is adding in the correct left right instead of top bottom
...
r=kmcclusk, Bug #16936
1999-10-21 22:22:32 +00:00
rods%netscape.com
65832c10f9
removed the PR_MAX forcing the y offset to be zero or greater. Not sure why it was doing this.
...
r=kmcclusk Bug #16152
1999-10-21 00:06:23 +00:00
rods%netscape.com
7c9efc7940
added code to the destructor to make sure the list get rolled up.
...
r=kmcclusk bug 15912
1999-10-20 21:59:04 +00:00
scc%netscape.com
fcc6a10651
eliminate warnings, r=shaver
1999-10-20 18:59:00 +00:00
evaughan%netscape.com
0dc0b76629
fixed numerous warnings. Reviewed by Hyatt.
1999-10-20 00:46:21 +00:00
rods%netscape.com
62c0f338c7
fixed several warning and fixed setting the wrap property enum to off r=kmcclusk, bug 16770
1999-10-19 19:58:07 +00:00
rods%netscape.com
55cea5cd58
removed comma after last enum, warning clean up, r=kmcclusk (no bug)
1999-10-19 19:56:35 +00:00
rods%netscape.com
5a4c5ae518
Moved GetWrapProperty to nsFormControlHelper
...
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:53 +00:00
rods%netscape.com
8815aee70f
Added methods for getting a frame's current font and
...
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:50 +00:00
rods%netscape.com
354b09bef7
Removed old commented out code and unused comments. r=kmcclusk, (no bug)
1999-10-19 11:35:17 +00:00
peterl%netscape.com
757c0b5f01
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
kmcclusk%netscape.com
8216078009
Return the value of the option element value attribute if it is present otherwise return
...
the content of the option. bug #16158 . r=rods@netscape.com
1999-10-14 23:41:40 +00:00
pollmann%netscape.com
110dc42745
Bug 15841: Don't default to selecting item 0 of a listbox
...
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:29 +00:00
pollmann%netscape.com
324dcfff7b
Bug 15769: Default select item 0 when adding or removing opt to combo
...
r=harishd
1999-10-12 08:47:22 +00:00
kipp%netscape.com
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
rods%netscape.com
dedfd2be24
ifdef'ed out a static counter for debugging. r=kmcclusk b=15637
1999-10-08 12:24:11 +00:00
rods%netscape.com
c923afa44f
Added the COMPAre macro for comparing sizes with NavQuirks
...
r=kmcclusk
1999-10-07 21:46:31 +00:00
rods%netscape.com
a2c07e7ba4
Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
...
r=kmcclusk
1999-10-07 21:39:50 +00:00
rods%netscape.com
d317d2245a
Removed code where standard mode was incorrectly subtracting border size
...
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods%netscape.com
487a041f85
Added macro to help in figuring Nav Quirks default size for all
...
controls ifdef for just me r=kmcclusk
1999-10-07 21:07:38 +00:00
rods%netscape.com
d170030b32
Added macro to help in figuring Nav Quirks default size for all controls r=kmcclusk
1999-10-07 21:04:52 +00:00
pavlov%netscape.com
dd46c93cdc
ifdef out the call to CaptureMouse since it is no longer needed r=rods
1999-10-06 13:36:39 +00:00
pollmann%netscape.com
c2734ed9cc
Bug 15170: Implement onchange notification for list boxes
1999-10-05 23:43:06 +00:00
peterl%netscape.com
b9051a9f76
removing dead style change code and refereneces to dead style change code
...
r=troy
1999-10-02 04:23:48 +00:00
rods%netscape.com
e121d483ee
Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
...
this enables it to unset any temporary selections and restore the actual selection
1999-10-01 14:30:33 +00:00
rods%netscape.com
2424740140
ifdef out a debug statement
1999-10-01 14:26:40 +00:00
rods%netscape.com
888d1325e2
removed noisy printf
1999-10-01 14:20:45 +00:00
rods%netscape.com
cd2c3b0283
Added ConsumeEvents parameter to CaptureRollupEvents
1999-09-30 14:36:17 +00:00
rods%netscape.com
c2da5cb934
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
...
added some key support made it so it sets the focus back to the main webshell window when the drop down is closed
1999-09-30 11:37:58 +00:00
rods%netscape.com
bdb901f425
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
1999-09-30 11:36:44 +00:00
rods%netscape.com
17037594d5
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
...
Removed focus listener and ForcedRedraws
1999-09-30 11:36:32 +00:00
rods%netscape.com
b111eaec5a
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
...
It also measures W & w for the the chars width in NavQuirks mode to get more accurate measurement of the width and height
1999-09-30 11:34:32 +00:00
rods%netscape.com
9712b39e87
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
1999-09-30 11:31:40 +00:00
rods%netscape.com
b1b3a6e5c3
Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
1999-09-30 11:30:04 +00:00
rods%netscape.com
c68c7a7a65
Fixed to use the LookAndFeel object in the PresContext instead of creating one via the ComponentManager
1999-09-30 11:23:17 +00:00
peterl%netscape.com
0ee00122a0
manage view visibility better
1999-09-29 03:36:16 +00:00
peterl%netscape.com
42d4d2cabf
set reflow reason properly for incremental changes
1999-09-29 03:35:51 +00:00
peterl%netscape.com
85a9038d81
use style changed reflow instead of content changed when updating button
1999-09-29 03:35:24 +00:00
dcone%netscape.com
6708def373
Added a Release.. to fix a leak
1999-09-24 13:49:12 +00:00
dcone%netscape.com
29b739396d
Took out some Addrefs, causing leaks
1999-09-24 13:48:40 +00:00
rods%netscape.com
40d28f50ca
Added nsIRollupListener for rolling up the dropdown
1999-09-21 21:20:50 +00:00
pollmann%netscape.com
9c3cf449e6
Bug 11488: Crash when deleting options from GFX selects
1999-09-21 13:25:32 +00:00
peterl%netscape.com
2e3a8d9de7
removed ReResolveStyleContext
1999-09-21 07:56:18 +00:00
pollmann%netscape.com
dd83c13707
Bug 13960: Combo box must not be dropped down before mouse moves update the selected option.
1999-09-19 09:48:04 +00:00
pollmann%netscape.com
19478905b2
Remove redundant reset() call.
1999-09-19 09:18:33 +00:00
pollmann%netscape.com
0c39f8496e
Cache value updates in a more general way for file inputs, fix mem leak.
1999-09-19 07:25:12 +00:00
pollmann%netscape.com
75c5f6cbbc
Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1
1999-09-17 07:22:23 +00:00
pollmann%netscape.com
739eb3fb1b
Bug 13960: Update GFX combos when selection is set.
1999-09-16 22:36:29 +00:00
pollmann%netscape.com
fbbacbcb54
Minor cleanup - don't assume implementation details.
1999-09-16 20:26:44 +00:00
rods%netscape.com
a54fd8f82c
It was calculating the absolute position wrong. the frame's x,y was being added in twice.
1999-09-15 21:57:51 +00:00
pollmann%netscape.com
38b2f3b98f
Bug 13058: (Fixed Solaris bustage by removing Inherited typedef)
1999-09-15 05:31:31 +00:00
evaughan%netscape.com
cc94b6273b
Fixed some bugs in splitter
...
added auto collapse.
1999-09-14 22:17:19 +00:00
dcone%netscape.com
48a648eead
Added a Mac case for creating the popup widget..
The #ifdef will come out when all platforms support the PopUp_CID
1999-09-14 21:29:58 +00:00
pollmann%netscape.com
7de8a23562
Backing things out until I can get Solaris bustage figured out.
1999-09-14 20:42:26 +00:00
pollmann%netscape.com
cc1006548e
Bug 13058: Update select control interface to include 'get option selection'
1999-09-14 19:37:51 +00:00
pollmann%netscape.com
ce6b56d3bd
Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects
1999-09-14 19:37:45 +00:00
pollmann%netscape.com
3d85f5569f
Bug 13058: Implement nsIStatefulFrame for file inputs, cache value until child textbox is created, and misc cleanups.
1999-09-14 19:28:45 +00:00
pollmann%netscape.com
8c356ce641
Bug 13058: Implement nsIStatefulFrame for text inputs and textareas
1999-09-14 19:19:55 +00:00
rods%netscape.com
a88a857804
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
1999-09-13 23:20:50 +00:00
kmcclusk%netscape.com
7f1e1fea5f
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.
1999-09-13 20:40:59 +00:00
rods%netscape.com
a9c8647536
temporary fix for scrolling the dropdown until gfx scrollbars get in
1999-09-13 18:29:00 +00:00
rods%netscape.com
471a693a76
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
1999-09-10 22:56:23 +00:00
rods%netscape.com
8f3c34039e
Better fix for option elements with no content in them
1999-09-09 19:37:23 +00:00
rods%netscape.com
6bf3f31fc6
Temporary fix to for mail compose.
1999-09-09 13:17:35 +00:00
sfraser%netscape.com
6c9a33ac66
#ifdef out a bunch of rods's printfs.
1999-09-09 00:23:40 +00:00
rods%netscape.com
2408822d86
Commented out space key event processing
1999-09-08 19:55:08 +00:00
rods%netscape.com
ce1ac471da
Fixed selection in lists
1999-09-08 19:54:30 +00:00
rods%netscape.com
4a4b4f9b6f
Added the proper event processing for disabled options
...
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
1999-09-08 14:27:38 +00:00
buster%netscape.com
c769d8679a
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.
1999-09-07 23:20:32 +00:00
pollmann%netscape.com
1ef97aa745
Bug 12849: OnChange event.target is now the select instead of the option.
1999-09-07 02:16:23 +00:00
peterl%netscape.com
dc30e49b82
added accessors for additional style contexts
1999-09-03 23:36:32 +00:00
rods%netscape.com
2bdffa9cdb
when in standard mode and calculating desired size it removes the width of the native border
...
because it is implicitly added during the calculation
1999-09-03 14:48:26 +00:00
rods%netscape.com
e6ba3a3633
during reflow it now should only reflow once for GFX widgets
1999-09-03 14:44:53 +00:00
rods%netscape.com
8937cbad86
initial add (not in the build yet)
1999-09-03 14:25:15 +00:00
kipp%netscape.com
0f47e24e22
Eliminate some useless string malloc/free's
1999-09-03 03:47:06 +00:00
buster%netscape.com
a0f25c7eeb
just a comment about a possible bug I saw going through this code
1999-09-02 20:47:20 +00:00
buster%netscape.com
da85114e6d
replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth()
1999-09-02 20:45:21 +00:00
buster%netscape.com
54b42736de
added GetDefaultColumnWidth(), replacing a hardcoded #define
1999-09-02 20:44:17 +00:00
rods%netscape.com
c5bc3f7933
commented out some unused variables to remove warnings
1999-09-02 13:51:12 +00:00
mscott%netscape.com
b9c7867990
check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
...
and password dialogs
1999-09-01 04:11:17 +00:00
rods%netscape.com
351a1ea319
Added AbsolutelyPositionDropDown
1999-08-31 13:23:15 +00:00
rods%netscape.com
ac28d10d0e
Removed ref counting changed the the popup is positioned
...
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods%netscape.com
1df8f61dbe
Added SynViewWithFrame
1999-08-31 13:22:45 +00:00
rods%netscape.com
e5763c59be
removing dom listeners on descruction
...
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00
rods%netscape.com
ee802625c1
uses the new factored code for calculating size it helps for calculating suggested size
...
(see nsGfxButtonControlFrame.cpp)
1999-08-31 13:05:31 +00:00
rods%netscape.com
b5f9207fc9
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.
1999-08-31 13:03:38 +00:00
rods%netscape.com
47dcea120d
removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst
1999-08-31 12:59:09 +00:00
kmcclusk%netscape.com
4df505df28
Removed compiler warning in nsFormControlHelper::PaintCircularBackground
1999-08-30 22:29:11 +00:00
rods%netscape.com
9b61766a0c
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
37c64d3417
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
9e55302cfa
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
516b96bacf
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
306710d1c1
Changed parameters from width and height to a nsRect
1999-08-27 14:31:54 +00:00
pollmann%netscape.com
d7d24f5d54
Bug 12350
1999-08-27 03:58:47 +00:00
pollmann%netscape.com
4470669745
Cleanup, and bugfixes for bug 12475 and 12350
1999-08-27 03:58:13 +00:00
rods%netscape.com
4d101399a7
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
e01fc25876
Cleanup the file and gave it a unique GUID.
1999-08-26 14:45:53 +00:00