Commit Graph

198 Commits

Author SHA1 Message Date
Masayuki Nakano
4a5030c91a Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
8e93a5852c Bug 659913 part.2 Implement AddObservers and RemoveObservers r=roc 2011-05-29 08:39:27 +09:00
Masayuki Nakano
60459f3de7 Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
c1ab9c6d97 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
0bd15239f6 Bug 659820 part.3 Refactor char/string/localizedstring pref methods of Preferences r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
328bf85660 Bug 659820 part.2 Add Preferences::GetLocalizedString() for nsACString r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
4855ddc072 Bug 659820 part.1 Change the string params of Preferences class from ns*String to nsA*String r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
37b6893999 Bug 659536 part.1 Implement Preferences::GetUint() r=roc 2011-05-25 15:31:59 +09:00
Masayuki Nakano
57a9ee7b21 Bug 656826 part.3 Implement static utility methods for Preferences r=roc 2011-05-23 23:54:03 +09:00
Masayuki Nakano
f7fff3eea0 Bug 656826 part.2 Rename nsPrefService.cpp and move nsPrefService.h to public r=roc+bsmedberg
--HG--
rename : modules/libpref/src/nsPrefService.h => modules/libpref/public/Preferences.h
rename : modules/libpref/src/nsPrefService.cpp => modules/libpref/src/Preferences.cpp
2011-05-23 23:54:03 +09:00
Dão Gottwald
9291640652 Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Chris Jones
76417aec7b Bug 616414: Notify content processes when a pref has been cleared. r=dwitte 2011-01-05 22:54:47 -06:00
timeless@mozdev.org
2103c10f13 Bug 584969 Remove references to nsIFileSpec from the "supported" set in nsIPrefBranch
r=dveditz a=bsmedberg
2011-01-05 14:11:56 -08:00
Chris Jones
339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
52d0f01838 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Mike Kristoffersen
a55ee59f45 Bug 599545 - Investigate remote-prefs serialization performance. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-19 22:35:08 +02:00
Doug Turner
be182f1bcf Bug 600110 - Pref follow up patch. Remove dead code, fix observers. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : dd0861639f346b0c0f6103c25586f6136aa125f3
2010-09-28 10:02:37 -07:00
Doug Turner
89e6cbef7c Bug 589905 - Cache remote-preferences to improve performance. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 327ae1b240a0535c2ec61eb3bce15df302d83987
2010-09-27 14:23:35 -07:00
Michael Wu
1c5226fb0e Bug 533038 - 3. Support reading preferences from arbitrary jars, r=dwitte a=blocking-beta6 2010-09-08 20:38:12 -07:00
Mitchell Field
d0f35f6883 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Dan Witte
7c610ca8ac Bug 564048 - Nix security checks in nsPrefBranch. r=sicking, sr=jst 2010-06-08 16:43:54 -07:00
Michael Kohler
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Makoto Kato
d97c21160c Bug 524449 - Remove nsIPref from tree. r+sr=benjamin 2010-03-13 22:25:13 +09:00
Dão Gottwald
b6e71f34a2 Bug 524270 - Make the second getChildList parameter optional. r=bsmedberg 2009-10-26 21:02:06 +01:00
Daniel Holbert
4301671b45 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
reed@reedloden.com
7def45cfbf Bug 345529 - "crash removing an observer during an nsPref:changed notification [@ pref_DoCallback] (node is 0xdddddddd)" [p=asqueella@gmail.com (Nickolay Ponomarev) r+sr=bsmedberg sr=darinf a=blocking1.9+] 2007-11-16 20:25:41 -08:00
thunder@mozilla.com
9d45a8e240 Bug 392967: Load app and extension prefs separately. r=bsmedberg 2007-08-31 19:16:47 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
asqueella%gmail.com
3e9e4e0524 Bug 354330 - nsIPref should have @status DEPRECATED
patch by Magnus Melin <mkmelin+mozilla@iki.fi>
r=timeless, sr=biesi
2007-02-05 22:34:35 +00:00
gijskruitbosch%gmail.com
4f378b22ce Bug 328128 - nsIPrefBranch::prefHasUserValue should document the fact that a pref doesn't have a user set value if it's set to its default value
p=asqueella@gmail.com (Nickolay Ponomarev)
r+sr=darin.moz@gmail.com (Darin Fisher)
Documentation Only.
2006-12-29 13:08:41 +00:00
sayrer%gmail.com
1349973ac1 Bug 357431. add a note to removeObserver about using the same pref branch for which addObserver was used. Patch by Andreas Wuest <awuest@gmail.com>. r/sr: darin. #developers says checkin ok. 2006-11-02 21:10:19 +00:00
ted.mielczarek%gmail.com
47986cc926 bug 354749, nsIPrefBranch2::addObserver should document that aData is relative to the branch's root. Patch by asqueella@gmail.com, r+sr=darin 2006-10-20 19:19:23 +00:00
gerv%gerv.net
1dca58927a Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 12:14:46 +00:00
bsmedberg%covad.net
831e5a7b2e bug 281414 - Rename nsIPrefBranchInternal to nsIPrefBranch2 in preparation for freezing. r+sr=darin I will also do a mostly-global search-and-replace of code in our tree. 2005-02-23 13:59:17 +00:00
cbiesinger%web.de
6ae5f32857 more consistency with other such comments 2005-02-06 12:59:37 +00:00
cbiesinger%web.de
8731517c1a make this comment consistent with nsITransfer.idl 2005-02-06 12:42:07 +00:00
cbiesinger%web.de
92c940aa45 Bug 269661 make libpref not depend on caps
r=caillon sr=dveditz
2005-02-06 12:39:31 +00:00
cbiesinger%web.de
10c96079a5 bug 239434 fix comment that mentioned wrong observer topic define name
patch by Ali Ebrahim <aebrahim@uchicago.edu> r=caillon sr=tor a=mkaply
2004-04-05 18:27:50 +00:00
bsmedberg%covad.net
6d1e888f03 Bug 232201 - make nsIPrefBranchInternal inherit from nsIPrefBranch (small codesize savings) r=alecf sr=darin 2004-01-28 04:20:03 +00:00
seawood%netscape.com
f0b5c087f6 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-11 00:15:38 +00:00
caillon%returnzero.com
8fef74d33c Bug 173430 - flawfinder warnings in libpref
r=alecf,dwitte
sr=dmose
a=asa
2003-04-29 04:17:38 +00:00
caillon%returnzero.com
731073c19a Backing out previous patch since it was causing addressbook problems. 2003-04-27 10:36:58 +00:00
caillon%returnzero.com
6221b1ca6c Bug 173430 - flawfinder warnings in libpref
r=alecf, sr=dmose, a=sspitzer
2003-04-27 04:47:46 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
dougt%netscape.com
22ffaadb79 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2002-08-27 01:05:21 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com
f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
ccarlen%netscape.com
1d5af4ffe4 Bug 12911 - use relative file descriptors. r=bnesse/sr=alecf/a=asa/adt=jaime 2002-04-09 14:18:39 +00:00
ccarlen%netscape.com
3b0579433d New file for bug 12911 - use relative file descriptors. r=bnesse/sr=alecf/a=asa/adt=jaime 2002-04-09 14:15:01 +00:00
bnesse%netscape.com
4e859377fb Removing files obsoleted by the checkin for bug 89137. 2002-01-11 20:12:09 +00:00
timeless%mac.com
61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
bnesse%netscape.com
bf6619e295 Fix for bug 89137. Remove autoconfig from preferences library. Patch by mitesh, r=bnesse/dmose. sr = alecf. 2001-12-21 22:29:31 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
bnesse%netscape.com
73c9a1111f Fix for bug 103883. Add weak ref support for prefs observers to help reduce MLK cycles with preferences. r=ccarlen, darin, gordon, hewitt, mstoltz, srilatha, sspitzer. sr=alecf. 2001-10-22 20:54:48 +00:00
pchen%netscape.com
377819e42a backing out bnesse at his request since he found conflicts with dougt's
checkin
2001-10-19 21:24:03 +00:00
bnesse%netscape.com
8403e03f3b Fix for bug 103883. Add weak ref support for prefs observers to help reduce MLK cycles with preferences. r=ccarlen, darin, gordon, hewitt, mstoltz, srilatha, sspitzer. sr=alecf. 2001-10-19 20:55:54 +00:00
bnesse%netscape.com
afaf69b7a2 Bug 99611, Freeze nsIPrefService, nsIPrefBranch, (and nsIPrefLocalizedString) interfaces. r=dveditz, sr=alecf. 2001-10-08 19:52:17 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org
102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
bnesse%netscape.com
b3a71b6595 Fix for bug 92447. Internalize loading of config file so it can be re-read if the preferences are reset. r=chipc, mitesh. sr=sfraser. 2001-09-05 18:22:10 +00:00
mitesh%netscape.com
f384d9fc0e Fix for Bug 87661 - moving AutoConfig creation after reading of netscape.cfg
r=bnesse, sr=shaver and a=asa
2001-08-24 19:44:45 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
bnesse%netscape.com
f35caf85e8 Added PrefHasUserPref functionality. r=bnesse, sr=alecf, a=asa. Checking in for Chip C. 2001-06-08 20:31:34 +00:00
mitesh%netscape.com
1e1ffa36cf Checking in Bug 70348
Adding AutoConfig Feature
r=bnesse and sr=alecf
2001-05-04 20:45:20 +00:00
srilatha%netscape.com
22437b8ee1 LDAP UI implementation.
Bug# 31881. r=chuang, bhuvan.
sr=sspitzer
2001-05-03 21:24:48 +00:00
bnesse%netscape.com
000d1011d5 Prefs API refactoring. Bug #46863. r=valeski, sr=alecf. 2001-04-26 18:41:11 +00:00
bryner%uiuc.edu
97e89fd687 Backing out bnesse's fix for bug 46863 due to numerous types of runtime bustage on linux and windows. a=brendan. 2001-04-20 06:45:56 +00:00
bnesse%netscape.com
b0baaeabc3 Landing PrefAPI refactoring bug 46863. r=valeski, sr=alecf, a=blizzard. 2001-04-19 22:21:39 +00:00
bnesse%netscape.com
c70641bd34 Added comments as per alecf. [Not part of the build.] 2001-04-18 05:16:47 +00:00
bnesse%netscape.com
f87f83c2a5 Added additional comments about functionality of reset & clear. [Not part of the build] 2001-04-12 23:27:45 +00:00
bnesse%netscape.com
786d052d2a Trimmed comments to < 80 characters as per request. [Not part of the build] 2001-04-05 23:08:05 +00:00
bnesse%netscape.com
8aee900dc3 Added coments based on Judson's review comments. [Not Part of the Build] 2001-04-05 00:08:07 +00:00
bnesse%netscape.com
1037f46c0d Updates to the future preferences API based on the latest round of feedback. [Not Part of the Build] 2001-04-03 20:11:54 +00:00
bnesse%netscape.com
9564dfc0a3 Updates and bug fixes based on feedback of initial prefservice and prefbranch feedback. [Not Part of the Build] 2001-03-29 00:48:30 +00:00
bnesse%netscape.com
b70c603830 Initial versions based on feedback of initial prefservice and prefbranch feedback. [Not Part of the Build] 2001-03-29 00:46:49 +00:00
valeski%netscape.com
169a5140b5 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2001-03-24 00:22:18 +00:00
bnesse%netscape.com
4d6681fafd Potential final candidates for the basis of the nsPref re-write. [Not part of the build] 2001-03-22 23:34:41 +00:00
bnesse%netscape.com
e1ccd610d7 Initial installation into CVS repository. (Not part of the build) 2001-02-14 22:04:26 +00:00
bnesse%netscape.com
6f3cc409c7 Removing unused (and now outdated as well) files from the tree. 2001-02-14 18:49:19 +00:00
ccarlen%netscape.com
4a50ae9a85 Bug 67857 - Profile Mgr resets all prefs which is SLOW. r=racham, sr=alecf 2001-02-07 07:56:10 +00:00
dbaron%fas.harvard.edu
1e046d05c0 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
alecf%netscape.com
90ecaa94be fix for 63448 - don't do a JS_GC every time we read a pref file - instead do
one JS_MaybeGC after reading in ALL the default prefs, and do a JS_MaybeGC after reading
in any single user prefs file (i.e. prefs.js)
sr=brendan@mozilla.org, r=jst@netscape.com
2001-01-03 00:11:50 +00:00
shaver%mozilla.org
fec26b43e0 #24612, make prefs observable from JS and other XPCOM bindings, r/sr=alecf 2000-10-17 17:08:00 +00:00
nhotta%netscape.com
ae160df499 Added getDefaultLocalizedUnicharPref, bug 55011, r=tao, sr=alecf. 2000-10-06 03:49:15 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
alecf%netscape.com
38488feb83 #36965: make prefs use nsIFile - first part is to add APIs that will eventually replace GetFilePref
r=conrad@ingress.com
2000-07-31 20:27:22 +00:00
mstoltz%netscape.com
b65db40d35 Fixing 40159, nasty infinite recursion on startup. r&a=beard 2000-07-26 04:53:01 +00:00
mstoltz%netscape.com
3910fcba0b fix for 42387, r=dveditz 2000-07-20 01:16:15 +00:00
mstoltz%netscape.com
a8545c4aed Fixing 40159 and 44822, both [nsbeta2+] regressions on signed scripts. r=sgehani 2000-07-12 03:10:33 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
alecf%netscape.com
44b138dc2b whack prefs with a medium sized-stick.
also fix #33668, allow localized prefs to come from stringbundles
2000-05-05 00:22:20 +00:00
mstoltz%netscape.com
6a76f09450 Made prefapi.h private and removed all #includes of it outside of libpref. r=norris 2000-04-15 03:43:09 +00:00
mkaply%us.ibm.com
3f84397612 # 34082
r= alecf@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:35:25 +00:00
alecf%netscape.com
53d68ef962 trim down nsIPref and begin to cleanup nsIPref
- remove extra calls to nsFileSpec::Exists()
- get rid of PREF_SUPPORT_OLD_PATH_STRINGS
- don't expose nearly so much from the nsIPref interface
r=neeti
2000-03-28 04:50:47 +00:00
alecf%netscape.com
9234e33e7c add nsIPrefService, update nsIPrefBranch to add some functions I missed (not part of build) 2000-03-07 01:01:48 +00:00
alecf%netscape.com
f58a6a6df0 add files for pref revamp
(not part of seamonkey build)
2000-03-04 01:45:51 +00:00
alecf%netscape.com
dca8d028ee first time adding nsIPrefListener - not part of build 2000-03-03 20:18:17 +00:00
alecf%netscape.com
c6e7c4f9b7 fix for #21425
r=dp
add Get/SetDefaultUnicharPref() to API
2000-01-18 22:02:24 +00:00
mcafee%netscape.com
2658ce362e ifdef-ing out LI (Location Independence) code that's not being used. There is intent to re-implement this later, hence the ifdef and not code-removal. r=alecf,neeti 2000-01-07 08:29:50 +00:00