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
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
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
dougt%netscape.com
4d1a1b38ed
Converting to use nsIModule macro. r=dp.
2000-01-03 23:37:30 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f9cc174c38
use the right throbber.
1999-09-22 04:57:55 +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
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
sspitzer%netscape.com
17c449e494
make it so the user has there 4.x bookmarks after migration.
1999-09-18 19:32:52 +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
sspitzer%netscape.com
00a15f57f7
close the stream.
1999-09-17 11:47:46 +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
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
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
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
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
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
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
dougt%netscape.com
b563171606
fixing build bustage.
1999-09-09 20:30:14 +00:00
dougt%netscape.com
41a7fa078c
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
ec66ed1b78
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
ee89552282
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
cyeh%netscape.com
34cd2ddae1
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
1999-09-01 01:13:14 +00:00
hyatt%netscape.com
26e07f4633
Fixing the build bustage in the prefs migrator. Just call me Mr. Porkjockey.
1999-08-21 10:40:42 +00:00
mccabe%netscape.com
d98f4dca1d
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
danm%netscape.com
0ce57055ba
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
dbragg%netscape.com
faf8896df8
Removed the based.shlb file
1999-08-10 22:43:15 +00:00
dbragg%netscape.com
d92ec06759
Removed the basedebug.shlb file
1999-08-10 22:05:59 +00:00
dbragg%netscape.com
ff4ea358ae
First Checked In.
1999-08-10 21:55:20 +00:00
dveditz%netscape.com
de79697a1a
removing obsolete references to libreg
1999-08-07 03:09:40 +00:00
dbragg%netscape.com
0a2ec06a56
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