Commit Graph

74 Commits

Author SHA1 Message Date
ccarlen%netscape.com
6aebccbf0e Bug 175867 - CFM and Mach-0 profile locking mechanisms are different. r=bryner/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134367 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 18:11:38 +00:00
colin%theblakes.com
b5321ce17e Fix broken profile locking on OpenVMS. b=180738 r=ccarlen sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@134258 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 13:34:25 +00:00
bryner%netscape.com
ec1ce6b084 Use only fcntl-based profile locking on Mac OS X (disable symlink-based
locking).  Fixes bug 176608.  r=ccarlen, sr=jag, a=roc.


git-svn-id: svn://10.0.0.236/trunk@132660 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 00:06:58 +00:00
bryner%netscape.com
97d98b9475 Second try at landing bug 171343 - nsProfileAccess's signal handler should use SA_SIGINFO and sa_sigaction where available. r=ccarlen, cls, sr=brendan, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@131795 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 08:44:02 +00:00
bryner%netscape.com
569797c848 Backing out patch for bug 171343. I need to do autoconf tests for siginfo_t and SA_SIGINFO, it seems.
git-svn-id: svn://10.0.0.236/trunk@131398 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 05:51:24 +00:00
bryner%netscape.com
764b016622 Bug 171343 - use SA_SIGINFO and sa_sigaction when hooking up FatalSignalHandler() so that we don't lose parameters if there are other handlers which want all 3 arguments. r=ccarlen, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@131383 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 04:00:03 +00:00
ccarlen%netscape.com
4ea79344a0 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@130418 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 12:23:39 +00:00
ccarlen%netscape.com
1674f65ec6 Bug 147373 - Crash in nsProfileStruct::ExternalizeMigratedFromLocation. r=bnesse/sr=jag/a=asa
git-svn-id: svn://10.0.0.236/trunk@125037 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 21:36:34 +00:00
rjesup%wgate.com
b33bd08ac0 Bug 145061: errno == ESRCH test is backwards; old profile locks not cleared
in Unix.  r=rjesup, sr=blizzard, patch by brendan.  Checkin in for him.


git-svn-id: svn://10.0.0.236/trunk@121678 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:17:27 +00:00
ccarlen%netscape.com
a00f9461f3 Bug 76431 - Protect profiles from multiple instances sharing the same profile. r=brendan/sr=darin
git-svn-id: svn://10.0.0.236/trunk@121532 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 14:30:00 +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
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
sspitzer%netscape.com
814bf90c4c fix for #137886. Detect defunct previously migrated profiles and offer to re-migrate.
this is pref controlled, "profile.seconds_until_defunct.  by default,
we'll never offer to remigrate.  initial patch by ccarlen.
r=ccarlen,racham,sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119930 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:37:04 +00:00
srilatha%netscape.com
cd59181e9a Fix for bug # 78585. Import local folders from 4.x.
r=racham@netscape.com,ccarlen@netscape.com,cavin@netscape.com, ducarroz@netscape.com
sr=sspitzer@netscape.com, a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@117762 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 03:08:42 +00:00
dbaron%fas.harvard.edu
ca60c05636 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117338 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:23:50 +00:00
cathleen%netscape.com
6f09324ed7 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114939 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 16:01:45 +00:00
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
alecf%netscape.com
23b43b15c4 bug 63025 - remove only consumer of nsSimpleCharString and nsPersistentFileDescriptor from build
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114547 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:18:34 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
ccarlen%netscape.com
3a3bff46ce Bug 113312 - Two profile folders created when profile is deleted from disk. r=bhuvan/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109739 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 15:04:44 +00:00
yokoyama%netscape.com
6d0ee0a53f Bug 104305
Convert the cmdline Profile name from
platform charset to Unicode instead of calling
AssignWithConversion()
/r=ccarlen, /sr=brendan


git-svn-id: svn://10.0.0.236/trunk@106992 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:17:10 +00:00
jaggernaut%netscape.com
38717bd097 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@106473 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 11:28:06 +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
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
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
jst%netscape.com
535c86019d scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
ccarlen%netscape.com
ed0dc8ec2a Bug 68827 - Fix crash when migrating profiles (happens only in obscure case) and code cleanup. r=valeski,racham/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@95425 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 21:48:20 +00:00
ccarlen%netscape.com
3f7efeee91 Bug 62418 - mozilla starts without warning when profile dir is missing. r=racham@netscape.com,sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@93274 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 14:40:21 +00:00
ccarlen%netscape.com
7f76561a81 Bug 71527 - On Unix, first profile after clean install is forgotten - migration will happen twice. r=racham@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90113 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 14:13:54 +00:00
jgaunt%netscape.com
df95c282e1 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@90064 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:46:36 +00:00
jgaunt%netscape.com
9c60c1807e fix for bug#62361 r=ccarlen@netscape.com sr=scc@mozilla.org
profile migration over remote connection


git-svn-id: svn://10.0.0.236/trunk@90043 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:13:07 +00:00
disttsc%bart.nl
55365f471a Forgot to remove this line in my last checkin. bug=53057
git-svn-id: svn://10.0.0.236/trunk@88953 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 09:28:32 +00:00
disttsc%bart.nl
bd82348c5b Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where                                                                                            possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88952 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 09:17:11 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
jgaunt%netscape.com
727177938a backing out changes
fixing bustage on speedracer


git-svn-id: svn://10.0.0.236/trunk@85584 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:38:09 +00:00
jgaunt%netscape.com
b7931b6b90 bug# 62361 fix profile migration when running remotely on a unix system
r=ccarlen@netscape.com sr=bienvenu@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85577 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 22:44:55 +00:00
ccarlen%netscape.com
b807b06014 Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom.
r=dougt@netscape.com, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@85095 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 22:51:57 +00:00
ccarlen%netscape.com
322bbdd00a Fix small leak I made yesterday.
sr=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@82777 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 14:11:10 +00:00
ccarlen%netscape.com
17cfe8be2b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@82733 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 15:01:06 +00:00
ccarlen%netscape.com
2243d1ff75 Bug 46866.
Splitting profile API into public and internal parts.
r=racham@netscape.com, sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@82320 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 16:27:30 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
racham%netscape.com
0e82e51289 Fixing bug 57361. Taking care of the cases where people delete parent directories of profiles to not affect registry operations by making sure that profile directory always exists and create a profile in the default user profile location, if needed. r=ccarlen, sr=alecf, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81639 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:47:56 +00:00
racham%netscape.com
be65100a25 Fixing bug 56041. We have been storing paths instead of persitent strings since japanese migration bug 44764 was fixed. People who stored profile folders at customized locations on Mac were affected with that change. This fix saves the data back into the registry in persistent format for Mac. r=ccarlen a=alecf
git-svn-id: svn://10.0.0.236/trunk@81437 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 06:35:13 +00:00
sspitzer%netscape.com
12c82e0e61 fix for #56572. r=racham, sr=mscott, a=PDT.
git-svn-id: svn://10.0.0.236/trunk@81374 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 13:41:34 +00:00
racham%netscape.com
0224d7ef1b Fixing migration problems for japanese and european profiles. Used unicode persistent descriptor strings to get and set profile data. Removed all those prefs that had native characters in their values, from the list of profiles to be converted to utf8 format during migration. r=nhotta,alecf,sspitzer,ftang sr=alecf,ftang a=pdt
git-svn-id: svn://10.0.0.236/trunk@80760 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:27:28 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
ccarlen%netscape.com
843393d24a Fix for #36968 and #38626
r=racham


git-svn-id: svn://10.0.0.236/trunk@78631 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 15:30:09 +00:00