Commit Graph

322 Commits

Author SHA1 Message Date
Gregory Szorc
cc8470b5e8 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Mike Hommey
32d1117ab7 Bug 826992 - Avoid hardcoded clientId in SafeBrowsing.jsm. r=Mossop,r=mfinkle,r=gcp 2013-01-10 08:38:50 +01:00
Ehsan Akhgari
962a24f24f Merge the last PGO-green changeset of mozilla-central into mozilla-inbound 2013-01-14 17:27:01 -05:00
Gian-Carlo Pascutto
329bc80a10 Backout ff82d1a3955e (Bug 830308). 2013-01-14 20:16:38 +01:00
Gian-Carlo Pascutto
56d4fcf974 Bug 825891 - Remove one more obsolete mention of per-client randomization. r=dcamp 2013-01-14 17:43:14 +01:00
Philip Chee
fcaab0e18a Bug 825417 SafeBrowsing.jsm: Don't hardcode phishing/malware table names (phishingList, malwareList) r=gcp. 2013-01-14 23:25:51 +08:00
Mike Hommey
ef6a967753 Bug 826992 - Avoid hardcoded clientId in SafeBrowser.jsm. r=Mossop,r=mfinkle,r=gcp 2013-01-10 08:38:50 +01:00
Gian-Carlo Pascutto
7fac2e3be7 Bug 825891 - Remove the code for per-client randomization in the url-classifier. r=dcamp 2013-01-08 16:43:33 +01:00
Daniel Holbert
9d445b9cf9 Bug 825941: Mark toolkit/components/url-classifier directory as warning-free. r=gps 2013-01-06 18:06:23 -08:00
Daniel Holbert
b009577f4e Bug 825941 helper: Mark debug-only variable |rv| in nsUrlClassifierDBService.cpp as DebugOnly. 2013-01-06 18:06:23 -08:00
Nikolay Bryskin
0273dd7851 Bug 650935 - Fix replacements in unUrlSafe to be global. r=dcamp 2013-01-03 17:18:42 -05:00
Daniel Holbert
4388426375 Bug 826052: Make HashStore explicitly reject files larger than UINT32_MAX bytes, to avoid precision issues when we pass the file-length as a uint32_t function argument. (Also, skip a redundant file-size lookup.) r=gcp 2013-01-03 00:38:24 -08:00
Daniel Holbert
c92002e8b2 Bug 825647: Remove unused logging #defines from url-classifier/Entries.h. r=gcp 2013-01-02 09:05:34 -08:00
Daniel Holbert
9492334005 Bug 825627, part 2: Convert known-to-be-nonnegative variables 'i' and 'idx' to be unsigned, in Classifier::ReadNoiseEntries(), to fix signed/unsigned comparison build warnings. r=gcp 2013-01-02 09:05:31 -08:00
Daniel Holbert
7755ec9f84 Bug 825627, part 1: Make nsUrlClassifierDBService.cpp's "gethashNoise" & "aCount" variables as unsigned, since counts are unsigned by definition. r=gcp 2013-01-02 09:05:19 -08:00
Nicholas Nethercote
b6939f2c42 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Gian-Carlo Pascutto
1ff3880760 Bug 823665 - Rename urlclassifier.confirm-age to max-complete-age. r=gcp 2012-12-21 08:48:30 +01:00
Cameron McCormack
b0db402ed9 Bug 822548 - Fix a bunch of JS warnings on startup. r=dao 2012-12-19 09:27:56 +11:00
Ed Morley
108f990d77 Bug 752243 - Disable test_service_wipeServer.js, test_service_createAccount.js, test_service_changePassword.js, test_aitc_server.js, test_aitc_client.js & test_hashcompleter.js on OS X & Linux for too many intermittent failures 2012-12-13 12:48:42 +00:00
Aaron Klotz
dc8f6d7828 Bug 810101 - Add readahead to safebrowsing .sbstore and .cache files. r=gpascutto 2012-12-12 18:05:04 -05:00
Saurabh Anand
151d13c7a5 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Mounir Lamouri
fa74bababa Bug 811193 - nsIUrlListManager.safeLookup() should take a nsIPrincipal. f=hector sr=sicking 2012-11-19 12:25:48 +00:00
Gian-Carlo Pascutto
44ba37d641 Bug 806422 - Modify and add tests for new Complete caching behavior in protocol 2.3. r=dcamp 2012-11-06 15:38:25 +01:00
Gian-Carlo Pascutto
219e600a01 Bug 806422 - Do not cache Complete's across a SafeBrowsing update. r=dcamp 2012-11-06 15:38:16 +01:00
Gian-Carlo Pascutto
25e5d23dbb Bug 807852 - Position of real request is predictable in Completion requests. r=dcamp 2012-11-03 01:53:11 +01:00
Gian-Carlo Pascutto
34867bacb6 Bug 807822 - No noise added to completion request in some circumstances. r=dcamp 2012-11-03 01:53:11 +01:00
Gian-Carlo Pascutto
2a420e6abb Bug 807847 - Noise entries are erroneously entered into the misscache. r=dcamp 2012-11-03 01:53:10 +01:00
Gian-Carlo Pascutto
35f34e9781 Bug 782106 - Disable the per-client randomization in the url-classifier. r=dcamp 2012-11-03 01:53:10 +01:00
Matt Joras
45a6c11d52 Bug 798033 - Removes 'using namespace' from toolkit headers - r=bsmedberg 2012-11-01 18:09:22 -04:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Justin Dolske
4a49f7f2f7 Bug 778608 - Move SafeBrowsing.jsm to toolkit. r=gavin
--HG--
rename : browser/components/safebrowsing/content/blockedSite.xhtml => browser/base/content/blockedSite.xhtml
rename : browser/components/safebrowsing/content/report-phishing-overlay.xul => browser/base/content/report-phishing-overlay.xul
rename : browser/components/safebrowsing/SafeBrowsing.jsm => toolkit/components/url-classifier/SafeBrowsing.jsm
2012-10-29 17:26:41 -07:00
Gian-Carlo Pascutto
72b3d7cd28 Bug 797302 - crash in mozilla::safebrowsing::Classifier::Check. r=dcamp 2012-10-23 09:57:18 +02:00
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Gian-Carlo Pascutto
8c3e7521f0 Bug 795281. r=bholley 2012-10-18 13:52:03 +02:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Gian-Carlo Pascutto
a83c8464af Bug 727370 - Fix typo that crept in while rebasing. r=benjamin 2012-09-28 19:00:20 +02:00
Gian-Carlo Pascutto
689f5db673 Bug 727370 - Small cleanups in HashStore. r=dcamp 2012-09-28 18:31:19 +02:00
Gian-Carlo Pascutto
a2422d96b8 Bug 727370 - Recover correctly from a Reset during an update. r=dcamp 2012-09-28 18:31:19 +02:00
Gian-Carlo Pascutto
4c7e1a2ac2 Bug 727370 - Improve HashStore checksumming performance. r=dcamp 2012-09-28 18:31:19 +02:00
Gian-Carlo Pascutto
f9233b3428 Bug 727370 - Make SafeBrowsing updates atomic transactions. r=dcamp 2012-09-28 18:31:18 +02:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
8c296bbcd4 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
Aryeh Gregor
0a8f6b4783 Bug 782252 - Cast some nsresult to PRUint32; r=ehsan 2012-08-09 11:36:40 +03:00
Gian-Carlo Pascutto
dc55f14bc5 Bug 673470 - Update the new SafeBrowsing code to MPL 2.0. r=dcamp 2012-08-15 09:10:56 +02:00