115 Commits

Author SHA1 Message Date
pollmann%netscape.com
2dae2dfd5c Bug 33203: Form submit observer changes for psm-glue; r=dougt
git-svn-id: svn://10.0.0.236/trunk@66838 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:29:50 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +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
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
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
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
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
pollmann%netscape.com
75c20132b3 Bug 28988: Don't try to submit a form if the window containing it has been destroyed (crash fix) r=waqar, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62502 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 23:30:57 +00:00
valeski%netscape.com
d251a79517 26336. a=jar, r=norris,pollman. We now allow uri creation failure to pass through to the webshell so we can throw error dialogs if need be. This allows 'https not supported' dialogs to be thrown from form submissions when https isn't installed
git-svn-id: svn://10.0.0.236/trunk@61885 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 20:36:52 +00:00
norris%netscape.com
bf96355ad4 Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar


git-svn-id: svn://10.0.0.236/trunk@61523 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:34:40 +00:00
dbaron%fas.harvard.edu
432fea588c Fix bug 28544: stop leaking webshells when user enters URL in the URL bar. r=karnaze@netscape.com a=rickg@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61418 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 04:06:16 +00:00
rods%netscape.com
188627a19c removing unused varible to remove warning
r=self


git-svn-id: svn://10.0.0.236/trunk@61067 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:17:59 +00:00
rods%netscape.com
9616895e6a radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60954 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 23:02:55 +00:00
rods%netscape.com
5609eaece7 They now cache their state properly in the PresState
b 27063 r=kmmclusk


git-svn-id: svn://10.0.0.236/trunk@60882 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:05:56 +00:00
rods%netscape.com
7487b46e5f ifdef'ing out some new functionality for radio buttons in standard mode
a=leaf r=self


git-svn-id: svn://10.0.0.236/trunk@60250 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 20:19:19 +00:00
rods%netscape.com
cffeb53a49 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60248 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:34:39 +00:00
dp%netscape.com
63c39397dd Fixing leak of observers when notification of OnSubmit(). This fixes
walletservice from being leaked. r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60070 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 05:31:08 +00:00
jdunn%netscape.com
0a5be1f000 changing false to PR_FALSE... since false isn't defined on all platforms
git-svn-id: svn://10.0.0.236/trunk@60057 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:30:53 +00:00
valeski%netscape.com
24dc7be063 26219. r=rhp. Form submission file extension to MIME type mapping was broken. The means that we weren't reporting the correct MIME type of files that were being uploaded
git-svn-id: svn://10.0.0.236/trunk@59888 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 18:37:51 +00:00
sdagley%netscape.com
69d7139a1e Fix #22428 where attachments didn't work on Mac as the length of the form data wasn't being computed properly. In nsFormFrame::ProcessAsMultipart now uses an nsILocalFile to get file size rather than PR_GetFileInfo as the path to the file is in native format and PR_GetFileInfo doesn't handle native Mac paths. r=saari
git-svn-id: svn://10.0.0.236/trunk@59746 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 05:55:54 +00:00
sdagley%netscape.com
c109484ffd nsFormFrame::GetFileNameWithinPath didn't work properly for Mac or Unix paths. Found as part of investigation of bug #22428 but not a fix by itself. r=gagan
git-svn-id: svn://10.0.0.236/trunk@59737 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 04:11:51 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
norris%netscape.com
b0fea289c9 Work on 13838 missing property checks
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@57750 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:08:44 +00:00
pollmann%netscape.com
f9bbcff754 Bug 22526: Correct bug where form was submitted by pressing enter in last text input if odd number of inputs r=harishd
git-svn-id: svn://10.0.0.236/trunk@57376 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 07:55:54 +00:00
pollmann%netscape.com
de69b0b086 Bug 23376: <form action="foo.cgi?bar=baz" method="get"> should no longer result in two ?'s r=harishd
git-svn-id: svn://10.0.0.236/trunk@57375 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 07:34:12 +00:00
kmcclusk%netscape.com
edf6a2057a No longer print the contents of forms when they were submitted. bug 13061; r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57010 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 22:07:21 +00:00
pollmann%netscape.com
54feb63046 Bug 21013: Add base url to NS_NewURI - this allows forms to be submitted to relative url's. r=pierre a=chofmann My contact info=650.520.3348
git-svn-id: svn://10.0.0.236/trunk@56076 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 02:51:47 +00:00
norris%netscape.com
4a9c49c3ea Fix bug 21144 "[DOGFOOD] Executing JS functions in "chrome:" protocol (creating local directories and profiles)"
r=pollmann,a=chofmann
Basically, this just calls a method in the security manager to determine if a page loaded from the document's URI
can be allowed to open a page from the ACTION URI. This is the same check that's currently used on window.open,
for example.


git-svn-id: svn://10.0.0.236/trunk@56044 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 17:20:31 +00:00
pollmann%netscape.com
945d82f2db Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy
git-svn-id: svn://10.0.0.236/trunk@55683 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:07:03 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
sfraser%netscape.com
24d4124fee Fix for 19954 -- convert form values to CRLF linebreaks when submitting forms. r=pollman
git-svn-id: svn://10.0.0.236/trunk@55009 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:11:38 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
nhotta%netscape.com
c0d856f5bb Added error checking (result code and null pointer), bug 19469, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@54233 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:21:32 +00:00
rpotts%netscape.com
818496052b Added a missing Release to prevent leaking a SupportsArrayEnumerator...
git-svn-id: svn://10.0.0.236/trunk@54223 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 00:59:41 +00:00
gagan%netscape.com
3ab2c7be1a Fix for 7533. The mechanism of specifying charset in content-type of a post data was breaking a lot of websites. I have changed the default to not send charset. If this has to be changed again this should go thru a pref (See bug 18431)
git-svn-id: svn://10.0.0.236/trunk@53083 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 08:58:20 +00:00
waterson%netscape.com
ad1c6cded6 Bug 18257. Fix leak of nsIDocument in form submission. r=karnaze, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@53048 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 00:30:09 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pollmann%netscape.com
b98eecf039 Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
git-svn-id: svn://10.0.0.236/trunk@52822 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 23:16:47 +00:00
rods%netscape.com
913fe3b85c removed a line that wasn't needed and caused a warning r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@52618 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:54:40 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
rods%netscape.com
c01e8f06c0 Allows radiobuttons to remove themselves from the named radio group
when deleted factored the code
r=kmcclusk, bug 17418


git-svn-id: svn://10.0.0.236/trunk@52209 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 13:56:30 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
pollmann%netscape.com
052a729260 Bug 17079: URL encoding of form element values should convert + to %2B and / as needed: r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@51817 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 03:08:17 +00:00
kmcclusk%netscape.com
2f7a2a20da Call nsIFormProcessor service if it has been registered for each value submitted.
bug=17060 r=karnaze@netscape.com


git-svn-id: svn://10.0.0.236/trunk@51765 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:48:43 +00:00
pollmann%netscape.com
806e3f40cd Bugs 16450, 11979, 16576: Add back a CRLF I took out of the form post headers; r=harishd
git-svn-id: svn://10.0.0.236/trunk@50729 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:47:08 +00:00
kmcclusk%netscape.com
440593ffd1 When submitting a form using a "get" method only add the ? if the href does not end in a ?.
bug #16137 r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50725 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:45:02 +00:00
pollmann%netscape.com
c41e517028 Bug 15180: Don't add a Referer line to the HTTP post data, as Necko already adds one. r=harishd
git-svn-id: svn://10.0.0.236/trunk@50533 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:54:47 +00:00