314 Commits

Author SHA1 Message Date
cbiesinger%web.de
6e0043739a 291033 support "local" profile directories
r=bsmedberg sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@172770 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 11:56:40 +00:00
neil%parkwaycc.co.uk
23b3daa4e5 Bug 245135 Mozilla forgets what the current profile is when it gets renamed p=brian.lu@sun.com r=ccarlen@mac.com sr=me
git-svn-id: svn://10.0.0.236/trunk@170940 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 11:55:44 +00:00
bsmedberg%covad.net
8f65826636 One additional seamonkey reference from bug 253950.
git-svn-id: svn://10.0.0.236/trunk@170727 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-15 20:26:36 +00:00
bsmedberg%covad.net
8b9b942db3 Bug 253950 - When the profile is locked, startup UI should be less confusing (not the profile manager) r=ben+darin
git-svn-id: svn://10.0.0.236/trunk@170726 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-15 20:01:12 +00:00
bsmedberg%covad.net
f4f72beaa1 Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey)
git-svn-id: svn://10.0.0.236/trunk@170499 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 04:38:35 +00:00
bzbarsky%mit.edu
d1350f8017 Add the prompt-service contract to nsEmbedCID.h
git-svn-id: svn://10.0.0.236/trunk@170283 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 16:07:11 +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
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bsmedberg%covad.net
87947a0979 Merge bug 246014 from the aviary branch, splitting nsIXULChromeRegistry into a separate piece for seamonkey-only methods. Original Firefox patch r=bryner sr=ben seamonkey merge r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@162619 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 20:19:48 +00:00
timeless%mozdev.org
df54b746d7 Bug 231135 NS_NewLocalFile rv isn't checked in nsProfile::CreateNewProfileWithLocales
patch written by luser_bugzilla@perilith.com r=dveditz sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@158298 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 09:11:26 +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
kyle.yuan%sun.com
f7767f3734 Bug 240936 --disable-profilelocking option does not work
r=ccarlen, sr=bienvenu, patch by wind.li@sun.com


git-svn-id: svn://10.0.0.236/trunk@156119 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 02:46:58 +00:00
bsmedberg%covad.net
97a95c2fa7 Bug 141090 - New profiles do not display current theme w/ check flag
patch by jerry.tan@sun.com r=me sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155450 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:05:23 +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
9770631282 fixes bug 234916 "Remove global/static NS_NAMED_LITERAL_C?STRING usage [was: Firefox crashes on startup on Mac OS X]" r=jst sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153191 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 02:08:34 +00:00
neil%parkwaycc.co.uk
733dae9ba7 Bug 226959 removing some unused files from the build r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@152601 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 18:06:11 +00:00
neil%parkwaycc.co.uk
84f7e2d789 Bug 24954 Need ability to specify the user's directory with -installer p=ian@arlen.demon.co.uk r=ccarlen sr=bienvenu a=asa
git-svn-id: svn://10.0.0.236/trunk@150356 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-16 13:58:02 +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
bienvenu%nventure.com
d4472ee376 add pref to auto migrate all profiles, r/a=sspitzer, sr=mscott 226146
git-svn-id: svn://10.0.0.236/trunk@149552 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 18:42:27 +00:00
pete.zha%sun.com
f09f6c7269 bug 124029 Roaming - 4.x-HTTP-compatible
patch 134896
r=ben.bucksch@beonex.com sr=bz-vacation@mit.edu


git-svn-id: svn://10.0.0.236/trunk@149424 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 08:20:17 +00:00
scott%scott-macgregor.org
f9d4d13df9 Bug #214400 --> allow distributors to allow 4.x profile migration via a pref instead of forcing it to be off for thunderbird and firebird.
This removes a MOZ_XUL_APP ifdef

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@148239 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 23:36:47 +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
95d3fb2a05 Make it possible for other XUL apps to hide profile switching UI. b=204908, r=/sr=/a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142264 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 13:06:29 +00:00
kaie%netscape.com
55d5ec4d6e b=193170 PSM must disallow using NSS database with wrong profile
r=ccarlen sr=jag a=asa


git-svn-id: svn://10.0.0.236/trunk@142199 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 13:39:35 +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
mscott%netscape.com
2559f09db7 change a MOZ_PHOENIX ifdef to a MOZ_XUL_APP ifdef because we don't want thunderbird migrating 4.x profiles
either.


git-svn-id: svn://10.0.0.236/trunk@141837 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 00:50:11 +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
ssu%netscape.com
7bcfb95f5b fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@140789 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 07:02:32 +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
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
racham%netscape.com
7415cb9092 Fixing bug 173267. Add method to get profile field values information from the registry. r=ccarlen, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@136108 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 00:39:52 +00:00
ccarlen%netscape.com
ee1b4f4ef9 Bug 182341 - Crash when closing profile mgr window with 'X' close box. Due to a static nsCOMPtr which, because it was static, was destroyed too late. r=racham/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@136050 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 03:19:22 +00:00
dbaron%dbaron.org
186eca206d 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@136023 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:45:23 +00:00
kaie%netscape.com
f0157ede55 b=175320 Support clean profile & NSS shutdown at any time + Mozilla needs to clean up on exit to allow for PSM failure detection
r=ccarlen/morse sr=darin


git-svn-id: svn://10.0.0.236/trunk@135260 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:39:03 +00:00
blizzard%redhat.com
3f20d30c54 Backout checkin for bug #175320. It was causing cookie files to be saved without any entries but still with the standard "This is a generated file!" header. sr=bz
git-svn-id: svn://10.0.0.236/trunk@133874 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 01:47:59 +00:00
kaie%netscape.com
7f5f32734d b=175320 Support clean profile & NSS shutdown at any time + Mozilla needs to clean up on exit to allow for PSM failure detection
r=ccarlen sr=darin


git-svn-id: svn://10.0.0.236/trunk@133803 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 01:50:14 +00:00
mkaply%us.ibm.com
2a315191f0 Use XP_WIN here - XP_PC means win and Os/2, so this is unclear. Note we prefer XP_PC is not used at all
git-svn-id: svn://10.0.0.236/trunk@133515 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 00:48:10 +00:00
ccarlen%netscape.com
55388286d8 Fixing tinderbox orangeness, OS2 bustage
git-svn-id: svn://10.0.0.236/trunk@133505 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 22:05:09 +00:00
ccarlen%netscape.com
bac3fcaf96 Bug 177321 - factor nsIDirectoryServiceProvider impl out of nsProfile.cpp. Now built as a static lib with which apps can link if they only use a single profile r=dougt/sr=darin
git-svn-id: svn://10.0.0.236/trunk@133503 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 19:38:43 +00:00
seawood%netscape.com
ec7b53cab5 Restoring setting of mCurrentProfileAvailable so that prefs.js is actually created.
git-svn-id: svn://10.0.0.236/trunk@129943 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:51:57 +00:00
seawood%netscape.com
2b61c81084 Call SetCurrentProfile so that LoadNewProfilePrefs() is using the correct profile when checking for new files.
Bug #168433 r=ccarlen sr=alecf


git-svn-id: svn://10.0.0.236/trunk@129919 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 17:14:49 +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
sspitzer%netscape.com
a8b26df268 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@129044 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 13:40:32 +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