309 Commits

Author SHA1 Message Date
Jaifroid
c950bcbf14 UI Dark Theme styling
Former-commit-id: efbef5a360ef04c59d0a3aa204c75323a94e448f [formerly 2b25b2255338fb29c9843109b56ac391dcfeedbf]
Former-commit-id: f56f2b4756a70dd933e0e020b8fa578d1f166058
2017-08-08 16:04:05 +01:00
Jaifroid
8d47c2f1e5 Dark theme tweaks
Former-commit-id: 60e68bbc066ec878948a61cf82f4ee0f2d0c1f30 [formerly 4bf7c4955c4f435f93d4bf46e23344827cf1debe]
Former-commit-id: bc6c925ff78933a9bbb6f573efec57d7cfabe2c3
2017-08-08 09:18:08 +01:00
Jaifroid
ce64c949fe Huge improvement of MathJax processing speed!
Using one of the combined configuration files they provide.


Former-commit-id: ae2430361b1cea52f7679511f748dfd5b2b061ec [formerly 1f161ec26eaf91ac0e61160c78b2e77352c2b8a6]
Former-commit-id: e5660eb9417746400c81205f5058000edcc1d732
2017-08-07 22:24:02 +01:00
Jaifroid
b9e988dcad Bin
Former-commit-id: 78e27610f6697ca8b0082b370d1767f526ef6b94 [formerly 1df6719041b188ec11cfd59db0b9df4800c7826e]
Former-commit-id: fc08084da410aa3ab8a87b5119d14ddf3a6419c8
2017-08-07 15:12:45 +01:00
Jaifroid
2635d564fd Prevent display of "Undefined control sequence" in MathJax
Former-commit-id: 886300e1094b4c20369c1854651e23759e863154 [formerly 9409e35f204fd689d25613682cc33dc6d5dd0b76]
Former-commit-id: 1fb691dfbbd57789a4f7428b8c4f1eba65a795b2
2017-08-07 15:12:33 +01:00
Jaifroid
41c2cf6d16 Release 0.7.9.0
This release includes MathJax support for displaying equations on Wikipedia pages. The display falls back to SVG images if the TEX string cannot be located.


Former-commit-id: 63fa9887e2d21d70b2bfab720f7e0ed353039c32 [formerly e54a69de7d687d7638d9dc10f8846616cd4f45de]
Former-commit-id: 8a221aafe0803f213ac2bd3769471510ecc32942
2017-08-07 13:46:18 +01:00
Jaifroid
f8917dec6d Add some MathJax checks and AMSmath support
Former-commit-id: 0aa283e8a81ccef805a5291ce542fadcd046cf5b [formerly 8035fadee8e63ab5cc921bbdc36305b0f10bffd8]
Former-commit-id: a9c67045928e431a5b849de4c68ce589c8069564
2017-08-07 13:43:16 +01:00
Jaifroid
3a2b534399 Added experimental support for typesetting equations with MathJax
For now, only mathematical equations are typeset. Chemical equations are not yet detected or supported.


Former-commit-id: 12924d51ad73d0cdc61d7665abe5fdf59f186c05 [formerly 02d0a4875fefdb169002e9b0558818cbee99330c]
Former-commit-id: f38d1b37e38b0d3ab3f8a4827fce2f81021723d9
2017-08-07 07:11:58 +01:00
Jaifroid
14818c8cd4 Style modifications for dark mode
Former-commit-id: b828f9a08770d15bb9b830d0324db895d85cad08 [formerly ad5ce87002fedac7d41086c3aaa98c769b70b28d]
Former-commit-id: b81453a77b562eac21c1146f28556ff48891052e
2017-08-04 16:38:00 +01:00
Jaifroid
8e97cc39d7 Update Kiwix HTML5 string to Kiwix JS
Former-commit-id: ea1e66e5974a0c6b91b7d903b1ac2bd39a699416 [formerly f5cda71c739b441fd6b7559067a5892e6536b979]
Former-commit-id: 7ee2e4e9fdce170f8435f281d04139311321e583
2017-08-03 17:45:53 +01:00
Jaifroid
6ff69e590c Various dark mode and css handling improvements
Former-commit-id: d0a080bec32427dcf2b1b388ad3229ce8620f5b9 [formerly 3839a0289d22484a6c53c0ed5d3f5a952a85de88]
Former-commit-id: ec3b64d503e20a4e11f8def1b84e86fddee2496f
2017-08-03 17:34:46 +01:00
Jaifroid
6f30761378 Ensure Kiwix icon is rendered correctly
Former-commit-id: 692c89fb6a88f76590d5774e99049eb8fee9065b [formerly 224b8954c6123ff234192f5492ca91d0ab4408da]
Former-commit-id: 47256528b0132a979558fff0c07bedb81fa0d456
2017-08-03 12:30:06 +01:00
Jaifroid
d8c132c06c Fix icons in dark mode
Former-commit-id: 6753b7c60306dbb67d4b2aadc9df926aadba6274 [formerly cfcd45edff58d42de3aee02f0c1b7512be6e127e]
Former-commit-id: 258fb4df4538042dc43fc2f0082903bc8eaaf4a8
2017-08-02 22:49:31 +01:00
Jaifroid
fc642b87a9 Tweak to dark theme
Former-commit-id: 5b35025df5b913e915ad47d245ac5f0860d989c7 [formerly d734d24f020ca6e3c8330b931dcf98c83514cf3c]
Former-commit-id: 2a44bebaf340add70dd6db9b7714c4cba16e99ba
2017-08-02 17:39:53 +01:00
Jaifroid
984961dd13 More dark theme support
Former-commit-id: 1892a8ff4703baf248eca2f5118b01bf4bc03368 [formerly 322abb0a87a64d1ffbf23dfe7f8908b4bd47e522]
Former-commit-id: 5eb1290bc7eab5822f12438856b09836e0c6e2eb
2017-08-02 16:33:40 +01:00
Jaifroid
5d5916ae4f Support Wikivoyage dark theme
Former-commit-id: 8ae98920e6206b6d0db1167c7b5008b2472a2774 [formerly 8c5bcc6f18b24b9c9d9f304761f32a2fbad7590a]
Former-commit-id: aa8bbada684a4c6093f6b64ac29e60f94d3fbc68
2017-08-02 14:59:19 +01:00
Jaifroid
71d75f041d Bin
Former-commit-id: 2865114681df801218cd1cae2c2167e4aa4857a5 [formerly d7b3a6896821e170929629030c743f3538b11945]
Former-commit-id: 4cb3a59fc8af3cb743bb82d9d7137dc4853d094e
2017-08-02 08:24:50 +01:00
Jaifroid
d673056832 Initial support for a dark mode UI and dark mode Wikimedia pages
Former-commit-id: 62b2cd7dd8f827f22d73445a782bb7c12fd79401 [formerly 30bbe95e4b584922ca4b7efbcdd1065388b87c18]
Former-commit-id: 91180930c089716d18d9fb66a97af726305fa0cf
2017-08-02 08:24:28 +01:00
Jaifroid
1d7a807175 Bin
Former-commit-id: 55447de3680121f61033f7db1c8e3469242f588e [formerly c2733b0ecf317347870dc51030fa0f33111ca08f]
Former-commit-id: e3d8a13c3e8e6898f9b4299adb51076a4e6962d3
2017-07-30 21:55:14 +01:00
Jaifroid
8b1f8ead88 Support new stylesheets
Former-commit-id: 6a867f670d2f5f596eaae2dc94bbe8dffac9835c [formerly a6fc39bbff542ef0750f3944e19d7380465da307]
Former-commit-id: 5b0ceefb2ae0c5b5ddb40a2b831c96494e6d7a2c
2017-07-30 21:55:02 +01:00
Jaifroid
e36dca32a5 Correct image placeholders in FFOS and Firefox
Former-commit-id: 31cd70e19d8b80fcbb1f7fc43af02d3bcb589788 [formerly 97dfdaae65646f82475b3d29f6373e56f5837510]
Former-commit-id: 7ffc40aae48f8e6046975938273729cc686cc9e1
2017-07-30 19:19:40 +01:00
Jaifroid
943a26e866 Bin
Former-commit-id: 89fda6cf698ddbe1da3326668cb6e1bbb0c5d1fe [formerly 0b57aaab9cca67a224d411f73bd69a720f3379da]
Former-commit-id: ba19a5adbcb99e1c7f50e4e434883c3794750b99
2017-07-30 18:07:08 +01:00
Jaifroid
62ca01f3e4 Responsive settings
Former-commit-id: 31182560b40a6fa8b592796da9d3edba3a215928 [formerly eb5e72a68517789751f08a1724dd2f86473fc2c3]
Former-commit-id: fc9c71ceffae7226d0410406c5bb70a6a27f0752
2017-07-30 18:06:39 +01:00
Jaifroid
022e04a450 Major upgrade to image-loading mechanism
The mechanism now detects which images are visible to the user, and prioritizes them, triaging the others


Former-commit-id: e576560f96812e3aa895910d1f8ddc3c71e6c84d [formerly f2a5a2c932addfac93ceec103bcca4d2c5365a3a]
Former-commit-id: b2cc19d260aa95807e2a92cd621cf203b15e7c4f
2017-07-30 18:05:38 +01:00
Jaifroid
19ebde3312 Release 0.7.8.0
This release includes better stylesheet support, progressive "download" (from ZIM file) of images, and the ability to prevent all images from downloading and to download them on a on-by-one basis.


Former-commit-id: e28a08e13fe539abc6714751fc3ebbded5f14cf3 [formerly f65eacefb5e4e48aadd305a50c366bf6737a1e9e]
Former-commit-id: 6b4d1d1fb2844572472575f45880aa08f02e9d1f
2017-07-24 22:19:09 +01:00
Jaifroid
da46ea44e9 Bin
Former-commit-id: f69c1f06e2cb5af9222c81b3622f7825e87fd2eb [formerly 62e9ff412ac6e5079ed1b33e519c16f8e71795fe]
Former-commit-id: 9fdd4edb18a1370d46bee0233053c4c39fda0a93
2017-07-24 22:14:20 +01:00
Jaifroid
3bd9668dcc Changed image placeholder colour to less obtrusive lightblue
Former-commit-id: aefca71e6cedcefc5e5e891bac9cc0645ea6d25d [formerly b426899d3b9c977e30fb133e3979130f0031d5e2]
Former-commit-id: 26c1482775f6f1936237ee3bb26bc22ef6a9b248
2017-07-24 22:14:10 +01:00
Jaifroid
4dd9e884a1 Supports Firefox for image hiding and showing
Former-commit-id: ffcdb7cfe7edb5dd25511a56015af1123c306b3d [formerly e53230fbc58614559785ae38684721141fb289ce]
Former-commit-id: b22b1e9ca13197e0bbac1ad5cfb48aecc340cdb3
2017-07-24 18:43:58 +01:00
Jaifroid
a6b4c2d67d Resets background-color
Former-commit-id: b792c15feb54227cfed0537158b1a37d266279e8 [formerly f8ef401e0c4234966ea989e29fdc86881be08ac2]
Former-commit-id: cd2c9ce49680c9a90692dac1dc82ffa882963b2c
2017-07-24 17:30:32 +01:00
Jaifroid
f33d4f309f Instructions for showing images
Former-commit-id: fbb0a884d741946ae0fbaf153a932846d09c9f80 [formerly e04d4d37747e93eb970507503264f13435a5a0e4]
Former-commit-id: 040f413b74535b152720bf07630390e66ec40330
2017-07-24 17:00:13 +01:00
Jaifroid
18087526fa Allows user to show images selectively
Former-commit-id: 0795cbed19a602a7a4863addf70dcad51bd19851 [formerly b105613908c1edaddedad19e447f4ab1608c2ea9]
Former-commit-id: 9f30098a303fffee1c17a598713851da1c24e9cc
2017-07-24 16:56:48 +01:00
Jaifroid
b24aff7fdf Support CSS for infobox_v2
Former-commit-id: 02a8997c26f0cd985f5d2e38602c3a33ac5b31be [formerly f19315204c572f591f649e64d5ab9e507b9f3a86]
Former-commit-id: 528cdf9aebc7902b3cbee04abbe1c487b1f39447
2017-07-24 16:56:03 +01:00
Jaifroid
5d28293ea7 Build
Former-commit-id: 80e29db3ebb3b0a504159f52d9d170b44029da45 [formerly e870f73aa97415627a2f61358249f5c999446bf5]
Former-commit-id: 65533095b19c30bc09cd1a1a78fd55648dc80073
2017-07-24 08:38:07 +01:00
Jaifroid
286f278478 Supports optional display of images
Former-commit-id: 27eaf0101bc019fda5c1d820929151206af6c869 [formerly 08a2619294ae0334d8fcbe1119a09376af606019]
Former-commit-id: d70bfab87e6d70862b4923e015b3eaa0fcae2e8e
2017-07-24 08:37:47 +01:00
Jaifroid
9546efe67c Support more Wikivoyage CSS
Former-commit-id: c058a0e07b014ce4d6cf8af9fed3edd44b86bc42 [formerly 4d02eee12b471ea4d0664f242466c6bc99d16f4a]
Former-commit-id: 8d3660399e6a803b738e777f84e1f1cf6107870c
2017-07-24 08:37:08 +01:00
Jaifroid
209c5aadb6 Bin
Former-commit-id: 9d9a0c61c4076e079902f9dfb0b9243d98227548 [formerly a09043c5d9ab25037e8bfddc1fc04c5fdb153a7c]
Former-commit-id: d55bb57a449e099373be946a66e8cbd4c005ffb6
2017-07-23 19:20:07 +01:00
Jaifroid
f737810e7c Better control of scrolling
Former-commit-id: bee8f99270a2433ecc4a7c4069c96d5be37fedd3 [formerly 07e380b2a17edffabd0314e3a016f6e62e6d8b31]
Former-commit-id: 959c1ef146c3368ace2d199c012386e3a68d9b93
2017-07-23 19:19:19 +01:00
Jaifroid
8251251e33 Bin
Former-commit-id: 173dd39008ebd4dc9cab0b51a667a7132c864018 [formerly 0a08f587f30020079ea1fcebd90faa7d33bb90ae]
Former-commit-id: 2ca6ba217b9b15e64cc93a57eaf7ee9f697d387e
2017-07-23 18:07:59 +01:00
Jaifroid
377cc87c7a Improved code (refactored)
Delay is now reduced


Former-commit-id: 27f0714ceed9de84b9deb11bb2094d293295c31e [formerly 185b1e19a2a67c4b5d4a1eec8b65b9c304c8fa13]
Former-commit-id: de7926106adbd7f8ca068f45efd9f4e7172472ae
2017-07-23 18:06:31 +01:00
Jaifroid
dae524cf16 Attempts to wait for scroll
Unfortunately this takes too long to fire up again


Former-commit-id: 92b3c0e6b31aae6913cb9e9b31a04d2e94b8f237 [formerly 943b8eeddc271dbedf5c46ed7d41f19a978fee56]
Former-commit-id: 3b3815ffce09f1813095b702ae6404835bf9b42c
2017-07-23 12:07:04 +01:00
Jaifroid
53a405a3fd Ignore
Former-commit-id: 13204460b6abe648e01903658985c3aabd9cb4a1 [formerly 6e865e59a4bfc9d628dadd3c04aa82208707db3d]
Former-commit-id: fc59c3996fe7b56f6cd1cccd99fd1b6555ebc7d5
2017-07-22 12:24:59 +01:00
Jaifroid
5af1f1ad9d Initial window of 10 images added
Former-commit-id: 636c5c807522e489464c905502366dd6dd1786c5 [formerly a9fa1a644ae37f61dc8813fc62986ac346b37f6b]
Former-commit-id: be8e1f79f005a25724d2d6abeffe16ca01cf9607
2017-07-22 12:24:34 +01:00
Jaifroid
f4b8f5eddd Ignore
Former-commit-id: b09e1c09cdd7af08bf51bfd7da55cf4b88d342ed [formerly ec7edfeacebb194bc1d11f0296e5a46d1ecc83be]
Former-commit-id: 7719d406863dd9ebd7429ce94f5e979bf231fdc7
2017-07-22 10:04:14 +01:00
Jaifroid
0f4858f82e Dramatic increase in speed of image extraction
This is done by requesting images in slices


Former-commit-id: e6062f8c516c0211b6c5a3006688399ad1a872b6 [formerly e655417903773d5668359914b4726add5f8fca4e]
Former-commit-id: b72c3814be52db7e1b9037bd7cf275ff48ae2b18
2017-07-21 17:41:19 +01:00
Jaifroid
a7d9239d1a Adds timers and updates timing tests
Former-commit-id: 97b1841cca2cd46a843e157988d92b179734218d [formerly 3680603734b09be686957e2d25ebc2653de68c9d]
Former-commit-id: c2086c68ba32b606516c650191788c70752e64bb
2017-07-20 23:04:19 +01:00
Jaifroid
7afd1c5081 Release 0.7.7.0
Debugging FilePicker see #3


Former-commit-id: e89c08d3d4079b38756c616880dcaf5ca87c0e7f [formerly abcc437c000a81df0d66bae77b449ec9bfd95f91]
Former-commit-id: 99d16f19ee42d4ef12621ca3f0e3ce952a84fe9c
2017-07-19 21:40:18 +01:00
Jaifroid
44bb4faa11 Testing release 0.7.6.0
This is a candidate for testing against the #3 (App sometimes force closes) bug.


Former-commit-id: 0f74c24db48cf6725f7284b7a6649813326cabd7 [formerly 78a31d9587d65eda78b37ff5cd4b066979ae920a]
Former-commit-id: 873d96486bf5e5d09cb7ccd125ffcaccce4e3dda
2017-07-19 18:17:07 +01:00
Jaifroid
e3ae1c9cc1 Release 0.7.5.0
Former-commit-id: 74389e2d5905a4148ec9ce4737d486cf39baf203 [formerly 7f2ee6299267f9c9ea00c90c0df12f3018120462]
Former-commit-id: 19e7bc6de14b41d5fd214620744a176585cfda95
2017-07-19 17:03:07 +01:00
Jaifroid
4fb74e84ca Bin
Former-commit-id: e01325d90efd5979f35e393dd7da1b12f6199704 [formerly be9275a8555c2499d1192644ded30eb4ecfb7a91]
Former-commit-id: aeb188dce9171424f7f82fbd252f6a8a1db30b77
2017-07-19 11:06:26 +01:00
Jaifroid
5a29fef00f Added UI enhancements from the backport
Former-commit-id: 6d88db52be83173ad4f881bf5cac8260105f0341 [formerly 5f32abe32d11d831730965b83d80dfc6c9de44c1]
Former-commit-id: 324fdbf2354a313f4f7816abf1ec233cdf67649f
2017-07-19 11:06:02 +01:00