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

712 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com d3654c6194 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 bc8b3621c5 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 b67f60eec2 Workaround for bug 26265, to handle failure to load string bundle at startup. r=ben, a=leaf 2000-02-03 23:04:50 +00:00
sfraser%netscape.com 9e4b1b4c1c 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 b6db340976 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
racham%netscape.com 9a2a575f7c Fixing bugs 16791, 23339. Added interfaces to check the current profile availability and a check for preg info. r=gayatrib 2000-02-03 11:20:25 +00:00
ben%netscape.com 26a43e50b4 fix for 21925, r=valeski 2000-02-03 04:03:19 +00:00
brade%netscape.com 27ca515c4c fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
danm%netscape.com 94a219f706 changing name of opened window from 'null' to '_blank'. travis' idea. r:me 2000-01-31 21:33:50 +00:00
sspitzer%netscape.com c6414cea39 add a dump to convince ben that getProfileList is working again. 2000-01-28 10:19:12 +00:00
sspitzer%netscape.com 87e4e44374 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
sspitzer%netscape.com 76ab8b78b5 handle migration of secure news servers from 4.x to 5.0 r=alecf 2000-01-28 02:17:38 +00:00
ben%netscape.com 3f3d166d9d added check for no 5.x profiles, fix "select null" problem, r=hyatt@netscape.com 2000-01-27 23:57:21 +00:00
racham%netscape.com 7730c871c8 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
ben%netscape.com ff0bda8ba2 selecting last profile loaded in profile tree. r=alecf@netscape.com 2000-01-26 02:22:42 +00:00
ben%netscape.com 6dbae2d883 fix bug 24752 (back button on profile mgr page) r=syd@netscape.com; and partial for 23121 (jumpy text in titledbuttons that are disabled). 2000-01-23 20:06:02 +00:00
sspitzer%netscape.com 693e0c8f67 fix for #23702. migrate the popstate file on mac and linux. r=mscott 2000-01-19 02:18:49 +00:00
racham%netscape.com 471e8adb53 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 c377c67a76 removing unnecessary #include so I can remove the header file 2000-01-15 02:05:04 +00:00
racham%netscape.com 061d515964 Fixing bug 14358. Extracting activation url. a=McAfee 2000-01-14 08:31:44 +00:00
racham%netscape.com d87929591c Fixing bug 14358. changed the name of a preg pref. a=McAfee 2000-01-14 08:29:14 +00:00
rgoodger%ihug.co.nz 5a6ef98626 making profile manager handle newlines in alerts/prompts properly 2000-01-14 08:07:40 +00:00
rgoodger%ihug.co.nz 1da5c3ae3c use proper newlines in alerts/prompts for profile manager 2000-01-14 08:05:51 +00:00
rgoodger%ihug.co.nz abf28826c4 add alert message for existing profile in create profile wizard 2000-01-14 00:46:18 +00:00
rgoodger%ihug.co.nz 8d88ad28dc add check & failure for existing profile name in create profile wizard. 2000-01-14 00:44:44 +00:00
rgoodger%ihug.co.nz 18683b3db2 23872, fixing double click behaviour in profile manager 2000-01-14 00:17:48 +00:00
rgoodger%ihug.co.nz 6835844d3c profile manager II, text correction. 2000-01-13 09:43:38 +00:00
rgoodger%ihug.co.nz f0a623ac76 ProfileManager II: re-adding file accidentally removed. 2000-01-13 06:25:33 +00:00
sspitzer%netscape.com 53318e044b remove more dead weight. 2000-01-13 06:20:32 +00:00
sspitzer%netscape.com b313611599 remove more dead weight for the almighty ben g. 2000-01-13 06:17:19 +00:00
sspitzer%netscape.com d53069e4ce removing dead files for ben goodger. 2000-01-13 06:14:28 +00:00
sspitzer%netscape.com 836b495516 changes needed to get -installer and -ProfileManager working in the new
ben goodger world.
2000-01-13 04:30:20 +00:00
rgoodger%ihug.co.nz 754c6494a8 profilemanager II, r=gayatrib@netscape.com, sspitzer@netscape.com 2000-01-13 04:21:25 +00:00
sspitzer%netscape.com 53ac0203b9 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 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
nhotta%netscape.com 98b37023a9 Adding I18N functions for pref migration, bug 14349, r=ftang. 2000-01-11 01:24:21 +00:00
sspitzer%netscape.com b21a2e9a14 fix #21978. two changes: "Local Mail" is now "Local Folders"
and make it so the user *always* has a Local Folders account.
r=alecf
2000-01-07 06:09:47 +00:00
norris%netscape.com 4f128298d2 Fix 22909 previousSibling vulnerability
r=mstoltz
2000-01-06 00:59:18 +00:00
warren%netscape.com 06918ca494 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
dougt%netscape.com 4d1a1b38ed Converting to use nsIModule macro. r=dp. 2000-01-03 23:37:30 +00:00
rjc%netscape.com a0dc805067 On 12/16/1999, dmose@mozilla.org checked in some changes to the default
bookmarks.html file and accidentally added an invalid/extra </DL><p> line
which caused the bookmarks parser to blow chunks of the bookmarks away.
1999-12-31 11:48:20 +00:00
rjc%netscape.com 2278e60b7a Add a sidebar panel for Search results instead of having them mixed in with Related Links data. 1999-12-29 09:27:45 +00:00
sspitzer%netscape.com 59a392eb14 whoops, I removed the title from this window. 1999-12-23 23:10:19 +00:00
sspitzer%netscape.com f16a570ecd 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
sspitzer%netscape.com 6a22b34ad1 new files confirmation dialog (for automigration) for bug #18118
not part of build yet.
1999-12-23 01:45:16 +00:00
sspitzer%netscape.com 08fcb42658 forgot an ifdef. this will fix the tree bustage. 1999-12-22 03:37:04 +00:00
sspitzer%netscape.com c3e7250298 fix for #22099, newsrc migration problems on linux. r=mscott, a=syd. 1999-12-22 03:31:59 +00:00
dmose%mozilla.org 5951b555ea fix for bug 20866: replace Channels menu with a link to Open Directory; r=sspitzer@netscape.com, a=shaver@mozilla.org 1999-12-16 00:26:53 +00:00
shaver%netscape.com 5818d49be7 remove excess 'Netscape' references from the chrome (r=dmose,a=leaf) 1999-12-15 23:00:34 +00:00
racham%netscape.com a5cfe6edea Fixing memory leak. bug 21038. r=sspitzer 1999-12-07 23:05:22 +00:00
sspitzer%netscape.com 18e938fa77 tweak fix for #15111 on last time. morse had the logic right the first time,
we need to subtract the # of seconds between 1970 and 1900 from the mac cookies,
not add.
1999-12-07 22:05:52 +00:00
sspitzer%netscape.com 5755e8cdf6 fix for #20906. fix the twitchy button in the select profile dialog.
fix by=rgoodger@ihug.co.nz, r=sspitzer
1999-12-07 09:12:59 +00:00
sspitzer%netscape.com 0111534b4b ok, really fix #15111 this time. we need to add 70 years of seconds to a mac cookie, not subtract. also, we need the migrated cookie file to have '\n' line endings, or nsCookie.cpp will ignore it. 1999-12-07 08:50:50 +00:00
sspitzer%netscape.com 3d203e8a07 fix, and the turn on morse's fix for #15111. now cookies get migrated on the mac correctly. 1999-12-07 07:44:31 +00:00
sspitzer%netscape.com ca3fcac0b6 fix for #15042. fix by=racham, r=sspitzer 1999-12-07 00:22:30 +00:00
sspitzer%netscape.com 9459932322 only correct cookies if the expires time is non-zero.
(zero means the cookie should expire at the end of the current session.)
fix by=morse, r=sspitzer, part of bug #15111
1999-12-06 21:25:01 +00:00
sspitzer%netscape.com e55d8458f0 fix for #15111, need to adjust the times in the a 4.x cookie file to work
with 5.0.  (the start of our epoch changes on the mac.)
right now, this code is turned off until we finish testing it.
fix by=morse, r=sspitzer.
1999-12-06 21:05:33 +00:00
sspitzer%netscape.com fcd8ecf115 new files. not part of the build yet. 1999-12-06 18:27:26 +00:00
sspitzer%netscape.com 0ce018c61c new changes from rgoodger@ihug.co.nz. r=sspitzer
this makes it so the create profile wizard uses the generic wizard js
(mozilla/xpfe/global/resources/content/wizard*, mozilla/xpfe/global/resources/content/widgetStateManager.js)
1999-12-06 05:53:02 +00:00
rgoodger%ihug.co.nz 71c3cb9325 importing global skin into package skin file, bug 19562 1999-12-05 09:15:17 +00:00
rgoodger%ihug.co.nz 451c9d09dd imported package skin (profile.css) into these files. (bug 19562) 1999-12-05 09:14:48 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
sspitzer%netscape.com a4be93ec67 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
hyatt%netscape.com de5e299f08 Fixing the invisible tree problem #18577. 1999-12-01 20:11:01 +00:00
hyatt%netscape.com d54c80240d Fix for bug #18577 (which someone said was holding the tree closed). r=danm 1999-12-01 19:54:15 +00:00
warren%netscape.com 2db26922a6 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
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
brendan%mozilla.org 869d5f55c0 Clean up whitespace/returns/braces, plus Ben's update to GetFields. 1999-11-28 06:37:13 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
akkana%netscape.com 3d03085c9e 11818: Rename the special XUL key from "command" to "xulkey" so it won't
confuse people into thinking it has something to do with the Mac command key.
This means changing all the XUL keybinding files from command= to xulkey=.
r=brade.
1999-11-23 23:24:57 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
sspitzer%netscape.com 6df92f4ebf fix for #18999, r=putterman
gracefully handle migration if the user used movemail (unix only) in 4.x
wrap all the movemail code with #defines, it is not needed on non-unix
platforms.  movemail is still not supported, but at least now migration
(of bookmarks and cookies) doesn't fail, and you can see your old mail
in 5.0.
1999-11-16 22:54:58 +00:00
sspitzer%netscape.com 1a4372f04c changes from german@netscape.com to make the profile xul look better and look
more like the rest of the chrome.  r=sspitzer@netscape.com
1999-11-16 00:38:16 +00:00
sspitzer%netscape.com 176ee42b41 fix for #17954
before, if "mail.directory" was set, we'd assume the mail wasn't in the standard
default place, so we'd migrate Mail -> Mail5
now, we check if "mail.directory" == the default place.  if so, we migrate
it like we would if it wasn't set.
Mail -> Users50/<profile>/Mail

to help do this, I added Equals() to the nsIFileSpec interface, to compare
two nsIFileSpec's, it does this by comparing the nsFileSpecs.
1999-11-13 02:02:22 +00:00
dmose%mozilla.org 5312eacf8c 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 bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
sspitzer%netscape.com 6fb50dac26 fix for #16119. this variable is not defined out of the scope of the loop, so
it was undefined.
1999-11-01 21:51:16 +00:00
tbogard%aol.net 10ded258a5 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
dp%netscape.com b21e2079e7 Removing use of nsIShutdownListener r=sspitzer 1999-10-31 05:02:55 +00:00
evaughan%netscape.com 039be939e6 Made tabs us visibility instead of shrinking their children to 0,0.
Made it possible to change the look for the selected tab.
1999-10-29 22:13:57 +00:00
alecf%netscape.com 62d076cad6 add class="dialog push" to the profile wizard UI r=sspitzer 1999-10-29 21:10:53 +00:00
sspitzer%netscape.com 31a75ec59b fix it so that if you have something selected, and you hit enter, it starts with that profile. 1999-10-29 04:40:20 +00:00
sspitzer%netscape.com 7a72b30bde 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 26b94d5fea 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 233c22d03e cleaning up comments 1999-10-29 00:09:27 +00:00
sspitzer%netscape.com 3eb3322f08 only show profiles that haven't been migrated in the Profile Selection dialog. 1999-10-28 23:24:05 +00:00
sspitzer%netscape.com 33ecda1631 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 9a0c1c288d 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 f50d3df7c0 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 9b01e1026a Make profile manager build under BeOS.
r=sspitzer
1999-10-23 17:13:55 +00:00
racham%netscape.com 6b1312ff84 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 ab0d6dd3aa 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 bf503710b1 Landing of SIDEBAR_19991007_BRANCH. r=waterson 1999-10-18 19:21:52 +00:00
sspitzer%netscape.com 5344853105 remove unused variablable to fix a couple warnings. 1999-10-15 04:33:21 +00:00
neeti%netscape.com a257a77a11 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 cb3b669f7b 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 0fa5cd6df4 update new image names in all XUL, JS, and CSS 1999-10-13 04:26:01 +00:00
norris%netscape.com e8f0b53250 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 a0d87839ca [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 8241422540 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 8861c4ceab Initial revision. Not in build. 1999-10-08 21:15:21 +00:00
sspitzer%netscape.com f4e7706dc3 more clean up. #15402. 1999-10-08 07:58:54 +00:00
sspitzer%netscape.com 65686e242a 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 cd58bc6a1e 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 da79f92455 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 75a28423e0 fix build bustage on windows. 1999-10-08 05:14:48 +00:00
sspitzer%netscape.com e6fa7cbcf2 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 4954520feb don't specify the width and height, so the dialog resizes to content. 1999-10-08 00:17:22 +00:00
sspitzer%netscape.com 9c9c732de8 add new line to the end of the file. 1999-10-07 22:05:53 +00:00
sspitzer%netscape.com b693e773fa 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 cca4758400 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 38f906b0c6 minor cleanup of the profile js. #15402 1999-10-07 09:03:07 +00:00
sspitzer%netscape.com 95dbb5ec69 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 ed4d98a30f 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 275b4ab2b4 add an alert if there is no profile name. bug #15402 1999-10-07 00:55:51 +00:00
sspitzer%netscape.com 20bca0f146 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 4404653cbb 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 1bed00905f remove references to xul.css, as it is no longer needed. 1999-10-06 22:07:29 +00:00
sspitzer%netscape.com d883133813 remove unused code, now that CreateNewProfile() takes two arguments 1999-10-06 21:52:02 +00:00
sspitzer%netscape.com 5123dfc1be 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 99b9fee060 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 2cef50a377 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 1ac6e0f8b1 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 65550b4fb1 added files: mozilla/profile/src/nsProfileFactory.cpp 1999-10-05 05:20:58 +00:00
sspitzer%netscape.com be108fd1e8 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 e3cdd7da27 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 da525ed2ee oops -- I carelessly left out a carriage return in my last checkin 1999-10-04 21:07:01 +00:00
morse%netscape.com bca9fba5b6 fix profile-manager bustage in todays build, checked in by request of leaf 1999-10-04 20:59:16 +00:00
beard%netscape.com 9eae33066d 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 0c1aef9920 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 fd592cb480 remove unused files 1999-09-29 04:10:16 +00:00
sspitzer%netscape.com 8eea950be5 ignore generated makefiles 1999-09-29 04:09:01 +00:00
sspitzer%netscape.com 9bd69cb663 fix resources for the profile migration dialog. 1999-09-29 04:07:12 +00:00
sspitzer%netscape.com d05d75212c fix resources for the profile migration dialog. remove unused files. 1999-09-29 04:03:15 +00:00
sspitzer%netscape.com 172d571968 removing unused files, this directory is going away. 1999-09-29 03:11:05 +00:00
shaver%netscape.com 7a5b9d5e55 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
sspitzer%netscape.com bc1ccb9b9a 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 f56dd885dc adding new files. 1999-09-28 21:28:57 +00:00
gayatrib%netscape.com 8757bf2b58 profile ui dtd file 1999-09-28 20:37:16 +00:00
gayatrib%netscape.com 959d32bccc profileManager dtd file 1999-09-28 20:34:32 +00:00
gayatrib%netscape.com e78dd7069d createProfileWizard dtd file 1999-09-28 20:33:45 +00:00
gayatrib%netscape.com 9936a0a3bf makefile 1999-09-28 19:20:50 +00:00
gayatrib%netscape.com 46528cd4a2 css file 1999-09-28 19:19:08 +00:00
gayatrib%netscape.com fe1f70dc0c profileManager javascript 1999-09-28 19:14:35 +00:00
gayatrib%netscape.com 3a13f39371 createProfileWizard javascript 1999-09-28 19:13:50 +00:00
gayatrib%netscape.com 79d6f846b5 profile ui 1999-09-28 19:12:56 +00:00
gayatrib%netscape.com b5c8cd7770 profile manager window 1999-09-28 19:12:27 +00:00
gayatrib%netscape.com 8e32508f5e profile ui 1999-09-28 19:04:57 +00:00
gayatrib%netscape.com f14142c4f3 createProfileWizard ui 1999-09-28 19:02:49 +00:00
sspitzer%netscape.com 99555180c2 remove extra paren 1999-09-28 11:18:42 +00:00
sspitzer%netscape.com eeddeb3503 more fixes for migration on the mac and various cleanup. 1999-09-28 11:16:18 +00:00
sspitzer%netscape.com 3630d5fc86 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 3aaaa92b42 the attribute is a string, not a boolean. 1999-09-28 09:34:27 +00:00
sspitzer%netscape.com e37e3055a2 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 698675b621 whoops, two quotes when there should be only one 1999-09-28 07:47:54 +00:00
sspitzer%netscape.com 8f9dae1f44 only build nsIProfile.idl now. 1999-09-28 07:41:40 +00:00
sspitzer%netscape.com e6388911b9 this is gone. 1999-09-28 07:37:46 +00:00
sspitzer%netscape.com e96fe99b53 fix for #14999. remove the profile appcore 1999-09-28 07:29:25 +00:00
sspitzer%netscape.com 6fc5a89989 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 979446d392 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 ad95cdfecd changes to get migration working on the mac again. #15026, #14689 1999-09-28 04:10:19 +00:00
sspitzer%netscape.com 364c109806 fix for #15054. pref migration progress dialog sizes to content now. 1999-09-28 03:01:53 +00:00
sspitzer%netscape.com 7cef11657b whoops, forgot to StartUp prefs after ShutDown 1999-09-28 01:04:00 +00:00
sspitzer%netscape.com b5f87254c3 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 a44eb041e0 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 f65914a6fd 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 03cf9a6a4d 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 0bfdd1954c fix my build bustage. 1999-09-22 05:32:41 +00:00
sspitzer%netscape.com 9cd60b7e1c fix to use nsXPIDLCString. 1999-09-22 05:00:23 +00:00
sspitzer%netscape.com f9cc174c38 use the right throbber. 1999-09-22 04:57:55 +00:00
sspitzer%netscape.com e965718bbf fix more insanity. 1999-09-22 04:51:06 +00:00
sfraser%netscape.com b25213b72f Fix error in new profile dialog. 1999-09-22 04:22:49 +00:00
sspitzer%netscape.com 8aab0c4f98 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 c2ab9f1860 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 e906ecea6a 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 3a68f476fe checking in fix to build bustage for dbragg 1999-09-22 00:27:03 +00:00
dbragg%netscape.com 289241f541 Removed the nsPMProgressDlg.cpp from the build 1999-09-22 00:05:33 +00:00
kipp%netscape.com 32b3f728e2 Fixed build bustage 1999-09-21 23:40:03 +00:00
dbragg%netscape.com 9603d37111 Added new interface to ProcessPrefs, also fixes build bustage. 1999-09-21 23:17:58 +00:00
saari%netscape.com cb935f51c7 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 56b42df9e7 Added multi-threading capability for the progressbar 1999-09-21 22:39:01 +00:00
dbragg%netscape.com 24fce076f4 Added to the interface for multi-threaded requirements for progressbar. 1999-09-21 22:37:25 +00:00
sspitzer%netscape.com 9dffb62f49 remove my reminder printf for UNIX. UNIX is done. 1999-09-21 07:42:23 +00:00
waterson%netscape.com 06b78978e9 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
sspitzer%netscape.com 28bd25b124 very, very tired of seeing all these printfs. 1999-09-19 19:38:24 +00:00
racham%netscape.com 52a2a620ab 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 17c449e494 make it so the user has there 4.x bookmarks after migration. 1999-09-18 19:32:52 +00:00
briano%netscape.com 977c45c903 Removed the 3 test-tab XUL files that don't exist. 1999-09-18 19:20:27 +00:00
sspitzer%netscape.com eba8d9c336 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 a1ba8b5c4e ignore generated files 1999-09-18 18:13:31 +00:00
sspitzer%netscape.com a93535515c 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 0f4304a85a 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 926d052ee1 This file is not required for profile ui 1999-09-17 23:30:23 +00:00
neeti%netscape.com 7609c24c5b *** empty log message *** 1999-09-17 23:28:56 +00:00
neeti%netscape.com 033b50f733 moved bookmarks.html to defaults/profile 1999-09-17 23:26:54 +00:00
sfraser%netscape.com 586a744c0d First Checked In. 1999-09-17 23:20:53 +00:00
gayatrib%netscape.com f4744af227 adding locale dir to makefile 1999-09-17 23:17:28 +00:00
gayatrib%netscape.com 912d2df10f moving entities into dtds 1999-09-17 23:16:06 +00:00
gayatrib%netscape.com 2bd9b4fc50 makefile for dtds 1999-09-17 22:05:54 +00:00
gayatrib%netscape.com 3793820c87 dtds for profile manager ui 1999-09-17 22:05:04 +00:00
sspitzer%netscape.com 00a15f57f7 close the stream. 1999-09-17 11:47:46 +00:00
dveditz%netscape.com 3509f48fd2 match buffered i/o registry change in XP_MAC section 1999-09-17 07:00:55 +00:00
sspitzer%netscape.com a70ead5340 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 169aac8b82 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 998bcad2f7 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 26a4d6dc7d 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 4b2882a617 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 ec2a267b28 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 0408084a13 Removing tabs that are not supported yet 1999-09-16 00:39:20 +00:00
gayatrib%netscape.com da24c5ad30 Fixing the finish button problem and removing tabs that are not supported yet 1999-09-16 00:38:40 +00:00
gayatrib%netscape.com dff77adc50 fixing bug 13899 1999-09-15 21:23:39 +00:00
alecf%netscape.com 1c716d2c7c 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 5b874e16d1 stupid cut and paste error. 1999-09-15 05:36:53 +00:00
sspitzer%netscape.com 5655835875 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 bf3995a06d 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 89d8209cf8 General cleanup. 1999-09-15 03:00:30 +00:00
ramiro%netscape.com e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
sspitzer%netscape.com 4f057cd26a only automigrate (when we have one profile) on windows. 1999-09-14 11:12:10 +00:00
sspitzer%netscape.com e0b280be86 fix build bustage 1999-09-14 10:43:49 +00:00
sspitzer%netscape.com f9846f9db9 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 afecdc4e8f 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 5068559111 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 afbd510ee3 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 167e2ad607 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 8675ea5ec8 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 8ee819b718 added files: mozilla/profile/pref-migrator/public/nsIPrefMigration.idl 1999-09-13 05:52:26 +00:00
sspitzer%netscape.com 073edb9cac XPIDL-ify nsIPrefMigration, and the necessary changes that go along with that. 1999-09-13 05:52:18 +00:00
sspitzer%netscape.com 5a12798f0f new files resulting from XPIDL-ifying nsIPrefMigration.
NOT PART OF THE BUILD YET.
1999-09-13 04:23:31 +00:00
sspitzer%netscape.com dd8d913ed5 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 762fca642e Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +00:00
sspitzer%netscape.com 03fe870ecd 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 0d184814ac 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 5fc797845d 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 90ed3cfbd2 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 2308a9ce73 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 bef08ecd2c more changes to get profile migration to work on UNIX 1999-09-11 22:18:47 +00:00
sspitzer%netscape.com 158b5aeead rewrite nsPrefMigration to use the pref service instead of old school PREF_* api. 1999-09-11 22:18:22 +00:00
sspitzer%netscape.com 3908912a5c 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 726c31e012 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 30839431b2 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 77e3f69442 src/nsPrefMigration.cpp 1999-09-11 20:05:11 +00:00
sspitzer%netscape.com 4faf8d4ffa 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 560c7a7f95 ignore the generated Makefiles.
they aren't being generated yet, but soon.
1999-09-11 16:10:24 +00:00
sspitzer%netscape.com 9fc02c45ee makefile for building pref-migrator on UNIX. NOT PART OF BUILD YET. 1999-09-11 16:08:15 +00:00
colin%theblakes.com 317c0966aa Tidy up library list 1999-09-11 15:37:40 +00:00
sspitzer%netscape.com ad648fd0fc makfiles for building the pref-migrator on unix. NOT PART OF BUILD YET. 1999-09-11 00:24:28 +00:00
dougt%netscape.com 41333e2a6c Fixing LL_ compare routines. 1999-09-10 18:56:30 +00:00
dbragg%netscape.com cb4ea90170 Added the new mail directory code for POP and IMAP 1999-09-10 18:41:33 +00:00
alecf%netscape.com 629f39c6ec fix printf and don't release the service we're given 1999-09-10 05:38:18 +00:00
alecf%netscape.com 373f71408f fix uninitialize variable that was preventing prefs from saving on windows 1999-09-10 05:25:29 +00:00