Commit Graph

7437 Commits

Author SHA1 Message Date
Landry Breuil
e271b67caa Bug 785738 Part 5: restore a PRUint64, fix an OpenBSD build failure. r=ehsan
Root cause is bug 634793 (ie int64_t != PRint64 on OpenBSD..sigh), and
since security/nss/lib/certdb/certt.h still uses PRUint64 for
cert_rev_flags_per_method we need to assign it a correct type in
security/manager/ssl/src/nsIdentityChecking.cpp.
2012-08-30 09:10:44 +02:00
Ehsan Akhgari
dae032a5cb Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : adad9af01d9168a14d87c201c1bd51a3a7a768f5
2012-08-29 10:56:51 -04:00
Kai Engert
dff80343aa Bug 783974, Log SSL errors to the error console, v9, mostly r=bsmith 2012-08-28 15:32:34 +02:00
Sid Stamm
4c371f06ea Bug 785860 - fix sts preload list tests to skip private mode tests if private browsing service is missing. r=bsmith 2012-08-27 12:01:00 -07:00
Kai Engert
df626bc596 backout a6890a3b8f72 because of a leak 2012-08-27 18:45:52 +02:00
Ehsan Akhgari
991a3567bb Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-27 12:28:11 -04:00
Kai Engert
7c7bfe8a5e Bug 783974, Log SSL errors to the error console, r=bsmith 2012-08-27 16:37:47 +02:00
David Keeler
b5bcf20091 Bug 760307 - Preloaded strict-transport-security site list. r=mayhemer, bsmith 2012-08-24 14:17:27 -07:00
Luke Wagner
ad90af9ca5 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Ehsan Akhgari
845651448b Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ryan VanderMeulen
716f20bbce Bustage fix for bug 480745 on a CLOSED TREE. 2012-08-16 19:28:16 -04:00
Ludovic Hirlimann
10a9b621f5 Bug 480745 - Remove XP_MAC from mozilla/security. r=bsmith, sr=kaie 2012-08-16 17:35:19 -04:00
Marek Stepien
6101150c5e Bug 636245 - Allow localizers to change the Device Manager window size. r=kaie 2012-08-15 21:00:50 -04:00
Kai Engert
0fb8e60fce Bug 496005 - some locales will not allow you Unload PKCS#11 Device, patch contributed by Makoto Kato, r=kaie, r=rrelyea 2012-08-15 21:54:44 +02:00
Aryeh Gregor
061fd9f9ca Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
EKR
33e628cd9d Bug 769930 - Split PSM and NSS builds so that we can build NSS early; original patch by glandium. r=khuey
--HG--
rename : security/manager/Makefile.in => security/build/Makefile.in
2012-06-30 10:15:57 -07:00
Honza Bambas
15daadba69 Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Wan-Teh Chang
11b6889a5b Bug 780009: Update NSS to NSS_3_13_6_RTM. Note that this overwrites
the changes to the three Makefile.in files in dbm/ in the changeset
https://hg.mozilla.org/mozilla-central/rev/162130598df0 for bug 774032.
2012-08-10 18:36:28 -07:00
Ed Morley
b5f4776008 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
4c81482ae1 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
75ab7efb95 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
6e66d97fbf Bug 777292 - security/manager/: Don't treat number of bytes as an nsresult; r=kaie 2012-07-30 12:24:36 +03:00
Aryeh Gregor
ebbeed4a32 Bug 777292 - security/manager/: Fix incorrect conversions to nsresult; r=kaie 2012-07-30 12:24:36 +03:00
Ed Morley
5162e724a0 Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Bobby Holley
2adf92413a Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
Bobby Holley
1895527d8c Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Ms2ger
c75eefb90d Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
27245512cd Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Devdatta Akhawe
7aa2770d79 Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend 2012-08-02 18:51:17 -07:00
Honza Bambas
66c7e9bfac Bug 768568, r=kaie 2012-07-31 20:59:17 +02:00
Wan-Teh Chang
a228f11c25 Bug 764393: update NSS to NSS_3_13_6_BETA1 to fix the chain-building
looping bug.  (Also includes fixes for bugs 489188, 757189, 757197,
762351, 762353.)
2012-07-30 15:23:38 -07:00
Aryeh Gregor
c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
8446afc043 Bug 777292 - Convert some nsresult to SECStatus; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
88e2b537b5 Bug 777292 - Add casts and annoyed comments where we make up nsresult codes on the fly; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
cf5fdebcf8 Bug 777292 - Convert an nsresult variable to PRStatus; r=ehsan 2012-07-27 17:03:25 +03:00
Patrick McManus
b12bc44d80 bug 767158 - remove blocking dns call in sspi r=honzab
--HG--
extra : rebase_source : a313576f1262f25b6d299f815cedb0d8acc0b03f
2012-07-26 11:09:05 -04:00
Joshua Cranmer
a1186c1020 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Mounir Lamouri
45fc42c9ca Bug 775713 - Use principals in nsStrictTransportSecurityService to access the PermissionManager. r=bsmith,mayhemer 2012-07-23 11:06:36 -07:00
Ehsan Akhgari
f8b5cb234b Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (security parts); blanket-r=bzbarsky 2012-07-19 00:37:09 -04:00
Brian Smith
a53de0d5cc Bug 758314 - Allow end-user to override error when MD5 cert is encountered, r=kaie
--HG--
rename : mobile/android/base/resources/layout-land-v14/tabs_panel_toolbar_menu.xml => mobile/android/base/resources/layout-land-v14/tabs_panel_toolbar.xml
extra : rebase_source : ed78fedd30fcd329a24de652a6d906e78759dc7c
2012-07-10 19:42:50 -07:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Makoto Kato
1e533fbd2e Bug 769533 - Part 1. Replace AppendWithConversion with others. r=jlebar 2012-07-06 18:43:28 +09:00
Brian Smith
f58ceab52a Bug 766683: Export nsNSSShutdown.h from PSM so that other components can use it, r=kaie
--HG--
extra : rebase_source : 40d446da4bf866dc1e4ee45039889fe8e68e8f56
2012-06-28 13:15:13 -07:00
Kai Engert
14673863b8 Bug 762301, Don't retry after TLS-intolerance if TLS is the only enabled protocol, r=honzab 2012-06-13 13:39:23 +02:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Olli Pettay
e160cfea86 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Ed Morley
ebcf2f1cc2 Merge mozilla-central to mozilla-inbound 2012-06-01 01:12:32 +01:00
Gervase Markham
6b6c8775e0 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-31 10:33:35 +01:00
Kai Engert
6171a0e2b4 Bug 738458, Upgrade Mozilla to NSS 3.13.5 final, r=wtc + r=dveditz (by phone) 2012-05-31 22:18:45 +02:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Brian Smith
9a5c49a16a Bug 749890 - Do not do TLS intolerance handshake timeout after we know we've received the server hello, r=honzab
--HG--
extra : rebase_source : 068310dfad1562d72c74681f722c46fb64947d7d
2012-05-27 22:03:04 -07:00
Patrick McManus
ba5ffc3931 bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.h => netwerk/protocol/http/SpdyStream2.h
2012-05-25 17:37:01 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Kai Engert
359b335870 Bug 738458, Upgrade Mozilla to NSS 3.13.5, landing beta2, r=bsmith/wtc 2012-05-18 17:05:42 +02:00
Honza Bambas
303401cb6f Bug 745254, r=kaie 2012-05-03 18:25:07 +02:00
Brian Smith
600eceaff8 Bug 703834 - Part 3 - Remove extraneous variable mSSLStatus that was unintentionally left over in nsNSSSocketInfo, r=me
--HG--
extra : rebase_source : 958bf51b6869318deeedd272f244d1b4b6f3e196
2012-04-30 02:11:09 -07:00
Mike Hommey
93e01e86e4 Bug 736066 - Build NSS object files more like the rest of the tree, and simplify security/manager/Makefile.in. r=ted 2012-03-31 09:25:23 +02:00
Brian Smith
db91fa9d4a Bug 703834 - Part 2 - Make SSLServerCertVerification use TransportSecurityInfo instead of nsNSSSocketInfo, r=honzab 2012-04-29 21:00:29 -07:00
Brian Smith
87f7295989 Bug 703834 - Part 1 - Factor TransportSecurityInfo base class out of nsNSSIOLayer, r=honzab
--HG--
rename : security/manager/ssl/src/nsNSSIOLayer.cpp => security/manager/ssl/src/TransportSecurityInfo.cpp
rename : security/manager/ssl/src/nsNSSIOLayer.h => security/manager/ssl/src/TransportSecurityInfo.h
2012-04-29 21:00:22 -07:00
Kai Engert
a489c743b0 Bug 738457 - useful error message for MD5 certs, add new localizable strings until NSS 3.13.5, r=bsmith 2012-04-27 01:47:19 +02:00
Kai Engert
90bf72a436 Bug 738457 - useful error message for MD5 certs, general fallback to NSS's default (english) error message, r=wtc 2012-04-27 01:47:19 +02:00
bsmith@mozilla.com
c89946ea52 Bug 738457 - useful error message for MD5 certs, simplify, r=kaie, r=wtc 2012-04-27 01:47:19 +02:00
Kai Engert
b60bdce8f8 Bug 738458 - Upgrade Mozilla to NSS 3.13.5 - starting with BETA1, r=wtc 2012-04-27 01:47:19 +02:00
Christian Holler
b3f9913cb6 Bug 741258 - Pass LDFLAGS when linking NSS dylibs with Address Sanitizer, r=ted 2012-04-26 10:42:07 -07:00
Kai Engert
bfb083f50b Bug 633471, crash if I delete a PKCS#11 certificate when smart card is logged out. Patch contributed by timeless and Ludovic Rousseau, plus my cleanup. r=kaie 2012-04-17 01:36:46 +02:00
Kai Engert
6f30f56e82 Bug 741135, update Mozilla to NSS 3.13.4. Landing final version numbers, no code change. r=wtc 2012-04-06 17:39:22 +02:00
Wan-Teh Chang
5865ef3df3 Bug 741135: Update NSS to NSS_3_13_4_BETA2. Includes fixes for bug
741481 and bug 715073.
2012-04-05 15:45:31 -07:00
Mark Capella
bfa59371ce Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Ed Morley
267e9f48e0 Merge mozilla-central to mozilla-inbound 2012-04-01 04:02:22 +01:00
Ed Morley
e406c37f26 Backout 369ad04efa1f (bug 736066) for linux64 crashes 2012-04-01 03:54:38 +01:00
Wan-Teh Chang
819f8964da Bug 741135: Update NSS to NSS_3_13_4_BETA1. See bug 741135 comment 0
for the list of bug fixes in this update.
2012-03-31 16:41:42 -07:00
Mike Hommey
885abb8b9a Bug 736066 - Build NSS object files more like the rest of the tree, and simplify security/manager/Makefile.in. r=ted 2012-03-31 09:25:23 +02:00
Peter Van der Beken
0c7d3df11e Fix for bug 740397 (Make tests that try to get XHR.channel use SpecialPowers). r=bholley.
--HG--
extra : rebase_source : 0bd78094debfea9d179f17396626c3802a6b5a21
2012-03-29 11:15:09 -07:00
Peter Van der Beken
680de8d850 Fix for bug 739898 (Stop using enablePrivilege in test_bug480509.html). r=bz. 2012-03-27 16:31:36 -07:00
Serge Gautherie
d7f8d8ca34 Bug 739008. (Bv1) Fix patch Av1a. r=sstamm. 2012-03-27 02:02:29 +02:00
Serge Gautherie
d1bcd8a045 Bug 739008. (Av1a) Fix and improve test_sts_privatebrowsing.html. r=sstamm. 2012-03-26 22:59:41 +02:00
Matt Brubeck
12f5e783e6 Back out 66ed24196754 (bug 739008) because of test failures 2012-03-26 14:38:20 -07:00
Serge Gautherie
589e68bdd9 Bug 739008. (Av1) Fix and improve test_sts_privatebrowsing.html. r=sstamm. 2012-03-26 22:59:41 +02:00
Steve Workman
4f51162934 Bug 682244 - Change CRL autoupdate pref from formatted date to integer. sr=bsmith r=kaie 2012-03-23 15:12:48 -07:00
Kai Engert
eb2089672e Bug 681937, Enhance PSM's key generation strategy with tokens/escrow, r=rrelyea 2012-03-21 23:22:15 +01:00
Kai Engert
c4e7e180f2 Bug 673381, patch v3 for NSPR/NSS versions in about:support, make build time minimum NSPR/NSS versions available to JS, r=rrelyea 2012-03-13 00:04:35 +01:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Kai Engert
eaff5fa503 Bug 732390, Add preference to configure acceptance of MD5 in signatures, still accept by default, NSS calls r+=rrelyea, PSM pref code r+=honzab, pref name feedback+=dveditz 2012-03-10 22:18:13 +01:00
Igor Bukanov
524dbd7e47 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Wan-Teh Chang
5edc034e19 Bug 732317 - Fix bugs in the code for displaying a certificate's issuerUniqueID and subjectUniqueID. r=kaie 2012-03-08 18:48:44 -05:00
Christian Holler
7e778dafa2 Bug 727445 - Add --enable-address-sanitizer for ASan specific workarounds. Add --enable-llvm-hacks to pass CFLAGS to NSS and omit -Wl,-z,defs for shared libs. r=khuey,kaie 2012-03-07 15:11:15 -08:00
Kai Engert
75ac364082 Bug 673381, first part, allow to to query NSPR/NSS library version numbers from JS, r=honzab 2012-03-01 17:29:48 +01:00
Bas Schouten
cc9d118a70 Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones 2012-02-16 04:11:34 +01:00
Nathan Froyd
26ae302da8 Bug 700659 - Slay nsHashSets in security. r=kaie 2011-11-08 15:24:09 -05:00
Kai Engert
bbb9a8c4a4 Bug 728617, Update Mozilla to NSS 3.13.3, r=rrelyea 2012-02-22 11:02:38 +01:00
Atul Aggarwal
f4a6e4afe6 Bug 703178 - Fixing Wunused-but-set-variable warning in security/manager/ssl/src. r=kaie
--HG--
extra : rebase_source : a2fba6e6728fdc0381b6f5cd4d6d5df247307206
2012-02-21 23:09:58 +05:30
Boris Zbarsky
6566b23698 Bug 722037. Correctly ignore javascript: images in security UI. r=kaie
--HG--
rename : security/manager/ssl/tests/mochitest/mixedcontent/test_securePicture.html => security/manager/ssl/tests/mochitest/mixedcontent/test_javascriptPicture.html
2012-02-21 18:01:41 -05:00
Ed Morley
f58ce433db Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Brian Smith
78778bf21f Bug 713936, Part 4: Remove security/patches/bug-717906-lowhash, r=kaie, a=akeybl 2012-02-17 14:51:47 -08:00
Brian Smith
c951c5c472 Bug 713936: Update to NSS_3_13_2_RTM (NSS 3.13.2), r=kai 2012-02-16 19:16:42 -08:00
Neil Deakin
2996ec9d75 Bug 499008, part 3, remove nsIDOMNSEvent::tmpRealOriginalTarget, r=smaug 2012-02-17 09:16:59 -05:00
Ed Morley
af552ec2e4 Merge mozilla-central to mozilla-inbound 2012-02-17 11:11:16 +00:00
Mike Hommey
c34084f4cf Bug 720621 - Avoid text relocations induced by NDK >= r6b. r=ted 2012-02-17 08:55:36 +01:00
Brian Smith
1ec254c20b Bug 710176, Part 3: Abort the connection during send or recv when we time out assuming TLS intolerance, r=kaie 2012-02-13 16:18:48 -08:00
Brian Smith
e003344ea0 Bug 713934: Update SetCertVerificationResult to use SSL_AuthCertificateComplete, r=honzab 2012-02-13 16:18:28 -08:00
Brian Smith
1aa4ac03d3 Bug 713936, Part 2: Remove local patches that were incorporated into NSS 3.13.2, r=kaie 2012-02-13 16:18:20 -08:00
Brian Smith
c3edd03bb8 Bug 713936, Part 1: Update to NSS 3.13.2 RC0, r=kaie 2012-02-13 16:17:25 -08:00
Geoff Lankow
c59ab7ad07 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg 2012-01-18 23:23:28 +13:00
Igor Bukanov
3638c8cf65 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
55704654e7 backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
ca990d2064 bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Mark Capella
cd4f054002 Bug 418290 - replace 'can not' with 'cannot'. r=dao 2012-02-08 14:16:51 +01:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Brian Smith
402f9d6676 Bug 712363, Part 5: Add back synchronous cert validation for Thunderbird, r=honzab 2012-01-31 08:05:11 -08:00
Brian Smith
73e780064b Bug 712363, Part 4: Split the creation of CertErrorRunnable from the dispatching of it, r=honzab 2012-01-31 08:05:06 -08:00
Brian Smith
598b4bbf78 Bug 712363, Part 3: Correct the documentation of how threading works, r=honzab 2012-01-31 08:05:02 -08:00
Brian Smith
782c8feb7e Bug 712363, Part 2: Move CertErrorRunnable, SSLServerCertVerificationResult, and HandleBadCertificate to SSLServerCertVerification.cpp, r=honzab 2012-01-31 08:04:57 -08:00
Honza Bambas
4a19ec5655 Bug 712363, Part 1: Make SyncRunnableBase work without deadlocking when run on the main thread, r=honzab 2012-01-31 08:04:53 -08:00
Brian Smith
45e41245bd Bug 716636, Part 2: Fix cert authentication lock reentrence, r=honzab 2012-01-31 05:19:52 -08:00
Brian Smith
7c5351e6de Bug 716636, Part 1: Fix TLS toleraance lock reentrence, r=honzab 2012-01-31 05:19:25 -08:00
Brian Smith
0b84714b2a Bug 710176, Part 2: Import ssl_Poll fix from bug 542832, r=kaie 2012-01-31 04:24:16 -08:00
Brian Smith
42c3625e9a Bug 710176, Part 1: Do not do TLS intolerance timeout during cert validation, r=honzab 2012-01-31 04:23:42 -08:00
Mike Hommey
daf5d912d2 Bug 717906 - Enable NSS lowhash API so that Mozilla builds work on Fedora. r=rrelyea 2012-01-19 08:19:48 +01:00
Mike Hommey
91283be7b1 Bug 717906 - Allow to enable NSS lowhash API without requiring FREEBL_NO_DEPEND. r=rrelyea 2012-01-19 08:19:44 +01:00
Mike Hommey
7886a92c06 Bug 712579 - Load nssckbi from the location of nss3. r=kaie 2011-12-27 18:11:17 +01:00
Mike Hommey
84247499ed Bug 712284 - Remove dladdr hack for NSS on android. r=ted 2012-01-10 09:10:53 +01:00
Mike Hommey
0ff14cec65 Bug 708570 - Make libfreebl depend on nspr. r=ted 2012-01-10 09:10:53 +01:00
Jeff Walden
62f48d8793 Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Patrick McManus
69aa3d58c4 bug 631801 - workaround pr_available() assert r=honzab sr=biesi r=bsmith 2011-12-20 15:14:54 -05:00
Kai Engert
6e474df9ff Bug 661681 - Enable A-Trust-nQual-03 root certificate for EV in PSM
r=honzab
2011-12-18 16:08:38 +01:00
Patrick McManus
aa343b934b bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley
8d3d1667ec Backout SPDY to keep us under the MSVC virtual address space limit during win PGO builds (bug 709193)
Backs out 952d14a9e508 (bug 707173), c170c678c9ac (bug 708305), 0a5f66d5d8e4 (bug 707662), 3204b70435fe (bug 706236) and the main landing range 48807fde0339:0bd45ead1676 (bug 528288).
2011-12-10 22:36:26 +00:00
Honza Bambas
21ef56358a Bug 703024 - Back out bug 662996 (OCSP requests leak cookies) because of bug 701019, r=bsmith 2011-12-06 12:16:16 +01:00
Patrick McManus
0a87853a4e bug 528288 - spdy don't coalesce onto connections that have used client certs and don't send client certs from connections that have been joined r=bsmith sr=honzab
patch 19
2011-12-02 10:30:16 -05:00
Patrick McManus
5e196c87ab bug 528288 spdy - nsisslsocketcontrol::mayjoinconnection() r=honzab r=bsmith sr=honzab sr=biesi
patch 17
2011-12-02 10:28:57 -05:00
Patrick McManus
bba2af65d9 bug 528288 - disallow spdy from http created in nsNSSCallbacks to avoid OSCP/CRL loops with alternate-protocol sr=biesi r=honzab
patch 15
2011-12-02 10:28:57 -05:00
Patrick McManus
233a5dc1d9 bug 528288 - spdy - disallow server cert changes through renegotiation when using spdy r=bsmith sr=honzab
patch 13
2011-12-02 10:28:57 -05:00
Patrick McManus
7b7e03e318 bug 528288 spdy - only coalesce (i.e. ip pool) hostnames with compatible ssl certs sr=biesi r=honzab r=bsmith
patch 9
2011-12-02 10:28:57 -05:00
Patrick McManus
bad3981a7f bug 528222 Basic SPDY web transport support. r=honzab r=bsmith sr=biesi
patch 0
2011-12-02 10:28:56 -05:00
Brian Smith
20c388403c Bug 674147 (Remove the SSL Thread) Part 2: Everything else, r=honzab 2011-12-01 14:37:57 -08:00
Brian Smith
c17a7182ed Bug 674147 (Remove the SSL Thread) Part 1: Move certificate validation code to new file, preserving history, r=honzab
--HG--
rename : security/manager/ssl/src/nsNSSCallbacks.cpp => security/manager/ssl/src/SSLServerCertVerification.cpp
2011-12-01 14:37:23 -08:00
Brian Smith
568f409ae5 Bug 703508: Make nsNSSSocketInfo::GetErrorMessage() lazily format the error message, r=honzab 2011-12-01 14:36:41 -08:00
Brian Smith
9585597fca Bug 698552: Add SSL_RestartAfterAuthCertificate to mozilla-central's copy of NSS_3_13_2_BETA1, r=kaie, r=honzab 2011-12-01 14:33:37 -08:00
Brian Smith
91ceda4b66 Bug 698552: Update to NSS 3.13.2 BETA1 (NSS_3_13_2_BETA1), r=kaie, r=honzab 2011-12-01 14:27:28 -08:00
Michael Wu
5dd6a67845 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Oonishi Atsushi
8f0353652d Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Ed Morley
7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Marco Bonardo
bfad475089 Merge mozilla-central to mozilla-inbound 2011-11-04 21:56:10 +01:00
Olli Pettay
4820dd889d Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Brian Smith
d17c29f4ac Bug 675221: Remove XPCOM proxy header #includes from PSM, r=kaie 2011-11-02 21:17:54 -07:00
Brian Smith
13cafc7241 Bug 675221: Notify observers of PSM's background threads on the main thread, r=kaie 2011-11-02 21:14:33 -07:00
Benjamin Smedberg
dee00f8b91 Bug 675702: Call nsICertVerificationListener on the main thread, rev. 1, r=bsmith, r=mayhemer 2011-11-02 21:06:51 -07:00
Brian Smith
a42b4e1ae9 Bug 675221: Remove XPCOM Proxies from PSM UI prompts, r=kaie 2011-11-02 21:02:48 -07:00
Brian Smith
6cb841c12d Bug 675221: Remove XPCOM Proxies from nsNSSSocketInfo::GetPreviousCert, r=mayhemer 2011-11-02 21:01:47 -07:00
Brian Smith
604037ca77 Bug 698983: Fix extended validation indicator, r=mayhemer 2011-11-02 20:59:56 -07:00
Brian Smith
aa92cd402b Bug 669061: Upgrade Mozilla to NSS 3.13.1, r=wtc
--HG--
extra : rebase_source : d43ffd0eae375aae83017b855859ef2bc78d30d6
2011-11-02 20:54:18 -07:00
Brian Smith
8d30b97900 Bug 675702 - Remove XPCOM Proxies: Do PSM client certificate processing on the main thread, r=kaie
--HG--
extra : rebase_source : 810f54d98fdad7e70ed2d8db8b13292d1d1bfa61
2011-10-30 17:35:14 -07:00
Brian Smith
c70f428cda Bug 686248: Add isExtendedValidation to nsISSLStatus so it can be used by mobile, r=meyhemer
--HG--
extra : rebase_source : 6d21f2fdc3cb587874662cc23f84503e63b95ed1
2011-10-30 11:43:06 -07:00
Kai Engert
736487a0af Bug 698753, Distrust two Malaysian Sub-CAs. r=rrelyea 2011-11-04 20:01:14 +01:00
Wan-Teh Chang
147c8b47c3 Bug 695833: Update NSS to NSS_3_13_1_BETA2. Includes fixes for
bug 647706 and bug 691997.  See individual bugs for code reviews.
2011-10-22 17:46:33 -07:00
Wan-Teh Chang
7bcec0e1f5 Bug 695833: Update NSS to NSS_3_13_1_BETA1, which includes fixes for
bug 693228 and bug 694148.  See individual bugs for code reviews.
2011-10-19 14:31:23 -07:00
Brian Smith
8e7e0f5426 Bug 686150: Do not verify client certificates when they are being used for SSL client auth, r=honzab.moz 2011-10-17 17:04:09 -07:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ms2ger
ca6f7807e0 Bug 540433 - Remove nsIDocumentViewer; r=smaug 2011-10-15 09:33:26 +02:00
Matheus Kerschbaum
98e39d9eec Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Matheus Kerschbaum
5bb600d809 Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Brian Smith
cb4d576dc4 Bug 669061: Upgrade to NSS 3.13 RC0, r=wtc 2011-10-07 13:37:26 -07:00
Brian Smith
a6fca8651e Bug 679140: Do all SSL error processing on the main thread, r=honzab.moz 2011-10-06 17:46:52 -07:00
Brian Smith
851d57eb51 Bug 675221: Remove XPCOM Proxies: Implement Runnable that can be waited on synchronously, r=bsmedberg 2011-10-06 17:46:41 -07:00
Brian Smith
631c3e67de Bug 682329: Remove default SSL error UI, r=honzab.moz 2011-10-06 17:41:43 -07:00
Matt Brubeck
644a223e89 Back out 2780356be1a1 (bug 675574) and 9928fb9a32b1 (bug 690220) on suspicion of causing browser-chrome shutdown hangs 2011-09-29 14:44:36 -07:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mounir Lamouri
aac1c5db8b Bug 675574 - Do not allow more than one call to window.open() when we allow popups. r=jst 2011-09-28 23:23:36 +02:00
Kyle Huey
dbdc064e79 Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Margaret Leibovic
346534afd1 Bug 685302 - Use "website" instead of "web site" consistently across all strings in the UI. r=dao 2011-09-13 16:42:37 -07:00
Kyle Huey
a0800c6141 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Mike Hommey
95d53226f7 Bug 683441 - Always sign NSS libraries from packager.mk. r=ted 2011-09-06 08:19:37 +02:00
Kai Engert
5532b6853e Additional patch for bug 683261 - Better coverage for DigiNotarGate in NSS 2011-09-02 15:00:59 -04:00
Ehsan Akhgari
833457c592 Bug 683449 - Really remove the exemptions; r=kaie over irc 2011-09-02 14:58:49 -04:00
Kai Engert
73b0a0b561 Bug 683261 - Better coverage for DigiNotarGate in NSS; r=rrelyea 2011-09-02 14:03:05 -04:00
Kai Engert
ec396aa4b1 Bug 683883 - Improve DigitNotarGate handling in PSM; r=rrelyea 2011-09-02 13:58:32 -04:00
Ehsan Akhgari
c3a9a6f51f Bug 683449 - Remove the exemptions for the Staat der Nederlanden root; rs=LegNeato 2011-09-02 13:53:47 -04:00
Ms2ger
ccea776176 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Kyle Huey
216740764e Merge b-s to m-c. 2011-08-31 10:59:12 -04:00
Ehsan Akhgari
f224153f00 Bug 683449 - DigiNotar patch erroneously blocks one of the two Staat der Nederlanden roots; r=kaie 2011-08-31 10:11:17 -04:00
Kyle Huey
134b8fad07 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Marco Bonardo
8cf3ae6985 Merge mozilla-central and mozilla-inbound 2011-08-31 10:43:43 +02:00
Jim Chen
626d8d3053 Bug 674806 - e. Override ARCHFLAG instead of DSO_CFLAGS to retain -fPIC on Android; r= 2011-08-30 17:11:37 -07:00
Brian Smith
2789fe6ab4 Bug 682927 - Dis-trust DigiNotar root certificate, part 3; r=kaie,dveditz 2011-08-30 10:33:04 -04:00
Kai Engert
2552ad09db Bug 682927 - Dis-trust DigiNotar root certificate, part 2; r=bsmith 2011-08-30 10:32:25 -04:00
Kai Engert
27d1bd32c4 Bug 682927 - Dis-trust DigiNotar root certificate, part 1; r=bsmith 2011-08-30 10:31:46 -04:00
Kyle Huey
4a1055ab6c Merge m-c to b-s. 2011-08-24 08:34:27 -04:00
Mike Hommey
cef69a140b Bug 678214 - Properly link NSS with new style jemalloc. r=khuey 2011-08-23 15:30:44 +02:00