Commit Graph

101 Commits

Author SHA1 Message Date
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
timeless%mozdev.org
f817432691 Bug 286188 leaks during profile migration
patch by ajschult@verizon.net r=timeless sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185316 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 06:03:19 +00:00
bzbarsky%mit.edu
6cc2aafe00 Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@167258 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 19:31:31 +00:00
bzbarsky%mit.edu
ae4ce876db Fix Windows bustage.
git-svn-id: svn://10.0.0.236/trunk@165407 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 21:13:12 +00:00
jshin%mailaps.org
7853ce793d bug 268266 : profile and appstartup code should use NS_CopyNativeToUnicode (r=cbie, sr=darin)
git-svn-id: svn://10.0.0.236/trunk@165401 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 18:07:23 +00:00
peterv%propagandism.org
0ad8754061 Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162452 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 13:16:28 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +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
gerv%gerv.net
17661ae2d9 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155034 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 18:33:16 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
darin%meer.net
4cc13af67a backing out bz's change since it should no longer be needed r=bz
git-svn-id: svn://10.0.0.236/trunk@152913 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 05:58:24 +00:00
bzbarsky%mit.edu
eaf6589526 Little tweak on fix. r=darin. Bug 231995.
git-svn-id: svn://10.0.0.236/trunk@152908 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 04:04:43 +00:00
bzbarsky%mit.edu
947a3250df Fixing build bustage. Bug 231995
git-svn-id: svn://10.0.0.236/trunk@152907 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 04:03:46 +00:00
dbaron%dbaron.org
a994a81ad3 Fix some incorrect string usage and improve performance in a few places that show up in an LXR search for the previous pattern. b=232339 r=jshin sr=darin
git-svn-id: svn://10.0.0.236/trunk@152231 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 18:23:41 +00:00
cbiesinger%web.de
fb478648d0 59557 Permissions should not be world-readable for profile directory
r=timeless sr=bzbarsky a=asa

this makes profile code not create world-readable files/directories.


git-svn-id: svn://10.0.0.236/trunk@149767 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-26 10:47:00 +00:00
cbiesinger%web.de
09f8162087 Bug 171509
mozilla attempts to convert profiles from empty .netscape dir
fix this by checking if preferences.js exists in ~/.netscape
r=ccarlen sr=tor


git-svn-id: svn://10.0.0.236/trunk@148621 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 21:42:20 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
ccarlen%netscape.com
a2f166be98 Profile sharing - changes to profile dirserviceprovider, a component to control whether sharing is enabled. bug=202474, rs=dougt/sr=darin/a=asa
git-svn-id: svn://10.0.0.236/trunk@142041 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 03:59:23 +00:00
ccarlen%netscape.com
a218d75e49 Bug 190336 - enable 4.x profile migration for Mach-O. Patch by cavin,ccarlen. r=ssu,sfraser/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141389 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 14:28:21 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
dbaron%dbaron.org
a4baf8e91e Backout checkin for bug 171343 (no longer needed) in the hopes of fixing talkback on Linux. b=176886 r=bryner a=asa
git-svn-id: svn://10.0.0.236/trunk@137010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 01:41:01 +00:00
ccarlen%netscape.com
1aa09ccb4d Bug 97622 - Put in UI to expose dynamic profile switching. r=kaie/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@136821 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 06:13:39 +00:00
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