{"push_id":2399546041,"size":1,"distinct_size":1,"ref":"refs/heads/BC-refactoring","head":"25dcbb4c52beaf8c681fed8ef9f7a18a7ea521ed","before":"45f8dd0cf3df393677859d8805d993aec8667924","commits":[{"sha":"25dcbb4c52beaf8c681fed8ef9f7a18a7ea521ed","author":{"name":"Raphael Schluesselbauer","email":"6f8da928733c07f8763066b7b7f575dccf82b4e9@gmail.com"},"message":"Broadcast Refactoring\n\nActions\nRefactor BroadcastAction and rename to EventAction\nMinor changes to StopAllScripts action to make it work as expected\nRefactor of action initialization in Sprite class\nMinor changes to StopAllScripts action to make it work as expected\nRefactor of action initialization in Sprite class\n\nScripts\nRefactor BroadcastScript, CollisionScript and RaspiInterruptScript\nAdd EventIds (BroadcastEventId, CollisionEventId, RaspiEventId) to\nidentify events and compare two events for equality\nWrap BroadcastEventIds, CollisionEventIds, RaspiEventIds in EventWrapper and handle\nthem all in the same way\nAdd backwardscompatibility in BackwardsCompatibleXstream for collisions\nand raspi interrupts\n\nAction execution & event handling\nProperly implement scheduling of actions (mitigates bugs with concurrency\nand with ever growing lists of running actions)\nAdd ActionScheduler to every look to start and stop actions asynchronously and\nexecute them\nMove event handling logic into EventWrapper listener\nUse background sprite for sending events that do not originate from any\nsprite\n\nBricks\nRefactor BroadcastBrick, BroadcastWaitBrick, BroadcastReceiverBrick,\nCollisionBrick, WhenRaspiPinChangedBrick\nRefactor MessageContainer and rename to BroadcastMessageContainer\nAdd NewBroadcastMessageDialog for Bricks where new broadcast messages can\nbe created\nAdd BroadcastSpinnerAdapter as a class\nAdd BroadcastMessageBrick as abstract brick for any brick displaying a\nspinner with broadcast messages\n\nClones\nImprove removeAllClonedSpritesFromStage implementation and clean up after\nremoved sprites and looks\nFix memory bug in SpriteVariableBehaviour (greatly affected performance\nwith many clones)\nRemove deleted clones from DataContainer\nFix bug where clones were added to a scene's sprite list\nFix bug where clones do not have their actions initialized, but only\nshallow copied from the original object\n\nOther\nClean up broadcastmaps of sprites of all scenes\nRefactor Broadcast, BroadcastWait, Collision and WhenRaspiPinChanged brick\nAdd NewBroadcastMessageDialog for Bricks where new broadcast messages can\nbe created\nUse background sprite for sending events that do not originate from any\nsprite","distinct":true,"url":"https://api.github.com/repos/rschluesselbauer/Catroid/commits/25dcbb4c52beaf8c681fed8ef9f7a18a7ea521ed"}]}
{"actor":{"display_login":"rschluesselbauer"}}