180 Commits

Author SHA1 Message Date
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
ftang%netscape.com
36054c9bef fix bug 81203. change ISO-8859-1 to windows-1252 for form submission
r=brade sr=kin


git-svn-id: svn://10.0.0.236/trunk@105121 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:20:07 +00:00
kin%netscape.com
4f48522594 Make original patch for bug 99920 (hitting enter in any text field submits form without submit button passed as param)
work in OPT builds, by moving QI() call out of NS_ASSERTION macro.

r=rods@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@104795 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 14:07:57 +00:00
bryner%netscape.com
7b761d8a36 Removing references to xp_file.h, for bug 38061. Patch from cls, r=bryner, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104789 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 07:22:27 +00:00
bzbarsky%mit.edu
f8b8a5473d fixing bustage -- nos such thing as NS_FORM_BUTTON_IMAGE
git-svn-id: svn://10.0.0.236/trunk@104354 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 23:08:47 +00:00
rods%netscape.com
e1ba426508 Allow for image submitters also
Bug 99920 r=rods, sr=attinasi a=pdt


git-svn-id: svn://10.0.0.236/trunk@104351 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:49:43 +00:00
mkaply%us.ibm.com
f3480fd503 #80167
r=ftang, r=mikek, sr=blizzard
Code from simon@softel.co.il - code from original Bidi landing can be turned on now that converson is finalized
Also fixed two warnings that were in the code that could have also broke some unixes


git-svn-id: svn://10.0.0.236/trunk@104312 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 13:57:47 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
rods%netscape.com
9e77804596 Make so hitting return in text field submits form when there is a single text field and no submit
or there is a submit and the submit btn is to be included in the post data
Bug 99920 r=attinasi sr=kin a=pdt


git-svn-id: svn://10.0.0.236/trunk@104035 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:39:44 +00:00
darin%netscape.com
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +00:00
blizzard%redhat.com
43506cd4ce Fix bug #97851. Make sure that file permissions are set properly on the temporary file used for file uploads. r=pete, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102407 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:25:15 +00:00
dp%netscape.com
61882a59bc bug #14889 Lazy loading wallet dll r=morse,gagan sr=jband a=asa
git-svn-id: svn://10.0.0.236/trunk@101918 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 22:32:03 +00:00
rods%netscape.com
ef8425d65f Oops, I didn't check in the right fix. I checked in some code I was using for debugging
Here is the fix/patch that was in Bug 96367 r=timeless sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101835 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 14:12:52 +00:00
rods%netscape.com
ebbd7dca87 Disabling the auto radio seleciton and fixing a bug if it ever gets turned on
The bug is that when printing you don't want to do the auto default selection stuff because
it ends up calling into the DOM and changing the radios on the page.
Bug 96367 r=timeless sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101700 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 11:09:16 +00:00
rods%netscape.com
48fbd4f113 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@101502 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 14:01:55 +00:00
pollmann%netscape.com
4d6bd6ec55 Bug 44330: Allow Enter press to submit form from any control. This brings our behaviour in line with other browsers' behaviour. r/sr=blake@netscape.com,jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@101198 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 07:38:47 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
pollmann%netscape.com
902e506097 Bug 91712: Don't assume filenames have . in them when getting content type for file inputs. Thanks jst, vidur, and av for helping resolve all the subtle edge cases here... r=vidur@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99704 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-21 04:10:04 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
pollmann%netscape.com
a4824864a5 Fix Mac build bustage - capitalization of variable name was incorrect
git-svn-id: svn://10.0.0.236/trunk@97535 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 02:42:29 +00:00
pollmann%netscape.com
6b37eaf6ef Bug 83065: Fix file corruption uploading to PHP driven sites by turning of Content-Transfer-Encoding header by default (can be enabled by a pref), and fix security hole by not sending full file path when uploading file. Some sites were also assuming that UN*X browsers would not send the full path (as Navigator 4.x did not) so this fixes them. Much of this patch was created by Adrian Havill, I merely split out portions form the work for bug 44464. r=havill@redhat.com/pollmann@netscape.com, sr=mscott@netscape.com, a=drivers@mozilla.org (asa)
git-svn-id: svn://10.0.0.236/trunk@97525 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 01:33:53 +00:00
pollmann%netscape.com
506e395611 Bug 57768: Send network linebreaks for input values on multipart/form-data forms. We were already doing this conversion correctly for url-encoded forms, so this should fix a few edge cases. r=jst@netscape.com, sr=mscott@netscape.com, a=drivers@mozilla.org (dbaron)
git-svn-id: svn://10.0.0.236/trunk@97514 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 01:06:19 +00:00
pollmann%netscape.com
13b314bf39 Bug 68321: Remove nsSecureBrowserUIImpl from form submit observer list on destruction, and ignore failures when enumerating observer list. These failures were causing spurious NS_ERROR_INVALID_POINTER messages on the console, and preventing form submission. This is part 1 of 2, simply ignoring the error return codes in nsFormFrame when enumerating the observer list. The remaining part is in mozilla/security/manager/ssl/src/nsSecureBrowserUIImpl.cpp, to unregister the nsSecureBrowserUIImpl on destruction. r=javi@netscape,com, sr=jst@netscape.com, a=drivers@mozilla.org (asa)
git-svn-id: svn://10.0.0.236/trunk@97413 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 08:01:46 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
karnaze%netscape.com
982e96c5e6 bug 62811 - ensure that <form>s are always display:block, sr=attinasi, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@95333 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:15:22 +00:00
darin%netscape.com
7ac10728eb Fixes blocker bug 80424 "post regression" r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94878 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 10:20:11 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
erik%netscape.com
08d052a062 bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
a comment made during the review of 75066 (nsBidiOptions -> PRUint32)


git-svn-id: svn://10.0.0.236/trunk@92234 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 22:09:44 +00:00
pollmann%netscape.com
9a421852ed Bug 73309: Fix leak of <ConstStringImpl> in non-multipart form post case, r=rpotts@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92047 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 01:41:47 +00:00
pollmann%netscape.com
97fc96cbf1 Bug 59408: Send full path name of file in file control to server: r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92040 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 01:01:23 +00:00
pollmann%netscape.com
64c10cf2d9 Bug 58189: Send Content-Transfer-Encoding header on file upload, patch thanks to havill@redhat.com, r=pollmann@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91875 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 10:16:11 +00:00
bryner%uiuc.edu
9b6f2a3037 Removing references to obsolete headers (bug 38061). r=timeless, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@89987 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:35:27 +00:00
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
erik%netscape.com
44e2c24154 bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now


git-svn-id: svn://10.0.0.236/trunk@89836 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:20:21 +00:00
valeski%netscape.com
65ad2bc732 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api
git-svn-id: svn://10.0.0.236/trunk@89422 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:02:05 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
gagan%netscape.com
f3f5b36700 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:33:03 +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
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
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
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
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
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
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