70 Commits

Author SHA1 Message Date
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
martijn.martijn%gmail.com
3147ae7d6b Bug 352666 - Crash [@ nsPrefBranch::SetComplexValue], r=dveditz, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@213543 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 13:25:02 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
neil%parkwaycc.co.uk
6d0b29425c Bug 322754 Pref service asserts instead of removing dead references r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@187236 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 12:20:17 +00:00
gerv%gerv.net
42cb2feea8 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@186768 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-31 12:14:46 +00:00
dougt%meer.net
32d2191f66 Adding a build configuration option that will allows us to no build the
xpcom obsolete library.  r/a=benjamin. b=303429


git-svn-id: svn://10.0.0.236/trunk@177171 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 17:09:41 +00:00
timeless%mozdev.org
defc7e0196 Bug 299146 nsPrefLocalizedString needs to tolerate null
r=dveditz sr=dveditz a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175456 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 01:48:41 +00:00
bsmedberg%covad.net
33f1fefae1 Bug 293461 - Make safe mode a system option and make handling by the EM less fragile. Also fixes bug 275529 - allows app ID and extension ID to be a prettyname@vendor.tld instead of {GUID}. r=darin+robstrong a=asa
git-svn-id: svn://10.0.0.236/trunk@173324 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 13:23:30 +00:00
bsmedberg%covad.net
0c43569a86 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.
git-svn-id: svn://10.0.0.236/trunk@169644 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 13:59:17 +00:00
cbiesinger%web.de
36df735fb8 Bug 269661 make libpref not depend on caps
r=caillon sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@168870 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-06 12:39:31 +00:00
cvshook%sicking.cc
7570971fdd Bug 234858: Make do_GetWeakReference typesafe.
r=dbaron sr=bryner


git-svn-id: svn://10.0.0.236/trunk@168263 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 22:59:27 +00:00
bzbarsky%mit.edu
af7c69e56c Relanding, since backing out did not fix orange. Bug 232691.
git-svn-id: svn://10.0.0.236/trunk@156781 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
3594b59c19 Backing out to attempt to fix Mac orange. Bug 232691
git-svn-id: svn://10.0.0.236/trunk@156776 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
b500ffc684 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156769 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 17:04:53 +00:00
timeless%mozdev.org
b5a8b9b9f6 Bug 241200 It should not be an error for a @mozilla.org/pref-relativefile;1 to not have a file
r=caillon sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155479 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 10:50:51 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
darin%meer.net
864739cabe fixes bug 219479 "further cleanup for pref backend" patch=alfredkayser@nl.ibm.com r=darin sr=alecf
git-svn-id: svn://10.0.0.236/trunk@147176 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:57:22 +00:00
timeless%mozdev.org
60ad216299 Bug 218754 Don't double init nsPrefLocalizedString::mUnicodeString
r=bsmedberg sr=alecf


git-svn-id: svn://10.0.0.236/trunk@147017 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 02:57:13 +00:00
bryner%brianryner.com
a4342aad58 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146622 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:56:05 +00:00
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org
e071c7ff2a Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136017 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:05:52 +00:00
caillon%returnzero.com
49530b1049 Bug 183069 - trunk topcrash when quitting [@ nsPrefBranch::RemoveObserver].
Release our observer references only _after_ we remove them from our observer list, to avoid someone else trying to remove the same observer we're working on removing.
r=timeless sr=jst
a=jst, and #mozilla (smontagu,timeless) who acting as sheriff asked me to land this into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@134790 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 08:56:34 +00:00
timeless%mozdev.org
31f62cf60f Bug 180789 nsPrefBranch::GetChildList can call PL_DHashTableEnumerate with an uninitialized gHashTable
r=dbradley sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@134167 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 05:17:18 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
bnesse%netscape.com
eb5b29bb76 Fix for bug 141552. Remove build warnings from prefs. r=jag, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@120466 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:12:01 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
ccarlen%netscape.com
a61544bbfc Bug 12911 - use relative file descriptors. r=bnesse/sr=alecf/a=asa/adt=jaime
git-svn-id: svn://10.0.0.236/trunk@118548 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 14:18:39 +00:00
alecf%netscape.com
3ba0353391 final fix for bug 112708 - reduce number pref allocations by using a few large buffers to hold all the prefnames
sr=brendan r=bnesse, dp
Also, clean more unnecessary routines..


git-svn-id: svn://10.0.0.236/trunk@111376 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 00:09:53 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
bnesse%netscape.com
b9797ccf55 Fix for bug 107617. Fix pref observation on a non top level branches. r=ccarlen, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@109851 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 19:49:38 +00:00
alecf%netscape.com
55466e06c9 first part of fix for bug 112708 r=bnesse, sr=brendan
switch prefs from PLHash to PLDHash


git-svn-id: svn://10.0.0.236/trunk@109596 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:52:44 +00:00
alecf%netscape.com
f803585f96 for bug 112708, sr=dveditz, r=bnesse convert prefapi.c to C++
git-svn-id: svn://10.0.0.236/trunk@109365 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 18:42:41 +00:00
ccarlen%netscape.com
c11a56bbb0 Bug 89465 - Infinite loop in PL_HashTableEnumerateEntries. Added code to use PL_HashTableLookupConst when enumerating the hash table. r=bnesse/sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106968 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:41:53 +00:00
bnesse%netscape.com
1f6755259d Fix for bug 177585. Don't request the observer service when shutting down. r=dougt, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@106727 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:57:44 +00:00
jaggernaut%netscape.com
adf0bd9e66 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106248 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 05:10:08 +00:00
bnesse%netscape.com
7f9fa9521d 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.
git-svn-id: svn://10.0.0.236/trunk@105960 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:54:48 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
bnesse%netscape.com
c95be0de1b Bug 99611, Freeze nsIPrefService, nsIPrefBranch, (and nsIPrefLocalizedString) interfaces. r=dveditz, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:52:17 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
bnesse%netscape.com
2651ba14d0 Fix for bug 49776. Add additional bulletproofing to nsPrefBranch. r=mitesh, sr=alecfl.
git-svn-id: svn://10.0.0.236/trunk@102435 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:30:47 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
bnesse%netscape.com
951c0abaa9 Fix for bug 88500. GetChildList should return prefs relative to the root branch. r=mscott, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@98682 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 17:51:27 +00:00