Commit Graph

41062 Commits

Author SHA1 Message Date
jfrancis%netscape.com
9650db2cbc adding a default case enum value for rules action enum
git-svn-id: svn://10.0.0.236/trunk@47000 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:33:20 +00:00
jfrancis%netscape.com
0dfe1a3e42 fix for 12675
git-svn-id: svn://10.0.0.236/trunk@46999 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:31:57 +00:00
jfrancis%netscape.com
928bacd9fd fix for 13516
git-svn-id: svn://10.0.0.236/trunk@46998 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:30:53 +00:00
sspitzer%netscape.com
86f8fb6a32 remove obsolete code. define PREF_MAIL_SERVER_TYPE to avoid errors, like using mail.server.type instead of mail.server_type.
git-svn-id: svn://10.0.0.236/trunk@46997 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:13:41 +00:00
sspitzer%netscape.com
846f73d4a4 more changes to get profile migration to work on UNIX. fix stupid mistake that was breaking migration on all platforms.
git-svn-id: svn://10.0.0.236/trunk@46995 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:06:12 +00:00
sspitzer%netscape.com
c4930f7cb4 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
git-svn-id: svn://10.0.0.236/trunk@46994 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 00:14:50 +00:00
warren%netscape.com
65d4baad6d Added assertion for Open failing.
git-svn-id: svn://10.0.0.236/trunk@46993 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 23:48:07 +00:00
idk%eng.sun.com
58c108ead3 Added PlugletTagInfo
Updated test.java
Fixed some build problems


git-svn-id: svn://10.0.0.236/trunk@46992 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 23:47:47 +00:00
beard%netscape.com
1335664f7f Fixed a leak and incorrect copy of C string. Added nsXPIDLCString::operator =() to simplify usage.
git-svn-id: svn://10.0.0.236/trunk@46991 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 23:05:47 +00:00
beard%netscape.com
724005f6ef Added operator = (const char*) as a convenience. always copies argument string.
git-svn-id: svn://10.0.0.236/trunk@46990 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 23:00:38 +00:00
sspitzer%netscape.com
485a84b1c5 if we aren't returning an account, we need to return a failure code.
git-svn-id: svn://10.0.0.236/trunk@46989 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:56:00 +00:00
alecf%netscape.com
ae8ec0437e move Count outside of the debug statements
git-svn-id: svn://10.0.0.236/trunk@46988 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:49:14 +00:00
sspitzer%netscape.com
af3b8389c9 added files: mozilla/mailnews/base/public/nsIMsgProtocolInfo.idl
git-svn-id: svn://10.0.0.236/trunk@46987 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:46:09 +00:00
alecf%netscape.com
fc3bcbbc76 oops, fix this so it builds
git-svn-id: svn://10.0.0.236/trunk@46986 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:43:42 +00:00
alecf%netscape.com
c6b8c6a5f8 add new interface
git-svn-id: svn://10.0.0.236/trunk@46985 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:41:47 +00:00
warren%netscape.com
1d026c4ab1 Re-adding these files.
git-svn-id: svn://10.0.0.236/trunk@46984 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:32:20 +00:00
sspitzer%netscape.com
292bac0935 more changes to get profile migration to work on UNIX
git-svn-id: svn://10.0.0.236/trunk@46983 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:18:47 +00:00
sspitzer%netscape.com
8e7820e688 rewrite nsPrefMigration to use the pref service instead of old school PREF_* api.
git-svn-id: svn://10.0.0.236/trunk@46982 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:18:22 +00:00
sspitzer%netscape.com
e33d52ae4d change the nsIProfileService interface and implemenation. add an Init() method
instead of doing things in the constructor.


git-svn-id: svn://10.0.0.236/trunk@46981 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:15:24 +00:00
dp%netscape.com
70f273dbbf Unhooking RegFactory from windows. xpcom/tools/registry/regxpcom is
the new incarnation.


git-svn-id: svn://10.0.0.236/trunk@46980 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:10:32 +00:00
dp%netscape.com
91fe73547a Unhooking RegFactory from unix. xpcom/tools/registry/regxpcom is the
new incarnation.


git-svn-id: svn://10.0.0.236/trunk@46979 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:09:19 +00:00
dp%netscape.com
a008cb892b Adding regxpcom for windows.
git-svn-id: svn://10.0.0.236/trunk@46978 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:01:14 +00:00
sspitzer%netscape.com
9e8da67f11 follow convention and put the preprocessor macros on the first character of the
line.


git-svn-id: svn://10.0.0.236/trunk@46977 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 21:21:16 +00:00
warren%netscape.com
d00363c174 Attempt to fix linux bustage.
git-svn-id: svn://10.0.0.236/trunk@46976 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 20:45:50 +00:00
sspitzer%netscape.com
6db5bacb60 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.


git-svn-id: svn://10.0.0.236/trunk@46975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 20:07:44 +00:00
sspitzer%netscape.com
b782debcf6 src/nsPrefMigration.cpp
git-svn-id: svn://10.0.0.236/trunk@46974 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 20:05:11 +00:00
alecf%netscape.com
ed5e082148 fix bustage, return the default account correctly
git-svn-id: svn://10.0.0.236/trunk@46973 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:57:45 +00:00
alecf%netscape.com
627fde34a1 stop linking against prefs
git-svn-id: svn://10.0.0.236/trunk@46972 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:55:00 +00:00
sspitzer%netscape.com
cd139ab180 changes to get pref-migrator (think apprunner -installer) on UNIX.
use the NS_DEFINE_STATIC_IID_ACCESSOR and NS_DEFINE_STATIC_CID_ACCESSOR macros.
fix a bunch of warnings.  rewrite to use #defines. remove unused variables.  use MAXPATHLEN instead of _MAX_PATH.
when setting a 4.x pref (example "mail.directory") to a new 5.0 value, create a "premigration" pref
with the old value.  (example "premigration.mail.directory").


git-svn-id: svn://10.0.0.236/trunk@46971 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:48:50 +00:00
alecf%netscape.com
bcd7f22022 don't link against prefs anymore
git-svn-id: svn://10.0.0.236/trunk@46970 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:44:42 +00:00
alecf%netscape.com
a2b08be4ba stop linking against prefs, and eliminate commented-call that was showing up on my queries
git-svn-id: svn://10.0.0.236/trunk@46969 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:43:46 +00:00
warren%netscape.com
d89e3159db More fixes for nsCOMPtr inconsistencies.
git-svn-id: svn://10.0.0.236/trunk@46968 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:43:06 +00:00
warren%netscape.com
bc732af149 Fix for linux breakage.
git-svn-id: svn://10.0.0.236/trunk@46967 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:32:03 +00:00
sspitzer%netscape.com
33ec4d6c22 define a bunch of string constants to clean up the code.
implement Convert4xUri().  (still a little more todo, so that it works on
windows and mac.)  implement ProceedWithMigration() which will is used
to determine if we really have something to migrate or not.
add a check in GetDefaultAccount() so that if the number of accounts
is 0, we don't try to set the default account.  (this was causing us to abort.)


git-svn-id: svn://10.0.0.236/trunk@46966 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:17:50 +00:00
sspitzer%netscape.com
1ba62944db adding the default value for mail.server_type back.
if the user was using pop in 4.x, this defaults to 0.
a ton of code depends on it being 0, and not undefined.
alecf removed it, using it as a way to tell if we needed to migrate the prefs
or not.  Instead, I'm using other prefs to do that.
see nsMsgAccountManager::ProceedWithMigration() for the logic.


git-svn-id: svn://10.0.0.236/trunk@46965 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:14:15 +00:00
alecf%netscape.com
0f02d87111 bulletproof to prevent crashing
(asserts will still go off)


git-svn-id: svn://10.0.0.236/trunk@46964 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:11:53 +00:00
sspitzer%netscape.com
882615ac4e mailnews/base/src/nsMsgAccountManager.cpp
git-svn-id: svn://10.0.0.236/trunk@46963 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:10:30 +00:00
sspitzer%netscape.com
202d4703cf add a dump statement, so I know what's going on and when this is being called.
git-svn-id: svn://10.0.0.236/trunk@46962 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:10:06 +00:00
warren%netscape.com
d54498ba38 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel.
git-svn-id: svn://10.0.0.236/trunk@46961 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 18:45:36 +00:00
peterl%netscape.com
f74e47bfb3 even better li bullet positioning
git-svn-id: svn://10.0.0.236/trunk@46960 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 18:20:30 +00:00
rods%netscape.com
4870c51736 It now checks to see if option elements have a "\n" in them and it strips them out
git-svn-id: svn://10.0.0.236/trunk@46959 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 17:28:36 +00:00
sspitzer%netscape.com
c3acfc4a96 ignore the generated Makefiles.
they aren't being generated yet, but soon.


git-svn-id: svn://10.0.0.236/trunk@46958 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 16:10:24 +00:00
sspitzer%netscape.com
10d392f7d9 makefile for building pref-migrator on UNIX. NOT PART OF BUILD YET.
git-svn-id: svn://10.0.0.236/trunk@46957 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 16:08:15 +00:00
colin%theblakes.com
2902c391d4 Tidy up library list
git-svn-id: svn://10.0.0.236/trunk@46956 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 15:37:40 +00:00
rods%netscape.com
74d86a50e3 when <option></option> no text node gets created for the option element
it now checks and makes sure one gets created


git-svn-id: svn://10.0.0.236/trunk@46955 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 14:55:33 +00:00
dp%netscape.com
ac2c41ab50 regxpcom : does autoreg and registers/unregisters individual dlls.
The new incarnation of RegFactory. RegFactory will be retired.


git-svn-id: svn://10.0.0.236/trunk@46954 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 14:51:55 +00:00
dp%netscape.com
1f56932ae0 Implemented dll enumeration and prepopulation. Improves startup performance.
git-svn-id: svn://10.0.0.236/trunk@46953 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 14:49:55 +00:00
alecf%netscape.com
99bb341f6e oops, had CIDs and if/elses in the wrong place
git-svn-id: svn://10.0.0.236/trunk@46952 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 10:49:12 +00:00
alecf%netscape.com
6ba93c6a35 switch back to COMPtrs for now because nsDOMNodes don't support weak references (arg)
git-svn-id: svn://10.0.0.236/trunk@46951 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 10:48:42 +00:00
alecf%netscape.com
b1edb5ea7a fix random typos and prevent crashes on blank documents
git-svn-id: svn://10.0.0.236/trunk@46950 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 10:47:56 +00:00