1297 Commits

Author SHA1 Message Date
akkana%netscape.com
13ae4ba935 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
rods%netscape.com
f559e7aea6 changed add ref to from NS_ADDREF to NS_IF_ADDREF
Bug 63329, r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@84566 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 14:06:34 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
rods%netscape.com
92dcc2bd43 When focus is removed and the the CBX is dropped down it rolls it up
r=kmcclusk, sr=buster Bug 64079


git-svn-id: svn://10.0.0.236/trunk@84369 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 12:22:29 +00:00
mkaply%us.ibm.com
7e139ad912 #50998
r=rods, a/sr=buster
OS/2 has support for GetAveCharWidth so enable it


git-svn-id: svn://10.0.0.236/trunk@84278 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:26:25 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
rods%netscape.com
2d35ca6701 When clicking away from the dropdown, it wasn't resetting itself correctly.
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:25:40 +00:00
cmanske%netscape.com
2df58f216c Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
758c5a8f89 backing out regression-causing changes to reopen tree
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
rods%netscape.com
857e0d4343 53259 - min-width and max-width not supported on form control
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes

First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83901 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:15:28 +00:00
rods%netscape.com
43a2ffa48a 53259 - min-width and max-width not supported on form control
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83900 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:12:06 +00:00
rods%netscape.com
f5e6a46f6c 53259 - min-width and max-width not supported on form control
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83899 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:55 +00:00
rods%netscape.com
a649f72fbb 53259 - min-width and max-width not supported on form control
58220 - Select boxes rendering weird when using CSS to small value
r=kmclusk, sr=buster


git-svn-id: svn://10.0.0.236/trunk@83898 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:00 +00:00
cmanske%netscape.com
dafb7a83b7 Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83887 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:15:16 +00:00
cmanske%netscape.com
b590b1872c Changed param from PRUint32 to PRInt16 for implementor of nsFrameSelection::HandleTableSelection (part of table selection work, bug 57863) r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83881 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:38:20 +00:00
rods%netscape.com
7e2f11196a Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580


git-svn-id: svn://10.0.0.236/trunk@83798 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:36:01 +00:00
rods%netscape.com
7327a3401e removing unneeded includes
r=kmcclusk sr=buster b=62408


git-svn-id: svn://10.0.0.236/trunk@83533 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 12:17:11 +00:00
rods%netscape.com
3a1a98af2f removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460


git-svn-id: svn://10.0.0.236/trunk@83473 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 16:05:29 +00:00
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +00:00
rods%netscape.com
55b184cf6c when in standard mode, the text field/area was sizing one char too big
r=25657, r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83297 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 03:20:39 +00:00
rods%netscape.com
44f7461592 removing unneeded/unused code/methods
r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83144 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:39:28 +00:00
rods%netscape.com
813a66daa1 patch from net (thanks Boris)
This fix correctly sets the content type for uploads for multipart posts
b=60737, r=rods sr=buster


git-svn-id: svn://10.0.0.236/trunk@82969 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 14:14:20 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
akkana%netscape.com
0eff955ec3 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@82714 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:25:31 +00:00
kmcclusk%netscape.com
622694d09f Removing these unneeded files from from cvs, they have been in the build in years
r=kmcclusk,buster


git-svn-id: svn://10.0.0.236/trunk@82697 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:41:14 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
mjudge%netscape.com
33abd5ded1 bug fix for 48064. rtm++ r=simon a=brendan. pdt=ok. fixes check for valid frame after callonchange. (callonchange may actually destroy the frame underneath us.) also we need to update the focusedvalue when enter/submit is hit. this will save 2 onchange from being fired. one from enter, second from blur.
git-svn-id: svn://10.0.0.236/trunk@81684 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:08:44 +00:00
pollmann%netscape.com
81cf051d9d Bug 57333: Remove search portion of form action - fixes Yahoo form post failure. r=rods, harishd, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81655 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 03:55:19 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
waqar%netscape.com
0dc40a6753 #=53502
r=rods@netscape.com
a=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.


git-svn-id: svn://10.0.0.236/trunk@81018 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:20:02 +00:00
pollmann%netscape.com
80287fae49 Bug 54966, 54845, 55906: Prevent psm-glue from accidentally cancelling form submit for file: urls, javascript: urls, and submits to 127.0.0.1 r=javi,jst sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80924 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 09:53:29 +00:00
sfraser%netscape.com
8379325c00 Fix for 52808 -- standardized nsEditorShell creation and destruction across components, to fix editor observer notification timing. r=kin,ducarroz,jelwell, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@80787 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:45:46 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
rods%netscape.com
17abdbdfb2 Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster


git-svn-id: svn://10.0.0.236/trunk@80349 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:39:07 +00:00
mjudge%netscape.com
c28fcc88a1 r=sfrasier a=pdt fixed submitting not sending an on-change event before submit event.
git-svn-id: svn://10.0.0.236/trunk@79790 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:16 +00:00
warren%netscape.com
cdc56bbf4c Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +00:00
heikki%netscape.com
82a70c8b59 Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +00:00
kin%netscape.com
a2daff930d Fix for bug #46396: select after input confuses session history
- Remove temporary call to SetInitialValue() in CreateAnonymousContent().
      - Move all calls to SetInitialValue() out from under the 'if' statement
        they were under. This will make sure that it gets called at least
        once since there are times when GetPrefSize() and Reflow() are not
        called during the initial reflow.

r=mjudge@netscape.com


git-svn-id: svn://10.0.0.236/trunk@79192 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:19 +00:00
mjudge%netscape.com
2fc6190bef small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
pollmann%netscape.com
0699ec2d69 Bug 3326: Implement IsIndex frame; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@79054 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:43:31 +00:00
pollmann%netscape.com
ef46e83ec0 Bug 3326: Implementing IsIndex frame. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@79052 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:41:13 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
kin%netscape.com
ab2cde5355 49339 "Saving File" dialog doesn't initially show complete filename
Replaced call to ScrollSelectionIntoView() in SetTextControlFrameState()
with a call to nsIScrollableView::ScrollTo() that resets the scroll position
of the text widget to (0,0) when the value is replaced.
r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78914 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:14:06 +00:00
heikki%netscape.com
648ff744fc Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@78900 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:54:41 +00:00
attinasi%netscape.com
9750b16492 Part of fix for bug 45210: style contexts had the wrong parent because the frames were reparented but their style contexts were not. r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78886 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:41:27 +00:00
mjudge%netscape.com
6f627f4eb5 36130 beta3 bug. 1 line change to scroll selection
into view when value is set on text field/area.


git-svn-id: svn://10.0.0.236/trunk@78854 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 06:35:54 +00:00
rods%netscape.com
2c4b4f2915 fixed twips rounding error in calculation
b=52135 r=buster


git-svn-id: svn://10.0.0.236/trunk@78767 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:22:43 +00:00
rods%netscape.com
5c976bd892 removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
rods%netscape.com
e1b15f00aa wasn't setting status to NS_FRAME_COMPLETE
b=49010 r=buster


git-svn-id: svn://10.0.0.236/trunk@78640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:13:12 +00:00