From d7263a337d6a2edc9619559fc6a942aad9d889c9 Mon Sep 17 00:00:00 2001 From: "sspitzer%mozilla.org" Date: Sat, 4 Nov 2006 04:48:06 +0000 Subject: [PATCH] fix for bug #356487 make MOZ_PLACES (if enabled) only build the places based history UI, use MOZ_PLACES_BOOKMARKS to turn off the places based bookmarks UI. also addresses bugs: bug #330923: "View -> Sidebar menu" is empty if you build with places bug #355738: implement history sidebar on top of places backend bug #356175: hook up the history menu to the places backend bug #356453: add back "Clear Private Data" menu item bug #356630: add back "History | Show in Sidebar" menu item bug #356631: remove "search in history" and "view all history" menu items bug #357301: add back history and bookmark sidebar toolbar button items, remove places toolbar button bug #358831: history sidebar, right mouse button click should not expand / collapse item r=dietrich, r=gavin --- browser/base/content/browser-context.inc | 4 +- browser/base/content/browser-menubar.inc | 18 +- browser/base/content/browser-sets.inc | 23 +- browser/base/content/browser.css | 2 +- browser/base/content/browser.js | 36 +- browser/base/content/browser.xul | 14 +- browser/base/content/global-scripts.inc | 3 +- browser/base/content/nsContextMenu.js | 2 +- browser/components/Makefile.in | 6 +- browser/components/bookmarks/Makefile.in | 52 - browser/components/build/Makefile.in | 2 +- browser/components/build/nsModule.cpp | 6 +- browser/components/feeds/src/FeedConverter.js | 2 +- .../src/nsMicrosummaryService.js.in | 2452 ----------------- browser/components/migration/src/Makefile.in | 3 +- .../src/nsBrowserProfileMigratorUtils.cpp | 8 +- .../migration/src/nsIEProfileMigrator.cpp | 28 +- .../migration/src/nsIEProfileMigrator.h | 4 +- .../migration/src/nsOperaProfileMigrator.cpp | 24 +- .../migration/src/nsOperaProfileMigrator.h | 6 +- .../migration/src/nsSafariProfileMigrator.cpp | 16 +- .../migration/src/nsSafariProfileMigrator.h | 2 +- .../components/places/content/controller.js | 3 +- .../places/content/history-panel.js | 309 +++ .../places/content/history-panel.xul | 151 + browser/components/places/jar.mn | 4 + browser/components/preferences/jar.mn | 2 +- browser/components/preferences/main.js | 2 +- browser/locales/jar.mn | 4 +- browser/themes/pinstripe/browser/browser.css | 4 +- browser/themes/pinstripe/browser/jar.mn | 6 +- browser/themes/winstripe/browser/browser.css | 4 +- browser/themes/winstripe/browser/jar.mn | 4 +- extensions/metrics/src/Makefile.in | 3 +- extensions/metrics/src/nsProfileCollector.cpp | 14 +- extensions/metrics/src/nsProfileCollector.h | 4 +- .../metrics/src/nsUICommandCollector.cpp | 7 +- xpfe/components/Makefile.in | 2 +- .../search/src/nsInternetSearchService.cpp | 8 +- 39 files changed, 612 insertions(+), 2632 deletions(-) create mode 100644 browser/components/places/content/history-panel.js create mode 100644 browser/components/places/content/history-panel.xul diff --git a/browser/base/content/browser-context.inc b/browser/base/content/browser-context.inc index 3f535fc5510..5d6d5560187 100644 --- a/browser/base/content/browser-context.inc +++ b/browser/base/content/browser-context.inc @@ -55,7 +55,7 @@ #else oncommand="BookmarksUtils.addBookmark(gContextMenu.linkURL, @@ -130,7 +130,7 @@ #else oncommand="gContextMenu.bookmarkThisPage();"/> diff --git a/browser/base/content/browser-menubar.inc b/browser/base/content/browser-menubar.inc index fb71b367f67..49afe0aaee9 100644 --- a/browser/base/content/browser-menubar.inc +++ b/browser/base/content/browser-menubar.inc @@ -155,10 +155,10 @@ label="&viewSidebarMenu.label;" accesskey="&viewSidebarMenu.accesskey;"> -#ifndef MOZ_PLACES +#ifndef MOZ_PLACES_BOOKMARKS - #endif + @@ -355,22 +355,22 @@ +#ifdef MOZ_PLACES_NEW_HISTORY_UI +#endif