Commit Graph

1159 Commits

Author SHA1 Message Date
Marco Bonardo
62fdcab789 Bug 822848 - hide the detailsPane for the new downloads view.
r=Mano
2012-12-28 00:54:51 +01:00
Marco Bonardo
427c86fcc4 Bug 825060 - Enable the new Library Downloads view by default when the panel is enabled.
r=mconley
2012-12-28 00:54:48 +01:00
Josh Matthews
3847d4e353 Backed out changeset 5840a8b5cc21 (bug 825060) 2012-12-27 20:44:22 -05:00
Josh Matthews
908e4eea3a Backed out changeset cce44d592e67 (bug 822848) 2012-12-27 20:44:20 -05:00
Marco Bonardo
1926b68803 Bug 822848 - hide the detailsPane for the new downloads view.
r=Mano
2012-12-28 00:54:51 +01:00
Marco Bonardo
5a4f61c4b8 Bug 825060 - Enable the new Library Downloads view by default when the panel is enabled.
r=mconley
2012-12-28 00:54:48 +01:00
Asaf Romano
0eb07985fe Bug 824240 - Make the Downloads View Seamonkey-friendly. r=mak 2012-12-27 16:50:56 +02:00
Ehsan Akhgari
50712d8d45 Bug 823580 - Remove PlacesUIUtils.privateBrowsing usages in per-window PB builds; r=jdm
--HG--
extra : rebase_source : 4b6e55e3da4f57411cf2c3b996adad16ab22d228
2012-12-20 12:41:52 -05:00
Asaf Romano
5da9aab5a7 Bug 815352 (part 1) - Move the Library downloads view to an overlay in browser/downloads.
r=mak

--HG--
rename : browser/components/places/content/downloadsView.js => browser/components/downloads/content/allDownloadsViewOverlay.js
rename : browser/components/places/content/download.css => browser/components/downloads/content/download.css
rename : browser/themes/gnomestripe/downloads/downloads.css => browser/themes/gnomestripe/downloads/allDownloadsViewOverlay.css
rename : browser/themes/winstripe/downloads/downloads.css => browser/themes/winstripe/downloads/allDownloadsViewOverlay.css
2012-12-20 12:03:11 +01:00
Asaf Romano
929aa65919 Bug 822343 - Downloads view takes far too long to render. Step 1 - fix some trivial stuff (use document fragments and resue nsiuri objects). This alone has somewhat limited impact on performance. r=mak 2012-12-19 07:18:56 +00:00
Marco Bonardo
bd8d9ac107 Bug 822692 - Downloads titles are often empty in the Library view.
r=mconley
2012-12-18 18:02:05 +01:00
Asaf Romano
e6847d3abf Bug 675902 - Follow up patch: Don't reload the download views multiple times when it's loaded. r=mak 2012-12-17 19:21:55 +00:00
Marco Bonardo
034a583dbc Bug 821328 - PlacesUIUtils._openNodeIn throws with alt modifier.
r=dao
2012-12-17 15:13:52 +01:00
Mike Conley
4c87729070 Bug 817006 - "Remove from List" option in the Downloads Panel should be clarified as "Remove from History". r=mak. 2012-12-14 12:51:52 -05:00
Asaf Romano
6ef57d171e Relanding Bug 675902 - New Downloads view for Places Library. r=mak. Test fix contributed by Mike Conley (r=me). The new view is still disabled. 2012-12-17 07:38:53 +00:00
Boris Zbarsky
d1c362908b Back out bug 675902 (rev 627a842914d0) from CLOSED TREE because it fails browser-chrome tests. 2012-12-14 16:48:49 -05:00
Boris Zbarsky
0bb04dc300 Back out bug 817006 (rev 0852e5efadac) because it depends on a patch I'm about to back out for test failures. 2012-12-14 16:46:51 -05:00
Mike Conley
7513809c0c Bug 817006 - "Remove from List" option in the Downloads Panel should be clarified as "Remove from History". r=mak. 2012-12-14 12:51:52 -05:00
Asaf Romano
6172e1aa17 Bug 675902 - Implement the new Downloads view for the places Library window; r=mak 2012-12-14 12:32:20 -05:00
Gregory Szorc
edbe265106 Bug 819033 - Part 0: Remove references to private xpcshell variables; r=paolo 2012-12-11 10:53:24 -08:00
Paolo Amadini
ecf49e6b46 Bug 763295 - Port the bookmarks export service to JavaScript. r=mak 2012-12-08 20:50:54 +01:00
Seth Fowler
c42d3467d8 Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Josh Matthews
c78cb042e7 Bug 812828 - If there's no active window when opening targets in tabs, assume we don't want private browsing. r=mak 2012-11-19 16:40:32 +00:00
Marco Bonardo
eeb0141355 Bug 773982 - Always show hidden entries when searching history.
r=mano
2012-11-15 12:33:06 +01:00
Josh Matthews
71845a70ae Bug 723005 - Remove all checks for global privacy status in history-related code, and add them to callers when appropriate. r=mak sr=gavin 2012-02-18 01:40:10 -05:00
Paolo Amadini
ddc3904565 Bug 775495 - Replace waitForClearHistory and waitForAsyncUpdates with versions that return promises, and remove waitForFrecency. r=mak 2012-11-11 14:01:49 +01:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Johan Charlez
e48adcdbb9 Bug 750544 - Remove the scope bar from the Library window. r=mano. 2012-10-30 19:36:16 +02:00
Andres Hernandez
59031ba05a Bug 722987 - Places UI makes decisions based on global Private Browsing state; r=ehsan 2012-10-24 14:04:38 -06:00
David Zbarsky
fc6f3c9e95 Bug 797419 - Fix strict mode warnings in controller.js r=mak 2012-10-10 15:20:39 -04:00
Ehsan Akhgari
8f596b4339 Bug 799126 - Rename ClearRecentHistory to ForgetAboutSite; r=jdm
--HG--
rename : browser/components/privatebrowsing/src/ClearRecentHistory.jsm => browser/components/privatebrowsing/src/ForgetAboutSite.jsm
2012-10-08 11:55:41 -04:00
Ehsan Akhgari
803b082135 Bug 774963 - Remove removeDataFromDomain from nsIPrivateBrowsingService, and put it in its own JS module, ClearRecentHistory; r=jdm 2012-10-03 11:29:10 -04:00
OHZEKI Tetsuharu
6db103f0f7 Bug 797430 - Fix cannot move a bookmark separator by drag & drop. r=mak 2012-10-03 18:19:23 -04:00
Dão Gottwald
6ac8d487f8 Bug 783273 - Work around doGetPlacesControllerForCommand being called while the browser window is already closed (fixes intermittently failing browser_350525.js and browser_bug734076.js). r=mak 2012-10-03 12:23:05 +02:00
Yosy
30c966d339 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
Benjamin Peterson
25758be060 Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy
d78b3767d6 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 16:48:23 +02:00
Andres Hernandez
fecdfd5725 Bug 781973 - Use filepicker's open() instead of the obsolete show() in /browser. r=bbondy 2012-09-19 17:21:38 -06:00
Andres Hernandez
13b53f0578 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Dão Gottwald
0cc3bef81d Bug 776271 - Don't focus the content area when closing a places context menu. r=mano 2012-07-31 02:16:08 +02:00
Asaf Romano
f7516af9b1 Bug 760940 - Bookmarks and history menus behave incorrectly due to non-node weak map keys. r=mak 2012-07-24 17:20:57 +03:00
Ekanan Ketunuti
94cd0666cb Bug 772463 - Unprefix CSS3 transforms in browser/. r=dao
--HG--
extra : rebase_source : d22aeb4bcb6e14ff9bef9408e483b9a26d17bdc0
2012-07-16 22:10:27 +07:00
Michal Novotny
6feca586d7 Bug 737615 - Remove use of synchronous cache API from unit tests - browser tests, r=bsmith 2012-07-11 11:18:13 +02:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Asaf Romano
60717a1f5a Bug 762799 - Cannot open bookmark from sidebar with keyboard (with Enter key). r=mak 2012-06-28 21:24:44 +03:00
Asaf Romano
76763d075e Bug 761494 - Cannot open all Bookmarks in tabs by Middle clicking a folder in Sidebar. r=mak 2012-06-28 21:14:45 +03:00
Ehsan Akhgari
a95b6edeea Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Asaf Romano
78842af74b Bug 730340 - Bug 730340 - Don't use expando properties for storing data on places nodes. Don't use an expando to mark cut nodes. r=mak. 2012-06-03 15:01:15 +03:00
Asaf Romano
8f165f5f5d Bug 730340 - Fix typo found by neil, remove useless comments. 2012-06-02 23:24:19 +03:00
Asaf Romano
d17a36b7a7 Bug 730340 - Don't use expando properties for storing data on places nodes. Part 3 - cache livemark-info object in the controller for each view instead of setting _feedURI and _siteURI exapndos on livemark nodes. Also fix a bug I introduced in the previous check for this bug, in PVB_nodeHistoryDetailsChanged. r=mak 2012-06-02 16:54:25 +03:00
Asaf Romano
63c1bddcb6 Bug 730340 - Don't use expando properties for storing data on places nodes. part 1 - use a WeakMap for mapping places nodes to DOM nodes. part 2 - use a WeakMap for cellProperties in treeView.js; stop caching _plainContainer. r=mak 2012-06-01 23:03:00 +03:00
Marco Bonardo
967450f1a5 Bug 753672 - Remove old code that is breaking live-update of the bookmarks chevron view.
r=mano
2012-05-30 16:11:34 +02:00
Asaf Romano
b3c057c12b Bug 748569 - Fix few migration regressions (reset profile feature is broken - bug 748047, bookmarks.html not imported during migration - bug 738263, default-browser detection during migration is completely broken and few more minor issues). r=mak 2012-05-28 12:43:59 +03:00
Marco Bonardo
2a53ba3242 Bug 753205 - Add back separators support to bookmarks HTML import.
r=dietrich

--HG--
rename : browser/components/places/tests/unit/bookmarks.corrupt.html => toolkit/components/places/tests/unit/bookmarks.corrupt.html
rename : browser/components/places/tests/unit/bookmarks.preplaces.html => toolkit/components/places/tests/unit/bookmarks.preplaces.html
rename : browser/components/places/tests/unit/test_384370.js => toolkit/components/places/tests/unit/test_384370.js
rename : browser/components/places/tests/unit/test_398914.js => toolkit/components/places/tests/unit/test_398914.js
rename : browser/components/places/tests/unit/test_bookmarks_html.js => toolkit/components/places/tests/unit/test_bookmarks_html.js
rename : browser/components/places/tests/unit/test_457441-import-export-corrupt-bookmarks-html.js => toolkit/components/places/tests/unit/test_bookmarks_html_corrupt.js
rename : browser/components/places/tests/unit/test_bookmarksRestoreNotification.js => toolkit/components/places/tests/unit/test_bookmarks_restore_notification.js
2012-05-24 17:33:54 +02:00
Raymond Lee
fc96bc959f Bug 728626 - Non-Firefox tests should not use 'about:robots' which is Firefox specific. r=ttaubert 2012-05-22 09:25:49 +08:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Johan Charlez
b1c8c4ed11 Bug 503370 - Library doesn't handle CTRL+F correctly. r=dao 2012-05-03 06:22:32 -04:00
Raymond Lee
426bc7fa7f Bug 730840 - Use getBrowserURL() in Firefox tests to ease porting them. r=dao 2012-04-27 09:44:53 +08:00
Marco Bonardo
8bfa9cfb36 Bug 739968 - MigrationUtils.jsm import should use app modules resource url.
r=fryn a=desktop-only
2012-04-19 22:17:02 +02:00
Marco Bonardo
1648fe7a21 Bug 741506 - Removing nodes while a bookmarks popup is open in OS X native menubar zombifies them.
r=Mano
2012-04-14 14:08:43 +02:00
Paolo Amadini
d40ad60816 Bug 715355 - Deprecate and remove old style GUIDs. r=mak
--HG--
extra : rebase_source : 0d0a2ac825ed674075e8e85607a496668953c6c1
2012-04-12 12:27:57 +02:00
Paolo Amadini
3706e25e63 Bug 728174 - Replace old synchronous favicons calls in the bookmarks HTML import. r=mak
--HG--
extra : rebase_source : ddb3109fa13f41bdfb2f265f7850453905145a07
2012-04-12 12:27:36 +02:00
Ms2ger
488b5263dd Merge m-c to m-i. 2012-04-09 09:32:28 +02:00
Serge Gautherie
0d9930bb87 Bug 739041. (Dv1a-FF) test_384370.js: Move after_import() into run_test(), Use Services.prefs too. f=neil r=mak77. 2012-04-07 01:56:32 +02:00
Serge Gautherie
9c823609a1 Bug 739041. (Cv1a-FF) test_browserGlue_prefs.js: Move comment back to its related code, s/print/do_log_info/g. r=mak77. 2012-04-06 16:31:25 +02:00
Marco Bonardo
98ac9c56b8 Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin

--HG--
rename : toolkit/components/places/tests/queries/test_redirectsMode.js => toolkit/components/places/tests/queries/test_redirects.js
2012-04-07 01:17:53 +02:00
Asaf Romano
0ab1494b48 Bug 739451 - Don't rely on XPConnect-magic for getting the owner window of a places view (Required for compartment-per-global work). r=mak 2012-04-06 16:43:54 +03:00
Serge Gautherie
ec9f4bb5d7 Bug 741066. (Av1) browserPlacesViews.js: Fix 2 "function ... does not always return a value". r=mak77. 2012-04-03 15:43:25 +02:00
Serge Gautherie
331025ccac Bug 741065. (Av1) controller.js: Fix "function PCDH_onDrop does not always return a value". r=mak77. 2012-04-03 15:42:06 +02:00
Serge Gautherie
8d70c23ab3 Bug 741064. (Av1) Fix "function PTV__buildVisibleSection does not always return a value". r=mano. 2012-04-01 18:13:44 +02:00
OHZEKI Tetsuharu
f48e5a39b6 Bug 647951 - Fix for "window.top.XULBrowserWindow is null" error. r=mak 2012-03-28 20:35:13 +02:00
Henri Sivonen
2281a81cb7 Bug 482911 addendum - Tell nsBrowserGlue not to import initial bookmarks in a couple of tests to avoid fatal assertions on Mac. r=mak. 2012-03-23 16:57:13 +02:00
Henri Sivonen
2eb27ead85 Bug 482911 - Reimplement Netscape bookmark import using the HTML5 parser. r=mak, sr=gavin.
--HG--
rename : toolkit/components/places/nsPlacesImportExportService.cpp => toolkit/components/places/nsPlacesExportService.cpp
rename : toolkit/components/places/nsPlacesImportExportService.h => toolkit/components/places/nsPlacesExportService.h
2012-03-23 09:15:36 +02:00
Henri Sivonen
98c2fd10a7 Back out changeset d2693e86769d (bug 482911) due to crashes on Mac xpcshell tests. r=orange. 2012-03-23 11:25:08 +02:00
Henri Sivonen
4dbc4331f0 Bug 482911 - Reimplement Netscape bookmark import using the HTML5 parser. r=mak, sr=gavin.
--HG--
rename : toolkit/components/places/nsPlacesImportExportService.cpp => toolkit/components/places/nsPlacesExportService.cpp
rename : toolkit/components/places/nsPlacesImportExportService.h => toolkit/components/places/nsPlacesExportService.h
2012-03-23 09:15:36 +02:00
Asaf Romano
00b4826f3d Bug 718608 - Migration code shrink and cleanup: unified code for notifications and error handling, prepare for deCOM. r=mak. sr=gavin on the interface change. browser/components/build part was done by mak (r=bsmedberg. 2012-03-21 21:20:47 +02:00
Marco Bonardo
9c9f4bbcf2 Bug 735625 - Get rid of ImportHTMLFromFileToFolder.
r=dietrich sr=gavin
2012-03-16 00:12:49 +01:00
Owen Jones
4ce914fa00 Bug 603817 - Properly update personal-bookmarks contents when it's put in the tabs toolbar.
r=mak
2012-03-13 00:33:54 +01:00
Marco Bonardo
2a66e62871 Bug 734646 - Duplicate bookmark item in the toolbar chevron popup.
r=mano
2012-03-12 14:59:55 +01:00
Marco Bonardo
df9ac0012f Bug 734631 - Properly handle status menuitem changes in Places popups.
r=mano
2012-03-12 14:59:54 +01:00
Marco Bonardo
3051cd7520 Bug 725047 - Remove the hack for dragging bookmarks toolbar folders on Linux.
r=mano
2012-03-08 18:00:46 +01:00
Marco Bonardo
359fdb663d Bug 731274 - Make reloadLivemarks optionally force reloads and use it to speed up livemarks population.
r=dietrich sr=gavin
2012-03-08 11:14:59 +01:00
Marco Bonardo
63a4c6c5e2 Bug 732404 - Remove dead handlers from editBookmarkOverlay.xul
r=mano
2012-03-08 11:14:57 +01:00
Marco Bonardo
7a53ebb551 Merge inbound and central 2012-03-07 10:33:11 +01:00
Marco Bonardo
afb1fef86e Bug 731563 - Make Places view markers proper elements in the popups.
r=mano
2012-03-06 20:28:51 +01:00
Serge Gautherie
dcf9b5b30f Bug 731663. (Bv1a-FF) test_bookmarks_html.js: Fix nits, Add/Use do_print(), Improve documentation. r=mak77. 2012-03-05 19:44:47 +01:00
OHZEKI Tetsuharu
e8e7a60fc8 Bug 580814 - Avoid accessing rows that don't exist in treeviews for Places. r=mak 2012-03-04 12:36:14 -05:00
Marco Bonardo
b3c39a8f38 Bug 658744 - disable browser_sidebarpanels_click.js cause it breaks the treeview and then tests zombie nodes.
rs=dietrich
2012-02-29 23:18:02 +01:00
Marco Bonardo
e98bf59661 Bug 731123 - Live Bookmarks in bookmarks menu no longer update.
r=mano
2012-02-29 11:24:31 +01:00
OHZEKI Tetsuharu
175e1206f7 Bug 575955 - Replace internal usage of old transactions shim, add a new toolkit test. r=mak
--HG--
rename : browser/components/places/tests/unit/test_placesTxn.js => toolkit/components/places/tests/unit/test_placesTxn.js
rename : browser/components/places/tests/unit/test_txnGUIDs.js => toolkit/components/places/tests/unit/test_txnGUIDs.js
2012-02-28 18:40:38 -05:00
Marco Bonardo
b4f1aa2ddd Bug 702639 - Kill excludeItemsIfParentHasAnnotation query option.
r=dietrich sr=gavin
2012-02-24 23:43:49 +01:00
Marco Bonardo
9aaeffc5ec Bug 613588 (Tests) - Load-on-demand livemarks.
r=dietrich
2012-02-24 13:42:30 +01:00
Marco Bonardo
acd27422df Bug 613588 (Frontend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:26 +01:00
Marco Bonardo
6dc7a43e99 Bug 723165 - Telemetry for time needed to show the Bookmarks toolbar.
r=dietrich
2012-02-09 11:10:15 +01:00
Panagiotis Koutsourakis
583eb38038 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Rafael Ávila de Espíndola
dd61d49891 Bug 715554 - Missing semicolon. r=mak. 2012-01-09 10:12:15 -05:00
Rafael Ávila de Espíndola
1537180019 Bug 715554 - - Send quit-application in browser/components/places/tests/unit/test_clearHistory_shutdown.js. r=mak. 2012-01-09 10:07:42 -05:00
Jared Wein
5598adc31f Bug 419231 - Floating scrollbar in the toolbar customization palette is funky. r=dao 2011-12-21 15:16:05 -08:00
Dão Gottwald
a4d82cb9bf Bug 707672 - openUILink[In] behavior should not be determined by browser.tabs.loadBookmarksInBackground. r=mak
--HG--
extra : rebase_source : a4bb56be12da09134fb83c9b6dee6edee4030a54
2011-12-20 01:17:08 +01:00