230 Commits

Author SHA1 Message Date
ben%bengoodger.com
8c7a7e0ee3 turn off safari migrator until I'm at a mac and can figure this out
git-svn-id: svn://10.0.0.236/trunk@153471 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 08:47:21 +00:00
ben%bengoodger.com
b6c7e3ee58 (215094) - Make Seamonkey & Phoenix migrators copy host permissions file, make automigrate work
git-svn-id: svn://10.0.0.236/trunk@153465 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 07:42:53 +00:00
ben%bengoodger.com
66bc7f75b5 (215094) More Safari profile migrator stuff - detect the default character set for web page fonts.
git-svn-id: svn://10.0.0.236/trunk@153441 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 21:26:25 +00:00
ben%bengoodger.com
c5274e98e2 (215094) - fix compile error in opera profile migrator that for some reason didn't affect linux
git-svn-id: svn://10.0.0.236/trunk@153410 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-01 23:26:00 +00:00
ben%bengoodger.com
e7e0e59225 (215094) - hi-ya! OK, I think I understand what's going on here now, finally. Not only was I leaking, I was also blowing all my buffers. Realloc the buffer alloced by the binary stream when reading a string of bytes from the Opera Cookies file to make room for the null terminator. Hopefully this is cut #999 or #1000 or so in the migrator's linux death.
git-svn-id: svn://10.0.0.236/trunk@153393 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 23:15:19 +00:00
ben%bengoodger.com
51e9faa8a2 (215094) more memory management tweaks
git-svn-id: svn://10.0.0.236/trunk@153391 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 22:35:37 +00:00
ben%bengoodger.com
a4926a0e84 (215094) - let's not play the manual memory management game unless we have to. Use some more XPIDLStrings instead of manually freeing PRUnichar*...
git-svn-id: svn://10.0.0.236/trunk@153390 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 22:07:43 +00:00
ben%bengoodger.com
3d8a7ebfb4 (215094) yes, ben, you are expected to free strings after they're allocated. Except in this case we don't need to do a string copy anymore now that we made the INI parser take a const char*, so just use .get() on the path we got earlier.
git-svn-id: svn://10.0.0.236/trunk@153389 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 22:03:47 +00:00
ben%bengoodger.com
b9fbda2e96 (215094) - leaks, leaks, all around. Free buffers allocated by Binary Stream when reading cookies.
git-svn-id: svn://10.0.0.236/trunk@153388 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 21:58:21 +00:00
ben%bengoodger.com
b6feb2b2eb (215094) - only free the pref transform's |stringValue| field if the transform's type was STRING - otherwise it's uninitalized garbage and can cause us to crash on linux.
git-svn-id: svn://10.0.0.236/trunk@153387 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 21:45:25 +00:00
ben%bengoodger.com
75008e7827 Bring patch from 236010 across - prevent INI parser from reading memory beyond EOF. Patch by Andrew Schultz <ajschult@mindspring.com>, r=bsmedberg, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@153386 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 21:38:36 +00:00
ben%bengoodger.com
76da15ab05 (215094) leak city in opera profile migrator. Switch to using XPIDLCStrings to avoid having to manually free cstrings alloced by INI parser
git-svn-id: svn://10.0.0.236/trunk@153371 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 05:56:43 +00:00
ben%bengoodger.com
7c871bae11 (215094) fix a few warnings
git-svn-id: svn://10.0.0.236/trunk@153370 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 03:21:58 +00:00
ben%bengoodger.com
db94a44da3 (215094) - fix leak in CopySmartKeywords - free the INI parser when we're done with it.
git-svn-id: svn://10.0.0.236/trunk@153367 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 02:20:17 +00:00
ben%bengoodger.com
48c1def90f (215094) - fix a hang in Opera Preferences migration - when no color settings are present in Opera preferences file, do not copy uninitialized variables into buffer
git-svn-id: svn://10.0.0.236/trunk@153366 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 02:18:44 +00:00
ben%bengoodger.com
67333208ff remove another unnecessary printf
git-svn-id: svn://10.0.0.236/trunk@153365 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 01:54:38 +00:00
ben%bengoodger.com
559e9d73b0 remove unnecessary dump
git-svn-id: svn://10.0.0.236/trunk@153364 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 01:50:14 +00:00
ben%bengoodger.com
e913f4cd09 (215094) - Opera Migrator hangs at the end occasionally because of null observer service
git-svn-id: svn://10.0.0.236/trunk@153363 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 01:49:53 +00:00
ben%bengoodger.com
c01bda4743 (215094) Make profile migrator build and somewhat run on Linux
git-svn-id: svn://10.0.0.236/trunk@153361 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 00:48:11 +00:00
ben%bengoodger.com
bafb3c0f52 (215094) - Make Migrator only show options in import data source list that can be imported after the profile has been loaded.
git-svn-id: svn://10.0.0.236/trunk@153208 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 10:23:18 +00:00
ben%bengoodger.com
5c4d98b9be (215094) - migration wizard should not be opened as a modal window on MacOS X.
git-svn-id: svn://10.0.0.236/trunk@153201 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 05:26:34 +00:00
ben%bengoodger.com
27188269f9 (215094) Add Phoenix Profile Migrator to handle old profiles after we change the application directory name to "Firefox" from "Phoenix", shuffle shared code into the Netscape Profile Migrator base.
git-svn-id: svn://10.0.0.236/trunk@153192 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 02:46:07 +00:00
ben%bengoodger.com
8deae0f7d3 (215094) Update string uses, replace history contract id with cid
git-svn-id: svn://10.0.0.236/trunk@153155 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 10:38:24 +00:00
ben%bengoodger.com
b2f7dd95cf Make migration wizard more generic and less complex
git-svn-id: svn://10.0.0.236/trunk@153146 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 05:35:32 +00:00
ben%bengoodger.com
eed5163e24 Extend API to allow the migrators to say if a) the browser is installed and b) the import data sources that are avialable for that browser
git-svn-id: svn://10.0.0.236/trunk@153138 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 03:38:15 +00:00
ben%bengoodger.com
98a39bf82e Bug 234426 - IE profile migrator sets deprecated seamonkey pref browser.startup.page. Fix by Dave Hallowell <dave532@uklinux.net> r=ben@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@153125 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 00:42:12 +00:00
ben%bengoodger.com
178f29006b more safari migrator stuff
git-svn-id: svn://10.0.0.236/trunk@152868 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-18 05:04:22 +00:00
ben%bengoodger.com
33efaa8bdd Begin to do some migration code... add code to the safari migrator that opens a Property List file into a CFDictionary...
git-svn-id: svn://10.0.0.236/trunk@152843 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-17 07:59:11 +00:00
ben%bengoodger.com
30ee1b056e Make the Migrator build on OS X
git-svn-id: svn://10.0.0.236/trunk@152835 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-17 03:59:06 +00:00
ben%bengoodger.com
4c52c1d9d8 Bring migration branch to trunk. This is not turned on yet!
git-svn-id: svn://10.0.0.236/trunk@152786 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-15 00:54:42 +00:00