{"action":"created","issue":{"url":"https://api.github.com/repos/tehn/aleph/issues/255","repository_url":"https://api.github.com/repos/tehn/aleph","labels_url":"https://api.github.com/repos/tehn/aleph/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/tehn/aleph/issues/255/comments","events_url":"https://api.github.com/repos/tehn/aleph/issues/255/events","html_url":"https://github.com/tehn/aleph/pull/255","id":133481759,"number":255,"title":"(re-do of #254) screen refresh event (with WSOD), beekeep_juce, block process tweaks","user":{"login":"catfact","id":94855,"avatar_url":"https://avatars.githubusercontent.com/u/94855?v=3","gravatar_id":"","url":"https://api.github.com/users/catfact","html_url":"https://github.com/catfact","followers_url":"https://api.github.com/users/catfact/followers","following_url":"https://api.github.com/users/catfact/following{/other_user}","gists_url":"https://api.github.com/users/catfact/gists{/gist_id}","starred_url":"https://api.github.com/users/catfact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catfact/subscriptions","organizations_url":"https://api.github.com/users/catfact/orgs","repos_url":"https://api.github.com/users/catfact/repos","events_url":"https://api.github.com/users/catfact/events{/privacy}","received_events_url":"https://api.github.com/users/catfact/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-13T23:04:27Z","updated_at":"2016-02-13T23:32:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tehn/aleph/pulls/255","html_url":"https://github.com/tehn/aleph/pull/255","diff_url":"https://github.com/tehn/aleph/pull/255.diff","patch_url":"https://github.com/tehn/aleph/pull/255.patch"},"body":"the last try added some DOS line endings to bees sources. this reverses those, but leaves files that previously had DOS lines untouched (namely `libfixmath`, `fat_io_lib`, and some other 3rd-party ones.) did convert line endings to unix in JUCE code.\r\n\r\n-----\r\nkind of a grab bag of changes, including some experiments that haven't worked out yet, and some unfinished but promising things, and finally a few things that seem useful.\r\n\r\n- in bees, moved screen refresh out of the TC interrupt (can't believe it was in there.) this seems to make other timed events a little smoother. the tradeoff is that if the event queue is filling up, the screen can get  first partially and then completely stuck. i think it's a good trade; at least it's an immediate indicator of what is happening. @rick-monster had some thoughts about changing the way we handle a full event queue, which seemed worth pursuing.\r\n\r\n- started a JUCE-based graphical bees editor. pretty early stages but some tricky compilation steps and graphics context management is worked out. hoping for contributors, otherwise it will take a while to get finished.\r\n\r\n- relatedly, all bees headers now have `__cplusplus` switches, and avr32_sim sources compile again, and will even link with g++.\r\n\r\n- fix a minor bug with op_gate not pickling/unpickling its inputs.\r\n\r\n- fix a potential bug where count of graphics ops could underflow and totally screw things up (not sure if it ever happened.)\r\n\r\n- some more incremental tweaks to block processing on bfin - control changes can continue to be collected during an audio block, and are processed at the end of it.\r\n\r\n- tried implementing a cycle counter on the bfin, and added SPI protocol code and a bees operator to retreive CPU usage back to the avr32.  but it doesn't work; for some reason reading the CYCLES registers totally stalls parameter change handling. very mysterious. would be nice to figure this out.\r\n\r\n- cleaned out a *lot* of dead code, comment, and print_dbg cruft. of course there is plenty more still floating around.\r\n"},"comment":{"url":"https://api.github.com/repos/tehn/aleph/issues/comments/183771215","html_url":"https://github.com/tehn/aleph/pull/255#issuecomment-183771215","issue_url":"https://api.github.com/repos/tehn/aleph/issues/255","id":183771215,"user":{"login":"rick-monster","id":6881548,"avatar_url":"https://avatars.githubusercontent.com/u/6881548?v=3","gravatar_id":"","url":"https://api.github.com/users/rick-monster","html_url":"https://github.com/rick-monster","followers_url":"https://api.github.com/users/rick-monster/followers","following_url":"https://api.github.com/users/rick-monster/following{/other_user}","gists_url":"https://api.github.com/users/rick-monster/gists{/gist_id}","starred_url":"https://api.github.com/users/rick-monster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rick-monster/subscriptions","organizations_url":"https://api.github.com/users/rick-monster/orgs","repos_url":"https://api.github.com/users/rick-monster/repos","events_url":"https://api.github.com/users/rick-monster/events{/privacy}","received_events_url":"https://api.github.com/users/rick-monster/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T23:32:37Z","updated_at":"2016-02-13T23:32:37Z","body":"All looks good to me now!"}}