hyatt%netscape.com
489fa24f63
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
rods%netscape.com
111a73a59a
The combobox would be scrolled into view if some portion of it is visible.
...
b 23068 r=attintasi
2000-01-13 23:52:53 +00:00
rods%netscape.com
c826c2abb6
Fixed two bugs, it puts the entire native file path into the text control instead of just the file name
...
and now it obeys the "size" attribute
b=19010 r=attintasi
2000-01-13 23:34:01 +00:00
brade%netscape.com
4139a0f457
use proper key for disconguous selection on Mac (r=jfrancis)
2000-01-13 16:01:04 +00:00
rods%netscape.com
e8985fdb21
reworked some more of the fieldset's reflow (not in build yet)
2000-01-11 20:40:06 +00:00
rods%netscape.com
cee7c68c6f
Listbox was handle clicks in the combobox incorrectly and this caused the
...
dropdown to rollup too soon.
b=23484 r=kmcclusk
2000-01-11 20:36:37 +00:00
rods%netscape.com
7f30314d7a
click events for checkbox and radiobuttons now handled via content (DOM0
...
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
rods%netscape.com
cd4c745f16
Added unconstrainted reflow optimizations
...
r=kmcclusk bug=12653
2000-01-09 02:07:00 +00:00
rods%netscape.com
73c1948005
Reworked frame creation and creation of it's children for bug 23156,
...
not turned on yet.
2000-01-09 02:05:25 +00:00
rods%netscape.com
9d4dc50132
Temporarily turning off optimization
2000-01-09 02:03:23 +00:00
rods%netscape.com
ee8729afee
Added unconstrainted reflow optimizations
...
r=kmcclusk,dcone bug=12653
2000-01-09 01:52:17 +00:00
rods%netscape.com
de25ed658f
Added unconstrainted reflow optimizations
...
r=kmcclusk,dcone bug=12653
2000-01-09 01:41:11 +00:00
rods%netscape.com
2af5f256f9
Added unconstrainted reflow optimization methods
...
r=kmcclusk bug=12653
2000-01-08 15:53:48 +00:00
rods%netscape.com
a25e7644fc
backed out all changes from today (1/5/2000)
2000-01-05 16:42:47 +00:00
rods%netscape.com
52849ba449
compile sunder windows and not Linux, wierd
2000-01-05 15:58:07 +00:00
rods%netscape.com
e63ecd85ed
turning off reflow optimization until further XUL testing can be done.
...
r=self
2000-01-05 15:47:16 +00:00
rods%netscape.com
2eeffb7cab
Added unconstrainted reflow optimizations
...
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653
2000-01-05 15:46:29 +00:00
rods%netscape.com
10e16600ca
Added unconstrainted reflow optimizations
...
Also, commented out the adding of border-padding to the maxelementsize
r=kmcclusk bug=12653
2000-01-05 15:22:38 +00:00
rods%netscape.com
3c2300bf66
Added unconstrainted reflow optimizations
...
r=kmcclusk bug=12653
2000-01-05 15:21:02 +00:00
rods%netscape.com
543b271ef5
Added unconstrainted reflow optimization methods
...
r=kmcclusk bug=12653
2000-01-05 15:15:22 +00:00
sspitzer%netscape.com
42e7039924
fix warnings
1999-12-28 19:41:57 +00:00
rods%netscape.com
a3346c4a5e
turned off some debug rods only
1999-12-22 20:03:59 +00:00
rods%netscape.com
a10fd6a960
fixed visibility check error
...
r=kmcclusk bug=21701
1999-12-22 19:54:21 +00:00
rods%netscape.com
c3679c3727
turned off some rods debug output and fixed visibility check error
...
r=kmcclusk bug=21701
1999-12-22 19:52:56 +00:00
rods%netscape.com
c37936155f
changed clipping in Paint to be intersect instead of replace
...
r=kmcclusk
1999-12-22 19:50:47 +00:00
rods%netscape.com
7c47447ac9
Fixed the edge case where the select may have zero options or one option
...
with no lable and no content and it sizes out to be zero high
also fixed twhere visibility wasbeing check incorrectly
r=kmcclusk
1999-12-22 19:49:36 +00:00
rods%netscape.com
b3fcb59f48
Added experimental ifdef;ed but turned for reducing the number of resize reflows,
...
basically we ignore them and pass back our most recently reflowed size
r=karnaze bug=22063
1999-12-22 19:46:28 +00:00
hyatt%netscape.com
563b3b509d
Patch that gets tabbing back into text fields. r=waterson
1999-12-21 19:35:13 +00:00
hyatt%netscape.com
64b7811b77
Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
...
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
rods%netscape.com
a558bc096c
temprary fix for combobox dropdowns that jump all around.
...
changed the way a temp nsSize was being created.
removed all the dom listener interfaces and code (they weren't being used)
r=beard,self a=chofmann bug 19416, 20957, 19300, 20250
1999-12-14 22:22:00 +00:00
rods%netscape.com
1aa5067600
stripping out all the whitespace for form data submission
...
commented changing the visible directly
bug 21276, r=pollmann a=chofmann
1999-12-14 14:16:09 +00:00
rods%netscape.com
5c145aa0f5
not using scaled pixels to twips
...
b=21293 r=dcone
1999-12-10 23:59:27 +00:00
hyatt%netscape.com
3f9fa43e97
Massive rewrite of the focus/blur architecture. Things should behave better
...
now. r=saari
1999-12-08 04:54:29 +00:00
rods%netscape.com
58000ea4b5
Always passing back that the frames are there, this still isn't right and needs to be
...
reworked again. But this will able some XUL selects to work that otherwise would be
broken and I haven't found it to cause any problems with a lot of testing. I have
regressed to this situation in the past and it worked OK.
r=kmcclusk, bug=none but hangas (or self) would have filed one by end of day.
1999-12-08 00:08:41 +00:00
rods%netscape.com
6e773b0546
removing unused variables (bloat) and using nsLayoutAtoms::optionSelectedPseudo instead of
...
using a string and creating and deleting it each time.
r=kmcclusk
1999-12-06 22:59:43 +00:00
troy%netscape.com
3c7966f705
Change to how overflow is handled for absolutely positioned elements.
...
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
rods%netscape.com
7e6c5acc96
now trims white space and makes sure the text is two spaces if empty
...
r=kmcclusk b=none
1999-12-05 20:48:37 +00:00
rods%netscape.com
a15c550545
removed the substraction of the border and padding for fixed width
...
r=kmcclusk b 18448
1999-12-05 20:45:58 +00:00
rods%netscape.com
1abe243c94
Added a "flags" variable for combobox creation
...
also fixed a a small problem with border padding being added in for fixed size comboboxes
r=self, bug 19382
1999-12-05 20:43:18 +00:00
hyatt%netscape.com
16a944a1e3
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
rods%netscape.com
0874e74a36
clips inside the border instead of inside the border and padding
...
r=kmcclusk bug 20301
1999-12-02 22:07:43 +00:00
sfraser%netscape.com
75d8b254fc
Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman
1999-12-02 03:12:51 +00:00
sspitzer%netscape.com
9419807380
simple bullet proofing fix for #20423
1999-12-01 03:08:04 +00:00
troy%netscape.com
40af4a9d1d
Fixed compiler warning
1999-11-30 05:38:15 +00:00
waterson%netscape.com
cce2fc3cb5
Don't re-create atom over and over. r=hyatt
1999-11-30 01:13:36 +00:00
rods%netscape.com
4f976a7098
added back in the code that hook it up to the form for submission
...
r=kmcclusk bug 19546
1999-11-24 21:37:34 +00:00
rods%netscape.com
c5c9a1f829
change to always check for upper case TEXT
...
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods%netscape.com
8718dcf0dc
CheckIfAllFramesHere not actually check to see if all the frames are there
...
r=kmcclusk Bug 19949
1999-11-24 21:12:03 +00:00
rods%netscape.com
b223674e45
when there is no value it gets the text for the butto from the egernated content
...
in all cases (not just when it is a submit or reset) r=kmcclusk bug 19607
1999-11-24 20:59:49 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
rods%netscape.com
b85ae7a27b
removed return variable that wasn't used and its warning r=self
1999-11-23 14:21:03 +00:00
rods%netscape.com
54cec9b893
fixed two warning r=me
1999-11-23 14:16:59 +00:00
sfraser%netscape.com
a3a45cef6a
#ifdef out all the stupid printfs. r=pinkerton, no bug.
1999-11-23 03:26:56 +00:00
rods%netscape.com
73bdbaa898
Added NavQuirks sizing for input button
1999-11-22 22:04:53 +00:00
rods%netscape.com
adfc214399
Added NavQuirks sizing for buttons and hidden
1999-11-22 22:03:35 +00:00
rods%netscape.com
59006b15ec
added bool parm to is DoneAddinContent r=dcone bug 18241
1999-11-19 16:05:16 +00:00
rods%netscape.com
5acd6380be
added bool parm to is DoneAddinContent r=dcone bug 18241
1999-11-19 15:46:20 +00:00
rods%netscape.com
ee30f46561
added bool parm to DoneAddingContent r=dcone bug 18241
1999-11-19 15:43:06 +00:00
troy%netscape.com
fe56995443
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com
81dcb1e335
DOM extension for exposing text areas to XUL
...
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
rods%netscape.com
8c8f362920
removing extra box sizing code that is not needed.
...
computed border and padding is always added for Standard and only for explicit w/h for NavQuirks.
r=dcone bug=18448
1999-11-18 15:15:07 +00:00
rods%netscape.com
accfa429da
Added MakeSureSomethingIsSelected to the combobox so the ListBox can
...
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com
9862e79cc1
Added MakeSureSomethingIsSelected so the ListBox can call it after it is initialized.
1999-11-16 22:47:15 +00:00
pollmann%netscape.com
fa81b6bfef
Fix typo during typo during previous checkin.
1999-11-16 01:20:04 +00:00
pollmann%netscape.com
8f04b58edc
Bug 15204: Allow getting text value in uninitialized textarea - GetText works with text inputs AND textareas. r=harishd
1999-11-16 01:17:54 +00:00
rods%netscape.com
48470623cf
temporarily adding box sizing utility methods to help forms calculate their size
...
appropriately for box sizing.
r=kmcllsuk, bug 18448
1999-11-15 15:16:28 +00:00
rods%netscape.com
ad0bd43918
Disabled key events when it is disabled
...
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com
ac91f36e7c
Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
...
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
kmcclusk%netscape.com
762e065e7d
Fixed problem where buttons where causing reflows when entering and exiting.
...
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
rods%netscape.com
63760fca6d
Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
...
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
troy%netscape.com
e36c0c9d4c
b=17546. Changed block frame code to save/restore space manager when create
...
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
rods%netscape.com
d8bca1113b
Fixes MLK 18207 - missing addref, r=beard
...
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk
1999-11-09 13:41:27 +00:00
nisheeth%netscape.com
242db1bd00
r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell.
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
pollmann%netscape.com
f1b69a06ac
Bug 17995: Don't reset selection when adding an option to a combobox, as it caused reframing and a crash. r=harishd a=choffman
1999-11-06 00:54:54 +00:00
pollmann%netscape.com
5ba410cabf
Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
1999-11-04 23:16:47 +00:00
rods%netscape.com
146ceb26bc
Commented out the reset of the list when an option gets added
...
Fixes crashers 17836, 17852, 17965 r=kmcclusk
1999-11-04 22:45:10 +00:00
joki%netscape.com
d5c05ea133
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
1999-11-03 07:11:45 +00:00
rods%netscape.com
dcb84d1cc1
Add CountAllChild to count all the option and optgroup elements so lists
...
get sized correctly when no rows are specified
r=kmcclusk, bug=4050
1999-11-03 00:07:01 +00:00
rods%netscape.com
f47c6d02f7
Added code to size the button appropriately when style sets the size and
...
make it clip for drawing.
NOTE: This is a temporary fix for bug #17474
1999-11-03 00:05:30 +00:00
rods%netscape.com
9600847e2c
Combos now size correctly when the size is specified via style
...
r=kmcclusk, b=16317
1999-11-03 00:03:32 +00:00
kmcclusk%netscape.com
c90004966e
Fixed places where SetProperty and Reset were missing the nsIPresContext argument.
...
This fixed 6 warnings and cases where reset and set property where not working properly for
all form elements. r = rods@netscape.com .
1999-11-03 00:01:13 +00:00
pollmann%netscape.com
59640f2e44
Removing null code. No bug number. r=nisheeth
1999-11-02 03:48:04 +00:00
pollmann%netscape.com
ce61901fde
Removing null code. No bug number. r=nisheeth
1999-11-02 01:50:15 +00:00
troy%netscape.com
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
rods%netscape.com
6e01f6ce6e
Check to see if the option being added has the "selected" property, if it
...
does then the list needs to be reinitialized.
r=dcone, bug #17519
1999-11-01 15:41:17 +00:00
troy%netscape.com
29baf3aea4
b=17507. Changed Reflow() to use "available height" instead of "computed
...
height" when reflowing child frames. What was happening was that the child
table frame didn't fit and was trying to split. That should only happen when
we're paginated
1999-10-31 03:39:24 +00:00
rods%netscape.com
388b0dc47d
removes itself from the radio group when it is destructed
...
r=kmcclusk, bug 17418
1999-10-29 13:54:58 +00:00
rods%netscape.com
022efe1d62
Listboxes now obey CSS specifed sizes
...
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
rods%netscape.com
986d740c9d
At kipp's suggestion I added a EnterReflowLock before and a ExitReflowLock
...
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
1999-10-26 23:34:46 +00:00
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
pollmann%netscape.com
df3d6a9c84
Rewrite of AddOption/RemoveOption(), adding nsISelectControlFrame interface.
1999-08-24 21:55:56 +00:00
rods%netscape.com
d242922f1f
Added GetDropDown method to return the nsListControlframe
1999-08-23 14:05:37 +00:00
buster%netscape.com
5ad9a0d8d8
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
afc22beb87
Bug 3256: Add ScrollIntoView() method to form control frame interface.
1999-08-21 00:10:13 +00:00
pollmann%netscape.com
b18052f3d5
Bug 3256: Add ScrollIntoView() method to form frame objects.
1999-08-21 00:09:24 +00:00
rods%netscape.com
753d67f6fb
Added method GetSelectedIndex
1999-08-19 14:26:38 +00:00
rods%netscape.com
6d3a4510e4
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
941247629a
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
060678ced8
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
cb52233ea9
It now takes into account the suggested size in the calculation
1999-08-19 14:02:20 +00:00
rods%netscape.com
df9a24b432
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
kmcclusk%netscape.com
22c7e0a93e
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
a8115dfef2
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
b9943f6175
Bug 10939: Make image input element transparent
1999-08-11 03:30:25 +00:00
rods%netscape.com
c41e06d81a
Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code.
1999-08-10 19:25:22 +00:00
rods%netscape.com
fdd33e59b6
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
4951b16db4
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
rods%netscape.com
742cc2080f
ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment
1999-08-06 14:42:00 +00:00
rods%netscape.com
48114ca937
Started to add code to better handle resizing when there are no elements.
1999-08-06 14:14:38 +00:00
rods%netscape.com
8eacd11c19
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
1999-08-06 14:13:20 +00:00
ramiro%netscape.com
5d63d292a7
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.
1999-08-06 07:14:43 +00:00
pierre%netscape.com
0ef447e816
First Checked In.
1999-08-06 05:13:07 +00:00
pierre%netscape.com
ad77864095
breaking up gfx & native widgets
1999-08-06 05:11:39 +00:00
evaughan%netscape.com
95162a85a2
Fixed fieldset padding bug.
1999-08-06 00:48:26 +00:00
rods%netscape.com
aab50185d8
Made many changes to fix several bugs
1999-07-28 21:38:08 +00:00
rods%netscape.com
f2aa77e259
Added NS_DEFINE_STATIC_IID_ACCESSOR
1999-07-28 21:35:55 +00:00
rods%netscape.com
f166df5aca
NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method
1999-07-28 21:35:28 +00:00
troy%netscape.com
7e4e30d0c4
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +00:00
kmcclusk%netscape.com
18b946cc00
bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
...
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
pavlov%netscape.com
8b8b9c3727
window creation changes
1999-07-27 04:27:17 +00:00
joki%netscape.com
deb676cd44
Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
1999-07-26 15:02:19 +00:00
morse%netscape.com
16b516ce0e
Remove wallet from layout
1999-07-24 01:39:58 +00:00
scc%netscape.com
d7df82e345
Fixed boxes to only invalidate and redraw what has changed.
...
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00
troy%netscape.com
537d74d82c
Renamed some nsFrameList member functions
1999-07-22 04:00:57 +00:00
troy%netscape.com
9fdbc7ced3
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
kmcclusk%netscape.com
41ed34acb6
nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
...
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
troy%netscape.com
a6aae963a7
Added 'm' prefix to some of the nsHTMLReflowState data members
1999-07-20 03:41:03 +00:00
rods%netscape.com
77013f79fa
changed Invalidate calls to have a FLASE repaint flag
1999-07-16 14:24:51 +00:00
rods%netscape.com
6a9e9cee81
commented out repaint for focus
1999-07-16 14:23:48 +00:00
jdunn%netscape.com
dbf0f72ff2
Adding newline at end... HP requires it
1999-07-16 00:26:47 +00:00
beard%netscape.com
e7ac662ac9
Fixing bustage
1999-07-14 23:23:47 +00:00
kmcclusk%netscape.com
f052dc2f0d
fixed bugs #6303 , #6753 , #6756 , #6759
...
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
kipp%netscape.com
b635ab5465
Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993 )
1999-07-07 02:33:17 +00:00
sspitzer%netscape.com
3649abeee9
fix warning
1999-07-06 22:40:54 +00:00
evaughan%netscape.com
903d3c7c19
Added anonymous node support.
...
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
pollmann%netscape.com
b5ccb72a9c
Getting cursor from style system: Insert paranoia^H^H^H^H^H^H^H^H^H stability code here.
1999-06-25 01:17:18 +00:00
pollmann%netscape.com
32d96f0efc
Use the style system to get the mouse pointer for an image input element.
1999-06-25 00:19:44 +00:00
kmcclusk%netscape.com
1ab657043a
Modified gfx-rendered widget styles to more closely match styles
...
in http://www.mozilla.org/xpfe/nsGFXWidgets.html .
Added check for null mHitFrame in nsListControlFrame::MultipleSelection and
nsListControlFrame::SingleSelection.
1999-06-23 21:50:56 +00:00
kmcclusk%netscape.com
8584722a29
Removed commented out code to perform system mouse capture.
1999-06-21 20:46:47 +00:00
kmcclusk%netscape.com
70c83e0548
Numerous changes to support gfx-rendered form elements.
1999-06-21 20:41:56 +00:00
peterl%netscape.com
7eabb8ee51
fixed re-resolve style contexts to handle local pseudo elements
...
and capture style change information
1999-06-16 06:17:21 +00:00
pinkerton%netscape.com
eee20fe0fe
fix memory leaks (bug# 8221)
1999-06-15 23:26:32 +00:00
buster%netscape.com
ccfc0dce22
added support for Ender GFX-rendered text control
...
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame
1999-06-12 22:29:54 +00:00
bruce%cybersight.com
e9dc3a4488
Explicitly include nsFileSpec.h. This will be necessary for some changes coming post-M7.
1999-06-05 11:49:04 +00:00
nisheeth%netscape.com
5406520710
Patch from alecf to do a null pointer check on argument to GetSelectedIndex().
1999-06-05 00:18:58 +00:00
pinkerton%netscape.com
850bab971a
unpatch leaf's hack in 1.73 since form submission now works correctly. Mac now once again submits the form when return is pressed.
1999-06-03 18:05:40 +00:00
evaughan%netscape.com
4b0b0ef6f4
Reworked fieldsets to fix numerous bugs.
1999-06-01 21:52:11 +00:00
kmcclusk%netscape.com
fd468cfbd4
fix for bug #6971 . Added support for clicking and dragging over items in single
...
and multiselect listboxes. Also supports holding down the shift and ctrl keys
while dragging.
1999-05-28 21:12:09 +00:00
pollmann%netscape.com
4ba580c20a
Bug 3322: NS_CONTROL_CHANGE events call ControlChanged on the form frame.
1999-05-28 01:05:19 +00:00
pierre%netscape.com
d23f607b69
#3930 "file selection control displays complete path"
1999-05-28 00:40:18 +00:00
kmcclusk%netscape.com
56cb572831
fixes for bugs #5809 , #5852 , #6828 , #6973 .
...
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.
1999-05-27 21:17:10 +00:00
leaf%mozilla.org
d9cb231ace
Filtering out form submission in all cases, to get location bar working
...
for mac. This will be fixed RSN.
1999-05-25 23:25:19 +00:00
evaughan%netscape.com
2b76d2dc93
Fixed some visibility bugs in order to make the tab widget work correctly.
1999-05-19 22:14:11 +00:00
kmcclusk%netscape.com
ab4f0a0584
bug #994 Major rework of nsListboxControlFrame to support option groups. Modified ua.css
...
optgroup > option rule to use padding to offset the option group's options.
1999-05-17 22:36:08 +00:00
mcmullen%netscape.com
e8ee5c8aa3
Removed string methods from the file widget
1999-05-15 22:01:21 +00:00
kmcclusk%netscape.com
bdce020a9a
bug #5993 . Removed references to nsIWidget in form HTML content elements. the form elements
...
now go through the nsFormControlFrame interface instead. This removes the dependency between
form element content and nsIWidget.
1999-05-13 23:45:40 +00:00
evaughan%netscape.com
522e0f5680
Fixed form submission.
1999-05-13 21:29:57 +00:00
evaughan%netscape.com
7223c9bfe4
Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses.
1999-05-13 01:35:16 +00:00
kipp%netscape.com
fea30bc4eb
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
evaughan%netscape.com
eefc2545c2
Fixed xul boxes to implement nsIBox interface.
1999-05-09 21:46:24 +00:00
mjudge%netscape.com
85afd8f29d
massive checkin for selection modifications and removing static state variables for selection in nsFrame.h.
1999-05-07 21:12:59 +00:00
kmcclusk%netscape.com
b447bbea26
bug #3547- Modified nsFileControlFrame.cpp to call nsFormFrame::AddFormControlFrame.
...
bug #5589 . Selection area is now calculated using the inherited Reflow rather
than using the calculations used for the native listbox control.
Fixed varous other rendering bugs related to frame-based listboxes.
bug #2797 . GetSize is no longer needed in nsListControlFrame and it has been removed.
Fixed frame-based combobox nsComboboxFrame so that will set it's label to the
first option in the drop-down list if a default value has not been specified.
Added optgroup style rules to ua.css. Opt groups now render, but there are remaining
problems with selection.
Modified nsButtonControlFrame::Reflow to call nsFormFrame::AddFormControlFrame.
This fixes a bug where Gfx-rendered submit button's were not working.
Refactored code in nsListControlFrame in preparation for supporting option groups.
Refactored selection code into SingleSelect and MultiSelect paths.
Removed unused code in nsListControlFrame.
Removed mSelectedFrame member variable. It is no longer needed.
Fixed nsListControlFrame::SetProperty so that it will toggle the selection in a
single select listbox.
1999-05-07 20:30:16 +00:00
sfraser%netscape.com
9b1a2f8d7e
If you don't get an nsIFileWidget, don't just go ahead and call methods on it.
1999-05-07 04:54:43 +00:00
cyeh%netscape.com
8f54a21774
backout mjudge checkin against closed tree. it also breaks mac as well, so
...
mjudge will try again when tree reopens
1999-05-05 23:05:41 +00:00
mjudge%netscape.com
802f66ab7f
removing useless drag info from ::HandleEvent that was copied from nsFrame implementation
1999-05-05 22:29:45 +00:00
karnaze%netscape.com
3ce64a2a9a
bug 3109 - nsFieldSetFrame::SetInitialChildList can deal with legend not being first frame in list
1999-05-04 21:35:05 +00:00
karnaze%netscape.com
291058d2b5
fixed potential divide by 0
1999-04-30 19:50:42 +00:00
pollmann%netscape.com
70ca25253b
Bug 2504: Change mouse pointer over image submits
1999-04-27 22:54:15 +00:00
kipp%netscape.com
a2d2d07781
Use shared IID
1999-04-27 22:14:36 +00:00
troy%netscape.com
c9c0d90c06
Removed a function that wasn't needed and that would leak any child frames
...
that were passed in
1999-04-27 20:28:56 +00:00
troy%netscape.com
da0492067a
Removed some code that wasn't needed and would cause any child frames
...
passed in to be leaked
1999-04-27 20:26:14 +00:00
karnaze%netscape.com
00e49d0539
bug 4143; bug 2467; removed frame caching in nsFormFrame.
1999-04-27 00:06:03 +00:00
evaughan%netscape.com
64ca40d4a9
Made tabs use visibility to hide and show views.
1999-04-25 20:07:45 +00:00
evaughan%netscape.com
f8ef699adb
Added a tab control widget.
1999-04-21 22:46:15 +00:00
kmcclusk%netscape.com
f928d919b1
fix for bug #3162 , Removed #ifndef MAC in the nsSelectControlFrame::GetProperty.
...
The Mac now supports native combo box widgets so it no longer will crash in GetProperty
with a null mWidget field.
Modified nsComboboxControlFrame::HandleEvents. MouseExit from the combox rect now
initiates mouse capture on the drop-down list.
Modified nsCSSFrameConstructor::ConstructSelectFrame to initialize the drop-down list
for frame-based comboboxes as hidden.
Added a nsIListControlFrame::CaptureMouseEvents method.
Implemented nsListControlFrame::CaptureMouseEvents.
1999-04-16 19:28:12 +00:00
kipp%netscape.com
2df6116e6a
Nuked useless includes
1999-04-13 21:52:03 +00:00
kipp%netscape.com
7a0a62f7b6
Nuked extraneous include
1999-04-13 21:51:52 +00:00
kipp%netscape.com
d75345a25f
Revised include
1999-04-13 21:51:43 +00:00
kmcclusk%netscape.com
a1fecd8f08
Enabled frame-based comboboxes when widget rendering mode is gfx.
...
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
karnaze%netscape.com
04718c3c4f
preliminary work for bug 4534
1999-04-06 04:47:18 +00:00
morse%netscape.com
c2cd80222c
moved single signon out of netlib
1999-04-03 22:56:18 +00:00
sdagley%netscape.com
e7b7d2af92
Changed prompt for selecting a file from "FileWidget Title <here> mode = save" to "File Upload" to match 4.x.
1999-04-03 02:32:46 +00:00
karnaze%netscape.com
258a6b644a
bug 4141 - space activating a button
1999-03-31 06:02:12 +00:00
joki%netscape.com
393a3e937e
Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
1999-03-28 22:22:54 +00:00
evaughan%netscape.com
0835fb2da4
Added XUL based layout manager.
1999-03-27 00:58:29 +00:00
donm%netscape.com
9a4f6969a9
backing out evaughan's changes. tree closed.
1999-03-26 19:39:23 +00:00
evaughan%netscape.com
e637847edd
Added box layout system.
1999-03-26 18:51:08 +00:00
kipp%netscape.com
fab8db134e
Whacked paint methods to use new constants
1999-03-26 00:39:35 +00:00
peterl%netscape.com
78240897f9
augmented ReResolveStyleContext to capture style change information
1999-03-25 06:43:38 +00:00
kmcclusk%netscape.com
3ecd16ef89
Various modifications/fixes/cleanup for frame-based listboxes.
...
Set display type to block for option elements in ua.css.
Enable frame-based listboxes when widget render mode is gfx.
1999-03-22 21:32:12 +00:00
hyatt%netscape.com
6647377172
Fixes for the mouseover toolbar button problem. Approved by Chris.
1999-03-18 21:18:00 +00:00
kipp%netscape.com
016853ec2b
Removed unused header file include
1999-03-18 21:01:24 +00:00
evaughan%netscape.com
6d4d57e7a6
Fixed disabled bug on buttons.
1999-03-12 23:47:52 +00:00
morse%netscape.com
9e26773a0f
bug fix for single signon
1999-03-10 21:38:34 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
evaughan%netscape.com
b5c00a443c
1) Implemented regular button and html4 button with a button renderer.
...
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
messed up the active, hover, and disabled states.
1999-03-06 19:43:13 +00:00
troy%netscape.com
ae25a99e7a
Eliminated some code that's no longer needed now that the info is in the
...
HTML reflow state
1999-03-06 01:48:28 +00:00
kipp%netscape.com
ca48c13067
Partial fix to bug #3094
1999-03-05 19:23:24 +00:00
kipp%netscape.com
6bfa1f9e70
Removed dead include
1999-03-05 19:23:09 +00:00
kipp%netscape.com
29d90160b9
Removed ref to dead nsFrameReflowState
1999-03-05 15:22:03 +00:00
kipp%netscape.com
ba18377496
use new nsHTMLReflowState ctors
1999-03-05 04:19:09 +00:00
evaughan%netscape.com
5665be1965
Fixed mac event bug.
...
Fixed alignment bug.
1999-03-03 04:04:48 +00:00
pollmann%netscape.com
734e86c883
Handle readonly changes for TextAreas as well as Text Inputs.
1999-03-03 03:06:36 +00:00
kmcclusk%netscape.com
52afc44421
gfx vs native widget rendering can now be specified in the viewer at run-time.
...
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
joki%netscape.com
c401b7142e
Adding new tab handling and focus support.
1999-03-02 19:19:24 +00:00
brade%netscape.com
ed8c8fcc89
add static to LegendHack() to reduce compiler warnings on Macintosh
1999-03-02 15:17:35 +00:00
brade%netscape.com
9d62c2b952
add static to reduce compiler warnings on Macintosh
1999-03-02 15:17:14 +00:00
brade%netscape.com
a0e781f91e
reduce Macintosh compiler warnings by making function static
1999-03-02 15:15:46 +00:00
evaughan%netscape.com
ffe910ebcb
Made the image accessible from CSS via list-style-image.
1999-03-02 05:00:51 +00:00
evaughan%netscape.com
e45dcff509
Fixed button to respond to the list-style-image property on CSS
1999-03-02 01:25:33 +00:00
karnaze%netscape.com
b4549051c8
correctly set max element size on checkbox, radio. Other cleanup.
1999-02-27 03:59:19 +00:00
pollmann%netscape.com
628c8f6245
Enable dynamic changing of the readonly attribute.
...
Works on Linux now. Win will come on-line later today.
1999-02-26 20:01:48 +00:00
evaughan%netscape.com
4a57fd76ee
Removed state info from button renderer.
1999-02-26 08:48:24 +00:00
evaughan%netscape.com
ee8ea8e385
Fixed up titled button so hover, focus, active, states work.
1999-02-26 06:41:10 +00:00
troy%netscape.com
dfdacc8159
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
karnaze%netscape.com
3cf25b042c
better sizing of form controls, especially percentage based sizes and max element sizes
1999-02-23 03:48:01 +00:00
mcafee%netscape.com
efc3926817
Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris)
1999-02-20 06:05:15 +00:00
evaughan%netscape.com
ded20d5f4a
Added a new XUL TitledButtonFrame
1999-02-19 18:23:02 +00:00
brade%netscape.com
b3b4f0d2c0
add prototype to reduce warnings on Macintosh compiler
1999-02-19 16:13:47 +00:00
kmcclusk%netscape.com
602be9dfc4
Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
...
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +00:00
kmcclusk%netscape.com
bc45423c33
Added pseudo styles for file input element buttons and text fields to control their
...
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.
1999-02-18 00:13:39 +00:00
troy%netscape.com
7b2012fca2
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp%netscape.com
5a554d526e
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
peterl%netscape.com
8d65d14ec2
changed all html atoms to lower case
1999-02-12 06:19:07 +00:00
evaughan%netscape.com
40d72f93fd
Made the HTML input button gfx rendered and in the netscape look and feel. Minus rounded borders
...
that CSS doesn't currently support.
1999-02-12 05:20:55 +00:00
rods%netscape.com
ace71a78e2
Commented out the rollover code that sets the class to a pseudo-class
1999-02-11 18:36:40 +00:00
troy%netscape.com
b27d9f730e
API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
1999-02-11 15:56:23 +00:00
kmcclusk%netscape.com
b9f6f92462
Fixed border rendering during printing for Select and text, and text areas.
...
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
troy%netscape.com
c37ccfbc4c
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
5c3d1395f3
Changed a bunch more nsIFrame member functions to be pointer arguments
...
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
b8965b6929
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
a9159f71d6
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
c9c1fa187e
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com
3cb8ea4326
Undef'ed NS_GFX_RENDER_FORM_ELEMENTS
1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com
c9f82ebd33
Added support to gfx-render radio buttons. Both checkboxes and radio buttons
...
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.
1999-02-09 18:25:40 +00:00
kmcclusk%netscape.com
319fe88890
undefined NS_GFX_RENDER_FORM_ELEMENTS
1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com
bbf111432f
Adjusted checkbox gfx-rendering code to make better looking checkboxes
...
Created nsFormControlHelper::GetBool and nsFormControlHelper::GetBoolString
utility methods for converting strings into booleans and vice versa.
Modified nsCheckboxControlFrame, nsRadioControlFrame, and nsSelectControlFrame
to use these helpers.
1999-02-05 22:15:35 +00:00
kmcclusk%netscape.com
74ce0fe2c8
Disabled gfx-rendering of form controls.
1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com
64f5bd4ee5
Added code to gfx-render checkboxes using CSS style.
...
Removed commented out code in nsFormControlFrame and nsFormControlHelper
1999-02-05 19:48:18 +00:00
kmcclusk%netscape.com
8b616336f2
Renamed GetSize(PRInt32* aSize) to GetSizeFromContent to remove conflict with
...
nsFrame GetSize(nsSize& aSize).
Added check for null mWidget in nsFormControlFrame::HandleEvent
1999-02-03 22:56:50 +00:00
kmcclusk%netscape.com
0674615a79
Moved ForceDrawFrame from nsComboboxControlFrame to nsFormControlHelper
...
Removed commented out code in nsFormControlHelper.h.
Modified nsCheckboxControlFrame and nsRadioControlFrame to use ForceDrawFrame
when gfx-rendered.
1999-02-03 18:55:37 +00:00
kmcclusk%netscape.com
7d3824f0d6
Added support to allow form elements to be either GFX-rendered or use widgets.
...
Work in progress for getting check boxes and radio buttons gfx-rendered.
1999-02-03 17:25:25 +00:00
kmcclusk%netscape.com
65c0812b75
TextAreas now initialize their content area using default text specified in
...
the HTML File.
1999-02-01 23:49:21 +00:00
kmcclusk%netscape.com
29b29e10ca
Modified nsTextControlFrame::Paint to correctly paint the contents of a
...
multi-line text area.
1999-02-01 23:09:06 +00:00
kmcclusk%netscape.com
57de44ee8a
Moved GetPrimaryFrame to nsGenericHTMLElement.
...
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
1999-02-01 18:44:59 +00:00
troy%netscape.com
614736c13d
Fixed a couple of memory leaks
1999-01-29 05:05:02 +00:00
kmcclusk%netscape.com
ff58ce762b
Modified GetText to take extra paramater to indicate whether it should return
...
the current text value or the initial text value
1999-01-28 21:58:01 +00:00
kmcclusk%netscape.com
a28965e71e
Modified nsHTMLInputElement text fields to go through nsTextControlFrame
...
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
michaelp%netscape.com
3bfa7f5cd6
modified for new DrawString()/GetWidth() APIs.
1999-01-28 05:03:58 +00:00
rods%netscape.com
d45b93363b
Added rollover pseudo-class processing for mouse enter and exit
1999-01-27 04:09:12 +00:00