163 Commits

Author SHA1 Message Date
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
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
mscott%netscape.com
9b2caee4b9 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:24:13 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
warren%netscape.com
b8f243ef1f Bug 15623. Fixed registration of nsKeygenHandler.
git-svn-id: svn://10.0.0.236/trunk@77214 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:48:50 +00:00
pollmann%netscape.com
6c9abb09ae Bug 48736: Stop leaking form data every form submit (and fix 2 warnings), r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76618 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:46:47 +00:00
pollmann%netscape.com
591cd3bd14 Bug 42616: form actions with anchor specified (#) do not work; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75546 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:03:58 +00:00
pollmann%netscape.com
f8b1d4c014 Bug 45540: Badly nested form + focus input -> input not a submitter; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75534 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:32:54 +00:00
ftang%netscape.com
b84273a322 fix 5313. r-hnotta a=ftang listen to the ACCEPT-CHARSET attribute
before listen to the docuement charset to decide which charset
for form submition


git-svn-id: svn://10.0.0.236/trunk@75217 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 00:37:06 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
pollmann%netscape.com
5979bfb8c3 Bug 41585: Don't chop of query string when POSTing forms, only when GETting them r=harishd
git-svn-id: svn://10.0.0.236/trunk@72869 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 02:49:01 +00:00
mjudge%netscape.com
6209ff4eb0 form elements now accept a nsIFormFrame instead of the implementation as the parameter to allow others that inheirit from nsIFormFrame to call "CanSubmit". bug=34896 ender-lite, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71882 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 07:16:20 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
pollmann%netscape.com
9ab3972a4e Bug 22983: Fix extra newlines in bugzilla updates when not logged into bugzilla on Linux. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71225 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:04:51 +00:00
pollmann%netscape.com
559cee18e9 Bug 30721: Crash fix for failing to get document URL during form submission, r=nisheeth
Bug 38664: Leak of encoder during form submission, fix thanks to yueheng.xu@intel.com, r=self, nisheeth


git-svn-id: svn://10.0.0.236/trunk@69082 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:37:49 +00:00
yueheng.xu%intel.com
bf4b7bf752 fix the platformencoder leak (#38664)
git-svn-id: svn://10.0.0.236/trunk@69072 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:24:35 +00:00
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