{"push_id":3067651692,"size":7,"distinct_size":7,"ref":"refs/heads/master","head":"e45dd06c43c53c46e2ade70b73134d245e6944ba","before":"814bf1605daae0daafef75b01c1ea897761d7857","commits":[{"sha":"4a35a1d9c412391e549157b6a3e342467d6523d2","author":{"name":"Martin Kolman","email":"98073ef8f0d71e1e098ef95854efa3497efbf7e9@gmail.com"},"message":"Show if a given Twitter message is in Japanese","distinct":true,"url":"https://api.github.com/repos/M4rtinK/tsubame/commits/4a35a1d9c412391e549157b6a3e342467d6523d2"},{"sha":"eb6564beb349cb4850e94642695499a1817bfb2f","author":{"name":"Martin Kolman","email":"98073ef8f0d71e1e098ef95854efa3497efbf7e9@gmail.com"},"message":"Fixup","distinct":true,"url":"https://api.github.com/repos/M4rtinK/tsubame/commits/eb6564beb349cb4850e94642695499a1817bfb2f"},{"sha":"21b82b6e0f83813ef14da6c0337ddf0390130ada","author":{"name":"Martin Kolman","email":"98073ef8f0d71e1e098ef95854efa3497efbf7e9@gmail.com"},"message":"Add bundled copies of modules for Japanese processing\n\nThe furigana module can add furigana to kanji via the ruby markup\nand jaconv is it's dependency.\n\nNote that for this to work also mecab, mecab-iapdic and Python 3 bindings\nfor mecab need to be installed. All these three require compiled native\ncode, so can't be simply bundled but user needs to make sure they are\ninstalled from appropriate sources.","distinct":true,"url":"https://api.github.com/repos/M4rtinK/tsubame/commits/21b82b6e0f83813ef14da6c0337ddf0390130ada"},{"sha":"7d352f6b59cb3a2c60c93b5dcba9aa1c17ba7f2b","author":{"name":"Martin Kolman","email":"98073ef8f0d71e1e098ef95854efa3497efbf7e9@gmail.com"},"message":"Add intial support for adding furigana to kanji\n\nWe only import the furigana module before using it to\na possible failed import causing issues when utils.py\nis first imported.","distinct":true,"url":"https://api.github.com/repos/M4rtinK/tsubame/commits/7d352f6b59cb3a2c60c93b5dcba9aa1c17ba7f2b"},{"sha":"f19d928c013dde744dec88752e91a79b2dfab5b2","author":{"name":"Martin Kolman","email":"98073ef8f0d71e1e098ef95854efa3497efbf7e9@gmail.com"},"message":"Add Japanese module and support for furigana anotations\n\nThere is a W3C standard for adding furigana to kanji (and likely the same thing for Chinese as well) called ruby markup (colides nicely with the Ruby programming language when googling).\n\nUnfortunatelly the limitted subset of HTML the QML Text element can render does not include support for ruby markup. QML rich text also seem to lack the power for emaulting the above-text superscript ruby markup provides manually.\n\nTherefore we need to use a QML WebView element instead, which tahnkfully supports ruby markup.\n\nFor all this to work we need to assure a few things when generating the html we will feed into the WebView:\n- set charset/encoding to UTF-8 or else the WebView will show garbage\n- make it possible to set font size from the UI\n\nFor some reason font size of 5 is good on desktop (15 inch 1600x900 pixel laptop screen) while font size 100 looks good on Xperia X with Sailfish OS (5 inch 1080 x 1920 pixels, ~441 ppi density).","distinct":true,"url":"https://api.github.com/repos/M4rtinK/tsubame/commits/f19d928c013dde744dec88752e91a79b2dfab5b2"},{"sha":"dbb88dd90c51592f47ac023b083e87f761993c16","author":{"name":"Martin Kolman","email":"98073ef8f0d71e1e098ef95854efa3497efbf7e9@gmail.com"},"message":"Provide information about header height\n\nThis is basically a hack to accommodate the furigana WebView,\nwhich overlaps the message container on the message page.\n\nBy provided height of the message container header we can prevent the\nWebView from overlapping the message header.","distinct":true,"url":"https://api.github.com/repos/M4rtinK/tsubame/commits/dbb88dd90c51592f47ac023b083e87f761993c16"},{"sha":"e45dd06c43c53c46e2ade70b73134d245e6944ba","author":{"name":"Martin Kolman","email":"98073ef8f0d71e1e098ef95854efa3497efbf7e9@gmail.com"},"message":"Make it to show furigana to a twitter message\n\nFurigana is basically the fonetic transcription of kanji,\nwhich can help you read the kanji if you know the corresponding\njapanese word but don't know what the given kanji stands for.\n\nThe feature works by adding a \"show furigana\" button when we\ndetect the given Twitter message is in Japanese. When user clicks the\nbutton, the japanese message text is sent to Python, where the text is\nprocessed by the furigana module which adds furigana to it via the\nruby markup. The result is returned as a simple html document\nwhich we feed to a WebView, that overlaps everything on the MessagePage\nother than the page and message header.\n\nThe furigana WebView can be hidden by cliking it, making the original message and other elements, such as the \"show furigana\" button, visisble again.","distinct":true,"url":"https://api.github.com/repos/M4rtinK/tsubame/commits/e45dd06c43c53c46e2ade70b73134d245e6944ba"}]}
{"actor":{"display_login":"M4rtinK"}}