Commit Graph

206 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
1b15f1f905 Bug 702217 - Avoid double allocation in UrlClassifier. Handle OOM conditions. r=dcamp 2012-01-10 17:09:32 +01:00
Nathan Froyd
1de4e6fcb8 Bug 712427 - provide more information in SQL PRAGMA queries; r=mak 2012-01-05 18:46:35 -05:00
Nicholas Nethercote
2fa63e0548 Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Jeff Walden
f73124604d Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Jeff Walden
279c3635c0 Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Nicholas Nethercote
5d2aefc5b3 Bug 705602 - Use mallocSizeOf in prefixset memory reporter. r=gpc.
--HG--
extra : rebase_source : f228466f7e082a152ceaafc8f8f1c4b71f5f550f
2011-12-13 20:54:18 -08:00
Gian-Carlo Pascutto
bc9b17a4b9 Bug 706740 - Fix leftover PRBool. r=me 2011-12-02 11:23:10 +01:00
Gian-Carlo Pascutto
097a7859a1 Bug 706740 - Backout bug 667075. r=dcamp 2011-12-02 10:47:43 +01:00
Gian-Carlo Pascutto
c07592e6bc Bug 706049 - Sanity check PrefixSet on probing, detect errors on load. r=dcamp 2011-12-02 10:46:58 +01:00
Gian-Carlo Pascutto
f9a0639792 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
f5931dd00e Bug 698326 - Remove countMe argument to SizeOf in UrlClassifier. r= 2011-11-15 18:51:06 +01:00
Gian-Carlo Pascutto
4f47ecb803 Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar 2011-11-13 11:25:48 +01:00
Marco Bonardo
710987a799 Backout 38abb03271de (bug 698326) due to xpcshell tests failure 2011-11-11 20:12:12 +01:00
Gian-Carlo Pascutto
3ca204c2dd Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar 2011-11-11 18:57:22 +01:00
Ed Morley
7bc582f20f 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Josh Aas
b987675695 Bug 695965: Fix use of uninitialized memory in nsUrlClassifierDBService::CheckClean. r=bent 2011-10-20 10:48:11 -04:00
Ehsan Akhgari
2a602a5685 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
Gian-Carlo Pascutto
d2872dfc1f Bug 686691 - PrefixSet loading should use readahead. r=taras 2011-10-02 21:26:10 +02:00
Kyle Huey
ad4e94ee90 Bug 687332: Fix toolkit/. r=rs 2011-09-29 12:06:36 -04:00
Michael Wu
d8e503c38b 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
Gian-Carlo Pascutto
2a833df89e Bug 669410 - Add copyright header to PrefixSet IDL file. DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 3205a7b2e39c6d0a37ef38755902061a025edd15
2011-09-16 14:34:05 -07:00
Gian-Carlo Pascutto
3088bb81fb Bug 669410 - Add telemetry for PrefixSet usage. r=tglek 2011-09-08 22:17:34 +02:00
Gian-Carlo Pascutto
dd7d328f35 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
93843771f3 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
3609767baa Bug 669410 - Make the url-classifier PrefixSet persistent on startup/shutdown. r=tony 2011-09-08 22:16:59 +02:00
Gian-Carlo Pascutto
8a3e4007ed Bug 669410 - Remove old fragment cache code. r=dcamp 2011-09-08 22:15:48 +02:00
Gian-Carlo Pascutto
f1b8592f7b Bug 669410 - Reduce the SQLite caches' default size in url-classifier. r=dcamp 2011-09-08 22:15:37 +02:00
Gian-Carlo Pascutto
3846c30f61 Bug 669410 - Probe PrefixSet directly from the main thread. r=tony 2011-09-08 22:15:27 +02:00
Gian-Carlo Pascutto
3527a1530c Bug 669410 - Use PrefixSet to speed up URL classification. r=tony 2011-09-08 22:15:18 +02:00
Gian-Carlo Pascutto
3099d386d0 Bug 669410 - Add PrefixSet datastructure for SafeBrowsing. r=dcamp 2011-09-08 22:15:08 +02:00
Benjamin Smedberg
8b637a1db3 Bug 675221 part D - Fix up URL classifier to stop using XPCOM proxies, r=dcamp
--HG--
extra : rebase_source : a482200a9095a9115ac8829af045a16fa2ba1b38
2011-08-19 11:50:04 -04:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Gian-Carlo Pascutto
816a3f1ee5 Bug 667075 - Use nsIRandomGenerator instead of querying SQLite. r=dcamp 2011-07-30 09:24:22 +02:00
Han Chang
3af25db115 Bug 640629 - Move timer declaration instances to prevent premature garbage collection from occuring and wiping out the timer instances before they get a chance to fire. r=jdm,gavin 2011-07-05 21:40:00 -04:00
Kyle Huey
030b45ecfa Backed out changeset 549e3276ed25 2011-07-06 11:08:52 -07:00
Kyle Huey
b675cd7a7b 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
4f3130d0a0 Bug 665930 - Safe Browsing: Fix fragmenting of numerical IPs. r=tony@ponderer.org 2011-06-29 22:02:15 -07:00
Gian-Carlo Pascutto
9181d2b1ff Bug 665930 - Safe Browsing: Fix URL fragmenter in edge cases + tests. r=tony@ponderer.org 2011-06-29 22:01:34 -07:00
Gian-Carlo Pascutto
e8b9fadbc0 Bug 665930 - Fix typos in dbservice test code. r=tony@ponderer.org 2011-06-29 22:01:04 -07:00
Mehdi Mulani
9de5b5c2e7 Bug 652294 - Fix intermittent failure in test_hashcompleter.js by checking for duplicates. r=dcamp 2011-06-13 17:24:14 -04:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mehdi Mulani
1f8664d42a 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
Mehdi Mulani
4a0d27730b Bug 572463 - Switch nsUrlClassifierHashCompleter from C++ to a JS implementation. r=dcamp,Mossop 2011-04-26 16:57:45 -07:00
Mehdi Mulani
2b91bcfe36 Bug 652294 - Typo from previous patch. DONTBUILD 2011-04-22 19:17:42 -07:00
Mehdi Mulani
fd2c297c8f Bug 652294 - Adding diagnostics to test_hashcompleter.js for intermittent orange. (test only) 2011-04-22 19:04:57 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 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
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00