1008 Commits

Author SHA1 Message Date
bryner%uiuc.edu
a2f83e6dd1 Turning my changes back on, since they didn't cause the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64913 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:39:53 +00:00
bryner%uiuc.edu
a610c0fc3a #if 0 this section of code to see if it's causing the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64893 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:58:39 +00:00
bryner%uiuc.edu
45556e0036 This fixes bug 31204 (mousewheel scrolling with pointer over a textfield),
by hooking up the parent document for the editor.  r=jst@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@64891 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:09:54 +00:00
akkana%netscape.com
a66b5d430f 28598: Do dom linebreak conversion on the string before inserting it in the editor.
git-svn-id: svn://10.0.0.236/trunk@64805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:04:46 +00:00
akkana%netscape.com
2bffc574a8 28598: map \r and \r\n to \n in form textarea submissions
git-svn-id: svn://10.0.0.236/trunk@64633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:49:59 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
sfraser%netscape.com
e8c541445e Fix for 26924 -- don't needlessly load the editor dll on shutdown. r=buster.
git-svn-id: svn://10.0.0.236/trunk@64416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:02:34 +00:00
rods%netscape.com
9a12fbc335 Few warning cleanups
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144


git-svn-id: svn://10.0.0.236/trunk@64375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 15:11:16 +00:00
rods%netscape.com
597564d30d When focus doesn't work correctly, and the Combobox gets deleted while the
dropdown is down it can crash. This makes sure the dropdown is rolled up and
unregistered with the rollup listener
b=33149


git-svn-id: svn://10.0.0.236/trunk@64372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 14:29:15 +00:00
jbetak%netscape.com
b992d245b2 r=pollmann fixed 29062 file upload does not work if file path contains character encoded different than the docuemnt charset
git-svn-id: svn://10.0.0.236/trunk@64305 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:32:38 +00:00
rods%netscape.com
df81ce875a Added reflow of text frame for when the size is being set via style
b=33402


git-svn-id: svn://10.0.0.236/trunk@64255 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:20:06 +00:00
rods%netscape.com
d014dde2e9 Added extra parameter for flags for setting space manager
also setting the internal area frame to use a space manager when necessary
b=33200
Added asserts in LabelHack method to catch problem in Reflow
Correctly set the avilable size to reflow available size instead of mComputedSize
This caused the content to leak out.
b=29276


git-svn-id: svn://10.0.0.236/trunk@64246 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:12:19 +00:00
rods%netscape.com
ae53f26d09 removed var decl to remove warning
git-svn-id: svn://10.0.0.236/trunk@64234 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 15:48:20 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
pollmann%netscape.com
44e2c52b71 Bug 18728: Forms should submit variables in content order, even through reframe of child elements r=harishd
git-svn-id: svn://10.0.0.236/trunk@64101 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:42:40 +00:00
pollmann%netscape.com
272c49ce25 Bug 25330: Form with no action specified should truncate old query string r=harishd
git-svn-id: svn://10.0.0.236/trunk@64100 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:38:51 +00:00
pollmann%netscape.com
d5e9d118e8 Bug 26917: Form submit should not append variables to javascript: actions r=harishd
git-svn-id: svn://10.0.0.236/trunk@64099 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:36:31 +00:00
rods%netscape.com
c586bf3853 Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@64041 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:02:02 +00:00
rods%netscape.com
a8f3a40dd5 fixed up some ifdefs to shutoff debug output
git-svn-id: svn://10.0.0.236/trunk@64040 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:59:02 +00:00
rods%netscape.com
a2cd208220 Adding nsICheckboxControlFrame to build
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@64038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:47:58 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
rods%netscape.com
210bd09a52 turned off ifdef for drag support
fix build bustage


git-svn-id: svn://10.0.0.236/trunk@63596 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 16:00:58 +00:00
pollmann%netscape.com
46590e39b1 Bug 31852: Empty string value for multipart form submission now submits, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63594 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:48:07 +00:00
rods%netscape.com
5799eb1281 started to add drag selection support. This class is not being used yet.
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:24:22 +00:00
rods%netscape.com
5348db8337 now handling the incremental reflow better for options
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383


git-svn-id: svn://10.0.0.236/trunk@63590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:22:53 +00:00
rods%netscape.com
30fec46b94 Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:19:40 +00:00
rods%netscape.com
5ef540aa99 Added static method for getting the absolute rect in twips and pixels
moved from nsComboboxControlFrame.cpp
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:18:07 +00:00
pollmann%netscape.com
d5fd8b4694 Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar
git-svn-id: svn://10.0.0.236/trunk@63494 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:43:07 +00:00
pollmann%netscape.com
261a55a1c8 Bug 27951: Re-enable set text "" and Reset for inputs/textareas. This fix coutesy of jfrancis r=self, waqar
git-svn-id: svn://10.0.0.236/trunk@63487 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:15:06 +00:00
dbaron%fas.harvard.edu
000e97ba98 Fix leak. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63414 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:29:16 +00:00
rods%netscape.com
ddbfa3ac95 made sure "average" was initialized to zero
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254


git-svn-id: svn://10.0.0.236/trunk@63399 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:15:25 +00:00
rods%netscape.com
1310a72d4b Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:20:03 +00:00
rods%netscape.com
425572a3d4 Added adaptive sizing for dropdown with small screen sizes
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63394 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:34 +00:00
rods%netscape.com
038a069997 Added adaptive sizing for dropdown with small screen sizes
Added reflow optimization
Added GetOptionsContainer method
b=31987 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63393 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:32 +00:00
rods%netscape.com
76578e3157 Added method to get the container frame for adding/removing option frames
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63392 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:30 +00:00
rods%netscape.com
7dc235b13a Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
some rework, and I can if def it in and out
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 13:45:30 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
rods%netscape.com
f4df672a66 I had the GetDefaultChecked and GetChecked methods reversed.
b=31009 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@63176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:57:08 +00:00
rods%netscape.com
65ce3a5b21 added #include for nsIContent.h to fix bustage
git-svn-id: svn://10.0.0.236/trunk@63056 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 16:45:01 +00:00
rods%netscape.com
b47bf11900 minor change so extended keyboard select works correctly
r=dcone


git-svn-id: svn://10.0.0.236/trunk@63055 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:56:26 +00:00
rods%netscape.com
1b47027ebe factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463


git-svn-id: svn://10.0.0.236/trunk@63054 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:55:30 +00:00
rods%netscape.com
3747feefc2 turning off debug #defines
git-svn-id: svn://10.0.0.236/trunk@63053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:47:11 +00:00
rods%netscape.com
777c1be6e2 preparing it for prime-time, in the build, but not being used.
b=18895, r=dcone


git-svn-id: svn://10.0.0.236/trunk@63046 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:08:54 +00:00
dveditz%netscape.com
51ca5d7259 fixing VC5 build (bug 31868)
git-svn-id: svn://10.0.0.236/trunk@63015 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:22:09 +00:00
rods%netscape.com
3c4ce75563 now passing back maxElementSize correctly
b=30015


git-svn-id: svn://10.0.0.236/trunk@62933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:25:05 +00:00
akkana%netscape.com
402752ab10 Bug 20207, extra lines in textarea (r=buster)
git-svn-id: svn://10.0.0.236/trunk@62818 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:56 +00:00
buster%netscape.com
8b339b4ead bug 31108. fixed by manually positioning the view whenever reflow changes the frame
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:38:06 +00:00
tbogard%aol.net
dab65a7998 GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells.
git-svn-id: svn://10.0.0.236/trunk@62609 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:30:04 +00:00