Commit Graph

226 Commits

Author SHA1 Message Date
ben@bengoodger.com
9ab712ac0f (215094) - fix compile error in opera profile migrator that for some reason didn't affect linux 2004-03-01 23:26:00 +00:00
ben@bengoodger.com
7a67da15ef (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. 2004-02-29 23:15:19 +00:00
ben@bengoodger.com
4de41ece0c (215094) more memory management tweaks 2004-02-29 22:35:37 +00:00
ben@bengoodger.com
45a6c603e0 (215094) - let's not play the manual memory management game unless we have to. Use some more XPIDLStrings instead of manually freeing PRUnichar*... 2004-02-29 22:07:43 +00:00
ben@bengoodger.com
7a607f7dc3 (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. 2004-02-29 22:03:47 +00:00
ben@bengoodger.com
bf83e50ab3 (215094) - leaks, leaks, all around. Free buffers allocated by Binary Stream when reading cookies. 2004-02-29 21:58:21 +00:00
ben@bengoodger.com
3fc9a5938e (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. 2004-02-29 21:45:25 +00:00
ben@bengoodger.com
ea52a49520 Bring patch from 236010 across - prevent INI parser from reading memory beyond EOF. Patch by Andrew Schultz <ajschult@mindspring.com>, r=bsmedberg, sr=dveditz 2004-02-29 21:38:36 +00:00
ben@bengoodger.com
af42308eac (215094) leak city in opera profile migrator. Switch to using XPIDLCStrings to avoid having to manually free cstrings alloced by INI parser 2004-02-29 05:56:43 +00:00
ben@bengoodger.com
1055de2856 (215094) fix a few warnings 2004-02-29 03:21:58 +00:00
ben@bengoodger.com
210df2eefd (215094) - fix leak in CopySmartKeywords - free the INI parser when we're done with it. 2004-02-29 02:20:17 +00:00
ben@bengoodger.com
7ab6ef7e34 (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 2004-02-29 02:18:44 +00:00
ben@bengoodger.com
85902821bd remove another unnecessary printf 2004-02-29 01:54:38 +00:00
ben@bengoodger.com
a6e94a91fb (215094) - Opera Migrator hangs at the end occasionally because of null observer service 2004-02-29 01:49:53 +00:00
ben@bengoodger.com
aa4cb530dc (215094) Make profile migrator build and somewhat run on Linux 2004-02-29 00:48:11 +00:00
ben@bengoodger.com
f4b563de82 (215094) - Make Migrator only show options in import data source list that can be imported after the profile has been loaded. 2004-02-25 10:23:18 +00:00
ben@bengoodger.com
387983df8c (215094) - migration wizard should not be opened as a modal window on MacOS X. 2004-02-25 05:26:34 +00:00
ben@bengoodger.com
7b55e11c2e (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. 2004-02-25 02:46:07 +00:00
ben@bengoodger.com
24a82dcf65 (215094) Update string uses, replace history contract id with cid 2004-02-24 10:38:24 +00:00
ben@bengoodger.com
70bf6bba74 Make migration wizard more generic and less complex 2004-02-24 05:35:32 +00:00
ben@bengoodger.com
dacd600fcc 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 2004-02-24 03:38:15 +00:00
ben@bengoodger.com
30b930d5f1 Bug 234426 - IE profile migrator sets deprecated seamonkey pref browser.startup.page. Fix by Dave Hallowell <dave532@uklinux.net> r=ben@mozilla.org 2004-02-24 00:42:12 +00:00
ben@bengoodger.com
06ec66d0e6 more safari migrator stuff 2004-02-18 05:04:22 +00:00
ben@bengoodger.com
95788d3cd5 Begin to do some migration code... add code to the safari migrator that opens a Property List file into a CFDictionary... 2004-02-17 07:59:11 +00:00
ben@bengoodger.com
027c586052 Make the Migrator build on OS X 2004-02-17 03:59:06 +00:00
ben@bengoodger.com
8563409bd1 Bring migration branch to trunk. This is not turned on yet! 2004-02-15 00:54:42 +00:00