vidur%netscape.com
4a41eee18d
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
2000-09-01 01:54:35 +00:00
naving%netscape.com
e0e9776f2a
Used nsCAutoString function to find if there is port appended to popServerName and then used
...
truncate to get the popServerNamewithoutPort.
2000-09-01 01:02:15 +00:00
naving%netscape.com
488017cc4d
truncating the port number from the popservername because it causes problem
...
in creating directory on windows (Name:port)
2000-08-31 01:45:58 +00:00
locka%iol.ie
c52f68cce4
API changes for embedding. b=46847, r=dougt, a=valeski
2000-08-25 18:39:46 +00:00
scc%mozilla.org
45619b9ff5
fixing code that relied on implicit string construction
2000-08-19 20:52:04 +00:00
dbragg%netscape.com
b4f560ed18
Fix for bugs 47058 and 47097. r=sgehani
2000-08-17 19:28:06 +00:00
warren%netscape.com
4967b0a7cc
Getting jar files in shape. Mostly works on unix, status bar missing (not in build yet).
2000-08-02 06:48:45 +00:00
dbragg%netscape.com
88fb3f8fad
Fix for regression nsbeta2+ bug #45299 . r=sgehani
2000-07-17 19:56:53 +00:00
dbragg%netscape.com
f0d2179212
Fixed some potential NASTY bugs related to fix for bug #36249 . Specifically corrupting the users 4.x prefs.js file. Very bad. r=racham
2000-07-13 23:29:24 +00:00
mkaply%us.ibm.com
e1bd878984
#40177
...
r=cls, a=brendan
Tinderbox break - need MOZ_JS_LIBS - cls approved on #mozilla
2000-07-12 22:42:41 +00:00
dbragg%netscape.com
6deb8dfc16
With more thorough testing, found a couple of bad side effects of initial fix for bug #36249 . Fixes contained here. r=racham
2000-07-11 23:19:37 +00:00
dbragg%netscape.com
e528c85dfa
Optimized Javascript library got added to the wrong target. #36249 .
2000-07-11 19:40:55 +00:00
dbragg%netscape.com
d82f39bb5e
Fix for bug #36249 . r=racham@netscape.com
2000-07-11 19:28:43 +00:00
dbragg%netscape.com
e95d95a13b
makefile and MANIFEST file changes to display out-of-space dialog. Fix for bug#36249. r=racham@netscape.com
2000-07-11 19:26:09 +00:00
dbragg%netscape.com
1e334d6947
Had to add a library to the mcp file to fix bug #36249 . r=racham@netscape.com
2000-07-11 19:23:34 +00:00
dbragg%netscape.com
5b1a702c89
Added new .dtd file for bug #36249
2000-07-11 14:16:07 +00:00
dbragg%netscape.com
4f8f0b5a2d
Added new .xul and js files for bug #36249
2000-07-11 14:15:05 +00:00
mkaply%us.ibm.com
ec38ff3ddb
#42637
...
r=sspitzer, a=brendan
OS/2 bringup - VisualAge treats this like a cast - according to nsFileSpec.h, our way is correct
2000-07-05 13:48:12 +00:00
mcafee%netscape.com
2661679d41
Removing unused 4.x prefs (39812). r=pavlov
2000-06-24 03:32:40 +00:00
mcafee%netscape.com
b09ea813f7
Don't inherit the 4.x cache file location for mozilla (39812). r=pavlov
2000-06-24 03:04:51 +00:00
dougt%netscape.com
e1274cde0a
I IDL-ifying the nsProxyObjectManager.
...
I have updated all users that I found
grepping the source tree.
r=valeski@netscape.com
a=waterson@netscape.com
b=43131
Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
sspitzer%netscape.com
93c4c4fcf0
pass the ns<foo>Stream by reference, not by value. thanks to sfraser
...
for pointing out the mistake in this copied code.
2000-06-15 05:28:31 +00:00
valeski%netscape.com
4491a90adc
41110. r=sspitzer. more nsIWebshellWindow removal.
2000-06-14 03:30:53 +00:00
sspitzer%netscape.com
1338d24776
we can't use the localized pretty name for "Local Folders" for the
...
the hostname of the "Local Folders" server, or for the name of the
directory on disk. if we did, as soon as someone localized "Local Folders"
migration would break. while I'm here, only hard code these strings
once. to allow people to build without mailnews, hard code them in nsIPrefMigration.idl
r=alecf
2000-06-02 02:49:06 +00:00
sspitzer%netscape.com
7838c32762
fix for #36159 , get send unsent messages to work again. while I'm here, remove
...
the rosetta_mailnews.h horse crap. r=mscott.
2000-05-25 01:02:13 +00:00
sfraser%netscape.com
ab963c465c
Remove linkage with NetworkModular.shlb
2000-05-17 06:11:52 +00:00
danm%netscape.com
e6b9efbec5
top-level chrome dirs are now packages,locales,skins
2000-05-13 21:29:08 +00:00
sspitzer%netscape.com
c8df10b44a
more work to make the profile migration progress dialog skinnable.
...
next step is to write some css to make this look better.
2000-05-05 00:07:33 +00:00
sspitzer%netscape.com
f1ac5ee7b8
some skinnability changes for the migration progress dialog.
...
still more needed.
2000-04-30 07:11:42 +00:00
pavlov%netscape.com
812b49b4f0
more string fun
2000-04-27 22:38:19 +00:00
danm%netscape.com
622d6fe83b
dist...chrome restructuring
2000-04-19 21:42:30 +00:00
sspitzer%netscape.com
b546d7ec21
cleanup of some of the migration code. this is needed before we properly fix #36249
2000-04-19 04:58:36 +00:00
sspitzer%netscape.com
ebb07b48c1
backing myself out. the problem of what to do on out of disk space is not
...
going to be fixed this way.
2000-04-19 03:20:23 +00:00
sspitzer%netscape.com
e15fa133a0
fix for #32649 . make it so an error on migration makes its way into an alert for the user.
...
(still more work to do when handling out of space errors.) clean up code.
2000-04-19 00:49:51 +00:00
cls%seawood.org
a27ca31c45
Latest batch of OS/2 makefile changes. Batch 09. Bug #34106
2000-04-18 10:27:21 +00:00
scc%netscape.com
7cb7de4840
making string conversions explicit
2000-04-15 09:47:08 +00:00
cls%seawood.org
57978e5c23
Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
2000-04-04 04:46:38 +00:00
scc%netscape.com
e5d8dec414
making string conversions explicit
2000-04-02 20:34:28 +00:00
scc%netscape.com
3a0de76843
small changes to clients using string converting APIs
2000-03-26 01:40:41 +00:00
sspitzer%netscape.com
7386712faa
fix for #30204 . use GetService instead of CreateInstance.
2000-03-17 08:31:13 +00:00
rickg%netscape.com
4791ab3e8f
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
tbogard%aol.net
23633d9815
Removed dependency on the nsIBrowserWindow interface.
2000-03-11 00:24:47 +00:00
warren%netscape.com
7e37f4f478
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
tbogard%aol.net
2533a18b2b
Removing nsIXULWindowCallbacks as they were removed from active use nearly 8 or more months ago. Getting rid of having to pass it around as a parameter and all that fun stuff. r=danm a=jevering
2000-02-29 22:03:49 +00:00
tbogard%aol.net
c4734766bd
Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering
2000-02-29 00:20:55 +00:00
dbragg%netscape.com
bd8ee12325
Fix build bustage on HPUX. Trailing comma in an enum. a=granrose
2000-02-23 00:56:17 +00:00
dbragg%netscape.com
a0520697cd
backend fix for bug 13850 a=jar r=gayatrib
2000-02-22 23:27:00 +00:00
sspitzer%netscape.com
b4614b164b
fix for #14349 , r=alecf,nhotta a=phil
...
migrate prefs that were in the system charset to utf8.
2000-02-18 03:42:56 +00:00
sspitzer%netscape.com
cb309f741b
fix for #14349 , r=alecf,nhotta a=phil
...
migrate prefs that were in the system charset to utf8.
2000-02-18 03:37:53 +00:00
sspitzer%netscape.com
5b9a21f4d1
don't migrate the .snm files on UNIX
2000-02-13 00:06:19 +00:00
ben%netscape.com
4e2892a9ed
profile manager rewording, r=verah
2000-02-11 05:47:48 +00:00
fergus%netscape.com
72fc015263
Changes to Localization notes. r=chjung@netscape.com
2000-02-11 01:11:35 +00:00
scc%netscape.com
5e041e830f
Pro5 update
2000-02-07 23:06:04 +00:00
ben%netscape.com
b4e9c50e47
cleaned up profile migration progress dialog, r=jst@citec.fi
2000-02-05 03:33:07 +00:00
brade%netscape.com
b174bf571d
fix access paths for move to CW5 (bug #25949 )
2000-02-02 22:45:39 +00:00
danm%netscape.com
73d4a81e1d
changing name of opened window from 'null' to '_blank'. travis' idea. r:me
2000-01-31 21:33:50 +00:00
sspitzer%netscape.com
47d3eae842
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
2467b18158
fix for #23702 . migrate the popstate file on mac and linux. r=mscott
2000-01-19 02:18:49 +00:00
pp%ludusdesign.com
13efd9e8c6
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
9738dce74b
Adding I18N functions for pref migration, bug 14349, r=ftang.
2000-01-11 01:24:21 +00:00
sspitzer%netscape.com
43e4bc8ae9
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
6ebfa81077
Converting to use nsIModule macro. r=dp.
2000-01-03 23:37:30 +00:00
sspitzer%netscape.com
dd2835b6fa
whoops, I removed the title from this window.
1999-12-23 23:10:19 +00:00
sspitzer%netscape.com
9a47f53e5a
forgot an ifdef. this will fix the tree bustage.
1999-12-22 03:37:04 +00:00
sspitzer%netscape.com
31a1365018
fix for #22099 , newsrc migration problems on linux. r=mscott, a=syd.
1999-12-22 03:31:59 +00:00
sspitzer%netscape.com
4bd1b240f5
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
846d57367c
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
d22cb56e6f
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
bcc9cef6bd
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
45171154d9
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
a265a32348
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
1da7d3868d
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
sspitzer%netscape.com
264da824d1
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
e8a7ad9892
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
d610244e7a
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
42fc94a6ec
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
c9198a207c
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
8138489642
Removing use of nsIShutdownListener r=sspitzer
1999-10-31 05:02:55 +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
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
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
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
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
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
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
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
45bb9a84e7
use the right throbber.
1999-09-22 04:57:55 +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
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
sspitzer%netscape.com
aa57531086
make it so the user has there 4.x bookmarks after migration.
1999-09-18 19:32:52 +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
sspitzer%netscape.com
5beee13044
close the stream.
1999-09-17 11:47:46 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
mscott%netscape.com
d596c965b9
fix build breakage by including config.mak
1999-07-29 03:34:22 +00:00
danm%netscape.com
743f1947e6
hooking up window OS border control from JS/C++
1999-07-27 06:34:24 +00:00
dougt%netscape.com
69178099d5
Fix for bug 10177 and 10041.
1999-07-26 22:09:42 +00:00
dbragg%netscape.com
bdee60c11c
Added an #ifdef XP_MAC to return NS_ERROR_FAILURE until we get the mac working. Also added a variable to hold the IMAPMail path.
1999-07-21 21:33:32 +00:00
dougt%netscape.com
9f894eb1c0
First Checked In.
1999-07-19 23:53:25 +00:00
dbragg%netscape.com
d0f151ffef
Added misc migration routine and changed everything to nsFileSpecs were possible.
1999-07-19 21:57:35 +00:00
valeski%netscape.com
2fc2311b4d
getbuffer to tonewcstring change
1999-07-07 14:47:19 +00:00
dveditz%netscape.com
4c4f269dd4
nakefile cleanups
1999-07-02 13:42:17 +00:00
valeski%netscape.com
c636c999c0
NECKO #ifdeffing
1999-06-27 16:35:17 +00:00
dbragg%netscape.com
0d91ab21f2
Changed the way the old profiles are traversed. Added recursive space checking and recursive copying.nsPrefMigration.cpp
1999-06-25 21:12:41 +00:00
danm%netscape.com
962c82d198
teach RunModalDialog to use extant windows; use one in NetSupportDialog (fixes bug 7858). remove AppShellService interface references
1999-06-24 03:29:22 +00:00
warren%netscape.com
23864df5e3
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
dbragg%netscape.com
b24749580d
removed the too-long file names nsPrefMigrationProgressDialog.cpp and .h. They are nos nsPMProgressDlg.cpp and .h
1999-06-21 20:01:28 +00:00
sfraser%netscape.com
acbf552d2c
Leak fixing. CreateNewTopLevel window returns an AddReffed window. You must release it. Also add comments to get someone to think about ownership.
1999-06-19 22:04:52 +00:00
valeski%netscape.com
487d9ea921
NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
1999-06-18 17:34:08 +00:00
dbragg%netscape.com
866e3e0017
Added resources to DIRS macro
1999-06-14 20:58:57 +00:00
dbragg%netscape.com
afcaf4c5fc
Changed name to work on Mac
1999-06-14 20:58:18 +00:00
dbragg%netscape.com
4a1aac835f
Changed an include from nsPrefMigrationProgressDialog.h to nsPMProgressDlg.h
1999-06-14 20:57:04 +00:00
dbragg%netscape.com
960625db6e
Progress Dialog source files name shortening for Mac platform.
1999-06-14 20:27:11 +00:00
dbragg%netscape.com
b39962e041
Progress meter xul and css files initial checkin
1999-06-14 20:25:12 +00:00
racham%netscape.com
ed21fbaaf5
Can't free the input param. fixed it
1999-06-12 00:56:31 +00:00
dbragg%netscape.com
bb3c5e4c1a
Added a progress bar
1999-06-09 20:16:59 +00:00
dbragg%netscape.com
b61d78e6f8
Changed the explicit implementation of AddRef and Release to NS_IMPL_ADDREF and NS_IMPL_RELEASE(nsPrefMigrationFactory)
1999-06-03 20:44:56 +00:00
dbragg%netscape.com
53d6fa9baf
Added *aResult for status values per XPCOM
1999-05-26 21:22:58 +00:00
dbragg%netscape.com
8b9c756a74
Changed DEPTH
1999-05-26 21:22:15 +00:00
dbragg%netscape.com
80a69d4aae
Added *aResult for result values passed as parameters rather than straight returns.
1999-05-26 21:21:37 +00:00
dbragg%netscape.com
255d4da3fc
Changed the depth to take into account the parent profile directory.
1999-05-26 21:20:45 +00:00
dbragg%netscape.com
693da8b249
Top level pref migration tool makefile
1999-05-26 21:19:53 +00:00
dp%netscape.com
0443b20e33
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
dbragg%netscape.com
2ebcb7fa73
Added export of nsPrefMigration.h
1999-05-18 00:06:41 +00:00
dbragg%netscape.com
b3aaec82a6
This file was in the wrong place
1999-05-18 00:03:44 +00:00
dbragg%netscape.com
0864a1ef10
Fixes spacing problems caused by copying to Mac
1999-05-18 00:02:44 +00:00
dougt%netscape.com
7045aab2cb
First Checked In.
1999-05-10 17:27:29 +00:00
dougt%netscape.com
7698fa86ae
File Removed.
1999-05-10 17:27:13 +00:00
dougt%netscape.com
7e2d3e9deb
First Checked In.
1999-05-07 21:35:49 +00:00