From 4cc97da765d48fcdf3f34b771caf12ee9aa662eb Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Tue, 4 Aug 2015 12:00:43 +1000 Subject: [PATCH] Bug 1184005 - Remove readinglist. r=MattN,jaws,adw --- .../sidebar/utils.js | 1 - addon-sdk/source/test/sidebar/utils.js | 1 - browser/app/profile/firefox.js | 5 - browser/base/content/browser-menubar.inc | 28 - browser/base/content/browser-readinglist.js | 376 ------ browser/base/content/browser-sets.inc | 10 - browser/base/content/browser-syncui.js | 119 +- browser/base/content/browser.js | 7 - browser/base/content/browser.xul | 20 - browser/base/content/sync/customize.js | 9 - browser/base/content/sync/customize.xul | 7 - .../test/general/browser_readerMode.js | 25 +- .../browser_readerMode_hidden_nodes.js | 3 +- .../content/test/general/browser_syncui.js | 145 +-- .../customizableui/content/panelUI.inc.xul | 11 - browser/components/moz.build | 1 - .../components/preferences/in-content/sync.js | 6 - .../preferences/in-content/sync.xul | 9 - browser/components/preferences/sync.js | 5 - browser/components/preferences/sync.xul | 8 - .../components/readinglist/ReadingList.jsm | 1120 ----------------- .../components/readinglist/SQLiteStore.jsm | 466 ------- browser/components/readinglist/Scheduler.jsm | 409 ------ .../components/readinglist/ServerClient.jsm | 178 --- browser/components/readinglist/Sync.jsm | 664 ---------- browser/components/readinglist/jar.mn | 7 - browser/components/readinglist/moz.build | 24 - browser/components/readinglist/sidebar.js | 484 ------- browser/components/readinglist/sidebar.xhtml | 34 - .../readinglist/test/ReadingListTestUtils.jsm | 169 --- .../readinglist/test/browser/browser.ini | 7 - .../test/browser/browser_sidebar_list.js | 49 - .../test/browser/browser_sidebar_mouse_nav.js | 82 -- .../test/browser/browser_ui_enable_disable.js | 68 - .../readinglist/test/browser/head.js | 13 - .../readinglist/test/xpcshell/head.js | 56 - .../test/xpcshell/test_ReadingList.js | 782 ------------ .../test/xpcshell/test_SQLiteStore.js | 333 ----- .../test/xpcshell/test_ServerClient.js | 285 ----- .../readinglist/test/xpcshell/test_Sync.js | 333 ----- .../test/xpcshell/test_scheduler.js | 255 ---- .../readinglist/test/xpcshell/xpcshell.ini | 9 - browser/components/uitour/UITour.jsm | 5 +- .../locales/en-US/chrome/browser/browser.dtd | 12 - .../en-US/chrome/browser/browser.properties | 74 +- .../en-US/chrome/browser/preferences/sync.dtd | 2 - .../en-US/chrome/browser/syncCustomize.dtd | 2 - browser/modules/ReaderParent.jsm | 36 - browser/themes/linux/browser.css | 7 - browser/themes/linux/jar.mn | 3 - browser/themes/linux/readinglist/sidebar.css | 41 - browser/themes/osx/browser.css | 7 - browser/themes/osx/jar.mn | 3 - browser/themes/osx/readinglist/sidebar.css | 39 - browser/themes/shared/readinglist/icons.svg | 43 - .../shared/readinglist/readinglist-icon.svg | 12 - .../shared/readinglist/readinglist.inc.css | 34 - .../themes/shared/readinglist/sidebar.inc.css | 111 -- browser/themes/windows/browser.css | 8 - browser/themes/windows/jar.mn | 3 - .../themes/windows/readinglist/sidebar.css | 34 - testing/profiles/prefs_general.js | 3 +- 62 files changed, 17 insertions(+), 7085 deletions(-) delete mode 100644 browser/base/content/browser-readinglist.js delete mode 100644 browser/components/readinglist/ReadingList.jsm delete mode 100644 browser/components/readinglist/SQLiteStore.jsm delete mode 100644 browser/components/readinglist/Scheduler.jsm delete mode 100644 browser/components/readinglist/ServerClient.jsm delete mode 100644 browser/components/readinglist/Sync.jsm delete mode 100644 browser/components/readinglist/jar.mn delete mode 100644 browser/components/readinglist/moz.build delete mode 100644 browser/components/readinglist/sidebar.js delete mode 100644 browser/components/readinglist/sidebar.xhtml delete mode 100644 browser/components/readinglist/test/ReadingListTestUtils.jsm delete mode 100644 browser/components/readinglist/test/browser/browser.ini delete mode 100644 browser/components/readinglist/test/browser/browser_sidebar_list.js delete mode 100644 browser/components/readinglist/test/browser/browser_sidebar_mouse_nav.js delete mode 100644 browser/components/readinglist/test/browser/browser_ui_enable_disable.js delete mode 100644 browser/components/readinglist/test/browser/head.js delete mode 100644 browser/components/readinglist/test/xpcshell/head.js delete mode 100644 browser/components/readinglist/test/xpcshell/test_ReadingList.js delete mode 100644 browser/components/readinglist/test/xpcshell/test_SQLiteStore.js delete mode 100644 browser/components/readinglist/test/xpcshell/test_ServerClient.js delete mode 100644 browser/components/readinglist/test/xpcshell/test_Sync.js delete mode 100644 browser/components/readinglist/test/xpcshell/test_scheduler.js delete mode 100644 browser/components/readinglist/test/xpcshell/xpcshell.ini delete mode 100644 browser/themes/linux/readinglist/sidebar.css delete mode 100644 browser/themes/osx/readinglist/sidebar.css delete mode 100644 browser/themes/shared/readinglist/icons.svg delete mode 100644 browser/themes/shared/readinglist/readinglist-icon.svg delete mode 100644 browser/themes/shared/readinglist/readinglist.inc.css delete mode 100644 browser/themes/shared/readinglist/sidebar.inc.css delete mode 100644 browser/themes/windows/readinglist/sidebar.css diff --git a/addon-sdk/source/test/addons/private-browsing-supported/sidebar/utils.js b/addon-sdk/source/test/addons/private-browsing-supported/sidebar/utils.js index abacd19161e5..e0f6234f65d2 100644 --- a/addon-sdk/source/test/addons/private-browsing-supported/sidebar/utils.js +++ b/addon-sdk/source/test/addons/private-browsing-supported/sidebar/utils.js @@ -11,7 +11,6 @@ const BUILTIN_SIDEBAR_MENUITEMS = exports.BUILTIN_SIDEBAR_MENUITEMS = [ 'menu_socialSidebar', 'menu_historySidebar', 'menu_bookmarksSidebar', - 'menu_readingListSidebar' ]; function isSidebarShowing(window) { diff --git a/addon-sdk/source/test/sidebar/utils.js b/addon-sdk/source/test/sidebar/utils.js index 378c16126318..96c762814c6a 100644 --- a/addon-sdk/source/test/sidebar/utils.js +++ b/addon-sdk/source/test/sidebar/utils.js @@ -17,7 +17,6 @@ const BUILTIN_SIDEBAR_MENUITEMS = exports.BUILTIN_SIDEBAR_MENUITEMS = [ 'menu_socialSidebar', 'menu_historySidebar', 'menu_bookmarksSidebar', - 'menu_readingListSidebar' ]; function isSidebarShowing(window) { diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 4b1991922436..597b3e2b0a73 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1927,11 +1927,6 @@ pref("dom.ipc.reportProcessHangs", false); pref("dom.ipc.reportProcessHangs", true); #endif -pref("browser.readinglist.enabled", false); -pref("browser.readinglist.sidebarEverOpened", false); -pref("readinglist.scheduler.enabled", false); -pref("readinglist.server", "https://readinglist.services.mozilla.com/v1"); - pref("browser.reader.detectedFirstArticle", false); // Don't limit how many nodes we care about on desktop: pref("reader.parse-node-limit", 0); diff --git a/browser/base/content/browser-menubar.inc b/browser/base/content/browser-menubar.inc index 0dccfb835d82..00665152411e 100644 --- a/browser/base/content/browser-menubar.inc +++ b/browser/base/content/browser-menubar.inc @@ -210,10 +210,6 @@ key="key_gotoHistory" observes="viewHistorySidebar" label="&historyButton.label;"/> -