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