aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-profile-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* ephy-profile-utils: don't replace environment when spwaning ↵Stefano Facchini2012-09-291-1/+8
| | | | | | | | ephy-profile-migrator Instead, just append the new variable to the existing environment. https://bugzilla.gnome.org/show_bug.cgi?id=683538
* Revert "ephy-profile-utils: don't replace environment when spwaning ↵Xan Lopez2012-09-081-6/+1
| | | | | | | | ephy-profile-migrator" This reverts commit adfecc2bb03ed280543dc5ad4ba6fa350ff00d8c. This breaks the migrator tests.
* ephy-profile-utils: don't replace environment when spwaning ↵Stefano Facchini2012-09-071-1/+6
| | | | | | | | ephy-profile-migrator Instead, just append the new variable to the existing environment. https://bugzilla.gnome.org/show_bug.cgi?id=683538
* ephy-profile-utils: add a profile_dir parameter to ↵Claudio Saavedra2012-09-041-1/+6
| | | | | | | | | ephy_profile_utils_do_migration() This is passed further on to the migrator process. Right now this is unused. https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-profile-migrator: allow running migration in non-default profile ↵Claudio Saavedra2012-09-041-0/+8
| | | | | | | | | | | | | directories This is necessary since we add new columns to the history database in step 8 of migration. However, non-default profile directories don't have a .migrated file right now but, since up to step 7 it was possible to use these profiles without migration, it is safe to assume that a non-default profile without a .migrated file can be migrated starting from step 8. https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-profile-utils: use an index variable instead of manually setting itClaudio Saavedra2012-09-031-6/+6
| | | | This allows us to extend this further cleanly.
* ephy-profile-utils: fix array lengthClaudio Saavedra2012-09-031-1/+1
|
* ephy-profile-utils: pass the required version to the migratorXan Lopez2012-09-011-6/+9
| | | | | | | This should help catch the mistake of not installing the new migrator when the profile version changes. https://bugzilla.gnome.org/show_bug.cgi?id=683134
* ephy-profile-utils: reorder includesXan Lopez2012-09-011-1/+2
|
* ephy-profile-utils: fix memory leakPavel Vasin2012-06-121-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-profile-utils: use absolute path for build dirXan Lopez2012-05-161-1/+1
| | | | That way we can run the tests from any directory in debug mode.
* ephy-profile-utils: tweak migrator location codeXan Lopez2012-05-161-7/+6
| | | | | | The path to the just built migrator is known at compile time, so no need to create strings at runtime. Also, share the name of the binary itself to avoid silly bugs like last time.
* ephy-profile-utils: fix migrator binary nameXan Lopez2012-05-101-1/+1
| | | | Mistakenly changed it to use underscores.
* tests: test that trying to run an invalid migration step failsXan Lopez2012-05-101-3/+25
|
* ephy-profile-utils: make ephy_profile_utils_do_migration more verbose on failureXan Lopez2012-05-091-4/+7
| | | | So we can properly test it.
* ephy-profile-utils: split profile migration from EphyShellXan Lopez2012-05-081-0/+17
| | | | | Call it directly from main, since we want it to happen before the file helpers initialization.
* ephy-profile-utils: use == to compare SoupURI schemesSergio Villar Senin2012-02-241-1/+1
| | | | We can just use it as SOUP_URI_SCHEME_HTTPS is an intern static string.
* ephy-profile-utils: shut up libsoup runtime warningSergio Villar Senin2012-02-241-1/+1
| | | | | | | | It was actually more than a warning. It was preventing epy to recover passwords previously stored in the keyring, as all of them were stored using "/" as the path of the URI. https://bugzilla.gnome.org/show_bug.cgi?id=670431
* ephy-profile-utils: fix crasher when .migrated is unreadableDiego Escalante Urrelo2010-12-071-3/+5
| | | | | When .gnome2/epiphany/.migrated file is unreadable we can hit a crasher due to sscanf. We now check for NULL before feeding sscanf.
* ephy-profile-migration: separate migration code into another binaryDiego Escalante Urrelo2010-12-071-0/+186
The migration code is now in the ephy-profile-migrator binary, this means: - epiphany is not linking to NSS anymore - lib/ephy-profile-migration.c was split into: + lib/ephy-profile-migrator.c: the new ephy-profile-migrator binary + lib/ephy-profile-utils.c: convenience _ephy_profile_*_form_auth_data functions. - testing for migration is done without running ephy-profile-migrator Bug #636685