Граф коммитов

59 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 35f3666937 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr

--HG--
extra : rebase_source : 74ba4c10e369067629af95bf705a9acd0df1089b
2017-07-11 22:49:55 +01:00
Florian Quèze 5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Kris Maglione aeb060de85 Bug 1358921: Lazily load ReaderParent.jsm when first needed. r=florian
MozReview-Commit-ID: 5UkSnU5sJsm

--HG--
extra : rebase_source : 08d1a24ca158cd91bd1691f1c230e4bfbacf149b
2017-04-23 13:27:35 -07:00
Mike Conley 365f4e988a Bug 1352501 - Remove Reader Mode promotion panel. r=jaws,MattN
Note that the UITour library can still show a panel in the event that we want to
promote the feature that way.

MozReview-Commit-ID: FzKSzO987h7

--HG--
extra : rebase_source : 8c129106478559f011a3a4e311331851939ab408
2017-04-19 16:42:10 -04:00
Sebastian Hengst 3c89f1e0f5 Bug 1344211 - Reader view shortcut should be shown in 'View' menu. r=Gijs
MozReview-Commit-ID: FKKTlRZhVHT

--HG--
extra : rebase_source : 9b458591f6ff80977db4e7a1c42bb6093c31c2b5
2017-03-04 19:01:19 +01:00
Jared Wein ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein 7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Jared Wein e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Horatiu 1a07f5562d Bug 1144749 - Add keyboard shortcut to open ReaderView. r=markh 2016-07-29 22:13:56 -04:00
Pushpankar c6670d980f Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
--HG--
extra : rebase_source : 72d50e73baf595840a2aade57ae782e4c40d4c27
2016-07-16 10:20:04 +02:00
Timothy Guan-tin Chien f99c08a81a Bug 1260276 - Replace the dead reader page in history when we are being redirected, r=gijs
MozReview-Commit-ID: ChSCHuBKT1l

--HG--
extra : rebase_source : ce65eef72769abe2cc90cec9592e819ededa8f16
2016-07-13 16:14:34 +08:00
Timothy Guan-tin Chien 66f6b8a43b Bug 1184950 - Use goBack to leave the reader view when possible, r=margaret, r=gijs
MozReview-Commit-ID: G9wn4OyUL5q

--HG--
extra : transplant_source : %5Cw%B1%F5X%9A%95N%93i%91%9B%BA%CC%BBr%F2%E1%A0%99
2016-04-19 05:46:58 +08:00
Carsten "Tomcat" Book 7036c2b542 Backed out changeset 3c369626af41 (bug 1184950) for bc7 test failures 2016-04-15 10:43:28 +02:00
Timothy Guan-tin Chien bc7a52a981 Bug 1184950 - Use goBack to leave the reader view when possible, r=margaret
MozReview-Commit-ID: G9wn4OyUL5q

--HG--
extra : transplant_source : %A6Edr%F4r%DC%05%A9%D1%CC%3D%16%ED%FD%D9%95%D8%B4%9A
2016-04-14 15:54:53 -07:00
Gijs Kruitbosch 6be7372f93 Bug 1252855 - make reader mode use AsyncPrefs, r=margaret
MozReview-Commit-ID: U6ZTyQQSHG

--HG--
extra : rebase_source : bf2aa2f40777611f2b89e9d2f57d2f4f2544f53b
2016-03-15 20:40:14 +00:00
Margaret Leibovic 3a66695ff2 Bug 1226238 - (Part 4) Remove reading list toggle button from reader view. r=ahunt,Gijs
MozReview-Commit-ID: 3pwOV5BjwC9

--HG--
extra : rebase_source : 66c2afd658320c5e5bd05e4b2a3278f2c871fee2
2016-02-22 10:35:32 -05:00
Margaret Leibovic 8db3f1faa4 Bug 1226238 - (Part 1) Remove share button from reader view. r=ahunt,Gijs
MozReview-Commit-ID: 3TFzz809KcM

--HG--
extra : rebase_source : 3cf003c5cbbe02e03bcf6f5f96843ccbc4a26a09
2016-02-22 10:09:07 -05:00
Paolo Amadini a34896b82e Bug 1236229 - The showInfo API in UITour.jsm should accept JavaScript callbacks rather than callback IDs. r=MattN
--HG--
extra : commitid : KrQccNb7qO4
extra : rebase_source : 7fa489d00a4781cb6fd2fab15bd2c4006d673386
2016-01-05 14:04:49 +00:00
Shane Caraveo eabb5f6400 Bug 1215694 move pocket to a system addon, r=Gijs, r=glandium
part 1: reorganize file locations, r=Gijs
  part 2: remove built-in pocket code, r=Gijs
  part 3: l10n support, r=glandium
  part 4: move code/functionality from part 2 into the addon, r=Gijs
  part 5: remove dead code, r=Gijs
  part 6: create a simple api for addons to add to reader mode, r=Gijs
  part 7: various test fixes related to cui behaviour and pocket, r=me

--HG--
rename : browser/components/pocket/Pocket.jsm => browser/extensions/pocket/content/Pocket.jsm
rename : browser/components/pocket/main.js => browser/extensions/pocket/content/main.js
rename : browser/components/pocket/panels/css/firasans.css => browser/extensions/pocket/content/panels/css/firasans.css
rename : browser/components/pocket/panels/css/normalize.css => browser/extensions/pocket/content/panels/css/normalize.css
rename : browser/components/pocket/panels/css/saved.css => browser/extensions/pocket/content/panels/css/saved.css
rename : browser/components/pocket/panels/css/signup.css => browser/extensions/pocket/content/panels/css/signup.css
rename : browser/components/pocket/panels/fonts/FiraSans-Regular.woff => browser/extensions/pocket/content/panels/fonts/FiraSans-Regular.woff
rename : toolkit/themes/shared/reader/pocket.svg => browser/extensions/pocket/content/panels/img/pocket.svg
rename : browser/components/pocket/panels/img/pocketerror@1x.png => browser/extensions/pocket/content/panels/img/pocketerror@1x.png
rename : browser/components/pocket/panels/img/pocketerror@2x.png => browser/extensions/pocket/content/panels/img/pocketerror@2x.png
rename : browser/components/pocket/panels/img/pocketlogo@1x.png => browser/extensions/pocket/content/panels/img/pocketlogo@1x.png
rename : browser/components/pocket/panels/img/pocketlogo@2x.png => browser/extensions/pocket/content/panels/img/pocketlogo@2x.png
rename : browser/components/pocket/panels/img/pocketlogosolo@1x.png => browser/extensions/pocket/content/panels/img/pocketlogosolo@1x.png
rename : browser/components/pocket/panels/img/pocketlogosolo@2x.png => browser/extensions/pocket/content/panels/img/pocketlogosolo@2x.png
rename : browser/components/pocket/panels/img/pocketmenuitem16.png => browser/extensions/pocket/content/panels/img/pocketmenuitem16.png
rename : browser/components/pocket/panels/img/pocketmenuitem16@2x.png => browser/extensions/pocket/content/panels/img/pocketmenuitem16@2x.png
rename : browser/components/pocket/panels/img/pocketsignup_button@1x.png => browser/extensions/pocket/content/panels/img/pocketsignup_button@1x.png
rename : browser/components/pocket/panels/img/pocketsignup_button@2x.png => browser/extensions/pocket/content/panels/img/pocketsignup_button@2x.png
rename : browser/components/pocket/panels/img/pocketsignup_devices@1x.png => browser/extensions/pocket/content/panels/img/pocketsignup_devices@1x.png
rename : browser/components/pocket/panels/img/pocketsignup_devices@2x.png => browser/extensions/pocket/content/panels/img/pocketsignup_devices@2x.png
rename : browser/components/pocket/panels/img/pocketsignup_hero@1x.png => browser/extensions/pocket/content/panels/img/pocketsignup_hero@1x.png
rename : browser/components/pocket/panels/img/pocketsignup_hero@2x.png => browser/extensions/pocket/content/panels/img/pocketsignup_hero@2x.png
rename : browser/components/pocket/panels/img/signup_firefoxlogo@1x.png => browser/extensions/pocket/content/panels/img/signup_firefoxlogo@1x.png
rename : browser/components/pocket/panels/img/signup_firefoxlogo@2x.png => browser/extensions/pocket/content/panels/img/signup_firefoxlogo@2x.png
rename : browser/components/pocket/panels/img/signup_help@1x.png => browser/extensions/pocket/content/panels/img/signup_help@1x.png
rename : browser/components/pocket/panels/img/signup_help@2x.png => browser/extensions/pocket/content/panels/img/signup_help@2x.png
rename : browser/components/pocket/panels/img/signup_or@1x.png => browser/extensions/pocket/content/panels/img/signup_or@1x.png
rename : browser/components/pocket/panels/img/signup_or@2x.png => browser/extensions/pocket/content/panels/img/signup_or@2x.png
rename : browser/components/pocket/panels/img/tag_close@1x.png => browser/extensions/pocket/content/panels/img/tag_close@1x.png
rename : browser/components/pocket/panels/img/tag_close@2x.png => browser/extensions/pocket/content/panels/img/tag_close@2x.png
rename : browser/components/pocket/panels/img/tag_closeactive@1x.png => browser/extensions/pocket/content/panels/img/tag_closeactive@1x.png
rename : browser/components/pocket/panels/img/tag_closeactive@2x.png => browser/extensions/pocket/content/panels/img/tag_closeactive@2x.png
rename : browser/components/pocket/panels/js/messages.js => browser/extensions/pocket/content/panels/js/messages.js
rename : browser/components/pocket/panels/js/saved.js => browser/extensions/pocket/content/panels/js/saved.js
rename : browser/components/pocket/panels/js/signup.js => browser/extensions/pocket/content/panels/js/signup.js
rename : browser/components/pocket/panels/js/tmpl.js => browser/extensions/pocket/content/panels/js/tmpl.js
rename : browser/components/pocket/panels/js/vendor/handlebars.runtime.js => browser/extensions/pocket/content/panels/js/vendor/handlebars.runtime.js
rename : browser/components/pocket/panels/js/vendor/jquery-2.1.1.min.js => browser/extensions/pocket/content/panels/js/vendor/jquery-2.1.1.min.js
rename : browser/components/pocket/panels/js/vendor/jquery.tokeninput.min.js => browser/extensions/pocket/content/panels/js/vendor/jquery.tokeninput.min.js
rename : browser/components/pocket/panels/license.txt => browser/extensions/pocket/content/panels/license.txt
rename : browser/components/pocket/panels/saved.html => browser/extensions/pocket/content/panels/saved.html
rename : browser/components/pocket/panels/signup.html => browser/extensions/pocket/content/panels/signup.html
rename : browser/components/pocket/panels/tmpl/saved_premiumextras.handlebars => browser/extensions/pocket/content/panels/tmpl/saved_premiumextras.handlebars
rename : browser/components/pocket/panels/tmpl/saved_premiumshell.handlebars => browser/extensions/pocket/content/panels/tmpl/saved_premiumshell.handlebars
rename : browser/components/pocket/panels/tmpl/saved_shell.handlebars => browser/extensions/pocket/content/panels/tmpl/saved_shell.handlebars
rename : browser/components/pocket/panels/tmpl/signup_shell.handlebars => browser/extensions/pocket/content/panels/tmpl/signup_shell.handlebars
rename : browser/components/pocket/panels/tmpl/signupstoryboard_shell.handlebars => browser/extensions/pocket/content/panels/tmpl/signupstoryboard_shell.handlebars
rename : browser/components/pocket/pktApi.js => browser/extensions/pocket/content/pktApi.jsm
rename : browser/locales/en-US/chrome/browser/browser-pocket.properties => browser/extensions/pocket/locales/en-US/pocket.properties
2015-12-29 15:40:52 -08:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Gijs Kruitbosch 127aeefe17 Bug 1182778, r=margaret,f=bz
--HG--
extra : commitid : ATLsconKiIq
extra : rebase_source : 4e6c3207ce438c4429dc32695dcbc4fbf5a2c022
2015-07-17 13:30:42 +01:00
Mark Hammond 4cc97da765 Bug 1184005 - Remove readinglist. r=MattN,jaws,adw 2015-08-04 12:00:43 +10:00
Matthew Noorenberghe e0462894d4 Bug 1134507 - Implement infopanel to promote Reader View when first available. r=jaws/Gijs
Based on a patch by Jared Wein (:jaws).

--HG--
extra : rebase_source : fc9399a9acb2bb36831df1f5b99b3f9da02b1dbb
2015-04-30 13:43:47 -07:00
Jared Wein feb88bb13a Bug 1158960 - Reader view is broken in e10s mode. r=Gijs
--HG--
extra : rebase_source : c1eaa648dc02f7d6991bd72b157ff7c7e5b32539
2015-04-27 18:29:18 -04:00
Jared Wein 33ebd558f5 Bug 1155523 - Implement Pocket toolbarbutton and subview. r=gijs 2015-04-24 14:29:05 -04:00
Jared Wein 6222fd05b3 Bug 1155304 - Right-clicking the reading list + button (in URL bar), shouldn't add the page to the reading list. r=gijs 2015-04-16 14:40:18 -04:00
Jared Wein 5ac5ee9fcf Bug 1134501 - UITour: Force page into Reader View automatically whenever the ReaderView/ReadingList tour page is loaded. r=gijs 2015-04-15 23:45:50 -04:00
Phil Ringnalda 1c5973f626 Back out 364bc6209cc5 (bug 1134501) for jetpack bustage 2015-04-15 22:08:20 -07:00
Jared Wein 2a59eeb639 Bug 1134501 - UITour: Force page into Reader View automatically whenever the ReaderView/ReadingList tour page is loaded. r=gijs 2015-04-15 23:45:50 -04:00
Gijs Kruitbosch 817049f58a Bug 1134501 - add way for UITour'd page to force-show the reader mode button, r=margaret
--HG--
extra : rebase_source : fce241271556dab4253c8ba4d45b0937eeda2d41
2015-04-13 20:12:57 +01:00
Margaret Leibovic c5fa83cd59 Bug 1152121 - Factor out logic to get original URL from reader URL into shared place, and handle malformed URI excpetions. r=Gijs, mcomella
--HG--
extra : rebase_source : 90a5a04b3eb3256a2354f9ebbf65e7595f568a91
2015-04-06 16:07:03 -07:00
Margaret Leibovic ef66ed11a8 Bug 1152412 - Handle errors downloading and parsing documents for reader view. r=bnicholson
--HG--
extra : rebase_source : 3bb7f0207971e48445ad46ddc28d2855d8ba1c3f
2015-04-10 14:41:14 -07:00
Gavin Sharp f2c4532dfe Bug 1148562: right clicking the reader mode button shouldn't trigger reader mode, r=jaws 2015-04-05 18:50:08 -07:00
Jared Wein 9ab973102b Bug 1146773 - Unify the code paths for adding an item to the reading list (location bar + reader mode). r=margaret 2015-03-30 19:58:00 -04:00
Wes Kocher 73800cd3df Merge m-c to fx-team a=merge CLOSED TREE 2015-03-30 19:42:25 -07:00
Jared Wein 4e7c5a4f97 Bug 1149179 - Use separate access keys for Enter and Exit in Reader View. r=me, a=RyanVM 2015-03-30 11:32:00 -04:00
Jared Wein 88eddc548c Bug 1147113 - Filter the article properties in ReaderParent.jsm instead of ReadingList.jsm. r=adw
--HG--
extra : rebase_source : f16ef837e9b855e90bd300a02f39936d897483a9
2015-03-30 12:02:52 -04:00
Abhinav Koppula 7a8fca2a06 Bug 1127337 - Show article favicon in the browser tab in reader mode. r=jaws 2015-03-18 16:22:00 -04:00
Jared Wein d2549c4e7a Bug 1140340 - Add Reader Mode menu item to the menu bar. r=florian
--HG--
extra : rebase_source : 3c22f45081c84e99b96a919da6175fe35c1545b4
2015-03-20 17:35:55 -07:00
Jared Wein 0a6753444c Bug 1140345 - Use an image instead of toolbarbutton for the reading view button. r=florian
--HG--
extra : rebase_source : a9c81392483e4705f34603adc1f71f31aff303a9
2015-03-20 17:28:03 -07:00
Drew Willcoxon 53feeeb6b1 Bug 1131416 - Desktop syncing module for reading list service (prepatory changes). r=markh 2015-03-20 12:12:10 -07:00
Margaret Leibovic 5327d3c2ae Bug 1139678 - Don't do reader parse until user clicks on reader button. r=bnicholson
--HG--
extra : rebase_source : 98f768841b9a858c9d8bce53cb9dc6770796c2ea
2015-03-12 20:06:37 -07:00
Blair McBride 1eebf08096 Bug 1131457 - Add a button to the URLBar that allows adding the current page to the Reading List. r=markh/adw 2015-03-17 12:49:07 -07:00
Florian Quèze bbe788d560 Bug 1142217 - Make the '+-' button in reader view work. r=markh 2015-03-13 17:04:56 +11:00
Wes Kocher d8fe04f804 Backed out changeset 90abee1a4bc0 (bug 1142217) for bc1-e10s orange 2015-03-12 17:19:39 -07:00
Florian Quèze 60df7c858c Bug 1142217 - Make the '+-' button in reader view work. r=markh 2015-03-12 23:47:26 +01:00
Margaret Leibovic fdaabbebe5 Bug 1138628 - Don't try to find article in reader mode cache on desktop because we don't actually store them. r=Unfocused
--HG--
extra : rebase_source : f6c95aa9564094579147c5e4fba8dd04d399aae7
2015-03-03 17:23:34 -08:00
Margaret Leibovic 83e3f73fce Bug 1128757 - Do not trim fragments from URLs loaded in reader view. r=bnicholson
--HG--
extra : rebase_source : 95965e5fba02193d5bbb94e5427f7d939547b01a
2015-02-26 14:08:29 -08:00
Margaret Leibovic c8bbe85af8 Bug 1136716 - Consolidate reader view strings in one .properties file, and make the strings to close reader view consistent. r=bnicholson,Unfocused
--HG--
extra : rebase_source : e50c9c99a919a660fb064fc452c0cee62a04ee43
2015-02-27 11:29:18 -08:00