{"action":"created","issue":{"url":"https://api.github.com/repos/project-renard/curie/issues/173","repository_url":"https://api.github.com/repos/project-renard/curie","labels_url":"https://api.github.com/repos/project-renard/curie/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/project-renard/curie/issues/173/comments","events_url":"https://api.github.com/repos/project-renard/curie/issues/173/events","html_url":"https://github.com/project-renard/curie/pull/173","id":194092953,"number":173,"title":"Update the outline parsing for MuPDF v1.10a","user":{"login":"zmughal","id":94489,"avatar_url":"https://avatars.githubusercontent.com/u/94489?v=3","gravatar_id":"","url":"https://api.github.com/users/zmughal","html_url":"https://github.com/zmughal","followers_url":"https://api.github.com/users/zmughal/followers","following_url":"https://api.github.com/users/zmughal/following{/other_user}","gists_url":"https://api.github.com/users/zmughal/gists{/gist_id}","starred_url":"https://api.github.com/users/zmughal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmughal/subscriptions","organizations_url":"https://api.github.com/users/zmughal/orgs","repos_url":"https://api.github.com/users/zmughal/repos","events_url":"https://api.github.com/users/zmughal/events{/privacy}","received_events_url":"https://api.github.com/users/zmughal/received_events","type":"User","site_admin":false},"labels":[{"id":353333947,"url":"https://api.github.com/repos/project-renard/curie/labels/category:navigation","name":"category:navigation","color":"1d76db","default":false},{"id":315737476,"url":"https://api.github.com/repos/project-renard/curie/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":302004319,"url":"https://api.github.com/repos/project-renard/curie/labels/type:bug","name":"type:bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":{"login":"zmughal","id":94489,"avatar_url":"https://avatars.githubusercontent.com/u/94489?v=3","gravatar_id":"","url":"https://api.github.com/users/zmughal","html_url":"https://github.com/zmughal","followers_url":"https://api.github.com/users/zmughal/followers","following_url":"https://api.github.com/users/zmughal/following{/other_user}","gists_url":"https://api.github.com/users/zmughal/gists{/gist_id}","starred_url":"https://api.github.com/users/zmughal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmughal/subscriptions","organizations_url":"https://api.github.com/users/zmughal/orgs","repos_url":"https://api.github.com/users/zmughal/repos","events_url":"https://api.github.com/users/zmughal/events{/privacy}","received_events_url":"https://api.github.com/users/zmughal/received_events","type":"User","site_admin":false},"assignees":[{"login":"zmughal","id":94489,"avatar_url":"https://avatars.githubusercontent.com/u/94489?v=3","gravatar_id":"","url":"https://api.github.com/users/zmughal","html_url":"https://github.com/zmughal","followers_url":"https://api.github.com/users/zmughal/followers","following_url":"https://api.github.com/users/zmughal/following{/other_user}","gists_url":"https://api.github.com/users/zmughal/gists{/gist_id}","starred_url":"https://api.github.com/users/zmughal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmughal/subscriptions","organizations_url":"https://api.github.com/users/zmughal/orgs","repos_url":"https://api.github.com/users/zmughal/repos","events_url":"https://api.github.com/users/zmughal/events{/privacy}","received_events_url":"https://api.github.com/users/zmughal/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/project-renard/curie/milestones/6","html_url":"https://github.com/project-renard/curie/milestones/curie%20v0.002","labels_url":"https://api.github.com/repos/project-renard/curie/milestones/6/labels","id":1973491,"number":6,"title":"curie v0.002","description":"- Zoom in and zoom out\r\n- Packaged for Mac OS X and Windows","creator":{"login":"zmughal","id":94489,"avatar_url":"https://avatars.githubusercontent.com/u/94489?v=3","gravatar_id":"","url":"https://api.github.com/users/zmughal","html_url":"https://github.com/zmughal","followers_url":"https://api.github.com/users/zmughal/followers","following_url":"https://api.github.com/users/zmughal/following{/other_user}","gists_url":"https://api.github.com/users/zmughal/gists{/gist_id}","starred_url":"https://api.github.com/users/zmughal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmughal/subscriptions","organizations_url":"https://api.github.com/users/zmughal/orgs","repos_url":"https://api.github.com/users/zmughal/repos","events_url":"https://api.github.com/users/zmughal/events{/privacy}","received_events_url":"https://api.github.com/users/zmughal/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":7,"state":"open","created_at":"2016-08-30T19:48:52Z","updated_at":"2016-12-07T16:17:35Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-12-07T16:13:40Z","updated_at":"2016-12-07T17:27:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/project-renard/curie/pulls/173","html_url":"https://github.com/project-renard/curie/pull/173","diff_url":"https://github.com/project-renard/curie/pull/173.diff","patch_url":"https://github.com/project-renard/curie/pull/173.patch"},"body":"The outline format has changed from before.\r\n\r\nMuPDF v1.9 only shows the page number after a tab:\r\n```txt\r\n$ mutool -v ; mutool show ../../test-data/test-data/PDF/Adobe/pdf_reference_1-7.pdf outline | head -5\r\nmutool version 1.9a\r\nContents        5\r\nFigures 9\r\nTables  13\r\nPreface 23\r\n1 Introduction  25\r\n```\r\n\r\nMuPDF v1.10a shows the page number after a '#' and contains the\r\ncomma-separated page offsets for the outline URI targets:\r\n```txt\r\nmutool -v ; mutool show ../../test-data/test-data/PDF/Adobe/pdf_reference_1-7.pdf outline | head -5\r\nmutool version 1.10a\r\nContents        #5,132,578\r\nFigures #9,132,578\r\nTables  #13,132,578\r\nPreface #23,132,578\r\n1 Introduction  #25,132,530\r\n```\r\n\r\nAlso note that the new format does not necessarily have to have an\r\noffset:\r\n```txt\r\n$ mutool -v ; mutool show ../../test-data/test-data/PDF/Adobe/pdf_reference_1-7.pdf outline | grep -v ,\r\nmutool version 1.10a\r\n        D.5 ZapfDingbats Set and Encoding       #1016\r\nColor Plates    #1139\r\n```\r\nso the regex matching each line only makes the offsets match optionally.\r\n\r\nFixes <https://github.com/project-renard/curie/issues/172>"},"comment":{"url":"https://api.github.com/repos/project-renard/curie/issues/comments/265513254","html_url":"https://github.com/project-renard/curie/pull/173#issuecomment-265513254","issue_url":"https://api.github.com/repos/project-renard/curie/issues/173","id":265513254,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T17:27:50Z","updated_at":"2016-12-07T17:27:50Z","body":"\n[![Coverage Status](https://coveralls.io/builds/9171371/badge)](https://coveralls.io/builds/9171371)\n\nCoverage remained the same at 100.0% when pulling **b9f683606c1e7ce0241d9f304c34c4eddffaf0e6 on 172-new-outline-processing** into **63d2b0d28d84c66843c574bdc0822eeded07cbd3 on master**.\n"}}
{"actor":{"display_login":"coveralls"}}