1634 Commits

Author SHA1 Message Date
Jaifroid
aea1d27a4b Release 0.8.0.0
This is a major upgrade, with major UI improvements, a Ctrl-F replacement for highlighting and finding items on long Wiki pages, fully integrated MathJax typesetting, and many minor bugfixes.


Former-commit-id: ba8c117881f76137354e29cc342e0a5327e85d9b [formerly a755c60a68ec2619cfb8d847b52192fd43601e84]
Former-commit-id: 89321d5b8e66519cbf060335b987f978a532de71
2017-08-21 14:42:37 +01:00
Jaifroid
6343ba7d0e Enabled scrolling to first full match
Former-commit-id: 27d217c412dbd3400674908a89213d6a68d5e500 [formerly 2c4f447f7f7d45bab10c2fac9476df798e615c9a]
Former-commit-id: 1a0e4249cab5fda33c7e66d44366fe1a44293866
2017-08-20 19:45:01 +01:00
Jaifroid
0564aad55c Added typing timer
Former-commit-id: ed27e421cb3762d1be3945c662e0b3c3b8dc653c [formerly 731d6744bfb947142f57e2d180e29e1716b7b616]
Former-commit-id: b26cecd348c2bbe32ca0b0f39fbbc3c43f519ebf
2017-08-19 17:54:15 +01:00
Jaifroid
29018c125e Tweaking search function
Former-commit-id: 34fca8d5d34eb70a73544750324e308813a4915a [formerly 692d4ca4f2b5c4544a51b3c946f9e82dd96978b7]
Former-commit-id: 561a04b818d31849cdd2454f0ae5b892e22c832f
2017-08-18 14:51:25 +01:00
Jaifroid
2634db6681 Added find text in article
Former-commit-id: 2809b1ae964ccd72a629ddfb7f900ac825421996 [formerly 8e38a83c5d3c518ba081a79c1cf06172983a5696]
Former-commit-id: 433b6b5fcf65c1978d6ee1f311bc1a486aff2181
2017-08-18 13:43:55 +01:00
Jaifroid
7866b2669d Support for table captions
Former-commit-id: 754a24d14904b6b2e7222bec9b554d31db90220c [formerly d936c192a59db8afe5ba5aee8c009c983ebcd9cd]
Former-commit-id: aede37372ae69dc99fac20280326951993e8ed7f
2017-08-17 18:39:19 +01:00
Jaifroid
89fef4c806 Transitioned to compact-style UI
Former-commit-id: 05ecc202aeb160dd8c67a1111dba51dca2e902a4 [formerly 6cc7b5b20a6fed84448ed1d8ed280adad572507f]
Former-commit-id: b52b8ef044dda8054e4d4759131ab5dec9bc4c25
2017-08-17 15:07:21 +01:00
Jaifroid
2def98557c Better footer styling
Former-commit-id: 5a1f5503622920fbbd160027594c9585ec427e65 [formerly c864d47e4212202cfe1d6c3595726e972d2da60b]
Former-commit-id: 041e15dd40324ee448bcd74fd570bbf3b4317103
2017-08-17 08:06:57 +01:00
Jaifroid
20bf9e7349 Adjustments to UI
Former-commit-id: 83cf400d6581c852b515049c104bad4b5720ee32 [formerly 48f349485276a5f44976f2429058e2e7d6bb50d5]
Former-commit-id: d4aec61e8fee2b87f9a902424f858b1102eab39a
2017-08-17 00:04:58 +01:00
Jaifroid
ee9d0f43d2 More redundancy in regex
Former-commit-id: f70a3a07307bb9815d46a269a4ff844a134b1302 [formerly 5ee6233b29fc0209cde653ff4f79231993ac9d5c]
Former-commit-id: 298481901cdf957fd436f0487e50eb50fe7c4f1e
2017-08-16 21:54:24 +01:00
Jaifroid
5ad821d9e0 Bin
Former-commit-id: 3b8fafc57de2f7f7d97a64c1e6e07373961cddea [formerly c28c06021f31dade21a6db706adc4f42b2f0d200]
Former-commit-id: ec1d814fe949d65ca82163609da3842b179e4805
2017-08-16 18:48:16 +01:00
Jaifroid
191be89618 Fixed CSS issues and ToC code
Former-commit-id: 779b935c4ccab6a1267a4ca81454933a4aa4ac28 [formerly 6330348e58ae77bb299d29490f055ed7aa5d3e40]
Former-commit-id: ccce5bfd52802fc6ccb4a36622a4a2fc048a75c9
2017-08-16 18:47:57 +01:00
Jaifroid
b0dc78b417 Fixed ToC unhandled exception with accented headings
Former-commit-id: 33f2c7bca56a77b49fbb3f75aa300853e7b3c20d [formerly 4af1c8b4488e85439cbd93f175ccbe5aa49edf3a]
Former-commit-id: 40031025a66afdaed7f326b346541240ceefb438
2017-08-16 11:05:37 +01:00
Jaifroid
9895744a35 Bin
Former-commit-id: fa435865606d0a1e8f67f5af2a6515ccde793b48 [formerly ef121b5cba9ed29a3057c441a08cc5c98095bcd6]
Former-commit-id: b0637de399f8772a199bd1ac1690c05791a62d28
2017-08-16 09:55:34 +01:00
Jaifroid
5b05f9d2bf Better Table of Contents handling
Former-commit-id: 8315eb1b130d0bd1de2e6f5b5d6cc673e014d4b4 [formerly 8638113e0596e652ac01d9a3da874277c4c2a017]
Former-commit-id: 17ef1aad4e9df6bfe299ccaedeb4e640c034d1da
2017-08-15 11:33:31 +01:00
Jaifroid
533bd6e1d9 Bin
Former-commit-id: 9625b1231dcef4334ad3b0dd0d630b5a19ce0289 [formerly ad97ec4985a6903a2fdca7906a574be5cdd3e459]
Former-commit-id: 314d4d48b302e11e35f36f75fe387651deb6e072
2017-08-15 09:10:29 +01:00
Jaifroid
0ed8e72bef Further CSS improvements and infobox detection
Former-commit-id: 186cb1f2c662602f2ed5344efa37fd6b8105f385 [formerly 868bebb6ec6985406f5d437f7fb17e194c0f834e]
Former-commit-id: 329a584b6578dc1cfb6153256daf03d366c4c10d
2017-08-15 09:10:05 +01:00
Jaifroid
3a950bbec4 Better transformation from desktop to mobile
Former-commit-id: 87ed3301c1b740ce0ac9b47cf2aaad141e758676 [formerly 1c9327a6c4fd251aef5fdb2befe9b9a1a6b78a1a]
Former-commit-id: b69a30aee302c7ca74b84088c9e5a4f47159cdad
2017-08-14 20:54:48 +01:00
Jaifroid
6e6681db6b Bin
Former-commit-id: 7eb6d65dbc75e7ee1e0f78f187168112f7ad583e [formerly e42d6100b4a278a378ce784b8b024b020db17f48]
Former-commit-id: 42c5ba539fdfc5a79036b9495ac705c7e06cfffc
2017-08-11 07:15:45 +01:00
Jaifroid
3ac0cc2aa3 More inclusive processing of maths strings
Former-commit-id: 0c4a99c7315fefbacca12085ec8190a3a8c94f65 [formerly 6eedc7c009bbb3407064d23fba03ecfd0c93ae7a]
Former-commit-id: 91684eed7ed37b42492370c5b26281987df01fba
2017-08-11 07:15:17 +01:00
Jaifroid
f9973cef3d Added missing CSS from new ZIM type to cache
Former-commit-id: 98e128ba1ab4cfadf6f00b8dcf87985b243212d1 [formerly 198de12324e711972da980e7dcfeb1eb932f9d0e]
Former-commit-id: 1a82cf60d6b95d853412224e71fcab6e5eade40b
2017-08-11 07:13:44 +01:00
Jaifroid
438560f4b3 Bring in PRs from Kiwix-ja
Former-commit-id: 4266197db38226b4e852d5bb8219e90e83d7a23c [formerly 29b4bba71d6341b685de12eac5fb882da1340209]
Former-commit-id: 4bf2a04188f5a69e5c7f1f487100aec3f588d8f2
2017-08-09 12:04:42 +01:00
Jaifroid
95b92a0513 Fix for Firefox "Math Processing Error"
Former-commit-id: 1d35e651706a198071f794f3f2d321ba692a10f4 [formerly 8ff1d06db885ac40eebee955a5e2fa79974d681d]
Former-commit-id: 31b6260cbacba02001aedc53f1f3fe4cf0d7d86a
2017-08-09 12:04:05 +01:00
Jaifroid
cba1f92a45 Bin
Former-commit-id: 9f8df14665c44773bf84c641051c96131b48d9f8 [formerly b095bdd0c663f65606b6dd63b221fc0af52f1537]
Former-commit-id: c329c367465753e9a7d42a2c766ca10d2ad6e2c0
2017-08-09 10:22:26 +01:00
Jaifroid
32017bad8a Show welcome text if ZIM has no main page
Former-commit-id: d8d49d3f0fa75ad431e742782c968a995040224f [formerly f800093be13f8423409cb120ec1a6a3b9823cb28]
Former-commit-id: ec58a2d4671aa50eb73bf4b9bdff6c66ebe79d7f
2017-08-09 10:22:14 +01:00
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