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

629 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com d53734433c don't specify the height and width, let it size to content. otherwise, the buttons on the bottom don't show up. 1999-10-29 00:26:43 +00:00
sspitzer%netscape.com 67c42818ef cleaning up comments 1999-10-29 00:09:27 +00:00
sspitzer%netscape.com 342b5a049e only show profiles that haven't been migrated in the Profile Selection dialog. 1999-10-28 23:24:05 +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
warren%netscape.com 00dfd9d907 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +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
dveditz%netscape.com 4b0ca9d0cd Changing nsFileSpec Copy and Move function names to match their
functionality, and also to free up the namespace for a *real* Copy
and Move that allow renaming the leaf name rather than just copying
into different directories (i.e. to make backup files). r=ssu
1999-10-21 00:40:39 +00:00
slamm%netscape.com 64d8fa3b2f Landing of SIDEBAR_19991007_BRANCH. r=waterson 1999-10-18 19:21:52 +00:00
sspitzer%netscape.com 605a8e0cc5 remove unused variablable to fix a couple warnings. 1999-10-15 04:33:21 +00:00
neeti%netscape.com cbbd7eefe8 Converted to use nsIModule to prepare for memory leaks fixing. Bug# 14034. r=sspitzer 1999-10-15 04:06:43 +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
alecf%netscape.com 85bcc85a6d update new image names in all XUL, JS, and CSS 1999-10-13 04:26:01 +00:00
norris%netscape.com 36a6460fbb Needed for 7254: Implement DOM security
reviewed by Ben Goodger <rgoodger@ihug.co.nz> and Seth Spitzer <sspitzer@netscape.com>

Scripts running from chrome are considered super privileged and can perform operations that
scripts from the web cannot. I differentiate chrome scripts from web
scripts by considering all scripts loaded from chrome: URIs to be
privileged.

The problem I'm running into is that the loading of relative urls in
this code ends up going to the file: protocol (which is what the chrome
protocol is converted to internally). This change makes sure we load
from the chrome protocol so that the scripts are privileged and don't
get access errors. It's probably a good idea to load from the chrome
protocol anyway since it may one day be resolved to extracting from a
JAR file rather than accessing a discrete file.
1999-10-12 22:47:36 +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
waterson%netscape.com ab20f5e245 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
waterson%netscape.com 5169d5ca9f Initial revision. Not in build. 1999-10-08 21:15:21 +00:00
sspitzer%netscape.com 98394f0040 more clean up. #15402. 1999-10-08 07:58:54 +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 3e9aa78e46 just checking in comments. resizeToContent() makes the "Create Profile Wizard"
take up the whole screen.  (bug logged on danm already.)
1999-10-08 06:50:26 +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 0e5fb9245e don't specify the width and height, so the dialog resizes to content. 1999-10-08 00:17:22 +00:00
sspitzer%netscape.com c7747fdf79 add new line to the end of the file. 1999-10-07 22:05:53 +00:00
sspitzer%netscape.com 72629ed46d more clean up for #15402. disable the rename, delete and start buttons
if no profile is selected, and enable them when a profile is selected.
turn dumps into alerts to tell the user why something failed.
1999-10-07 09:41:33 +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 23067acd64 minor cleanup of the profile js. #15402 1999-10-07 09:03:07 +00:00
sspitzer%netscape.com da5122d4f3 add documentation and fixes from Ben Goodger <rgoodger@ihug.co.nz>
also add the mozilla license.  r=sspitzer.
1999-10-07 08:47:16 +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 51a7fe59e1 add an alert if there is no profile name. bug #15402 1999-10-07 00:55:51 +00:00
sspitzer%netscape.com 35bcf07d05 workaround fix for #15728. r=alecf. prevent crashing when I click on the tab in the create profile wizard. 1999-10-07 00:24:44 +00:00
sspitzer%netscape.com b52bb664dd whoops, checked in dos formatted text files from a unix box. ran dos2unix on them to fix it. part of fix for #15402. these new files come from Ben Goodger <rgoodger@ihug.co.nz> r=sspitzer 1999-10-06 23:19:53 +00:00
sspitzer%netscape.com fdd101c1ad remove references to xul.css, as it is no longer needed. 1999-10-06 22:07:29 +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 67ba1972ac fix for #15610, alert on failure to rename or delete a profile. r=mscott 1999-10-05 20:49:09 +00:00
sspitzer%netscape.com cadea59e30 remove work around for #15458. that bug has been fixed.
gayatrib and I both tested it.
1999-10-05 20:47:41 +00:00
sspitzer%netscape.com 22e48e8f44 fix for #15578, r=mscott, a=granrose
properly migrate the bookmarks file on windows.
1999-10-05 18:10:20 +00:00
sspitzer%netscape.com e60f550fd7 added files: mozilla/profile/src/nsProfileFactory.cpp 1999-10-05 05:20:58 +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
morse%netscape.com 1ca3e95ba7 oops -- I carelessly left out a carriage return in my last checkin 1999-10-04 21:07:01 +00:00
morse%netscape.com c4f107c715 fix profile-manager bustage in todays build, checked in by request of leaf 1999-10-04 20:59:16 +00:00
beard%netscape.com b547c2ffb0 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
hyatt%netscape.com 9e75934ef0 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
sspitzer%netscape.com 2e967a149c remove unused files 1999-09-29 04:10:16 +00:00
sspitzer%netscape.com d1e94def72 ignore generated makefiles 1999-09-29 04:09:01 +00:00
sspitzer%netscape.com 8093d1a122 fix resources for the profile migration dialog. 1999-09-29 04:07:12 +00:00
sspitzer%netscape.com 8ebab04c72 fix resources for the profile migration dialog. remove unused files. 1999-09-29 04:03:15 +00:00
sspitzer%netscape.com 94792a2259 removing unused files, this directory is going away. 1999-09-29 03:11:05 +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 583d9ab602 adding new files. 1999-09-28 21:28:57 +00:00
gayatrib%netscape.com 4d8a420424 profile ui dtd file 1999-09-28 20:37:16 +00:00
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
sspitzer%netscape.com 0c267c1c7a this comment is for the last checkin.
define server_type constants.
handle it gracefully, if they didn't use imap or pop.  (example, movemail on unix.)
the pref is "mail.server_type" and it's an int (not "mail.server.type" as a char *)
initialize some variables to nsnull.
1999-09-11 20:07:44 +00:00
sspitzer%netscape.com e81f1c49b6 src/nsPrefMigration.cpp 1999-09-11 20:05:11 +00:00
sspitzer%netscape.com e08a5a5296 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").
1999-09-11 19:48:50 +00:00
sspitzer%netscape.com dd2fb630fd ignore the generated Makefiles.
they aren't being generated yet, but soon.
1999-09-11 16:10:24 +00:00
sspitzer%netscape.com b5baf1340e makefile for building pref-migrator on UNIX. NOT PART OF BUILD YET. 1999-09-11 16:08:15 +00:00
colin%theblakes.com 897b828b3f Tidy up library list 1999-09-11 15:37:40 +00:00
sspitzer%netscape.com f6a35e2dbd makfiles for building the pref-migrator on unix. NOT PART OF BUILD YET. 1999-09-11 00:24:28 +00:00
dougt%netscape.com e7272b8ed9 Fixing LL_ compare routines. 1999-09-10 18:56:30 +00:00
dbragg%netscape.com 7830b586db Added the new mail directory code for POP and IMAP 1999-09-10 18:41:33 +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 319be9eb38 added files: mozilla/profile/public/nsIProfile.idl 1999-09-10 00:51:45 +00:00
alecf%netscape.com bb9c6bf599 profile changes on windows 1999-09-10 00:51:22 +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
gayatrib%netscape.com ac7c86aed4 Fixing bug #13518 1999-09-10 00:34:45 +00:00
alecf%netscape.com 874a3efcb8 adding neckoutil_s in preparation for profile landing 1999-09-10 00:30:26 +00:00
alecf%netscape.com aac577110e add new files to prepare for profile landing 1999-09-10 00:29:08 +00:00
dougt%netscape.com adfebc60ce fixing build bustage. 1999-09-09 20:30:14 +00:00
dougt%netscape.com d8fcfee5c9 nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
thanks to Chet Murphy <cmurphy@modelworks.com> for the windows code!
1999-09-09 19:20:35 +00:00
dbragg%netscape.com 10d0acc3a9 Added the writing of the string Mozilla User Preferences to the top of the prefs js file. Fixes bug 8610 1999-09-07 18:28:55 +00:00
dveditz%netscape.com a4fc44952f remove xp_file.h from NSReg.h, required minor tweaking elsewhere to include
now missing NSPR types.
1999-09-04 19:46:18 +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
waterson%netscape.com 94cf48ce2b Fix 'rename profile' to bring up the right file. 1999-09-03 20:36:04 +00:00
waterson%netscape.com b195b5fe19 Wrap in <html:div> to get layout to work right. 1999-09-03 20:32:10 +00:00
waterson%netscape.com d83a96eaee Fix profile manager XUL; was incorrectly using 'xul:' namespace on window tag. 1999-09-03 16:51:41 +00:00
gayatrib%netscape.com 6bb9d0faa9 Correcting some typos 1999-09-03 00:58:34 +00:00
gayatrib%netscape.com f758d39c3d Partial fix for bug #13033--yet to disable buttons 1999-09-03 00:56:26 +00:00
gayatrib%netscape.com 83bdfa4b69 Partial fix for bug #13033--yet to align buttons to the right and disable buttons 1999-09-03 00:52:19 +00:00
gayatrib%netscape.com f00dda44b9 fixing bug #12815 1999-09-02 20:55:41 +00:00
briano%netscape.com 55c40828fa Cleaned it up and eliminated the pointless #!gmake. 1999-09-02 00:06:06 +00:00
gayatrib%netscape.com 079143b0d6 Fixing bug #12953 1999-09-01 23:37:41 +00:00
briano%netscape.com 35f7016d4f Fixed the typo that was breaking (at least) the commercial Unix builds. (pmRename.xul != pmrename.xul) 1999-09-01 23:07:38 +00:00
varada%netscape.com 6ecd1fb277 changing the name of the dll from profileservices to profidl to suit the 8.3 windows naming convention 1999-09-01 01:14:37 +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
gayatrib%netscape.com 03bd077d32 sample file 1999-08-31 00:37:14 +00:00
gayatrib%netscape.com c0a92d9754 preg related file 1999-08-31 00:35:25 +00:00
gayatrib%netscape.com be717911c5 some progress bar file 1999-08-31 00:34:53 +00:00
gayatrib%netscape.com 354aa71496 Modified to support the new ui 1999-08-31 00:31:18 +00:00
gayatrib%netscape.com 346313cb06 Placeholder for addr book export 1999-08-31 00:29:30 +00:00
gayatrib%netscape.com 71086383ad Placeholder for mailnews wizard 1999-08-31 00:29:10 +00:00
gayatrib%netscape.com 290c7c2a07 Placeholder for dialup wizard 1999-08-31 00:28:39 +00:00
gayatrib%netscape.com ce0d6b5cbe Added to support to create profile ui 1999-08-31 00:28:05 +00:00
gayatrib%netscape.com 4538a29f8e modified to handle localization 1999-08-31 00:27:02 +00:00
gayatrib%netscape.com 0a281d2a24 Changed to load the new cpw.xul 1999-08-31 00:22:48 +00:00
gayatrib%netscape.com 3c3bda8492 New UI for create profile as part of the meta wizard 1999-08-31 00:20:20 +00:00
gayatrib%netscape.com 90cdcd16ec New javascript file for cpw.xul 1999-08-31 00:19:28 +00:00
gayatrib%netscape.com 390ae1a2e4 New css file for cpw.xul 1999-08-31 00:18:52 +00:00
gayatrib%netscape.com 9856b0eab1 Removing as it is no longer required in the new UI 1999-08-31 00:17:19 +00:00
gayatrib%netscape.com 3fa0b66e2c Removing as it is no longer required in the new UI. 1999-08-31 00:07:05 +00:00
erik%netscape.com c083c519b0 Fixing build bustage, and build warnings. 1999-08-30 23:06:19 +00:00
beard%netscape.com 047aa43d28 plugged a memory leak in GetProfileCount() 1999-08-27 03:48:24 +00:00
rpotts%netscape.com 22bebe6d3c Fixed up the calls to NewChannel to take a load group... 1999-08-26 23:38:02 +00:00
dp%netscape.com 56b7fdb782 Using nsIRegistry::OpenDefault() instead of Open() with default parameter. 1999-08-25 08:13:24 +00:00
hyatt%netscape.com 6fd874fcea Fixing the build bustage in the prefs migrator. Just call me Mr. Porkjockey. 1999-08-21 10:40:42 +00:00
mccabe%netscape.com 779d51d186 First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
varada%netscape.com 168a5105bb adding test nci files 1999-08-21 01:47:51 +00:00
varada%netscape.com ae42ee4725 adding xul files for dialup 1999-08-21 01:47:05 +00:00
varada%netscape.com 543ba294fb modified makefile 1999-08-21 01:45:55 +00:00
varada%netscape.com f680bd6033 new functions in idl file 1999-08-21 01:45:33 +00:00
varada%netscape.com 5fd6870717 added new functions 1999-08-21 01:44:41 +00:00
varada%netscape.com d736074970 changed the module name from xpaccount32.dll to xpacct32.dll 1999-08-21 01:44:04 +00:00
varada%netscape.com e600f423ab added new functions to get phone list and dialup lists 1999-08-21 01:43:25 +00:00
varada%netscape.com ee3357f826 added comments and some values to the connectoid 1999-08-21 01:42:56 +00:00
varada%netscape.com 74d29e3e79 Added new functions in nsAccount.cpp 1999-08-21 01:41:18 +00:00
danm%netscape.com e23e00db7c disable browser appcore's load of default page for new windows created by NewWebShell. fixes bug 11404. a:cyeh@netscape.com 1999-08-16 22:23:19 +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
dbragg%netscape.com 85fa7823af Removed the based.shlb file 1999-08-10 22:43:15 +00:00
dbragg%netscape.com 3dfee421eb Removed the basedebug.shlb file 1999-08-10 22:05:59 +00:00
dbragg%netscape.com 5c3e6ac932 First Checked In. 1999-08-10 21:55:20 +00:00
racham%netscape.com 6ba67b54f2 Checking filespec existence 1999-08-10 08:25:57 +00:00
racham%netscape.com 640665c397 Added options to delete operation, bug 6684 1999-08-10 08:03:21 +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 6fa613c582 Migrate and start apprunner on clicking Start button for unmigrated profile, bug 10172 1999-08-10 03:42:38 +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
gayatrib%netscape.com 70c2ee3e00 replacing location.this with the complete url as that call is failing 1999-08-09 22:37:40 +00:00
dveditz%netscape.com 1661dd3147 removing obsolete references to libreg 1999-08-07 03:09:40 +00:00
dbragg%netscape.com e33e1af225 Removed Mac simple return value and removed the renaming of prefs.js to prefs50.js. Now only the Mac has the Netscape Preferences file renamed to prefs.js 1999-08-06 23:01:34 +00:00
gayatrib%netscape.com fa17c17e4f changing location.replace to location.href, as a fix for bug 11261 1999-08-05 04:28:43 +00:00
dbragg%netscape.com 34bdf77912 Added functions to check for space on multiple drives for multiple combinations of profile directories 1999-08-02 21:56:27 +00:00
dbragg%netscape.com 37ceaf96bd changed the .xpt file name from include to pm_progress 1999-08-02 21:55:27 +00:00
briano%netscape.com d1d9698db3 Added a newline to the end of file to fix the Unix native compiler builds. 1999-07-30 21:49:32 +00:00
mscott%netscape.com d596c965b9 fix build breakage by including config.mak 1999-07-29 03:34:22 +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
gayatrib%netscape.com 066fe73c70 adding pm.js to the makefile 1999-07-27 07:23:11 +00:00
gayatrib%netscape.com ea6864bc39 a file to hold all the javascript of the profile manager UI 1999-07-27 07:21:44 +00:00
gayatrib%netscape.com 73b394f542 fixing bug number 10106 1999-07-27 07:21:01 +00:00
gayatrib%netscape.com 534708b613 new UI for profile manager which also includes DTDs 1999-07-27 07:18:29 +00:00
danm%netscape.com 743f1947e6 hooking up window OS border control from JS/C++ 1999-07-27 06:34:24 +00:00