{"action":"created","issue":{"url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/150","labels_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/150/comments","events_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/150/events","html_url":"https://github.com/swift-nav/libswiftnav/pull/150","id":76837799,"number":150,"title":"REFACTOR: Remove global dgnss state; add some const-correctness","user":{"login":"henryhallam","id":438334,"avatar_url":"https://avatars.githubusercontent.com/u/438334?v=3","gravatar_id":"","url":"https://api.github.com/users/henryhallam","html_url":"https://github.com/henryhallam","followers_url":"https://api.github.com/users/henryhallam/followers","following_url":"https://api.github.com/users/henryhallam/following{/other_user}","gists_url":"https://api.github.com/users/henryhallam/gists{/gist_id}","starred_url":"https://api.github.com/users/henryhallam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryhallam/subscriptions","organizations_url":"https://api.github.com/users/henryhallam/orgs","repos_url":"https://api.github.com/users/henryhallam/repos","events_url":"https://api.github.com/users/henryhallam/events{/privacy}","received_events_url":"https://api.github.com/users/henryhallam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-15T19:53:55Z","updated_at":"2015-05-15T19:56:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/150","html_url":"https://github.com/swift-nav/libswiftnav/pull/150","diff_url":"https://github.com/swift-nav/libswiftnav/pull/150.diff","patch_url":"https://github.com/swift-nav/libswiftnav/pull/150.patch"},"body":"The structs settings, nkf, sats_management and ambiguity_test\r\nwhich maintain the state of the DGNSS filters were previously\r\nglobals in dgnss_management.c.  Now they are members of the context\r\nstruct 'dgnss_state_t' which should be instantiated in the host program\r\nand initialized via dgnss_init().  A pointer to this struct must be\r\npassed to most dgnss_* functions.\r\n\r\nMany functions are now also const-correct, though I have not attempted\r\ncomplete const-correct coverage.\r\n\r\nChanges to piksi_firmware, libswiftnav-python and gnss_analysis will be\r\nrequired.\r\n\r\n/cc @fnoble @imh for review, @mookerji FYI"},"comment":{"url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/comments/102509022","html_url":"https://github.com/swift-nav/libswiftnav/pull/150#issuecomment-102509022","issue_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/150","id":102509022,"user":{"login":"swiftnav-jenkins","id":6731546,"avatar_url":"https://avatars.githubusercontent.com/u/6731546?v=3","gravatar_id":"","url":"https://api.github.com/users/swiftnav-jenkins","html_url":"https://github.com/swiftnav-jenkins","followers_url":"https://api.github.com/users/swiftnav-jenkins/followers","following_url":"https://api.github.com/users/swiftnav-jenkins/following{/other_user}","gists_url":"https://api.github.com/users/swiftnav-jenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/swiftnav-jenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swiftnav-jenkins/subscriptions","organizations_url":"https://api.github.com/users/swiftnav-jenkins/orgs","repos_url":"https://api.github.com/users/swiftnav-jenkins/repos","events_url":"https://api.github.com/users/swiftnav-jenkins/events{/privacy}","received_events_url":"https://api.github.com/users/swiftnav-jenkins/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T19:56:17Z","updated_at":"2015-05-15T19:56:17Z","body":"Test FAILed.\nRefer to this link for build results (access rights to CI server needed): \nhttp://zazu.ci.swiftnav.com/job/libswiftnav%20Pull%20Requests/145/\nTest FAILed."}}