Changeset 99578 in webkit
- Timestamp:
- Nov 8, 2011, 9:36:04 AM (14 years ago)
- Location:
- trunk/Source/WebKit/gtk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/gtk/ChangeLog
r99239 r99578 1 2011-11-08 Zan Dobersek <zandobersek@gmail.com> 2 3 [WK][GTK] Application cache directory is incorrectly set 4 https://bugs.webkit.org/show_bug.cgi?id=71769 5 6 Reviewed by Martin Robinson. 7 8 Set the application cache directory to be placed in current user's 9 cache directory and update documentation for 10 webkit_application_cache_get_database_directory_path after these 11 changes and changes in r80715; 12 13 * webkit/webkitapplicationcache.cpp: 14 * webkit/webkitglobals.cpp: 15 (webkitInit): Switch one string formation to use GOwnPtr<gchar>. 16 1 17 2011-11-03 Darin Adler <darin@apple.com> 2 18 -
trunk/Source/WebKit/gtk/webkit/webkitapplicationcache.cpp
r95919 r99578 66 66 67 67 /** 68 * webkit_ spplication_cache_get_database_directory_path:68 * webkit_application_cache_get_database_directory_path: 69 69 * 70 * Returns the currentpath to the directory WebKit will write web application71 * cache databases . By default this path is set to $XDG_DATA_HOME/webkit/databases72 * with webkit_application_cache_set_database_directory_path70 * Returns the path to the directory WebKit will write web application 71 * cache databases to. By default this path is set to 72 * $XDG_CACHE_HOME/webkitgtk/applications and cannot be modified. 73 73 * 74 * Returns: the currentapplication cache database directory path74 * Returns: the application cache database directory path 75 75 * 76 76 * Since: 1.3.13 -
trunk/Source/WebKit/gtk/webkit/webkitglobals.cpp
r95919 r99578 317 317 atomicCanonicalTextEncodingName("UTF-8"); 318 318 319 gchar* databaseDirectory = g_build_filename(g_get_user_data_dir(), "webkit", "databases", NULL);320 webkit_set_web_database_directory_path(databaseDirectory );321 WebCore::cacheStorage().setCacheDirectory(databaseDirectory); 322 323 g_free(databaseDirectory);319 GOwnPtr<gchar> databaseDirectory(g_build_filename(g_get_user_data_dir(), "webkit", "databases", NULL)); 320 webkit_set_web_database_directory_path(databaseDirectory.get()); 321 322 GOwnPtr<gchar> cacheDirectory(g_build_filename(g_get_user_cache_dir(), "webkitgtk", "applications", NULL)); 323 WebCore::cacheStorage().setCacheDirectory(cacheDirectory.get()); 324 324 325 325 PageGroup::setShouldTrackVisitedLinks(true);
Note:
See TracChangeset
for help on using the changeset viewer.