{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":100607832,"defaultBranch":"master","name":"py-sdl2","ownerLogin":"py-sdl","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-08-17T13:43:47.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/88962542?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1702687530.0","currentOid":""},"activityList":{"items":[{"before":"e52a594522a2006e02ded3f5732e9f436412baba","after":"c21d4f8db601b732b181d4e0712f0951b1173cbb","ref":"refs/heads/master","pushedAt":"2023-12-16T02:13:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Add new function get_key_state","shortMessageHtmlLink":"Add new function get_key_state"}},{"before":"dd9609b1e1c19a532c9218f734327cc830126a73","after":"e52a594522a2006e02ded3f5732e9f436412baba","ref":"refs/heads/master","pushedAt":"2023-12-16T01:34:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Update SDL_image bindings for release 2.8.0 (#274)\n\n* Bump CI binaries to latest release\r\n\r\n* Update bindings to image 2.8.0\r\n\r\n* Skip pallete tests on very old SDL2\r\n\r\n* Sync hints with SDL 2.28.5\r\n\r\n* Handle new macOS DMG layout\r\n\r\n* Add test for new image function\r\n\r\n* Updated NEWS.rst\r\n\r\n* Fixed silly test bug","shortMessageHtmlLink":"Update SDL_image bindings for release 2.8.0 (#274)"}},{"before":"00337324748bf3937266465cbc0873a580e2faab","after":"68b51a6d11dc685db5388a0c9e5cc135f5c313f6","ref":"refs/heads/image_2.8.1","pushedAt":"2023-12-16T01:22:42.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Fixed silly test bug","shortMessageHtmlLink":"Fixed silly test bug"}},{"before":"8006b3b038da384ad96b293aa43a22d58cfe2ada","after":"00337324748bf3937266465cbc0873a580e2faab","ref":"refs/heads/image_2.8.1","pushedAt":"2023-12-16T01:14:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Add test for new image function","shortMessageHtmlLink":"Add test for new image function"}},{"before":"ef4832c255ee2f9fa3bd1c4267fdb72a5be948f9","after":"8006b3b038da384ad96b293aa43a22d58cfe2ada","ref":"refs/heads/image_2.8.1","pushedAt":"2023-12-16T01:05:42.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Handle new macOS DMG layout","shortMessageHtmlLink":"Handle new macOS DMG layout"}},{"before":null,"after":"ef4832c255ee2f9fa3bd1c4267fdb72a5be948f9","ref":"refs/heads/image_2.8.1","pushedAt":"2023-12-16T00:45:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Skip pallete tests on very old SDL2","shortMessageHtmlLink":"Skip pallete tests on very old SDL2"}},{"before":"949fe89d2fbbe04d6f955ca32bcf4ce94ab969b4","after":"dd9609b1e1c19a532c9218f734327cc830126a73","ref":"refs/heads/master","pushedAt":"2023-12-16T00:16:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Fix some types and exports","shortMessageHtmlLink":"Fix some types and exports"}},{"before":"ed28ea6305dede1b6ba046e36ddae9ba2016b62e","after":"949fe89d2fbbe04d6f955ca32bcf4ce94ab969b4","ref":"refs/heads/master","pushedAt":"2023-08-21T20:46:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Remove more misuse of SDL_GetError in tests (#271)\n\n* Remove improper SDL_GetError usage\r\n\r\n* Improve SetTextInputRect test\r\n\r\n* Make error clearing explicit for unsafe tests","shortMessageHtmlLink":"Remove more misuse of SDL_GetError in tests (#271)"}},{"before":"0408f8b8e7d97e6bea658ce298a7a8994b894f1e","after":"bf6b28da0f5f0f8e9e45e1503a99ae140044c1dd","ref":"refs/heads/geterror_cleanup_redux","pushedAt":"2023-08-21T20:12:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Make error clearing explicit for unsafe tests","shortMessageHtmlLink":"Make error clearing explicit for unsafe tests"}},{"before":"fdf38828d1ccfa046c842446b1e519b7765fb8ff","after":"0408f8b8e7d97e6bea658ce298a7a8994b894f1e","ref":"refs/heads/geterror_cleanup_redux","pushedAt":"2023-08-20T15:26:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Improve SetTextInputRect test","shortMessageHtmlLink":"Improve SetTextInputRect test"}},{"before":null,"after":"fdf38828d1ccfa046c842446b1e519b7765fb8ff","ref":"refs/heads/geterror_cleanup_redux","pushedAt":"2023-08-20T00:49:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Remove improper SDL_GetError usage","shortMessageHtmlLink":"Remove improper SDL_GetError usage"}},{"before":"d7c0604381f6cbefa2c8b51c84b879e2f927e91e","after":"ed28ea6305dede1b6ba046e36ddae9ba2016b62e","ref":"refs/heads/master","pushedAt":"2023-08-19T22:44:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Partially resolve #257: video_test (#270)\n\n* video_test: Don't check error unless a function failed\r\n\r\nHelps: https://github.com/py-sdl/py-sdl2/issues/257\r\nSigned-off-by: Simon McVittie \r\n\r\n* video_test: Use _check_error_msg() a bit more often\r\n\r\nSigned-off-by: Simon McVittie \r\n\r\n* video_test: Mitigate unsuitability of SDL_GetError() for detecting failure\r\n\r\nSDL_GetError() is like errno: it's documented not to be suitable for\r\ndetecting failure, only for getting more details if failure was already\r\ndetected (its result is unspecified on success, because a successful\r\nAPI call might have been implemented by doing something that failed,\r\ndetecting that, and falling back to doing something different).\r\nHowever, some functions in SDL2 return void, so we have no other way\r\nto tell whether they have failed (they do return a result in SDL3).\r\n\r\nTo make it less likely that upgrading SDL2 will make these tests regress,\r\nclear the error indicator immediately before calling the function under\r\ntest. It is still not guaranteed to be empty on success, but at least\r\nthis way we make sure it doesn't already contain an error message from\r\na previous function call.\r\n\r\nHelps: https://github.com/py-sdl/py-sdl2/issues/257\r\nSigned-off-by: Simon McVittie \r\n\r\n---------\r\n\r\nSigned-off-by: Simon McVittie ","shortMessageHtmlLink":"Partially resolve #257: video_test (#270)"}},{"before":"3ef6d7809b66e9e2821d18fa557b40e3f3a875a5","after":"d7c0604381f6cbefa2c8b51c84b879e2f927e91e","ref":"refs/heads/master","pushedAt":"2023-08-19T22:38:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"test: Don't assert that SDL_hid_enumerate doesn't set error (#269)\n\nOn my Linux system, enumeration succeeds, but the error indicator gets\r\nset as a side-effect (which appears to be because the loader checks\r\nwhether the symbol exists in SDL or a direct dependency before it\r\ndlopens libudev).\r\n\r\nThe API of SDL_hid_enumerate does not make it possible to distinguish\r\nbetween successfully returning an empty list of devices (returns NULL\r\nwith the error indicator in an undefined state) and a failure (returns\r\nNULL with the error indicator set), and systems that run automated tests\r\nusually don't have any HID game controllers connected, so we can't make\r\nany meaningful use of the error indicator here.\r\n\r\nHelps: https://github.com/py-sdl/py-sdl2/issues/257\r\n\r\nSigned-off-by: Simon McVittie ","shortMessageHtmlLink":"test: Don't assert that SDL_hid_enumerate doesn't set error (#269)"}},{"before":"1c865e3f751e678f3ad2d8f3fca17a0755fbeaf7","after":"3ef6d7809b66e9e2821d18fa557b40e3f3a875a5","ref":"refs/heads/master","pushedAt":"2023-08-11T16:58:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Prefer binary for CI dependencies","shortMessageHtmlLink":"Prefer binary for CI dependencies"}},{"before":"4c4494ce11be4e2142753297e166c206016bbd31","after":"1c865e3f751e678f3ad2d8f3fca17a0755fbeaf7","ref":"refs/heads/master","pushedAt":"2023-08-11T16:52:01.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"tests: SDL_GetError() != b'' isn't an error (#267)\n\n* tests: SDL_GetError() != b'' isn't an error\r\n\r\nIn Ubuntu, we're seeing test failures of the following pattern when\r\nmoving from libsdl2 2.28.1+dfsg-1 to 2.28.2+dfsg-1:\r\n\r\n > assert sdl2.SDL_GetError() == b\"\"\r\n E AssertionError: assert b'Unexpected ...r element crc' == b''\r\n E Full diff:\r\n E - b''\r\n E + b'Unexpected controller element crc'\r\n\r\nThis looks like an issue similar to that fixed in commit 8c39f40. We\r\nshould check the relevant return value, and only if it indicates failure\r\nshould we attach any particular meaning to the return value of\r\nSDL_GetError().\r\n\r\n* Add myself to AUTHORS.txt\r\n\r\nAs instructed in #267","shortMessageHtmlLink":"tests: SDL_GetError() != b'' isn't an error (#267)"}},{"before":"e5e6954cad83a03cfd463541121cd3ec56f368b2","after":"4c4494ce11be4e2142753297e166c206016bbd31","ref":"refs/heads/master","pushedAt":"2023-06-28T14:45:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Start work on next release of PySDL2","shortMessageHtmlLink":"Start work on next release of PySDL2"}},{"before":"4a1da6d2838fa1017b28796a607d4ef267623b92","after":"e5e6954cad83a03cfd463541121cd3ec56f368b2","ref":"refs/heads/master","pushedAt":"2023-06-28T14:29:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Release 0.9.16","shortMessageHtmlLink":"Release 0.9.16"}},{"before":"a5419493391b342e85d22872c3b656cb11d08302","after":"4a1da6d2838fa1017b28796a607d4ef267623b92","ref":"refs/heads/master","pushedAt":"2023-06-27T21:14:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Add rcopy method to Renderer","shortMessageHtmlLink":"Add rcopy method to Renderer"}},{"before":"ecdc2b2dab66aae6806a7ba7d72d1e3257ac4eda","after":"a5419493391b342e85d22872c3b656cb11d08302","ref":"refs/heads/master","pushedAt":"2023-06-24T14:23:54.274Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Update bindings to SDL 2.28.0 (#266)\n\n* Update bindings to SDL2 2.28.0\r\n\r\n* Update CI Matrix\r\n\r\n* Update news.rst","shortMessageHtmlLink":"Update bindings to SDL 2.28.0 (#266)"}},{"before":"41ae2d7fe1699ca12f4044ba027b5f12fc8d4813","after":"c8c663a4405f6698b3f52e56a88a40028a0da212","ref":"refs/heads/v2.28.0","pushedAt":"2023-06-24T14:23:23.570Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Update news.rst","shortMessageHtmlLink":"Update news.rst"}},{"before":null,"after":"41ae2d7fe1699ca12f4044ba027b5f12fc8d4813","ref":"refs/heads/v2.28.0","pushedAt":"2023-06-24T00:40:03.728Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Update CI Matrix","shortMessageHtmlLink":"Update CI Matrix"}},{"before":"39a707302117ea4bff741c3927ee9e4131112762","after":"ecdc2b2dab66aae6806a7ba7d72d1e3257ac4eda","ref":"refs/heads/master","pushedAt":"2023-06-24T00:19:48.123Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Improve unit tests and restore Python 2.7 CI runners (#265)\n\n* Disable some tests on Wayland\r\n\r\n* Don't assume error messages are fatal\r\n\r\n* Fix mouse tests for Wayland & XWayland\r\n\r\n* Fix GL GetSetAttribute tests on KDE Wayland\r\n\r\n* Fix setswapinterval test on XWayland\r\n\r\n* Try restoring Python 2.7 runners","shortMessageHtmlLink":"Improve unit tests and restore Python 2.7 CI runners (#265)"}},{"before":"f40813c8cc0e95faa0c588e5b908a045b018ca50","after":"5c544e444d0ac6bebce4396f1214c124c4d1a787","ref":"refs/heads/test_cleanup_2023","pushedAt":"2023-06-24T00:13:04.401Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Another attempt at PATH fixing","shortMessageHtmlLink":"Another attempt at PATH fixing"}},{"before":"fb5983fbb2c6be8deb5f4f8440a15c26ec6f4c82","after":"f40813c8cc0e95faa0c588e5b908a045b018ca50","ref":"refs/heads/test_cleanup_2023","pushedAt":"2023-06-24T00:08:06.340Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"And again...","shortMessageHtmlLink":"And again..."}},{"before":"833ae98c93bb7835ff78947ebd0e1b8901c662e3","after":"fb5983fbb2c6be8deb5f4f8440a15c26ec6f4c82","ref":"refs/heads/test_cleanup_2023","pushedAt":"2023-06-24T00:03:18.248Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Try fixing 2.7 PATH again","shortMessageHtmlLink":"Try fixing 2.7 PATH again"}},{"before":"9491a5c44c998a137debd19b2e224dfbf73e5533","after":"833ae98c93bb7835ff78947ebd0e1b8901c662e3","ref":"refs/heads/test_cleanup_2023","pushedAt":"2023-06-23T23:53:21.395Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Try fixing PATH for Windows 2.7","shortMessageHtmlLink":"Try fixing PATH for Windows 2.7"}},{"before":"4fc964052f1315a7678fa4bfd988446e1c92658c","after":"9491a5c44c998a137debd19b2e224dfbf73e5533","ref":"refs/heads/test_cleanup_2023","pushedAt":"2023-06-23T23:46:10.985Z","pushType":"push","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Additional attempted CI fixes","shortMessageHtmlLink":"Additional attempted CI fixes"}},{"before":"c8ffc5ba0d0368802407a479eb5ea456d27e4075","after":"4fc964052f1315a7678fa4bfd988446e1c92658c","ref":"refs/heads/test_cleanup_2023","pushedAt":"2023-06-23T22:10:22.819Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Try restoring Python 2.7 runners","shortMessageHtmlLink":"Try restoring Python 2.7 runners"}},{"before":"91a9a7a1e7a6c29486a994f2b7d06a44093ca362","after":"39a707302117ea4bff741c3927ee9e4131112762","ref":"refs/heads/master","pushedAt":"2023-06-21T22:00:14.668Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"tests: Don't try to create more than one Renderer for the same Window (#262)\n\nThe SDL API is that it's a programming error to mix the Renderer API\r\nwith use of a window surface. Some Renderer implementations create a\r\nwindow surface, making it invalid to attach more than one Renderer to\r\nthe same window. SDL 2.28 is better at detecting this than previous\r\nversions were, causing some of py-sdl2's unit tests to fail with:\r\n\r\n> Error encountered creating the SDL renderer: Surface already associated with window\r\n\r\nwhen running with the dummy video backend and software renderer (which\r\nare used in Debian as automated tests to check for obvious regressions).\r\n\r\nSome instances of this were already fixed in 0.9.15, most likely as part\r\nof \"Try fixing renderer tests w/ dummy on Windows\". For the remaining\r\nfailing cases, avoid the failure by creating a new Window for each part\r\nof the test.\r\n\r\nBug-Debian: https://bugs.debian.org/1038823\r\n\r\nSigned-off-by: Simon McVittie ","shortMessageHtmlLink":"tests: Don't try to create more than one Renderer for the same Window ("}},{"before":"00dd4496a3b5ad84b85440d1c9de5d7abff4587e","after":"91a9a7a1e7a6c29486a994f2b7d06a44093ca362","ref":"refs/heads/master","pushedAt":"2023-06-21T21:58:07.786Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"a-hurst","name":"Austin Hurst","path":"/a-hurst","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18648066?s=80&v=4"},"commit":{"message":"Make the build reproducible (#263)\n\nThe goal of reproducible builds is that a rebuild of the same source\r\ncode with the same compiler, libraries, etc. should result in the same\r\nbinaries. SOURCE_DATE_EPOCH provides a standard way for build systems\r\nto fill in the date of the latest source change, typically from a git\r\ncommit or from metadata like the debian/changelog in Debian packages.\r\n\r\nThis does not change anything if SOURCE_DATE_EPOCH is not defined;\r\nthe intention is that a larger build system like a Debian package will\r\ndefine it.\r\n\r\nPlease see https://reproducible-builds.org/ for more information about\r\nreproducible builds.\r\n\r\n[smcv: expand commit message for upstream]\r\n\r\nBug-Debian: https://bugs.debian.org/1031412\r\n\r\nCo-authored-by: Chris Lamb ","shortMessageHtmlLink":"Make the build reproducible (#263)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADy64MRAA","startCursor":null,"endCursor":null}},"title":"Activity · py-sdl/py-sdl2"}