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

423 Коммитов

Автор SHA1 Сообщение Дата
gayatrib%netscape.com 7c4feedada profileManager dtd file 1999-09-28 20:34:32 +00:00
gayatrib%netscape.com 0cd25b3a34 createProfileWizard dtd file 1999-09-28 20:33:45 +00:00
gayatrib%netscape.com ef8138d0c5 makefile 1999-09-28 19:20:50 +00:00
gayatrib%netscape.com b538a012b5 css file 1999-09-28 19:19:08 +00:00
gayatrib%netscape.com 7171f85762 profileManager javascript 1999-09-28 19:14:35 +00:00
gayatrib%netscape.com 648caf9c28 createProfileWizard javascript 1999-09-28 19:13:50 +00:00
gayatrib%netscape.com 495d35afbb profile ui 1999-09-28 19:12:56 +00:00
gayatrib%netscape.com a4541b630d profile manager window 1999-09-28 19:12:27 +00:00
gayatrib%netscape.com 536d5d5cd4 profile ui 1999-09-28 19:04:57 +00:00
gayatrib%netscape.com 957518a982 createProfileWizard ui 1999-09-28 19:02:49 +00:00
sspitzer%netscape.com ef5db83d70 remove extra paren 1999-09-28 11:18:42 +00:00
sspitzer%netscape.com c54420d958 more fixes for migration on the mac and various cleanup. 1999-09-28 11:16:18 +00:00
sspitzer%netscape.com b74c08a143 fix migration on the mac. mac thinks "" is the cwd. curse it to hell! 1999-09-28 10:26:44 +00:00
sspitzer%netscape.com 0c1e3f6c8f the attribute is a string, not a boolean. 1999-09-28 09:34:27 +00:00
sspitzer%netscape.com 71a803fb46 comment out the dumps.
in the new profile xul, disable the buttons when they should be
and ignore clicks if the buttons are disabled.
1999-09-28 09:30:48 +00:00
sspitzer%netscape.com 8c434cb6ee whoops, two quotes when there should be only one 1999-09-28 07:47:54 +00:00
sspitzer%netscape.com 0862bf42aa only build nsIProfile.idl now. 1999-09-28 07:41:40 +00:00
sspitzer%netscape.com 46e8c3a49f this is gone. 1999-09-28 07:37:46 +00:00
sspitzer%netscape.com a0a70c9ca0 fix for #14999. remove the profile appcore 1999-09-28 07:29:25 +00:00
sspitzer%netscape.com 1cc1222c7c fix some minor problems with the pref migration progress xul. #15042
get news migration back on UNIX, I accidentally broke it.
1999-09-28 05:12:42 +00:00
sspitzer%netscape.com de35c24ff5 use the NS_WITH_SERVICE macro. #15042
remove calls to toolkit appcore, as it is going away soon. #14999
1999-09-28 04:40:59 +00:00
sspitzer%netscape.com fc9043a248 changes to get migration working on the mac again. #15026, #14689 1999-09-28 04:10:19 +00:00
sspitzer%netscape.com ef3b749744 fix for #15054. pref migration progress dialog sizes to content now. 1999-09-28 03:01:53 +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 d7a45c96da fix for #14604. pop migration was broken on mac. my code to migrate 4.x imap mail filters on the mac should only be run when we used pop in 4.x 1999-09-22 20:01:20 +00:00
sspitzer%netscape.com 1ce95cdd9a fix for #13862
now we properly migrate imap filter rule files on the Mac.
1999-09-22 09:06:06 +00:00
sspitzer%netscape.com 50d215e77f fix for #14538
migrate 4.x pop filter rules to the right place, and rename them if necessary.
1999-09-22 07:56:20 +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 45bb9a84e7 use the right throbber. 1999-09-22 04:57:55 +00:00
sspitzer%netscape.com d9c72958f8 fix more insanity. 1999-09-22 04:51:06 +00:00
sfraser%netscape.com 80f9b9d1f8 Fix error in new profile dialog. 1999-09-22 04:22:49 +00:00
sspitzer%netscape.com c914876c42 step one of getting the pref-migrator progress dialog to work on the Mac.
yes, I know these files live in the wrong place.  will fix that next.
1999-09-22 01:46:14 +00:00
sspitzer%netscape.com 2301e7c3f0 get the pref-migrator progress dialog to work.
Yes, I know these are in the wrong place.
(all the resources under mozilla/profile are [going into / live in the] wrong place.

first I need to get -installer to
work again, then put things in the right place.
1999-09-22 01:45:01 +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
sdagley%netscape.com 37189bf3e3 checking in fix to build bustage for dbragg 1999-09-22 00:27:03 +00:00
dbragg%netscape.com b248036f13 Removed the nsPMProgressDlg.cpp from the build 1999-09-22 00:05:33 +00:00
kipp%netscape.com 5ea36f3cbc Fixed build bustage 1999-09-21 23:40:03 +00:00
dbragg%netscape.com 92c1146092 Added new interface to ProcessPrefs, also fixes build bustage. 1999-09-21 23:17:58 +00:00
saari%netscape.com 6df67e6af3 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +00:00
dbragg%netscape.com e46b6b84b5 Added multi-threading capability for the progressbar 1999-09-21 22:39:01 +00:00
dbragg%netscape.com 728e8c0468 Added to the interface for multi-threaded requirements for progressbar. 1999-09-21 22:37:25 +00:00
sspitzer%netscape.com d9e136ad04 remove my reminder printf for UNIX. UNIX is done. 1999-09-21 07:42:23 +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
briano%netscape.com 982a0c9770 Removed the 3 test-tab XUL files that don't exist. 1999-09-18 19:20:27 +00:00
sspitzer%netscape.com 09edd6a89a give the profile manager / installer window a title.
it would be good if the first window the users sees has a title, no?
1999-09-18 18:22:27 +00:00
sspitzer%netscape.com 5ba5ddfb35 ignore generated files 1999-09-18 18:13:31 +00:00
sspitzer%netscape.com a581604d43 the bookmarks service is looking for bookmarks.html, not bookmarks.htm
now, your bookmarks get migrated!
(unix finally wins a file name battle, but windows still wins the war.)
1999-09-18 18:12:57 +00:00
sspitzer%netscape.com 6d34308ce9 rename 4.x bookmarks file after migration to bookmarks.htm for all platforms.
rewrite code so I could use it to rename cookies files and bookmarks file
with the same method.
1999-09-18 18:00:12 +00:00
gayatrib%netscape.com 5ed55409a2 This file is not required for profile ui 1999-09-17 23:30:23 +00:00
neeti%netscape.com 0bed67a824 *** empty log message *** 1999-09-17 23:28:56 +00:00
neeti%netscape.com 4f448a67e0 moved bookmarks.html to defaults/profile 1999-09-17 23:26:54 +00:00
sfraser%netscape.com d1fcac20b7 First Checked In. 1999-09-17 23:20:53 +00:00
gayatrib%netscape.com a7885b64bc adding locale dir to makefile 1999-09-17 23:17:28 +00:00
gayatrib%netscape.com 81e33ae9e4 moving entities into dtds 1999-09-17 23:16:06 +00:00
gayatrib%netscape.com 6eec46bc80 makefile for dtds 1999-09-17 22:05:54 +00:00
gayatrib%netscape.com 911e9c2cc2 dtds for profile manager ui 1999-09-17 22:05:04 +00:00
sspitzer%netscape.com 5beee13044 close the stream. 1999-09-17 11:47:46 +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 fcf002830d propagate errors. right now, -installer doesn't work on the mac. now, we through up and and tell the user, which is better than crashing. I'm still working on getting it to work on the Mac. 1999-09-16 23:00:21 +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
cls%seawood.org 11333d189a Linux only: Removed -D_BSD_SOURCE from DEFINES as it is unnecessary now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:54:18 +00:00
sspitzer%netscape.com cdfcf81126 increase the changes of -installer working on mac tomorrow, by not checking
if there is enough space before copying.

once we get -installer working on the mac, we'll turn this code back on.
1999-09-16 10:41:13 +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
gayatrib%netscape.com ea371f4d62 Removing tabs that are not supported yet 1999-09-16 00:39:20 +00:00
gayatrib%netscape.com 24ec1d40f6 Fixing the finish button problem and removing tabs that are not supported yet 1999-09-16 00:38:40 +00:00
gayatrib%netscape.com a9ca010f7f fixing bug 13899 1999-09-15 21:23:39 +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 dc2b6bdbba fix for #13704.
also, instead of just checking that ".msf" or ".snm" or ".summary" appears in th
e file name, we now check if the filename *ends* with ".msf", ".snm" or ".summar
y".
1999-09-14 00:08:33 +00:00
sspitzer%netscape.com 9e1c49ca33 fix profile migration on windows (and probably mac.)
on UNIX, "mail.directory" is always set.
on windows, it may be set to ""
add the PL_strlen test to tree "" as not being set, so we assume the default 4.x location, which is what we want.
1999-09-13 20:38:23 +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 168aeeb620 if GetDirFromPref() failed, we use the old profile directory path to determine the old directory. save that in the premigrated version of the pref, because we will need that during actual pref migration. if we don't do this, premigrated.foo is left blank, because foo was not set. 1999-09-13 07:21:36 +00:00
sspitzer%netscape.com 70fa68d932 added files: mozilla/profile/pref-migrator/public/nsIPrefMigration.idl 1999-09-13 05:52:26 +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 f4084b2e81 new files resulting from XPIDL-ifying nsIPrefMigration.
NOT PART OF THE BUILD YET.
1999-09-13 04:23:31 +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
cls%seawood.org 17c88d7b29 Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +00:00
sspitzer%netscape.com 3df0613073 set up prefs with the new prefs.js file that we copied over from the 4.x world 1999-09-12 01:39:03 +00:00
sspitzer%netscape.com 9d09d05876 remove obsolete code. define PREF_MAIL_SERVER_TYPE to avoid errors, like using mail.server.type instead of mail.server_type. 1999-09-12 01:13:41 +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 75e0ab4564 rewrite nsPrefMigration to use the pref service instead of old school PREF_* api. 1999-09-11 22:18:22 +00:00
sspitzer%netscape.com 3cc18d2b78 change the nsIProfileService interface and implemenation. add an Init() method
instead of doing things in the constructor.
1999-09-11 22:15:24 +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