Commit Graph

63 Commits

Author SHA1 Message Date
Ryan VanderMeulen
4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Florian Quèze
76ed71e427 Bug 762088 - nsContentPrefService.js, reference to undefined property Cc['@mozilla.org/privatebrowsing;1'], r=ehsan. 2012-06-07 15:57:17 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Lankow
ea30cec949 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00
Panagiotis Koutsourakis
835036b234 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Rafael Ávila de Espíndola
0db6f31c1f Bug 711494 - close _dbConnection. r=mak. 2011-12-19 13:10:18 -05:00
Rafael Ávila de Espíndola
7e7b94138b Bug 688913 - Finalize statements in extensions/cookie and toolkit/components/contentprefs. r=mak. 2011-10-28 10:55:20 -04:00
arno renevier
dff63f2de7 bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan
Manage private browsing mode in content pref service. CPS should be available
in private browsing mode, but should not store informations on disk, and should
clear all informations once the private session ends.

When setting a pref in private mode, it is stored in an in-memory hash table.
When getting a pref, it is retrieved from that hash table if available.
Otherwise, it is retrieved using the standard mechanism. When removing a pref,
it is retrieved from the hash table. The rationale is that in private mode,
it's ok to read a pref from normal database, but not ok to set it.

The in-memory hash table is cleared when leaving the private browsing mode.

When removing a set of preferences (with removeGroupedPrefs or
removePrefsByName), preferences are removed from the in-memory hashtable, *and*
from normal mode database. The rationale is that visiting a website may trigger
setting/getting/removing for a specific preference only. But removing many
prefs at once is the result of an action not associated with a website. For
example, user may wish to delete all its informations. In that case, user
probably expects to not have those informations restored once it leaves private
browsing mode.
2011-09-01 14:13:03 -04:00
arno renevier
0a723d0d12 bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Joel Maher
39ca77fbd2 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Matheus Kerschbaum
9014e25ac7 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Benjamin Smedberg
5c8d716d33 Bug 617539 - Fold nsIContentPrefService_MOZILLA_2_0 back into the main interface, r=gavin 2011-03-25 11:03:34 -04:00
Mitchell Field
8969bddd5d Bug 595513 - Reduce makefile recursion in toolkit. r=khuey 2011-03-08 14:58:46 +11:00
Felipe Gomes
0ec7d82f1e Bug 559992. Implement a caching mechanism for the contentprefs service and use it to retrieve page-specific zoom values, avoiding zoom flicker with back/forward navigation. r=gavin sr=vlad a=blocking-betaN 2010-12-28 12:45:04 -08:00
Felipe Gomes
edc0cf7fdb Back out 435b65622b7b due to orange. a=backout 2010-12-28 12:09:37 -08:00
Felipe Gomes
0b2c9089f7 Bug 559992. Implement a caching mechanism for the contentprefs service and use it to retrieve page-specific zoom values, avoiding zoom flicker with back/forward navigation. r=gavin sr=vlad a=blocking-betaN 2010-12-28 11:05:08 -08:00
Josh Matthews
55554404f7 Bug 602294 - Unregister directory provider to stop tests leaking. 2010-10-06 15:25:08 -04:00
Alon Zakai
79d23e272b Bug 584842 - nsIContentPrefService remoting. r=myk a=blocking-fennec=2.0b1 2010-09-07 12:16:43 -07:00
Doug Turner
ac6a106efd Backed out changeset 38b763292cb1. MacOS doesn't support E10S tests. a=bah 2010-09-03 22:56:49 -07:00
Alon Zakai
5ded0c957c 584842 - E10s nsIContentPrefService remoting implementation r=myk, a=blocking-fennec 2010-09-03 21:48:17 -07:00
Joel Maher
66966b3623 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
50d7d4c696 Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout 2010-08-25 14:03:44 -07:00
Joel Maher
653ecb9166 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking
3a09698a51 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
3bc5eca86a Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -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
Jeff Walden
6701407555 Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke 2010-04-17 03:19:33 -07:00
Ryan Flint
1c7cd58cd5 Bug 546445 - Asynchronous getPref triggers debug assertion when shutting down sqlite. r=sdwilsh 2010-02-23 12:19:36 -05:00
Geoff Lankow
0f9d034946 Bug 536567 - Store the value of the per-site last file upload directories inside the memory while private browsing is active. r=ehsan 2010-02-11 09:35:49 +01:00
Ryan Flint
5283bf5c75 Disable test 2010-02-09 06:29:36 -05:00
Ryan Flint
badb4dd9ea Bug 539907 - Have getPref use asynchronous statements when called with an optional callback. r=myk, sr=robstrong 2010-02-09 05:28:39 -05:00
Geoff Lankow
467e337bfa Bug 537189 - Ensure no data is left behind after removing prefs via 'removePrefsByName' and 'removeGroupedPrefs', r=myk 2010-01-05 18:38:06 -05:00
Geoff Lankow
f69e64cbbb Bug 524408. File inputs should remember the last-used directory on a per-site basis. r=bzbarsky 2009-12-22 20:05:26 -05:00
Dave Townsend
f7f978fe1b Bug 526651: Interfaces changed between the 1.9.2 branch and trunk with no IID rev. r=joe, r=mak77, r=myk 2009-11-06 14:33:17 -08:00
Paul O’Shannessy
6b3f22aba3 Bug 518453 - Storage usage changes: Don't create statement wrapper & don't use step(). r=myk 2009-09-25 15:32:21 -07:00
Geoff Lankow
eb2c5ee220 Bug 506799 - "nsIContentPrefService should accept string arguments for URI as well as nsIURI" [r=myk sr=mconnor] 2009-09-04 21:22:19 -05:00
Dão Gottwald
1c307d9f5b Backed out changeset 012d3f753a28 2009-08-28 22:54:33 +02:00
Geoff Lankow
2ac066d24b Bug 506799 - nsIContentPrefService should accept string arguments for URI as well as nsIURI. r=myk, sr=mconnor 2009-08-28 20:42:01 +02:00
Geoff Lankow
11dd3193b8 Bug 503971 - nsIContentPrefService methods should throw when passed a null setting name; r=myk sr=mconnor 2009-08-24 19:12:04 +02:00
Geoff Lankow
acd16954a8 Bug 458299 - nsIContentPrefService should provide an interface for listing stored prefs; r=(gavin.sharp + myk) 2009-07-27 18:13:15 +02:00
Daniel Holbert
37cf5be52d Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Johnathan Nightingale
ee4a641c1c Expose site-specific settings in CRH dialog. b=380852, r=gavin 2009-01-20 10:59:49 -05:00
Phil Ringnalda
819cde43ac Bug 465487 - Fix perms on a couple of executable JS components, r=ted 2008-12-06 20:25:09 -08:00
Ehsan Akhgari
87a1699e2a Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
Ehsan Akhgari
a0475aa03c Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [contentprefs part]; r=mconnor 2008-10-20 00:46:22 +03:30
387365bd96 bug 417732: fix delay and disk activity when full/text zooming by turning PRAGMA SYNCHRONOUS off for the content prefs database; r=mconnor, a=shaver 2008-05-25 18:05:00 -07:00
8d22df5888 Bug 423273 - Fix storage API to not break old behavior. r=shaver, sr=shaver, a=shaver 2008-03-24 15:14:38 -07:00
529ea11830 Bustage fix for bug 416208 testcase 2008-02-25 15:47:44 -08:00
0dd7550ce0 bug 416208: update content pref service to reflect changes to mozIStorageService::openDatabase and improve robustness against database file and schema corruption; r=sdwilsh, a=dsicore 2008-02-25 14:07:52 -08:00