David Keeler
0e6d868ee2
Bug 785860 - fix sts preload list tests to skip private mode tests if private browsing service is missing - conditionally call run_next_test based on if we're in private browsing mode or not. r=bsmith
2012-08-28 09:41:32 -07:00
Landry Breuil
bb5e2fdc50
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
531525812e
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
35ec2259d2
Bug 783974, Log SSL errors to the error console, v9, mostly r=bsmith
2012-08-28 15:32:34 +02:00
Sid Stamm
70cc8cd8de
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
6ba661637a
backout a6890a3b8f72 because of a leak
2012-08-27 18:45:52 +02:00
Ehsan Akhgari
4549b4f331
Bug 579517 follow-up: Remove NSPR types that crept in
2012-08-27 12:28:11 -04:00
Kai Engert
59e79c2dc1
Bug 783974, Log SSL errors to the error console, r=bsmith
2012-08-27 16:37:47 +02:00
David Keeler
20b92d9190
Bug 760307 - Preloaded strict-transport-security site list. r=mayhemer, bsmith
2012-08-24 14:17:27 -07:00
Luke Wagner
94264a0bc8
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
5b76a146bc
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
0fd9123eac
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
7943862375
Bustage fix for bug 480745 on a CLOSED TREE.
2012-08-16 19:28:16 -04:00
Ludovic Hirlimann
d666947e39
Bug 480745 - Remove XP_MAC from mozilla/security. r=bsmith, sr=kaie
2012-08-16 17:35:19 -04:00
Marek Stepien
53e022fb01
Bug 636245 - Allow localizers to change the Device Manager window size. r=kaie
2012-08-15 21:00:50 -04:00
Kai Engert
fb8f81c5e4
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
e0ab48ca47
Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan
2012-08-13 16:49:48 +03:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
EKR
8d430af103
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
541453729c
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
cf7b0a861f
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
61bd42dc2d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
17e25febb8
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Aryeh Gregor
ef2b9c15d7
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
6b6d20e82c
Bug 777292 - security/manager/: Fix incorrect conversions to nsresult; r=kaie
2012-07-30 12:24:36 +03:00
Ed Morley
1368da883d
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
1138ef9062
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
364da93593
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
c7a5b33778
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e
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
babf67cce2
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Devdatta Akhawe
a7f111cd79
Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend
2012-08-02 18:51:17 -07:00
Honza Bambas
60324db7ae
Bug 768568, r=kaie
2012-07-31 20:59:17 +02:00
Wan-Teh Chang
c6771234e8
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
903f6c9c84
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
af0638a5bc
Bug 777292 - Convert some nsresult to SECStatus; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
417223dce7
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
4d1c6a3c04
Bug 777292 - Convert an nsresult variable to PRStatus; r=ehsan
2012-07-27 17:03:25 +03:00
Patrick McManus
a14aa5eb2c
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
4b8f318e78
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
8e7848dcb0
Bug 775713 - Use principals in nsStrictTransportSecurityService to access the PermissionManager. r=bsmith,mayhemer
2012-07-23 11:06:36 -07:00
Ehsan Akhgari
1d2e0edee8
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
bea7618edc
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
a7eb97f896
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
5567f1a177
Bug 769533 - Part 1. Replace AppendWithConversion with others. r=jlebar
2012-07-06 18:43:28 +09:00
Brian Smith
fcc2f52ebf
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
f9b828146c
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
41779e1714
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
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Ed Morley
41f0822cf7
Merge mozilla-central to mozilla-inbound
2012-06-01 01:12:32 +01:00
Gervase Markham
be13184eac
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
2012-05-31 10:33:35 +01:00
Kai Engert
4e03c7dc0a
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
d4eb7d5782
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
85a15790f5
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
fada1ab692
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
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9
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
068b7663d9
Bug 738458, Upgrade Mozilla to NSS 3.13.5, landing beta2, r=bsmith/wtc
2012-05-18 17:05:42 +02:00
Honza Bambas
005b15c034
Bug 745254, r=kaie
2012-05-03 18:25:07 +02:00
Brian Smith
2063fba797
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
7d093da1ec
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
a93b7b4a6a
Bug 703834 - Part 2 - Make SSLServerCertVerification use TransportSecurityInfo instead of nsNSSSocketInfo, r=honzab
2012-04-29 21:00:29 -07:00
Brian Smith
f82cffa8ef
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
1ccd4c851a
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
2c4461eba2
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
26b832feb9
Bug 738457 - useful error message for MD5 certs, simplify, r=kaie, r=wtc
2012-04-27 01:47:19 +02:00
Kai Engert
4cea96a972
Bug 738458 - Upgrade Mozilla to NSS 3.13.5 - starting with BETA1, r=wtc
2012-04-27 01:47:19 +02:00
Christian Holler
ac4f923061
Bug 741258 - Pass LDFLAGS when linking NSS dylibs with Address Sanitizer, r=ted
2012-04-26 10:42:07 -07:00
Kai Engert
311fe61764
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
b1f6b2fab0
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
efaa6f44dd
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
38934b4912
Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden
2012-04-02 17:21:24 -07:00
Ed Morley
e2c58594e0
Merge mozilla-central to mozilla-inbound
2012-04-01 04:02:22 +01:00
Ed Morley
37a808d4d3
Backout 369ad04efa1f (bug 736066) for linux64 crashes
2012-04-01 03:54:38 +01:00
Wan-Teh Chang
5d910b89fe
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
c5a968bb79
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
205960e5d1
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
ec45e06e99
Fix for bug 739898 (Stop using enablePrivilege in test_bug480509.html). r=bz.
2012-03-27 16:31:36 -07:00
Serge Gautherie
d647cd9e50
Bug 739008. (Bv1) Fix patch Av1a. r=sstamm.
2012-03-27 02:02:29 +02:00
Serge Gautherie
b5f97c9296
Bug 739008. (Av1a) Fix and improve test_sts_privatebrowsing.html. r=sstamm.
2012-03-26 22:59:41 +02:00
Matt Brubeck
a2adc4a0df
Back out 66ed24196754 (bug 739008) because of test failures
2012-03-26 14:38:20 -07:00
Serge Gautherie
384a3f2d32
Bug 739008. (Av1) Fix and improve test_sts_privatebrowsing.html. r=sstamm.
2012-03-26 22:59:41 +02:00
Steve Workman
2ed5885882
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
a82147515d
Bug 681937, Enhance PSM's key generation strategy with tokens/escrow, r=rrelyea
2012-03-21 23:22:15 +01:00
Kai Engert
7dbac8b11b
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
0dbaf73150
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
38c016dd58
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
30d3de8268
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
fed9a22508
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
c75048ad98
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
fe644b724a
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
eef9d5e504
Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones
2012-02-16 04:11:34 +01:00
Nathan Froyd
46a7258f3c
Bug 700659 - Slay nsHashSets in security. r=kaie
2011-11-08 15:24:09 -05:00
Kai Engert
5c63821edc
Bug 728617, Update Mozilla to NSS 3.13.3, r=rrelyea
2012-02-22 11:02:38 +01:00
Atul Aggarwal
95b146cd0c
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