Commit Graph

20 Commits

Author SHA1 Message Date
dbragg%netscape.com
2de858e935 backend fix for bug 13850 a=jar r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@61451 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 23:27:00 +00:00
sspitzer%netscape.com
4c3e4f77c5 fix for #14349, r=alecf,nhotta a=phil
migrate prefs that were in the system charset to utf8.


git-svn-id: svn://10.0.0.236/trunk@61280 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 03:37:53 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
sspitzer%netscape.com
0d6acc8491 fix for #14892, automatically migrate if we only have one 4.x profile and no 5.0 profiles.
r=mscott.


git-svn-id: svn://10.0.0.236/trunk@50757 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 01:38:54 +00:00
kipp%netscape.com
19d4522737 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@48672 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 23:40:03 +00:00
dbragg%netscape.com
126062ed07 Added to the interface for multi-threaded requirements for progressbar.
git-svn-id: svn://10.0.0.236/trunk@48660 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 22:37:25 +00:00
briano%netscape.com
c38c8b4426 General cleanup.
git-svn-id: svn://10.0.0.236/trunk@47512 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 03:00:30 +00:00
sspitzer%netscape.com
d9b84fefc7 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


git-svn-id: svn://10.0.0.236/trunk@47326 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 09:41:41 +00:00
sspitzer%netscape.com
5d804074e0 XPIDL-ify nsIPrefMigration, and the necessary changes that go along with that.
git-svn-id: svn://10.0.0.236/trunk@47100 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 05:52:18 +00:00
sspitzer%netscape.com
e7bad20848 new files resulting from XPIDL-ifying nsIPrefMigration.
NOT PART OF THE BUILD YET.


git-svn-id: svn://10.0.0.236/trunk@47095 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 04:23:31 +00:00
sspitzer%netscape.com
a1f18c5058 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()


git-svn-id: svn://10.0.0.236/trunk@47082 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 00:10:13 +00:00
sspitzer%netscape.com
cd139ab180 changes to get pref-migrator (think apprunner -installer) on UNIX.
use the NS_DEFINE_STATIC_IID_ACCESSOR and NS_DEFINE_STATIC_CID_ACCESSOR macros.
fix a bunch of warnings.  rewrite to use #defines. remove unused variables.  use MAXPATHLEN instead of _MAX_PATH.
when setting a 4.x pref (example "mail.directory") to a new 5.0 value, create a "premigration" pref
with the old value.  (example "premigration.mail.directory").


git-svn-id: svn://10.0.0.236/trunk@46971 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:48:50 +00:00
sspitzer%netscape.com
bb3545a1ae makfiles for building the pref-migrator on unix. NOT PART OF BUILD YET.
git-svn-id: svn://10.0.0.236/trunk@46901 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 00:24:28 +00:00
dbragg%netscape.com
5993de783b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@43037 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 21:55:20 +00:00
dbragg%netscape.com
cc32d5d589 changed the .xpt file name from include to pm_progress
git-svn-id: svn://10.0.0.236/trunk@41863 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 21:55:27 +00:00
dbragg%netscape.com
a1b6551e73 Added a progress bar
git-svn-id: svn://10.0.0.236/trunk@34468 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:16:59 +00:00
dbragg%netscape.com
f4b1dcb59d Added *aResult for status values per XPCOM
git-svn-id: svn://10.0.0.236/trunk@32721 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:22:58 +00:00
dbragg%netscape.com
05424febc3 Changed DEPTH
git-svn-id: svn://10.0.0.236/trunk@32719 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:22:15 +00:00
dbragg%netscape.com
06ec8e587b This file was in the wrong place
git-svn-id: svn://10.0.0.236/trunk@31983 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:03:44 +00:00
dougt%netscape.com
2b5fd4e15c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30768 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:35:49 +00:00