Commit Graph

186 Commits

Author SHA1 Message Date
Nathan Froyd
1c2ba92063 Bug 712427 - provide more information in SQL PRAGMA queries; r=mak 2012-01-05 18:46:35 -05:00
Jeff Walden
443b8f7d1f Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Jeff Walden
ad1841814e Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert 2011-12-18 01:00:42 -05:00
Nicholas Nethercote
cb524624bc Bug 705602 - Use mallocSizeOf in prefixset memory reporter. r=gpc. 2011-12-13 20:54:18 -08:00
Gian-Carlo Pascutto
9bfc7763f9 Bug 706740 - Fix leftover PRBool. r=me 2011-12-02 11:23:10 +01:00
Gian-Carlo Pascutto
37a757a746 Bug 706740 - Backout bug 667075. r=dcamp 2011-12-02 10:47:43 +01:00
Gian-Carlo Pascutto
19d95617c7 Bug 702217 - Add very basic sanity checking to PrefixSet construction. Handle corrupted update errors. r=dcamp 2011-12-02 10:45:56 +01:00
Gian-Carlo Pascutto
18c11b2972 Bug 698326 - Remove countMe argument to SizeOf in UrlClassifier. r= 2011-11-15 18:51:06 +01:00
Gian-Carlo Pascutto
8f61f0e297 Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar 2011-11-13 11:25:48 +01:00
Marco Bonardo
8583f20728 Backout 38abb03271de (bug 698326) due to xpcshell tests failure 2011-11-11 20:12:12 +01:00
Gian-Carlo Pascutto
1ed2345e54 Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar 2011-11-11 18:57:22 +01:00
Josh Aas
699c7b244a Bug 695965: Fix use of uninitialized memory in nsUrlClassifierDBService::CheckClean. r=bent 2011-10-20 10:48:11 -04:00
Ehsan Akhgari
478ad1a412 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
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Gian-Carlo Pascutto
4aaf73cdf8 Bug 669410 - Add telemetry for PrefixSet usage. r=tglek 2011-09-08 22:17:34 +02:00
Gian-Carlo Pascutto
397818839e Bug 669410 - Prevent hash collisions from occuring in the same place in every client. r=tony
See also bug 669407.
2011-09-08 22:17:25 +02:00
Gian-Carlo Pascutto
b6aee54606 Bug 669410 - Don't store host prefixes in memory. Rework prefix fetching from SQLite. r=tony 2011-09-08 22:17:14 +02:00
Gian-Carlo Pascutto
bf8f39caba Bug 669410 - Make the url-classifier PrefixSet persistent on startup/shutdown. r=tony 2011-09-08 22:16:59 +02:00
Gian-Carlo Pascutto
d4d482d799 Bug 669410 - Reduce the SQLite caches' default size in url-classifier. r=dcamp 2011-09-08 22:15:37 +02:00
Gian-Carlo Pascutto
30d9f4fbfd Bug 669410 - Probe PrefixSet directly from the main thread. r=tony 2011-09-08 22:15:27 +02:00
Gian-Carlo Pascutto
a13cf40f9a Bug 669410 - Use PrefixSet to speed up URL classification. r=tony 2011-09-08 22:15:18 +02:00
Gian-Carlo Pascutto
5638eb8aa2 Bug 669410 - Add PrefixSet datastructure for SafeBrowsing. r=dcamp 2011-09-08 22:15:08 +02:00
Benjamin Smedberg
b5067e81ea Bug 675221 part D - Fix up URL classifier to stop using XPCOM proxies, r=dcamp 2011-08-19 11:50:04 -04:00
Gian-Carlo Pascutto
32fbe88513 Bug 667075 - Use nsIRandomGenerator instead of querying SQLite. r=dcamp 2011-07-30 09:24:22 +02:00
Kyle Huey
8c2d44482b Backed out changeset 549e3276ed25 2011-07-06 11:08:52 -07:00
Kyle Huey
742bdcc3b6 Bug 668699: If urlclassifier is turned off, do not open the database. r=dcamp 2011-07-01 19:32:06 -07:00
Gian-Carlo Pascutto
b25fc2260f Bug 665930 - Safe Browsing: Fix fragmenting of numerical IPs. r=tony@ponderer.org 2011-06-29 22:02:15 -07:00
Gian-Carlo Pascutto
7d6d1de8fa Bug 665930 - Safe Browsing: Fix URL fragmenter in edge cases + tests. r=tony@ponderer.org 2011-06-29 22:01:34 -07:00
Mehdi Mulani
5eca6cee34 Bug 468313 - Add permissions to safe-browsing so warnings don't keep showing up on attack sites. r=sdwilsh ui-r=limi 2011-05-03 13:39:28 -04:00
Chris Jones
9ae6458637 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
ecb9597975 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones
5dece3352a Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Shawn Wilsher
e630f26af7 Bug 645093 - Stop using [deprecated] Storage methods in the URL Classifier.
r=dcamp
2011-03-31 10:19:31 -07:00
L. David Baron
7f8b96762f Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Justin Lebar
02a6d6af4a Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal 2011-03-28 15:58:49 -04:00
Mitchell Field
8969bddd5d Bug 595513 - Reduce makefile recursion in toolkit. r=khuey 2011-03-08 14:58:46 +11:00