Commit Graph

310 Commits

Author SHA1 Message Date
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
Gian-Carlo Pascutto
67d2edc09d Bug 686691 - PrefixSet loading should use readahead. r=taras 2011-10-02 21:26:10 +02:00
Kyle Huey
84be810e8c Bug 687332: Fix toolkit/. r=rs 2011-09-29 12:06:36 -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
11675fa34a Bug 669410 - Add copyright header to PrefixSet IDL file. DONTBUILD (NPOTB) 2011-09-16 14:34:05 -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
810b6cbcef Bug 669410 - Remove old fragment cache code. r=dcamp 2011-09-08 22:15:48 +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
Malini Das
643e305d72 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
94612b227a Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Gian-Carlo Pascutto
32fbe88513 Bug 667075 - Use nsIRandomGenerator instead of querying SQLite. r=dcamp 2011-07-30 09:24:22 +02:00
Han Chang
b0b5811804 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
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
Gian-Carlo Pascutto
e996ebe9f8 Bug 665930 - Fix typos in dbservice test code. r=tony@ponderer.org 2011-06-29 22:01:04 -07:00
Mehdi Mulani
1c8d8ea63c 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
370eb55bf7 Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Joel Maher
39ca77fbd2 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04: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
Mehdi Mulani
8bcf292d5f Bug 572463 - Switch nsUrlClassifierHashCompleter from C++ to a JS implementation. r=dcamp,Mossop 2011-04-26 16:57:45 -07:00
Mehdi Mulani
0b7221f29a Bug 652294 - Typo from previous patch. DONTBUILD 2011-04-22 19:17:42 -07:00
Mehdi Mulani
f41fdcc40d Bug 652294 - Adding diagnostics to test_hashcompleter.js for intermittent orange. (test only) 2011-04-22 19:04:57 -07: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
Mehdi Mulani
991190b54f Bug 644288: Add tests for HashCompleter. r=dcamp 2011-03-31 11:32:28 -07: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
Mike Hommey
0819a507ab Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Daniel Richard G.
ebbb3a2050 Bug 581628. We can end up in situations where mConnection is null due to our use of async proxies that eat error codes. r=sdwilsh, a=bzbarsky 2010-11-19 09:18:08 -05:00
Taras Glek
19161a1675 Bug 581606 - Avoid sqlite fragmentation via SQLITE_FCNTL_CHUNK_SIZE r=asuth sr=shaver a=b6 2010-09-01 20:35:46 -05:00
Kyle Huey
0da3ad233c Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending. 2010-08-01 01:48:21 -07:00
Benjamin Smedberg
369b5af165 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Taras Glek
05489fbe64 Bug 416330 - Suboptimal SQLite page size r=sdwilsh 2010-07-01 10:57:13 -07:00
Benjamin Smedberg
4eb44d9d34 Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes. 2010-06-22 12:59:15 -04:00
Shawn Wilsher
c73af80900 Backout of bug 416330 so we can freeze for the beta on a CLOSED TREE. 2010-06-28 16:31:47 -07:00
Shawn Wilsher
276d84c5f7 Bug 416330 - fix oranges. CLOSED TREE. a=zpao r=sdwilsh 2010-06-28 16:04:15 -07:00
Taras Glek
75dfc99991 Bug 416330 - Suboptimal SQLite page size r=sdwilsh 2010-06-28 12:13:26 -07:00