Граф коммитов

375 Коммитов

Автор SHA1 Сообщение Дата
racham%netscape.com 2ff01718f7 Fixing bug 29093. Providing no UI path for shrimp. r=amusil 2000-05-16 23:18:49 +00:00
racham%netscape.com 63bb203a69 Fixing bug 10953. Modifying SetRegString interface to store all required values in the registry. r=gayatrib 2000-05-13 01:02:29 +00:00
sspitzer%netscape.com 24eaa2b579 fix spelling mistake. 2000-05-03 01:55:20 +00:00
thayes%netscape.com 305c17893f Replace implementation of nsISupports with thread-safe version. This allows
SSL/HTTPS operations to complete on debug builds with thread-safety checking.
r=bryner
2000-05-03 00:04:48 +00:00
racham%netscape.com a7e670f1e3 Fixing bugs 31688, 17457. Modifying createprofile option to create profile and exit alow the profile creation to use the existing dir. r=gayatrib 2000-05-02 22:32:21 +00:00
pavlov%netscape.com 812b49b4f0 more string fun 2000-04-27 22:38:19 +00:00
scc%netscape.com 6d5a22ee1e making string conversions explicit 2000-04-27 20:08:45 +00:00
mjudge%netscape.com 6622635cab making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
sspitzer%netscape.com 2bac8b3ccc fix warnings, remove unused code. 2000-04-24 05:37:34 +00:00
sspitzer%netscape.com 9d43a023d0 fix for #14313, don't migrate on top of an existing directory. 2000-04-24 05:28:49 +00:00
racham%netscape.com 011746cc5f Fixing bugs 28888, 27948. Moving activation code out of mozilla. r=alecf 2000-04-21 22:29:42 +00:00
danm%netscape.com 622d6fe83b dist...chrome restructuring 2000-04-19 21:42:30 +00:00
danm%netscape.com 7459927511 centering profile manager window. bug 23463 2000-04-13 21:00:54 +00:00
cls%seawood.org 57978e5c23 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
mkaply%us.ibm.com 35ea41a711 # 33859
r= sspitzer@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-04-03 22:46:47 +00:00
scc%netscape.com e5d8dec414 making string conversions explicit 2000-04-02 20:34:28 +00:00
racham%netscape.com 84b4f40e7c Remove activation cookie after it is processed, bug 32506. Fix memory leak, bug 31878. r=gayatrib 2000-03-31 06:34:40 +00:00
gayatrib%netscape.com 79a0fdd1c1 Making profile manager i18n friendly (bugs 23153, 15264), better memory management and fixing leaks(bugs 29574, 28818, 25609, 28979), fix for bug 31409, fixing all indentation problems introduced by vc++ editor. r=dveditz,racham 2000-03-30 01:32:39 +00:00
rickg%netscape.com 78210da3e3 switched to use proper nsString APIs 2000-03-27 01:05:00 +00:00
jim_nance%yahoo.com 5723bcda31 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz
2000-03-24 22:11:55 +00:00
tbogard%aol.net ebde98fc63 Adding implementation for the new method OnStartURIOpen on nsIURIContentListener. 2000-03-24 00:35:48 +00:00
sspitzer%netscape.com ce96390186 fix for #26317. fix by gayatrib, r=sspitzer. only call MigrateProfileInfo() when appropriate. 2000-03-17 06:49:42 +00:00
rickg%netscape.com 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
tbogard%aol.net afc16a447d Remove dependency on nsIBrowserWindow interface. 2000-03-11 00:24:19 +00:00
racham%netscape.com bd1be9feda Fixing bug 19621. State of activation window is controlled based on the activation server's response in a timeout period of 30 sec. r=matt,ben,tao. a=chofmann 2000-03-04 05:56:56 +00:00
tbogard%aol.net 2533a18b2b Removing nsIXULWindowCallbacks as they were removed from active use nearly 8 or more months ago. Getting rid of having to pass it around as a parameter and all that fun stuff. r=danm a=jevering 2000-02-29 22:03:49 +00:00
tbogard%aol.net c4734766bd Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering 2000-02-29 00:20:55 +00:00
mscott%netscape.com 8a6c17d544 Bug #27960 --> profile manager needs to implement nsIURIContentListener
for the registration window it tries to bring up. We need to do this because
that window runs a url and we want to force the uriloader to load all urls
inside this chrome window. We wouldn't need this code if the registration url
ran inside of a browser window.
r=travis
a=phil
2000-02-22 07:21:29 +00:00
racham%netscape.com 1d257d32f6 Fixing bugs 28243, 27402 and 27850. MozRegistry is updated whenever the profile information is changed. This allows profile selector reflect the registry values directly. r=sspitzer,norris. a=jar,phil 2000-02-22 00:01:39 +00:00
dveditz%netscape.com 74d0f231ed Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
2000-02-20 03:12:59 +00:00
sspitzer%netscape.com b4614b164b fix for #14349, r=alecf,nhotta a=phil
migrate prefs that were in the system charset to utf8.
2000-02-18 03:42:56 +00:00
racham%netscape.com 73111ab07f Fixed bugs 23390, 27459, 25052. Procedure to serve activation information to mail and aim is added. Fixed a small Mac UI discrepancy. r=gayatrib 2000-02-15 22:45:54 +00:00
wtc%netscape.com a4917ee631 Bugzilla bug #27457: prepare the Windows build system for NSPR library
name change.  Define a new makefile variable LIBPLC.
Modified files:
mozilla/config/config.mak
mozilla/dom/src/build/makefile.win
mozilla/extensions/wallet/cookieviewer/makefile.win
mozilla/extensions/wallet/editor/makefile.win
mozilla/extensions/wallet/signonviewer/makefile.win
mozilla/extensions/wallet/walletpreview/makefile.win
mozilla/mailnews/import/eudora/src/makefile.win
mozilla/mailnews/import/oexpress/makefile.win
mozilla/mailnews/import/outlook/src/makefile.win
mozilla/mailnews/import/src/makefile.win
mozilla/mailnews/import/text/src/makefile.win
mozilla/netwerk/protocol/jar/src/makefile.win
mozilla/profile/Acctidl/makefile.win
mozilla/profile/src/makefile.win
mozilla/xpcom/sample/makefile.win
2000-02-15 14:35:15 +00:00
dveditz%netscape.com b63a6438b1 New wstring nsIRegistry interface, bug 23859;
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)
2000-02-15 01:32:12 +00:00
dveditz%netscape.com 177321111c backing out, profiles don't use the registry SERVICE 2000-02-13 17:48:25 +00:00
dveditz%netscape.com 5032bc6144 closing the file used by the registry service is evil 2000-02-13 17:43:41 +00:00
ssu%netscape.com dbd1447b65 fixing bug # 27114. Crash in the profile.dll on exit of windows native installer when mozregistry.dat is missing. This is now fixed. a=leaf r=racham 2000-02-09 22:34:02 +00:00
sspitzer%netscape.com 3b6d8a6900 workaround fix for #26885. changes for ben to the nsIProfile interface
r=ben@netscape.com
2000-02-08 01:04:41 +00:00
sspitzer%netscape.com 4664dbb0fa add newlines to the end of some files, and add the defaultProfileDir interface
and for ben.  r=alecf
2000-02-05 21:48:09 +00:00
sspitzer%netscape.com aacd9ce100 only force the profile manager on you if you aren't cltbld and if you don't
have this other magic flag set.  r=mcafee
2000-02-04 01:00:11 +00:00
sspitzer%netscape.com 40bf807e5d fix the orange breakage on tinderbox. force everyone but tinderbox to see the
profile manager.

this will buy me some time until I figure out the real fix
2000-02-04 00:51:58 +00:00
sspitzer%netscape.com ba4583d6ab a fix the scary message about how migration will kill your 4.x profile.
it just copies, it doesn't not alter the 4.x profile

turn on the profile debugging printfs for everyone, so that we can get
better info in bug reports.  (perhaps this should be using PR_LOG?)

only migrate the 4.x profile info when the user runs -installer

fix the bug where we do automigration on linux, even if their is no ~/.netscape directory

force DEBUG builds to launch the Profile Manager if there were no profile
command line arguments.

a=ben,selmer
2000-02-03 23:43:16 +00:00
sfraser%netscape.com a94418f058 Only delete redundant directories if we know we have one. Blocker. r=Ben_Goodger, a=leaf 2000-02-03 20:50:15 +00:00
racham%netscape.com 1a96dba91a Fixing bugs 16791, 23339, 25609, 25891, 23873. These chnages fix rename profile problem on windows, setting the profile name to the user register name, a fix to nsvoidarray memory leak, loading the user prefs and bringing the right UI for -P option. r=gayatrib 2000-02-03 11:20:57 +00:00
sspitzer%netscape.com b6b210e8ab fix warnings and fix a leak. also, call MigrateProfileInfo() otherwise, the list
of profiles won't show up the first time we run -ProfileManager
2000-01-28 09:56:55 +00:00
racham%netscape.com b6530da963 Fixes for 15037, 24681, 24247, 17527, 21716, 19620, 15755. Adapted nsVoidArray solution for profiles data structure. Fixed couple of activation related bugs. Fixed CreateProfile option bug. Added to code to create a default profile silently, when needed. r= sspitzer 2000-01-26 22:19:02 +00:00
racham%netscape.com bb2c3ad599 Fix for bug 14908. Copying the required default profile files into the migrated profile dir. r=sspitzer. 2000-01-19 00:20:47 +00:00
dveditz%netscape.com 24217323b2 removing unnecessary #include so I can remove the header file 2000-01-15 02:05:04 +00:00
racham%netscape.com 6194329a62 Fixing bug 14358. Extracting activation url. a=McAfee 2000-01-14 08:31:44 +00:00
sspitzer%netscape.com 7a7d76ccbf changes needed to get -installer and -ProfileManager working in the new
ben goodger world.
2000-01-13 04:30:20 +00:00
sspitzer%netscape.com eb102be9d9 fix for #23744. r=alecf
the problem here is that when you use -CreateProfile, prefs don't get
initialized correctly, and you don't get a prefs.js file!  this causes
all sorts of problems, as you might imagine.

addition code cleanup, too.
2000-01-13 00:04:30 +00:00
pp%ludusdesign.com 13efd9e8c6 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
norris%netscape.com 8343c4ead7 Fix 22909 previousSibling vulnerability
r=mstoltz
2000-01-06 00:59:18 +00:00
dougt%netscape.com 6ebfa81077 Converting to use nsIModule macro. r=dp. 2000-01-03 23:37:30 +00:00
sspitzer%netscape.com e9b7b34cca fix for #18118. if the pref "profile.confirm_automigration" is true,
we put up a dialog before we auto migrate.  (the mozilla build does this.)
if that pref is false, we just automigrate.  (the ns build does this.)
r=bienvenu
1999-12-23 20:05:59 +00:00
racham%netscape.com fa3e57c468 Fixing memory leak. bug 21038. r=sspitzer 1999-12-07 23:05:22 +00:00
sspitzer%netscape.com 454b1137d3 fix for #15042. fix by=racham, r=sspitzer 1999-12-07 00:22:30 +00:00
sspitzer%netscape.com 2e322e44b3 new files. not part of the build yet. 1999-12-06 18:27:26 +00:00
sspitzer%netscape.com d92415acfb fix for #20198. always append the profile name to the native path the user
specifies.   this prevents the users from accidently removing more than they
expect when they delete the profile.
fix by racham, r=sspitzer
1999-12-04 01:39:16 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
tbogard%aol.net c9198a207c Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
sspitzer%netscape.com 2c0d9ff3e9 remove the GetCurrentProfileDirFromJS() method from the nsIProfile interface. the only one using it was the sidebar js, but now that uses the fileLocator. r=mscott. 1999-10-29 04:01:22 +00:00
sspitzer%netscape.com 4dc51d68a1 checking in ben goodger's (rgoodger@ihug.co.nz) profile selection UI.
r=sspitzer

I made changes so that:

1)  exit quits the app, and doesn't start up app with the last current profile
2)  fix a spelling error (personalisation -> personalization), this is en-US, not en-UK
3)  fix it so start actually starts the selected profile.
4)  -SelectProfile launches this new dialog
5)  if the user starts with no command line, and they have more than one profile, they get -SelectProfile, and not -installer.
1999-10-28 23:08:46 +00:00
racham%netscape.com 8f9a381fdf r=gayatrib. Fix for Bug 16414. If the profile dir is deleted it always gets rebuilt based on the path it gets from registry 1999-10-28 21:05:26 +00:00
duncan%be.com 2c1bedc3a6 Make profile manager build under BeOS.
r=sspitzer
1999-10-23 17:13:55 +00:00
racham%netscape.com bef3b46cc3 r=sspitzer. Fix for bug 16209. This checkin fixes mozregistry entries to avoid crashes from M9 or builds prior to that 1999-10-22 21:00:53 +00:00
sspitzer%netscape.com ceaa5bbb97 fix for #14892, automatically migrate if we only have one 4.x profile and no 5.0 profiles.
r=mscott.
1999-10-15 01:38:54 +00:00
rjc%netscape.com a12753b362 [performance] When profile manager is being used, don't read in bookmarks twice... by deferring hiddenwindow.xul loading until after profile manager is done. Review: danm and sspitzer 1999-10-12 22:20:28 +00:00
sspitzer%netscape.com cca1aa6e3d temporary printfs to help me debug the elusive #15792 that only bijals is seeing 1999-10-08 07:12:21 +00:00
sspitzer%netscape.com 6acd8500b8 when renaming a profile, and renaming the profile directory on disk,
don't do a copy and delete.  just rename the directory.
r=davidm, #15402
1999-10-08 05:41:40 +00:00
sspitzer%netscape.com cd42feb263 fix build bustage on windows. 1999-10-08 05:14:48 +00:00
sspitzer%netscape.com b77c80263e more clean up of the profile code. #15402, r=davidm
make profileExists() part of the nsIProfile interface, so I can
get at it from JS.  startCommunicator is now startApprunner.
get RenameProfile() and DeleteProfile() to work better.
make the delete profile dialog size to content.
change the 2nd arg of DeleteProfile() to be a bool, and not a string.
use MakeUnique() to prevent undesired collisions of profiles on disk.
1999-10-08 04:58:32 +00:00
sspitzer%netscape.com b883d783d7 last touches to finally get Cancel (from the Create Profile Wizard) and Exit
(from the Profile Manager) to work properly.
1999-10-07 09:15:25 +00:00
sspitzer%netscape.com d0101dc3f5 more fixes for #15402, general cleanup of the profile code. Close button is now Exit. remove GetSingleProfile(), use GetFirstProfile() instead. Add ForgetCurrentProfile() for use in getting cancel to work properly. 1999-10-07 06:57:38 +00:00
sspitzer%netscape.com 8d1a091315 remove unused code, now that CreateNewProfile() takes two arguments 1999-10-06 21:52:02 +00:00
sspitzer%netscape.com 7ae0702f14 fix the create profile wizard ui.
this work was done by the almighty Ben Goodger <rgoodger@ihug.co.nz>
r=sspitzer
I did a little clean up, and made it so show the native file path
1999-10-06 21:36:59 +00:00
sspitzer%netscape.com d781457f64 fix for #15262, r=mscott
break apart the profile factory from nsProfile.cpp and put it into nsProfileFactory.cpp
also, apply dp's patch to use nsIModule.  r=sspitzer
1999-10-05 05:20:45 +00:00
sspitzer%netscape.com 06c28b31e7 a bunch of changes, all reviewed by mscott.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file.  it's called history.dat in 5.0, but the file
formats are different.  (binary in 4.x, vs mork in 5.0)
1999-10-05 04:12:58 +00:00
shaver%netscape.com a0d5aa9034 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
sspitzer%netscape.com 922bda5269 finish renaming and moving all the profile xul, js and dtd files.
fix regression with Rename and Delete.  (they work again.)
1999-09-28 22:50:50 +00:00
sspitzer%netscape.com a0a70c9ca0 fix for #14999. remove the profile appcore 1999-09-28 07:29:25 +00:00
sspitzer%netscape.com 081a30d563 whoops, forgot to StartUp prefs after ShutDown 1999-09-28 01:04:00 +00:00
sspitzer%netscape.com ee2b2d75b2 fixes for a bunch of bugs.
bug #15041: window comes up, and then resizes
bug #14600: play nice when the profile manager exists on the mac.
bug #13780: crash on winnt and linux when creating a new profile
bug #15042: clean up mozilla/profile code (more to come...)
1999-09-28 00:53:29 +00:00
sspitzer%netscape.com f7566910a0 fix my build bustage. 1999-09-22 05:32:41 +00:00
sspitzer%netscape.com 804efe24ed fix to use nsXPIDLCString. 1999-09-22 05:00:23 +00:00
sspitzer%netscape.com 1f4cd282ad fix for #13733. get "Mozilla Installer" (a.k.a. -installer) working on the Mac. there are still issues and bugs, but that comes as no surprise. 1999-09-22 00:50:21 +00:00
dbragg%netscape.com 92c1146092 Added new interface to ProcessPrefs, also fixes build bustage. 1999-09-21 23:17:58 +00:00
waterson%netscape.com 88220ac198 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
sspitzer%netscape.com ce4b2b97f9 very, very tired of seeing all these printfs. 1999-09-19 19:38:24 +00:00
racham%netscape.com de84313101 Fixing the performance bug 13555 to minimize the number of registry operations. Moved major printfs from DEBUG_profile. 1999-09-18 23:35:09 +00:00
sspitzer%netscape.com aa57531086 make it so the user has there 4.x bookmarks after migration. 1999-09-18 19:32:52 +00:00
dveditz%netscape.com b83b004785 match buffered i/o registry change in XP_MAC section 1999-09-17 07:00:55 +00:00
sspitzer%netscape.com ea6116a88c turn on migration for the mac. note, it doesn't work just yet. also, for mac, like unix, don't automigrate if there is only one profile. this make it hell to debug. once it works, we can make it automigrate if we only have one profile if we want. 1999-09-16 23:01:45 +00:00
sspitzer%netscape.com f212e02373 add a scriptable version of GetCurrentProfileDir to the nsIProfle interface called GetCurrentProfileDirFromJS
eventually, the non-scriptable interface will go away, but I don't have time do that yet.  slamm is using this in his sidebarOverlay.js
1999-09-16 20:36:27 +00:00
sspitzer%netscape.com 9d47fa7306 rewrite to not user GetCString(). read the comments in nsFileSpec.cpp: "Using it guarantees bugs on Macintosh"
clean up code.  wrap all printfs with #ifdef DEBUG_profile
1999-09-16 08:17:51 +00:00
alecf%netscape.com 7035f9d3f9 fix lots of leaks in profile code
use nsCOMPtr and nsXPIDLCString where I found leaks
1999-09-15 06:07:33 +00:00
sspitzer%netscape.com 6bf18b77e1 stupid cut and paste error. 1999-09-15 05:36:53 +00:00
sspitzer%netscape.com fbee1ffc31 add support for the PROFILE_NAME PROFILE_HOME environment variables, for multiple profile migration on UNIX 1999-09-15 05:21:18 +00:00
sspitzer%netscape.com cb2b1b46d2 rename the mail filter rule files (if we need to, and if we can) when we do the migration.
rename the cookie file (if we need to) so that if you run -installer,
you cookies will be migrated.
Change DoTheCopy() to be DoTheCopyAndRename(), which takes additional parameters
to rename files as it copies them.
remove unnecessary code.
#define constants to be clean.
add a stub for RenameAndMoveFilterFiles() with comments on what we need to do
for the mac.
1999-09-15 04:15:27 +00:00
briano%netscape.com 89198d119d General cleanup. 1999-09-15 03:00:30 +00:00
ramiro%netscape.com 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
sspitzer%netscape.com c7c63563a0 only automigrate (when we have one profile) on windows. 1999-09-14 11:12:10 +00:00
sspitzer%netscape.com b0e356a49e fix build bustage 1999-09-14 10:43:49 +00:00
sspitzer%netscape.com d79e81a24b turn on migration for the mac. note, it doesn't work just yet. also, for mac, like unix, don't automigrate if there is only one profile. this make it hell to debug. once it works, we can make it automigrate if we only have one profile if we want. 1999-09-14 10:23:08 +00:00
sspitzer%netscape.com 3f8ac304c7 the pref migrator iid's look very suspicous, so regenerate them.
follow convention:
rename nsPrefMigrationIIDs.h to nsPrefMigrationCIDs.h
rename NS_IPrefMigration_IID -> NS_PREFMIGRATION_CID
rename kFoo_CID to kFooCID
use the NS_GET_IID macro
1999-09-14 09:41:41 +00:00
sspitzer%netscape.com 596f8ad3fa clean up a bunch of code by using nsCOMPtrs and the almighty NS_WITH_SERVICE macro. 1999-09-13 07:37:05 +00:00
sspitzer%netscape.com 26eca40523 XPIDL-ify nsIPrefMigration, and the necessary changes that go along with that. 1999-09-13 05:52:18 +00:00
sspitzer%netscape.com ceff67bf42 use #defines where possible to clean up the code, reduce the risk of errors,
and make the code more portable.
create directories with 00700 permissions, not PR_RDWR.  On UNIX, PR_RDWR would
create directories with d______r__. 00700 gives us drwx______ which is want we
want.  change the signature of ProcessPrefs() so that we just return the result,instead of
setting an out parameter.  remove ComputeMailPath(), it is unused.
instead of doing PR_MALLOC in the beginning, set char *'s to nsnull, and use
PR_smprintf() and CopyCharPref() to allocate the memory.  (the PR_FREEIF()s
are still correct, though.)
use NS_SUCCEEDED() and NS_FAILED() instead of comparing against NS_OK directly.
don't execute the GetSizes(), GetDriveName() and CheckForSpace() methods
on UNIX, as they are not UNIX friendly.  hold onto the nsIFileSpec that points
to the prefs file, so we can save it when we are done using SavePrefFileAs()
Change the signature of GetDirFromPref() and GetDriveName().  The out parameters
were char *'s.  they need to be char **'s for them to work.
Change GetDirFromPref() to also take the oldProfilePathStr and the new directory leaf name.
These are used on UNIX, where we to do some magic because in
4.x the directory structure on UNIX was much different that on Mac and Windows
fix leak in GetDriveName().  we were leaking *driveName in the loop.
initialize variables.
add some printfs to remind me that there is more todo.
fix various comments to reflect the new signatures to methods.
check parameters of GetDirFromPref() and GetDriveName()
1999-09-13 00:10:13 +00:00
sspitzer%netscape.com a91b3799d1 more changes to get profile migration to work on UNIX. fix stupid mistake that was breaking migration on all platforms. 1999-09-12 01:06:12 +00:00
sspitzer%netscape.com 27b926ef35 more changes to get -installer to work on UNIX. since there was no registry on UNIX in 4x, so MigrateProfileInfo() for UNIX assumes your profile name is seth and your profile directory in 4.x was /home/seth/.netscape and that you only had one 4.x profile. also, use AUTOMATICALLY_MIGRATE_IF_ONLY_ONE_PROFILE so that on UNIX, we don't automatically attempt to migrate. since we are creating News, Mail, and Cache directories, create ImapMail 1999-09-12 00:14:50 +00:00
beard%netscape.com b6a94a88a0 Fixed a leak and incorrect copy of C string. Added nsXPIDLCString::operator =() to simplify usage. 1999-09-11 23:05:47 +00:00
sspitzer%netscape.com 16b41d5cc5 more changes to get profile migration to work on UNIX 1999-09-11 22:18:47 +00:00
sspitzer%netscape.com d74a8149d3 follow convention and put the preprocessor macros on the first character of the
line.
1999-09-11 21:21:16 +00:00
colin%theblakes.com 897b828b3f Tidy up library list 1999-09-11 15:37:40 +00:00
alecf%netscape.com 167dd7e54b fix printf and don't release the service we're given 1999-09-10 05:38:18 +00:00
alecf%netscape.com f3e60ac003 fix uninitialize variable that was preventing prefs from saving on windows 1999-09-10 05:25:29 +00:00
alecf%netscape.com 1f9ad5e175 land new profiles stuff
- move command line processing into nsIProfile
- fix up leaks
- use SERVICE macros
- general cleanup
1999-09-10 00:51:02 +00:00
alecf%netscape.com a9f27a22e8 link against appropriate libraries in preparation for profile landing 1999-09-10 00:40:49 +00:00
alecf%netscape.com 874a3efcb8 adding neckoutil_s in preparation for profile landing 1999-09-10 00:30:26 +00:00
bruce%cybersight.com 3a65c39e2f Use nsCRT::free() on nsEscape() result rather than delete[]. Fix some memory leaks. Remove some warnings. 1999-09-04 17:00:15 +00:00
gayatrib%netscape.com f00dda44b9 fixing bug #12815 1999-09-02 20:55:41 +00:00
cyeh%netscape.com 26effbde96 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
beard%netscape.com 047aa43d28 plugged a memory leak in GetProfileCount() 1999-08-27 03:48:24 +00:00
dp%netscape.com 56b7fdb782 Using nsIRegistry::OpenDefault() instead of Open() with default parameter. 1999-08-25 08:13:24 +00:00
racham%netscape.com ce17de7926 Fixing crashers 11638, 11716. Rev by gayatri. Approved by Chris Yeh. 1999-08-12 20:22:52 +00:00
racham%netscape.com fc3271cd57 Adding XP_MAC for mac migration 1999-08-11 04:44:53 +00:00
racham%netscape.com 6ba67b54f2 Checking filespec existence 1999-08-10 08:25:57 +00:00
racham%netscape.com f3a412e7b7 Fixed bugs 6684, 10171 and added profile cloning feature 1999-08-10 08:00:19 +00:00
racham%netscape.com 8d928d521b Fixing the case of missing profile directory on the disk, bug 7456 1999-08-10 03:27:48 +00:00
mscott%netscape.com 6649872e84 fix the build breakage...make sure necko is defined. 1999-07-29 02:44:21 +00:00
mscott%netscape.com c49fde520a include config.mak to fix windows build breakage. 1999-07-29 02:15:24 +00:00
racham%netscape.com 4fa8eb941a interface to count 4x profiles 1999-07-28 06:25:34 +00:00
racham%netscape.com 35ff975e0d changing the dll name from xpprofile32 to profile 1999-07-28 05:16:51 +00:00
racham%netscape.com e6218e4794 Fixed bugs 6701, 9275 1999-07-27 07:42:12 +00:00
racham%netscape.com e25e97d59a Adding a new interface to enable JS reflection for Netcenter work and fixed some memory problems 1999-07-22 22:06:18 +00:00
sspitzer%netscape.com b0012fbdbb fix warning on linux. these are unused because we only migrate accounts on windows right now. 1999-07-16 07:12:42 +00:00
racham%netscape.com ac513575b8 Added a check for defaults dir. Rev by gayatri. Approved by chofmann 1999-07-09 04:29:44 +00:00
sspitzer%netscape.com a612ecf974 check return value. it's correct and it fixes a warning too. 1999-07-07 07:26:26 +00:00
gayatrib%netscape.com 686c370100 Added code that copies content from defaults folder 1999-07-07 01:08:17 +00:00
valeski%netscape.com 189f8a6a72 removed netlib.lib from necko build 1999-07-06 15:46:29 +00:00
racham%netscape.com db192d43b0 Added usage of GetIIDs and did some clean up 1999-07-05 23:09:06 +00:00
racham%netscape.com 6fc32fd48b Adding interfaces to support Netcenter Preg work 1999-07-05 01:18:59 +00:00
racham%netscape.com 1cf22262cc added netlib library 1999-07-05 01:07:21 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
warren%netscape.com 8462929dda Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
racham%netscape.com cde56f2ab0 Made DefaultUserProfileRoot as home for migrated profiles 1999-06-22 01:02:11 +00:00
mcmullen%netscape.com 97113dc05d #8326: Get rid of "Default" profile creation. Change nsFileLocations to return an error (or a null pointer) when there are no profiles. Fix wallet/singsign.cpp to check for the error. Code by racham: Fix nsFileLocations with new enum selectors for the profile root (code by racham) Fix nsProfile.cpp to use profileroot instead of profile when making profiles. r=racham@netscape.com, a=don@netscape.com 1999-06-17 23:02:39 +00:00
mcmullen%netscape.com b7159874d6 conflict with profile checkin 1999-06-15 06:42:23 +00:00
mcmullen%netscape.com cc04bd9d51 Changed API to nsIFileLocator 1999-06-15 05:17:58 +00:00
mcafee%netscape.com c7b736579e Fixing Solaris memory problem, patch supplied by bruce@cybersight.com. a=mcmullen (6098) 1999-06-14 22:18:29 +00:00
dp%netscape.com 1baa234591 Removing unused prototype NS_RegistryGetFactory() 1999-06-12 15:55:54 +00:00
racham%netscape.com cae02c6742 Added references to required modules (pref, prefm) 1999-06-12 00:20:24 +00:00
racham%netscape.com fda1dc8dfc Adding more features to the ProfileManager Service. Cleaned up the comments. 1999-06-12 00:19:35 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
bruce%cybersight.com 6924cccf87 Approved by chofmann. This fixes a large leak over time. This allocation is not necessary (nor are many others in this file), as the code being called to fill the value is also allocating the memory, so the memory is/was getting allocated twice. This fixes bug #6926. 1999-05-22 19:50:26 +00:00
waterson%netscape.com d2aeccf880 Don't PR_DELETE() an uninitialized pointer. 1999-05-19 07:08:38 +00:00
waterson%netscape.com 854d3bfb1c Fix crash bugs: failure to initialize m_reg member. 1999-05-19 07:02:07 +00:00
gayatrib%netscape.com 10fd059247 Added code to support the new profile manager services 1999-05-19 04:38:44 +00:00
alecf%netscape.com 04f7db2c12 hide much of the profile noise 1999-05-12 05:01:33 +00:00
alecf%netscape.com 95c2a0a7bc fix a whole bunch of profile problems -remove global variables, static variables in functions, use NSPR routines instead of libc routines, etc. 1999-05-07 00:06:31 +00:00
dp%netscape.com cee9b8c834 Converting stray UnregisterFactory calls to UnregisterComponent 1999-05-06 01:37:04 +00:00
mcmullen%netscape.com 2944535573 Checking in profile wizard on behalf of gayatrib and racham. 1999-05-04 19:37:51 +00:00
mscott%netscape.com 0a18214913 Install the profile library into the components directory instead of into bin. This will
enable auto registration.
1999-04-23 06:28:15 +00:00
mscott%netscape.com 74e38bb733 profile is a component and as such should be installed in the components directory instead of
in bin. This will allow the auto-registration code to be brought into effect.
1999-04-23 06:26:42 +00:00
alecf%netscape.com f3e8f18835 change AddRef() to NS_ADDREF() so that ref-count debugging works right 1999-04-16 21:06:17 +00:00
alecf%netscape.com 411786caa2 don't need this extra DSO line 1999-04-16 21:02:48 +00:00
sspitzer%netscape.com 14ad137087 changes to port profiles to UNIX 1999-04-16 04:20:15 +00:00
sspitzer%netscape.com 6ff2814265 workf for porting profiles to UNIX 1999-04-16 04:18:07 +00:00
mcmullen%netscape.com 4a0f992c90 Fixed up use of filespec, various small fixes. 1999-04-15 22:45:46 +00:00
gayatrib%netscape.com 6251815256 Removed references to HASHLIBS as it is not required 1999-04-11 05:20:24 +00:00
gayatrib%netscape.com 3c7421c97e sources makefile 1999-04-10 06:33:09 +00:00
gayatrib%netscape.com 96ac962c24 ProfileManager implementation 1999-04-10 06:32:26 +00:00