Commit Graph

60 Commits

Author SHA1 Message Date
Margaret Leibovic
9f5378e20c No bug: update readability libs to the up-to-date github versions. rs=me+Gijs 2015-03-23 11:29:23 -07:00
Gijs Kruitbosch
64b241bd65 No bug: update readability libs to the up-to-date github versions to include significant perf and quality improvements, rs=me 2015-03-20 20:50:45 -07:00
Gijs Kruitbosch
d03b973b88 Backed out changeset 8a292af9c827 for android robocop orange 2015-03-20 22:47:21 -07:00
Gijs Kruitbosch
00fadb7e96 No bug: update readability libs to the up-to-date github versions to include significant perf and quality improvements, rs=me 2015-03-20 20:50:45 -07:00
Margaret Leibovic
142b223d84 Bug 1143844 - Check document for readerable content to determine whether or not to show reader button. r=Gijs 2015-03-18 13:42:52 -07:00
Margaret Leibovic
03ddfdcbae backout 1dbf52164ffe for bc1 failures on a CLOSED TREE 2015-03-19 12:23:28 -07:00
Margaret Leibovic
b2ca7e7ddc Bug 1143844 - Check document for readerable content to determine whether or not to show reader button. r=Gijs 2015-03-18 13:42:52 -07:00
Carsten "Tomcat" Book
245d5618aa merge mozilla-inbound to mozilla-central a=merge 2015-03-18 13:51:53 +01:00
Jesse Ruderman
cca9879aa4 Bug 1144351 - Add newline at the end of 'JSDOMParser error' messages. r=mfinkle 2015-03-17 21:06:06 -07:00
Gijs Kruitbosch
9fd92ef910 No bug, update Readability.js to the version in github, rs=margaret,me per discussion earlier today 2015-03-17 20:58:58 -07:00
Margaret Leibovic
152f4920fd Bug 1139678 - (Part 3) Don't try interacting with the window in AboutReader if it has been unloaded. r=Gijs 2015-03-17 14:41:28 -07:00
Margaret Leibovic
aaa20d3d7c Bug 1139678 - Don't do reader parse until user clicks on reader button. r=bnicholson 2015-03-12 20:06:37 -07:00
Nicholas Nethercote
9080cb1deb Bug 1143508 (part 2) - Optimize pair returning from makeNodeElement() in JSDOMParser. r=bnicholson.
In one workload this avoids allocating 2.3 MB of short-lived arrays.
2015-03-16 15:13:16 -07:00
Nicholas Nethercote
e147fb6d38 Bug 1143508 (part 1) - Optimize tag name scanning in JSDOMParser. r=bnicholson.
On one workload I saw this reduce the cumulative allocations done for strings
drop from 2.3 MB to 0.9 MB.
2015-03-16 15:13:14 -07:00
Wes Kocher
1109c5aa2c Backed out changeset 2693283b5d8b (bug 1142814) for bc1 orange 2015-03-16 17:45:45 -07:00
Nicholas Nethercote
1dfaa452f9 Bug 1142814 - Optimize String.fromCharCode() when the number of args is small but > 1. r=jandem.
This avoids an unnecessary malloc.

The patch also adds testing for String.fromCharCode() with 2--20 args.
2015-03-12 17:19:48 -07:00
Sebastian Hengst
ad9ecefde9 Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Margaret Leibovic
90856bf0ef Bug 998031 - Reader Mode toolbar should scroll in and out instead of fading. r=bnicholson 2015-03-05 11:23:27 -08:00
Margaret Leibovic
1390ee68a3 Bug 1141757 - Catch exceptions thrown in ReaderWorker. r=Yoric 2015-03-11 08:39:54 -07:00
Margaret Leibovic
0c83f77114 Bug 1141618 - Disable reader worker logging by default. r=Mossop 2015-03-10 13:01:10 -07:00
Margaret Leibovic
86dfaaf82e Bug 1141317 - Account for new #container div in about:reader CSS. r=bnicholson 2015-03-09 19:15:39 -07:00
Margaret Leibovic
6cf362c962 Bug 1140172 - Use a single reader worker instead of spawning infinite workers. r=bnicholson f=Yoric 2015-03-05 17:31:05 -08:00
Margaret Leibovic
9f76019689 Bug 1120004 - Update styles of Reader View controls on mobile. r=bnicholson 2015-02-27 16:52:03 -08:00
Margaret Leibovic
946398ab51 Bug 1128757 - Do not trim fragments from URLs loaded in reader view. r=bnicholson 2015-02-26 14:08:29 -08:00
Margaret Leibovic
40872f7af7 Bug 1124011 - Hide reader view buttons related to reading list if reading list is disabled, and enable reader view by default on Nightly. r=Unfocused 2015-02-19 11:47:20 -08:00
Mark Capella
a3581d850c Bug 1133489 - Hook up "Open ReadingList" button in desktop ReaderMode, r=unfocused 2015-02-27 14:31:31 -05:00
Margaret Leibovic
6877857dff Bug 1134441 - Replace font size controls with +/- buttons. r=bnicholson 2015-02-24 17:15:03 -08:00
Margaret Leibovic
30941bb9cd Bug 1136231 - Unify Reader View type options to be Sans-Serif on Left, Serif on Right. r=bnicholson 2015-02-24 09:53:48 -08:00
Boris Kudryavtsev
226a2aa6a9 Bug 1135364 - Close <meta> tag in aboutReader.html. r=bnicholson 2015-02-23 20:41:00 -08:00
Margaret Leibovic
acec622f9f Bug 1134443 - Update Readability.js from shared library on github. r=bnicholson 2015-02-22 16:18:16 -08:00
Phil Ringnalda
9a96d1f8e6 Back out 66cf24f275b7 (bug 1124011) for frequent ASan crashes in test_memoryReporters.xul 2015-02-22 22:00:56 -08:00
Margaret Leibovic
f473a2fd67 Bug 1124011 - Hide reader view buttons related to reading list if reading list is disabled, and enable reader view by default on Nightly. r=Unfocused
--HG--
extra : rebase_source : 53ebca45c92bb811b9ffa2e9faa33983c3dd1181
extra : histedit_source : c6cbbdccb6e057f0f06501ff517bad5ff687532e
2015-02-19 11:47:20 -08:00
Abdelrhman Ahmed
f77e7c91bb Bug 1132925 - Pass messages to the parent process to set reader mode prefs. r=margaret 2015-02-20 15:56:00 -05:00
Margaret Leibovic
85d5dec232 backout a9139003abaf for busting mobile 2015-02-20 14:06:56 -08:00
Abdelrhman Ahmed
4939d42cba Bug 1132925 - Pass messages to the parent process to set reader mode prefs. r=margaret 2015-02-20 14:00:12 -08:00
Margaret Leibovic
7e7e6beb2c Bug 1135234 - Use "serif" and "sans-serif" in reader mode controls to match desktop. r=bnicholson
--HG--
extra : rebase_source : 2133c4d475ea326f5fe8115e1b8a08723f5af092
extra : amend_source : 0504d868a9554d9aa07d913d52210ca020d49d4b
2015-02-20 13:27:09 -08:00
Margaret Leibovic
726c3d1e87 Bug 1131303 - Update strings for reader view/reading list UI, and add title text to reader view toolbar buttons. r=Unfocused,rnewman
--HG--
extra : rebase_source : 42a40f76da543930c9f08373fb0836774a1c5290
2015-02-12 09:15:45 -08:00
Margaret Leibovic
752156af47 Bug 1132307 - Use <button> elements instead of <a> elements in reader mode toolbar. r=bnicholson
--HG--
extra : rebase_source : 960931ca6b2a23aaa98fc93c46b1cb96a68c8b0e
2015-02-13 14:09:44 -08:00
Margaret Leibovic
9d46268d9a Bug 1132547 - Move reader.has_used_toolbar logic to Android's Reader.js. r=bnicholson
--HG--
extra : rebase_source : 6c3e57259a0dc4a70222fa2fdf4aa1c5b823f93c
2015-02-12 15:23:26 -08:00
Fabrice Desré
2695c63414 Bug 1132844 - Fix ReaderMode.jsm to work with jsloader.reuseGlobal r=margaret 2015-02-13 15:13:40 -08:00
Margaret Leibovic
18d5d86edb Bug 1120735 - Implement desktop reader mode controls. r=jaws,bnicholson
--HG--
extra : rebase_source : 931f6bd5497ca84fa54eb0f8365acf940a7cd86f
2015-01-21 17:21:11 -08:00
Margaret Leibovic
3cf72e6a69 Bug 907079 - Simplify reader mode style popup logic, including removing the use of the window.history API. r=mfinkle
--HG--
extra : rebase_source : 8466fd81f0a55c0ea7cf608622f6805741c21a3a
2015-01-28 17:43:07 +01:00
Mark Capella
cdf8856fdb Bug 1081742 - Reader mode doesn't support RTL, r=bnicholson 2015-02-03 21:49:38 -05:00
Margaret Leibovic
352caa8a05 Bug 1117258 - Implement reader mode content CSS for desktop. r=jaws 2015-01-26 10:19:47 +01:00
Margaret Leibovic
a3d7f88d68 Bug 795981 - (Part 1) Hook up reader mode for desktop. r=jaws
--HG--
extra : rebase_source : d2ecf5b2079f6bdbfc2ccfe6149a86075293967f
2014-12-30 10:44:34 -05:00
Margaret Leibovic
a9911f43f9 Bug 1111142 - (Part 3) Replace fennec-specific logic in AboutReader.jsm with messages. r=mfinkle,bnicholson
--HG--
extra : rebase_source : 869c7e58be536c8aa385e3e0ab5aed334fcc7d80
2014-12-23 10:10:34 -05:00
Margaret Leibovic
9537402fe5 Bug 1111142 - (Part 2) Load AboutReader in a frame script on Fennec. r=mfinkle,bnicholson
--HG--
extra : rebase_source : 4fa6fa81125f0e5f6f39f8de5a1e1ce3f2365e0d
2014-12-23 15:32:15 -05:00
Margaret Leibovic
18f050b682 Bug 1111142 - (Part 1) Turn aboutReader.js into an AboutReader module. r=mfinkle,bnicholson
--HG--
rename : toolkit/components/reader/content/aboutReader.js => toolkit/components/reader/AboutReader.jsm
extra : rebase_source : 71b5f80bc1db7378721c5a433f2b8e20bd5169c5
2014-12-19 13:51:24 -08:00
Phil Ringnalda
63631dcf81 Back out 3 changesets (bug 1111142) for having a startling perf impact
CLOSED TREE

Backed out changeset 9b62d0e8b412 (bug 1111142)
Backed out changeset e66b9aa4b22c (bug 1111142)
Backed out changeset 6b480b80299a (bug 1111142)

--HG--
rename : toolkit/components/reader/AboutReader.jsm => toolkit/components/reader/content/aboutReader.js
2015-01-02 22:34:15 -08:00
Margaret Leibovic
36e71e2b5c Bug 1111142 - (Part 3) Replace fennec-specific logic in AboutReader.jsm with messages. r=mfinkle,bnicholson
--HG--
extra : rebase_source : 1158189d7fd82bd293fa590569f013a92499dbfc
2014-12-23 10:10:34 -05:00